Rhys SullivanAdd app source sync routes561660a4 months agoHistory
18 lines · 769 B · TypeScript
RawDownload
import { definePlugin } from "@executor-js/sdk/core"; import { makeAppsPlugin, type AppsPluginOptions } from "./plugin/apps-plugin";import { AppsExtensionService, AppsHandlers } from "./plugin/handlers";import { AppsGroup } from "./plugin/routes"; export { AppsGroup } from "./plugin/routes";export { AppsHandlers, AppsExtensionService } from "./plugin/handlers";export type { PublishInput, PublishResult } from "./pipeline/publish";export { publish } from "./pipeline/publish";export { makeAppsPlugin, appsPlugin } from "./plugin/apps-plugin"; export const appsHttpPlugin = definePlugin((options?: AppsPluginOptions) => ({  ...makeAppsPlugin(options),  routes: () => AppsGroup,  handlers: () => AppsHandlers,  extensionService: AppsExtensionService,}));