@solidxai/core-ui 0.1.13 → 0.1.14-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/common/SolidPopupContainer.d.ts.map +1 -1
- package/dist/components/common/SolidPopupContainer.js +68 -5
- package/dist/components/common/SolidPopupContainer.js.map +1 -1
- package/dist/components/common/SolidPopupContainer.tsx +50 -4
- package/dist/components/core/card/SolidCardViewConfigure.d.ts.map +1 -1
- package/dist/components/core/card/SolidCardViewConfigure.js +1 -1
- package/dist/components/core/card/SolidCardViewConfigure.js.map +1 -1
- package/dist/components/core/card/SolidCardViewConfigure.tsx +3 -1
- package/dist/components/core/extension/solid-core/workflowDefinition/list/openWorkflowDefinitionEditorHeaderAction.d.ts +2 -0
- package/dist/components/core/extension/solid-core/workflowDefinition/list/openWorkflowDefinitionEditorHeaderAction.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/workflowDefinition/list/openWorkflowDefinitionEditorHeaderAction.js +4 -0
- package/dist/components/core/extension/solid-core/workflowDefinition/list/openWorkflowDefinitionEditorHeaderAction.js.map +1 -0
- package/dist/components/core/extension/solid-core/workflowDefinition/list/openWorkflowDefinitionEditorHeaderAction.ts +3 -0
- package/dist/components/core/extension/solid-core/workflowDefinition/list/openWorkflowDefinitionEditorRowAction.d.ts +8 -0
- package/dist/components/core/extension/solid-core/workflowDefinition/list/openWorkflowDefinitionEditorRowAction.d.ts.map +1 -0
- package/dist/components/core/extension/solid-core/workflowDefinition/list/openWorkflowDefinitionEditorRowAction.js +9 -0
- package/dist/components/core/extension/solid-core/workflowDefinition/list/openWorkflowDefinitionEditorRowAction.js.map +1 -0
- package/dist/components/core/extension/solid-core/workflowDefinition/list/openWorkflowDefinitionEditorRowAction.ts +17 -0
- package/dist/components/core/form/SolidFormView.d.ts.map +1 -1
- package/dist/components/core/form/SolidFormView.js +52 -22
- package/dist/components/core/form/SolidFormView.js.map +1 -1
- package/dist/components/core/form/SolidFormView.tsx +49 -9
- package/dist/components/core/kanban/SolidKanbanViewConfigure.d.ts.map +1 -1
- package/dist/components/core/kanban/SolidKanbanViewConfigure.js +1 -1
- package/dist/components/core/kanban/SolidKanbanViewConfigure.js.map +1 -1
- package/dist/components/core/kanban/SolidKanbanViewConfigure.tsx +3 -1
- package/dist/components/core/list/SolidCustomListViewColumn.d.ts +2 -1
- package/dist/components/core/list/SolidCustomListViewColumn.d.ts.map +1 -1
- package/dist/components/core/list/SolidCustomListViewColumn.js +3 -2
- package/dist/components/core/list/SolidCustomListViewColumn.js.map +1 -1
- package/dist/components/core/list/SolidCustomListViewColumn.tsx +4 -1
- package/dist/components/core/list/SolidListView.d.ts.map +1 -1
- package/dist/components/core/list/SolidListView.js +75 -71
- package/dist/components/core/list/SolidListView.js.map +1 -1
- package/dist/components/core/list/SolidListView.tsx +25 -10
- package/dist/components/core/list/SolidListViewColumn.d.ts +3 -1
- package/dist/components/core/list/SolidListViewColumn.d.ts.map +1 -1
- package/dist/components/core/list/SolidListViewColumn.js +81 -42
- package/dist/components/core/list/SolidListViewColumn.js.map +1 -1
- package/dist/components/core/list/SolidListViewColumn.tsx +93 -44
- package/dist/components/core/list/SolidListViewConfigure.d.ts.map +1 -1
- package/dist/components/core/list/SolidListViewConfigure.js +2 -2
- package/dist/components/core/list/SolidListViewConfigure.js.map +1 -1
- package/dist/components/core/list/SolidListViewConfigure.tsx +4 -2
- package/dist/components/core/list/widgets/PillWidget.d.ts +3 -0
- package/dist/components/core/list/widgets/PillWidget.d.ts.map +1 -0
- package/dist/components/core/list/widgets/PillWidget.js +95 -0
- package/dist/components/core/list/widgets/PillWidget.js.map +1 -0
- package/dist/components/core/list/widgets/PillWidget.tsx +127 -0
- package/dist/components/shad-cn-ui/SolidDialog.js +1 -1
- package/dist/components/shad-cn-ui/SolidDialog.js.map +1 -1
- package/dist/components/shad-cn-ui/SolidDialog.tsx +1 -1
- package/dist/components/shad-cn-ui/SolidDropdownMenu.d.ts +3 -1
- package/dist/components/shad-cn-ui/SolidDropdownMenu.d.ts.map +1 -1
- package/dist/components/shad-cn-ui/SolidDropdownMenu.js +2 -2
- package/dist/components/shad-cn-ui/SolidDropdownMenu.js.map +1 -1
- package/dist/components/shad-cn-ui/SolidDropdownMenu.tsx +11 -5
- package/dist/components/shad-cn-ui/SolidIcon.d.ts +2 -1
- package/dist/components/shad-cn-ui/SolidIcon.d.ts.map +1 -1
- package/dist/components/shad-cn-ui/SolidIcon.js +2 -1
- package/dist/components/shad-cn-ui/SolidIcon.js.map +1 -1
- package/dist/components/shad-cn-ui/SolidIcon.tsx +2 -0
- package/dist/components/workflow/WorkflowFlowCanvas.css +454 -0
- package/dist/components/workflow/WorkflowFlowCanvas.d.ts +40 -0
- package/dist/components/workflow/WorkflowFlowCanvas.d.ts.map +1 -0
- package/dist/components/workflow/WorkflowFlowCanvas.js +861 -0
- package/dist/components/workflow/WorkflowFlowCanvas.js.map +1 -0
- package/dist/components/workflow/WorkflowFlowCanvas.tsx +1522 -0
- package/dist/components/workflow/WorkflowNodeDocsPanel.css +247 -0
- package/dist/components/workflow/WorkflowNodeDocsPanel.d.ts +22 -0
- package/dist/components/workflow/WorkflowNodeDocsPanel.d.ts.map +1 -0
- package/dist/components/workflow/WorkflowNodeDocsPanel.js +97 -0
- package/dist/components/workflow/WorkflowNodeDocsPanel.js.map +1 -0
- package/dist/components/workflow/WorkflowNodeDocsPanel.tsx +363 -0
- package/dist/components/workflow/WorkflowNodeSchemaEditor.css +802 -0
- package/dist/components/workflow/WorkflowNodeSchemaEditor.d.ts +72 -0
- package/dist/components/workflow/WorkflowNodeSchemaEditor.d.ts.map +1 -0
- package/dist/components/workflow/WorkflowNodeSchemaEditor.js +1107 -0
- package/dist/components/workflow/WorkflowNodeSchemaEditor.js.map +1 -0
- package/dist/components/workflow/WorkflowNodeSchemaEditor.tsx +2347 -0
- package/dist/helpers/registry.d.ts.map +1 -1
- package/dist/helpers/registry.js +7 -0
- package/dist/helpers/registry.js.map +1 -1
- package/dist/helpers/registry.ts +8 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/index.ts +37 -0
- package/dist/redux/api/workflowDefinitionEditorApi.d.ts +17 -0
- package/dist/redux/api/workflowDefinitionEditorApi.d.ts.map +1 -0
- package/dist/redux/api/workflowDefinitionEditorApi.js +38 -0
- package/dist/redux/api/workflowDefinitionEditorApi.js.map +1 -0
- package/dist/redux/api/workflowDefinitionEditorApi.ts +40 -0
- package/dist/redux/api/workflowNodeApi.d.ts +6 -0
- package/dist/redux/api/workflowNodeApi.d.ts.map +1 -0
- package/dist/redux/api/workflowNodeApi.js +14 -0
- package/dist/redux/api/workflowNodeApi.js.map +1 -0
- package/dist/redux/api/workflowNodeApi.ts +18 -0
- package/dist/redux/features/popupSlice.d.ts +17 -2
- package/dist/redux/features/popupSlice.d.ts.map +1 -1
- package/dist/redux/features/popupSlice.js.map +1 -1
- package/dist/redux/features/popupSlice.ts +19 -3
- package/dist/redux/store/defaultStoreConfig.d.ts +13 -0
- package/dist/redux/store/defaultStoreConfig.d.ts.map +1 -1
- package/dist/redux/store/defaultStoreConfig.js +4 -0
- package/dist/redux/store/defaultStoreConfig.js.map +1 -1
- package/dist/redux/store/defaultStoreConfig.ts +4 -0
- package/dist/redux/store/solidEntityApiPool.d.ts.map +1 -1
- package/dist/redux/store/solidEntityApiPool.js +1 -0
- package/dist/redux/store/solidEntityApiPool.js.map +1 -1
- package/dist/redux/store/solidEntityApiPool.ts +1 -0
- package/dist/resources/solid-custom.css +16 -0
- package/dist/resources/solid-tailwind-generated.css +1 -1
- package/dist/routes/pages/admin/core/WorkflowDefinitionEditorPage.css +3194 -0
- package/dist/routes/pages/admin/core/WorkflowDefinitionEditorPage.d.ts +3 -0
- package/dist/routes/pages/admin/core/WorkflowDefinitionEditorPage.d.ts.map +1 -0
- package/dist/routes/pages/admin/core/WorkflowDefinitionEditorPage.js +3371 -0
- package/dist/routes/pages/admin/core/WorkflowDefinitionEditorPage.js.map +1 -0
- package/dist/routes/pages/admin/core/WorkflowDefinitionEditorPage.tsx +6215 -0
- package/dist/routes/pages/admin/core/WorkflowDefinitionListPage.css +217 -0
- package/dist/routes/pages/admin/core/WorkflowDefinitionListPage.d.ts +3 -0
- package/dist/routes/pages/admin/core/WorkflowDefinitionListPage.d.ts.map +1 -0
- package/dist/routes/pages/admin/core/WorkflowDefinitionListPage.js +268 -0
- package/dist/routes/pages/admin/core/WorkflowDefinitionListPage.js.map +1 -0
- package/dist/routes/pages/admin/core/WorkflowDefinitionListPage.tsx +510 -0
- package/dist/routes/pages/admin/core/WorkflowExecutionDetailPage.d.ts +3 -0
- package/dist/routes/pages/admin/core/WorkflowExecutionDetailPage.d.ts.map +1 -0
- package/dist/routes/pages/admin/core/WorkflowExecutionDetailPage.js +618 -0
- package/dist/routes/pages/admin/core/WorkflowExecutionDetailPage.js.map +1 -0
- package/dist/routes/pages/admin/core/WorkflowExecutionDetailPage.tsx +1322 -0
- package/dist/routes/solidRoutes.d.ts.map +1 -1
- package/dist/routes/solidRoutes.js +6 -0
- package/dist/routes/solidRoutes.js.map +1 -1
- package/dist/routes/solidRoutes.tsx +6 -0
- package/dist/types/extension-registry.d.ts +4 -0
- package/dist/types/extension-registry.d.ts.map +1 -1
- package/dist/types/extension-registry.js +5 -1
- package/dist/types/extension-registry.js.map +1 -1
- package/dist/types/extension-registry.ts +5 -1
- package/dist/types/solid-core.d.ts +32 -0
- package/dist/types/workflow-node.d.ts +142 -0
- package/dist/types/workflow-node.d.ts.map +1 -0
- package/dist/types/workflow-node.js +2 -0
- package/dist/types/workflow-node.js.map +1 -0
- package/dist/types/workflow-node.ts +179 -0
- package/package.json +3 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solidRoutes.d.ts","sourceRoot":"","sources":["../../src/routes/solidRoutes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"solidRoutes.d.ts","sourceRoot":"","sources":["../../src/routes/solidRoutes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAoCpD,OAAO,KAAK,EAAE,kBAAkB,EAAiB,MAAM,SAAS,CAAC;AAOjE,wBAAgB,cAAc,CAAC,OAAO,GAAE,kBAAuB,GAAG,WAAW,EAAE,CAwG9E"}
|
|
@@ -26,6 +26,9 @@ import { SettingsPage } from "./pages/admin/core/SettingsPage";
|
|
|
26
26
|
import { DashboardPage } from "./pages/admin/core/DashboardPage";
|
|
27
27
|
import { DatasourcesPage } from "./pages/admin/core/DatasourcesPage";
|
|
28
28
|
import { DatasourceIntrospectionPage } from "./pages/admin/core/DatasourceIntrospectionPage";
|
|
29
|
+
import { WorkflowDefinitionListPage } from "./pages/admin/core/WorkflowDefinitionListPage";
|
|
30
|
+
import { WorkflowDefinitionEditorPage } from "./pages/admin/core/WorkflowDefinitionEditorPage";
|
|
31
|
+
import { WorkflowExecutionDetailPage } from "./pages/admin/core/WorkflowExecutionDetailPage";
|
|
29
32
|
import { LoginPage } from "./pages/auth/LoginPage";
|
|
30
33
|
import { RegisterPage } from "./pages/auth/RegisterPage";
|
|
31
34
|
import { ForgotPasswordPage } from "./pages/auth/ForgotPasswordPage";
|
|
@@ -79,12 +82,15 @@ export function getSolidRoutes(options) {
|
|
|
79
82
|
var adminChildren = __spreadArray([
|
|
80
83
|
{ path: "/admin", element: pick("admin", _jsx(AdminPage, {})), handle: { title: "Admin", manageDocumentMeta: true } },
|
|
81
84
|
{ path: "/admin/core/:moduleName/home", element: pick("moduleHome", _jsx(ModuleHomePage, {})), handle: { title: "Module Home", manageDocumentMeta: true } },
|
|
85
|
+
{ path: "/admin/core/solid-core/workflow-definition/list", element: _jsx(WorkflowDefinitionListPage, {}), handle: { title: "Workflow Definitions", manageDocumentMeta: true } },
|
|
86
|
+
{ path: "/admin/core/solid-core/workflow-execution/detail/:id", element: _jsx(WorkflowExecutionDetailPage, {}), handle: { title: "Workflow Execution Detail", manageDocumentMeta: true } },
|
|
82
87
|
{ path: "/admin/core/:moduleName/:modelName/list", element: pick("list", _jsx(ListPage, {})), handle: { title: "List", manageDocumentMeta: true } },
|
|
83
88
|
{ path: "/admin/core/:moduleName/:modelName/tree", element: pick("tree", _jsx(TreePage, {})), handle: { title: "Tree", manageDocumentMeta: true } },
|
|
84
89
|
{ path: "/admin/core/:moduleName/:modelName/kanban", element: pick("kanban", _jsx(KanbanPage, {})), handle: { title: "Kanban", manageDocumentMeta: true } },
|
|
85
90
|
{ path: "/admin/core/:moduleName/:modelName/card", element: pick("card", _jsx(CardPage, {})), handle: { title: "Card", manageDocumentMeta: true } },
|
|
86
91
|
{ path: "/admin/core/:moduleName/dashboard/:dashboardName", element: pick("dashboard", _jsx(DashboardPage, {})), handle: { title: "Dashboard", manageDocumentMeta: true } },
|
|
87
92
|
{ path: "/admin/core/:moduleName/:modelName/form/:id", element: pick("form", _jsx(FormPage, {})), handle: { title: "Form", manageDocumentMeta: true } },
|
|
93
|
+
{ path: "/admin/core/solid-core/workflow-definition/editor/:id", element: _jsx(WorkflowDefinitionEditorPage, {}), handle: { title: "Workflow Definition Editor", manageDocumentMeta: true } },
|
|
88
94
|
{ path: "/admin/core/settings", element: pick("settings", _jsx(SettingsPage, {})), handle: { title: "Settings", manageDocumentMeta: true } },
|
|
89
95
|
{ path: "/admin/core/solid-core/datasources", element: _jsx(DatasourcesPage, {}), handle: { title: "Datasources", manageDocumentMeta: true } },
|
|
90
96
|
{ path: "/admin/core/solid-core/modules/:moduleId/datasource-introspection", element: _jsx(DatasourceIntrospectionPage, {}), handle: { title: "Datasource Introspection", manageDocumentMeta: true } }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solidRoutes.js","sourceRoot":"","sources":["../../src/routes/solidRoutes.tsx"],"names":[],"mappings":";;;;;;;;;;AACA,OAAO,EAAE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AAO,EAAE,KAAC,QAAQ,IAAC,EAAE,EAAC,aAAa,EAAC,OAAO,SAAG,EAAE;QAC7D,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,KAAC,QAAQ,IAAC,EAAE,EAAC,YAAY,EAAC,OAAO,SAAG,EAAE;cAC5D;AACJ,CAAC","sourcesContent":["import type { RouteObject } from \"react-router-dom\";\nimport { Navigate } from \"react-router-dom\";\nimport { AuthGuard } from \"./guards/AuthGuard\";\nimport { AdminGuard } from \"./guards/AdminGuard\";\nimport { GuestGuard } from \"./guards/GuestGuard\";\nimport { AdminLayoutWrapper } from \"../layouts/AdminLayoutWrapper\";\nimport { AuthLayoutWrapper } from \"../layouts/AuthLayoutWrapper\";\nimport { ErrorPage } from \"./pages/ErrorPage\";\nimport { NotFoundPage } from \"./pages/NotFoundPage\";\nimport { AdminPage } from \"./pages/admin/AdminPage\";\nimport { ModuleHomePage } from \"./pages/admin/core/ModuleHomePage\";\nimport { ListPage } from \"./pages/admin/core/ListPage\";\nimport { KanbanPage } from \"./pages/admin/core/KanbanPage\";\nimport { CardPage } from \"./pages/admin/core/CardPage\";\nimport { FormPage } from \"./pages/admin/core/FormPage\";\nimport { SettingsPage } from \"./pages/admin/core/SettingsPage\";\nimport { DashboardPage } from \"./pages/admin/core/DashboardPage\";\nimport { DatasourcesPage } from \"./pages/admin/core/DatasourcesPage\";\nimport { DatasourceIntrospectionPage } from \"./pages/admin/core/DatasourceIntrospectionPage\";\nimport { LoginPage } from \"./pages/auth/LoginPage\";\nimport { RegisterPage } from \"./pages/auth/RegisterPage\";\nimport { ForgotPasswordPage } from \"./pages/auth/ForgotPasswordPage\";\nimport { InitiateForgotPasswordPage } from \"./pages/auth/InitiateForgotPasswordPage\";\nimport { InitiateForgotPasswordThankYouPage } from \"./pages/auth/InitiateForgotPasswordThankYouPage\";\nimport { ConfirmForgotPasswordPage } from \"./pages/auth/ConfirmForgotPasswordPage\";\nimport { ResetPasswordPage } from \"./pages/auth/ResetPasswordPage\";\nimport { InitiateLoginPage } from \"./pages/auth/InitiateLoginPage\";\nimport { InitiateRegisterPage } from \"./pages/auth/InitiateRegisterPage\";\nimport { InitiateGoogleOauthPage } from \"./pages/auth/InitiateGoogleOauthPage\";\nimport { InitiateFacebookOauthPage } from \"./pages/auth/InitiateFacebookOauthPage\";\nimport { InitiateMicrosoftOauthPage } from \"./pages/auth/InitiateMicrosoftOauthPage\";\nimport { InitiateMicrosoftActiveDirectoryOauthPage } from \"./pages/auth/InitiateMicrosoftActiveDirectoryOauthPage\";\nimport { SsoPage } from \"./pages/auth/SsoPage\";\nimport type { SolidRoutesOptions, SolidRouteKey } from \"./types\";\nimport { TreePage } from \"./pages/admin/core/TreePage\";\nimport { StudioHomePage } from \"./pages/studio/StudioHomePage\";\nimport { StudioLandingPage } from \"./pages/studio/StudioLandingPage\";\nimport { _solidRegisterExtraRoutes } from \"./SolidLayoutRegistry\";\nimport { SolidRouteMetadataBoundary } from \"./SolidRouteMetadataBoundary\";\n\nexport function getSolidRoutes(options: SolidRoutesOptions = {}): RouteObject[] {\n const {\n extraAuthRoutes = [],\n extraAdminRoutes = [],\n extraRoutes = [],\n elementOverrides = {},\n } = options;\n\n // Auto-register layout routes so StudioLandingPage can discover them\n // without any changes in the consuming project.\n _solidRegisterExtraRoutes(extraRoutes);\n\n const pick = (key: SolidRouteKey, fallback: JSX.Element) =>\n (elementOverrides[key] as JSX.Element) || fallback;\n\n const authChildren: RouteObject[] = [\n // Password based login, Passwordless login initiate otp\n { path: \"/auth/login\", element: pick(\"login\", <LoginPage />), handle: { title: \"Login\", manageDocumentMeta: true } },\n // Password based registration, Passwordless registration initiate otp\n { path: \"/auth/register\", element: pick(\"register\", <RegisterPage />), handle: { title: \"Register\", manageDocumentMeta: true } },\n // Passwordless login confirm otp\n { path: \"/auth/initiate-login\", element: pick(\"initiateLogin\", <InitiateLoginPage />), handle: { title: \"Verify Login\", manageDocumentMeta: true } },\n // Passwordless registration confirm otp\n { path: \"/auth/initiate-register\", element: pick(\"initiateRegister\", <InitiateRegisterPage />), handle: { title: \"Verify Registration\", manageDocumentMeta: true } },\n\n // Forgot password flow\n { path: \"/auth/forgot-password\", element: pick(\"forgotPassword\", <ForgotPasswordPage />), handle: { title: \"Forgot Password\", manageDocumentMeta: true } },\n { path: \"/auth/initiate-forgot-password\", element: pick(\"initiateForgotPassword\", <InitiateForgotPasswordPage />), handle: { title: \"Send Reset Code\", manageDocumentMeta: true } },\n { path: \"/auth/initiate-forgot-password-thank-you\", element: pick(\"initiateForgotPasswordThankYou\", <InitiateForgotPasswordThankYouPage />), handle: { title: \"Check Your Email\", manageDocumentMeta: true } },\n { path: \"/auth/confirm-forgot-password\", element: pick(\"confirmForgotPassword\", <ConfirmForgotPasswordPage />), handle: { title: \"Confirm Reset Code\", manageDocumentMeta: true } },\n\n // ??? not used ???\n { path: \"/auth/reset-password\", element: pick(\"resetPassword\", <ResetPasswordPage />), handle: { title: \"Reset Password\", manageDocumentMeta: true } },\n\n { path: \"/auth/initiate-google-oauth\", element: pick(\"initiateGoogleOauth\", <InitiateGoogleOauthPage />), handle: { title: \"Google Sign In\", manageDocumentMeta: true } },\n { path: \"/auth/initiate-facebook-oauth\", element: pick(\"initiateFacebookOauth\", <InitiateFacebookOauthPage />), handle: { title: \"Facebook Sign In\", manageDocumentMeta: true } },\n { path: \"/auth/initiate-microsoft-oauth\", element: pick(\"initiateMicrosoftOauth\", <InitiateMicrosoftOauthPage />), handle: { title: \"Microsoft Sign In\", manageDocumentMeta: true } },\n { path: \"/auth/initiate-microsoft-active-directory-oauth\", element: pick(\"initiateMicrosoftActiveDirectoryOauth\", <InitiateMicrosoftActiveDirectoryOauthPage />), handle: { title: \"Microsoft Active Directory Sign In\", manageDocumentMeta: true } },\n { path: \"/auth/sso\", element: pick(\"sso\", <SsoPage />), handle: { title: \"Single Sign-On\", manageDocumentMeta: true } },\n ...extraAuthRoutes,\n ];\n\n const adminChildren: RouteObject[] = [\n { path: \"/admin\", element: pick(\"admin\", <AdminPage />), handle: { title: \"Admin\", manageDocumentMeta: true } },\n { path: \"/admin/core/:moduleName/home\", element: pick(\"moduleHome\", <ModuleHomePage />), handle: { title: \"Module Home\", manageDocumentMeta: true } },\n { path: \"/admin/core/:moduleName/:modelName/list\", element: pick(\"list\", <ListPage />), handle: { title: \"List\", manageDocumentMeta: true } },\n { path: \"/admin/core/:moduleName/:modelName/tree\", element: pick(\"tree\", <TreePage />), handle: { title: \"Tree\", manageDocumentMeta: true } },\n { path: \"/admin/core/:moduleName/:modelName/kanban\", element: pick(\"kanban\", <KanbanPage />), handle: { title: \"Kanban\", manageDocumentMeta: true } },\n { path: \"/admin/core/:moduleName/:modelName/card\", element: pick(\"card\", <CardPage />), handle: { title: \"Card\", manageDocumentMeta: true } },\n { path: \"/admin/core/:moduleName/dashboard/:dashboardName\", element: pick(\"dashboard\", <DashboardPage />), handle: { title: \"Dashboard\", manageDocumentMeta: true } },\n { path: \"/admin/core/:moduleName/:modelName/form/:id\", element: pick(\"form\", <FormPage />), handle: { title: \"Form\", manageDocumentMeta: true } },\n { path: \"/admin/core/settings\", element: pick(\"settings\", <SettingsPage />), handle: { title: \"Settings\", manageDocumentMeta: true } },\n { path: \"/admin/core/solid-core/datasources\", element: <DatasourcesPage />, handle: { title: \"Datasources\", manageDocumentMeta: true } },\n { path: \"/admin/core/solid-core/modules/:moduleId/datasource-introspection\", element: <DatasourceIntrospectionPage />, handle: { title: \"Datasource Introspection\", manageDocumentMeta: true } },\n ...extraAdminRoutes,\n ];\n\n return [\n { path: \"/error\", element: pick(\"error\", <ErrorPage />) },\n { path: \"/not-found\", element: pick(\"notFound\", <NotFoundPage />) },\n {\n element: <GuestGuard />,\n children: [\n {\n element: pick(\"authLayout\", <AuthLayoutWrapper />),\n children: [\n {\n element: <SolidRouteMetadataBoundary routes={authChildren} />,\n handle: { title: \"Auth\", description: \"Authentication pages\", manageDocumentMeta: true },\n children: authChildren,\n },\n ],\n },\n ],\n },\n {\n element: pick(\"authGuard\", <AuthGuard />),\n children: [\n {\n element: pick(\"adminLayout\", <AdminLayoutWrapper />),\n children: [\n {\n element: <SolidRouteMetadataBoundary routes={adminChildren} />,\n handle: { title: \"Admin\", description: \"Administration pages\", manageDocumentMeta: true },\n children: adminChildren,\n },\n ],\n },\n {\n element: pick(\"adminGuard\", <AdminGuard />),\n children: [\n { path: \"/studio\", element: pick(\"studioHome\", <StudioHomePage />), handle: { title: \"Studio\", manageDocumentMeta: true } },\n { path: \"/landing\", element: pick(\"landing\", <StudioLandingPage />), handle: { title: \"Landing\", manageDocumentMeta: true } },\n ],\n },\n ],\n },\n ...extraRoutes,\n { path: \"/\", element: <Navigate to=\"/auth/login\" replace /> },\n { path: \"*\", element: <Navigate to=\"/not-found\" replace /> },\n ];\n}\n"]}
|
|
1
|
+
{"version":3,"file":"solidRoutes.js","sourceRoot":"","sources":["../../src/routes/solidRoutes.tsx"],"names":[],"mappings":";;;;;;;;;;AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MA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KAAC,QAAQ,IAAC,EAAE,EAAC,aAAa,EAAC,OAAO,SAAG,EAAE;QAC7D,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,KAAC,QAAQ,IAAC,EAAE,EAAC,YAAY,EAAC,OAAO,SAAG,EAAE;cAC5D;AACJ,CAAC","sourcesContent":["import type { RouteObject } from \"react-router-dom\";\nimport { Navigate } from \"react-router-dom\";\nimport { AuthGuard } from \"./guards/AuthGuard\";\nimport { AdminGuard } from \"./guards/AdminGuard\";\nimport { GuestGuard } from \"./guards/GuestGuard\";\nimport { AdminLayoutWrapper } from \"../layouts/AdminLayoutWrapper\";\nimport { AuthLayoutWrapper } from \"../layouts/AuthLayoutWrapper\";\nimport { ErrorPage } from \"./pages/ErrorPage\";\nimport { NotFoundPage } from \"./pages/NotFoundPage\";\nimport { AdminPage } from \"./pages/admin/AdminPage\";\nimport { ModuleHomePage } from \"./pages/admin/core/ModuleHomePage\";\nimport { ListPage } from \"./pages/admin/core/ListPage\";\nimport { KanbanPage } from \"./pages/admin/core/KanbanPage\";\nimport { CardPage } from \"./pages/admin/core/CardPage\";\nimport { FormPage } from \"./pages/admin/core/FormPage\";\nimport { SettingsPage } from \"./pages/admin/core/SettingsPage\";\nimport { DashboardPage } from \"./pages/admin/core/DashboardPage\";\nimport { DatasourcesPage } from \"./pages/admin/core/DatasourcesPage\";\nimport { DatasourceIntrospectionPage } from \"./pages/admin/core/DatasourceIntrospectionPage\";\nimport { WorkflowDefinitionListPage } from \"./pages/admin/core/WorkflowDefinitionListPage\";\nimport { WorkflowDefinitionEditorPage } from \"./pages/admin/core/WorkflowDefinitionEditorPage\";\nimport { WorkflowExecutionDetailPage } from \"./pages/admin/core/WorkflowExecutionDetailPage\";\nimport { LoginPage } from \"./pages/auth/LoginPage\";\nimport { RegisterPage } from \"./pages/auth/RegisterPage\";\nimport { ForgotPasswordPage } from \"./pages/auth/ForgotPasswordPage\";\nimport { InitiateForgotPasswordPage } from \"./pages/auth/InitiateForgotPasswordPage\";\nimport { InitiateForgotPasswordThankYouPage } from \"./pages/auth/InitiateForgotPasswordThankYouPage\";\nimport { ConfirmForgotPasswordPage } from \"./pages/auth/ConfirmForgotPasswordPage\";\nimport { ResetPasswordPage } from \"./pages/auth/ResetPasswordPage\";\nimport { InitiateLoginPage } from \"./pages/auth/InitiateLoginPage\";\nimport { InitiateRegisterPage } from \"./pages/auth/InitiateRegisterPage\";\nimport { InitiateGoogleOauthPage } from \"./pages/auth/InitiateGoogleOauthPage\";\nimport { InitiateFacebookOauthPage } from \"./pages/auth/InitiateFacebookOauthPage\";\nimport { InitiateMicrosoftOauthPage } from \"./pages/auth/InitiateMicrosoftOauthPage\";\nimport { InitiateMicrosoftActiveDirectoryOauthPage } from \"./pages/auth/InitiateMicrosoftActiveDirectoryOauthPage\";\nimport { SsoPage } from \"./pages/auth/SsoPage\";\nimport type { SolidRoutesOptions, SolidRouteKey } from \"./types\";\nimport { TreePage } from \"./pages/admin/core/TreePage\";\nimport { StudioHomePage } from \"./pages/studio/StudioHomePage\";\nimport { StudioLandingPage } from \"./pages/studio/StudioLandingPage\";\nimport { _solidRegisterExtraRoutes } from \"./SolidLayoutRegistry\";\nimport { SolidRouteMetadataBoundary } from \"./SolidRouteMetadataBoundary\";\n\nexport function getSolidRoutes(options: SolidRoutesOptions = {}): RouteObject[] {\n const {\n extraAuthRoutes = [],\n extraAdminRoutes = [],\n extraRoutes = [],\n elementOverrides = {},\n } = options;\n\n // Auto-register layout routes so StudioLandingPage can discover them\n // without any changes in the consuming project.\n _solidRegisterExtraRoutes(extraRoutes);\n\n const pick = (key: SolidRouteKey, fallback: JSX.Element) =>\n (elementOverrides[key] as JSX.Element) || fallback;\n\n const authChildren: RouteObject[] = [\n // Password based login, Passwordless login initiate otp\n { path: \"/auth/login\", element: pick(\"login\", <LoginPage />), handle: { title: \"Login\", manageDocumentMeta: true } },\n // Password based registration, Passwordless registration initiate otp\n { path: \"/auth/register\", element: pick(\"register\", <RegisterPage />), handle: { title: \"Register\", manageDocumentMeta: true } },\n // Passwordless login confirm otp\n { path: \"/auth/initiate-login\", element: pick(\"initiateLogin\", <InitiateLoginPage />), handle: { title: \"Verify Login\", manageDocumentMeta: true } },\n // Passwordless registration confirm otp\n { path: \"/auth/initiate-register\", element: pick(\"initiateRegister\", <InitiateRegisterPage />), handle: { title: \"Verify Registration\", manageDocumentMeta: true } },\n\n // Forgot password flow\n { path: \"/auth/forgot-password\", element: pick(\"forgotPassword\", <ForgotPasswordPage />), handle: { title: \"Forgot Password\", manageDocumentMeta: true } },\n { path: \"/auth/initiate-forgot-password\", element: pick(\"initiateForgotPassword\", <InitiateForgotPasswordPage />), handle: { title: \"Send Reset Code\", manageDocumentMeta: true } },\n { path: \"/auth/initiate-forgot-password-thank-you\", element: pick(\"initiateForgotPasswordThankYou\", <InitiateForgotPasswordThankYouPage />), handle: { title: \"Check Your Email\", manageDocumentMeta: true } },\n { path: \"/auth/confirm-forgot-password\", element: pick(\"confirmForgotPassword\", <ConfirmForgotPasswordPage />), handle: { title: \"Confirm Reset Code\", manageDocumentMeta: true } },\n\n // ??? not used ???\n { path: \"/auth/reset-password\", element: pick(\"resetPassword\", <ResetPasswordPage />), handle: { title: \"Reset Password\", manageDocumentMeta: true } },\n\n { path: \"/auth/initiate-google-oauth\", element: pick(\"initiateGoogleOauth\", <InitiateGoogleOauthPage />), handle: { title: \"Google Sign In\", manageDocumentMeta: true } },\n { path: \"/auth/initiate-facebook-oauth\", element: pick(\"initiateFacebookOauth\", <InitiateFacebookOauthPage />), handle: { title: \"Facebook Sign In\", manageDocumentMeta: true } },\n { path: \"/auth/initiate-microsoft-oauth\", element: pick(\"initiateMicrosoftOauth\", <InitiateMicrosoftOauthPage />), handle: { title: \"Microsoft Sign In\", manageDocumentMeta: true } },\n { path: \"/auth/initiate-microsoft-active-directory-oauth\", element: pick(\"initiateMicrosoftActiveDirectoryOauth\", <InitiateMicrosoftActiveDirectoryOauthPage />), handle: { title: \"Microsoft Active Directory Sign In\", manageDocumentMeta: true } },\n { path: \"/auth/sso\", element: pick(\"sso\", <SsoPage />), handle: { title: \"Single Sign-On\", manageDocumentMeta: true } },\n ...extraAuthRoutes,\n ];\n\n const adminChildren: RouteObject[] = [\n { path: \"/admin\", element: pick(\"admin\", <AdminPage />), handle: { title: \"Admin\", manageDocumentMeta: true } },\n { path: \"/admin/core/:moduleName/home\", element: pick(\"moduleHome\", <ModuleHomePage />), handle: { title: \"Module Home\", manageDocumentMeta: true } },\n { path: \"/admin/core/solid-core/workflow-definition/list\", element: <WorkflowDefinitionListPage />, handle: { title: \"Workflow Definitions\", manageDocumentMeta: true } },\n { path: \"/admin/core/solid-core/workflow-execution/detail/:id\", element: <WorkflowExecutionDetailPage />, handle: { title: \"Workflow Execution Detail\", manageDocumentMeta: true } },\n { path: \"/admin/core/:moduleName/:modelName/list\", element: pick(\"list\", <ListPage />), handle: { title: \"List\", manageDocumentMeta: true } },\n { path: \"/admin/core/:moduleName/:modelName/tree\", element: pick(\"tree\", <TreePage />), handle: { title: \"Tree\", manageDocumentMeta: true } },\n { path: \"/admin/core/:moduleName/:modelName/kanban\", element: pick(\"kanban\", <KanbanPage />), handle: { title: \"Kanban\", manageDocumentMeta: true } },\n { path: \"/admin/core/:moduleName/:modelName/card\", element: pick(\"card\", <CardPage />), handle: { title: \"Card\", manageDocumentMeta: true } },\n { path: \"/admin/core/:moduleName/dashboard/:dashboardName\", element: pick(\"dashboard\", <DashboardPage />), handle: { title: \"Dashboard\", manageDocumentMeta: true } },\n { path: \"/admin/core/:moduleName/:modelName/form/:id\", element: pick(\"form\", <FormPage />), handle: { title: \"Form\", manageDocumentMeta: true } },\n { path: \"/admin/core/solid-core/workflow-definition/editor/:id\", element: <WorkflowDefinitionEditorPage />, handle: { title: \"Workflow Definition Editor\", manageDocumentMeta: true } },\n { path: \"/admin/core/settings\", element: pick(\"settings\", <SettingsPage />), handle: { title: \"Settings\", manageDocumentMeta: true } },\n { path: \"/admin/core/solid-core/datasources\", element: <DatasourcesPage />, handle: { title: \"Datasources\", manageDocumentMeta: true } },\n { path: \"/admin/core/solid-core/modules/:moduleId/datasource-introspection\", element: <DatasourceIntrospectionPage />, handle: { title: \"Datasource Introspection\", manageDocumentMeta: true } },\n ...extraAdminRoutes,\n ];\n\n return [\n { path: \"/error\", element: pick(\"error\", <ErrorPage />) },\n { path: \"/not-found\", element: pick(\"notFound\", <NotFoundPage />) },\n {\n element: <GuestGuard />,\n children: [\n {\n element: pick(\"authLayout\", <AuthLayoutWrapper />),\n children: [\n {\n element: <SolidRouteMetadataBoundary routes={authChildren} />,\n handle: { title: \"Auth\", description: \"Authentication pages\", manageDocumentMeta: true },\n children: authChildren,\n },\n ],\n },\n ],\n },\n {\n element: pick(\"authGuard\", <AuthGuard />),\n children: [\n {\n element: pick(\"adminLayout\", <AdminLayoutWrapper />),\n children: [\n {\n element: <SolidRouteMetadataBoundary routes={adminChildren} />,\n handle: { title: \"Admin\", description: \"Administration pages\", manageDocumentMeta: true },\n children: adminChildren,\n },\n ],\n },\n {\n element: pick(\"adminGuard\", <AdminGuard />),\n children: [\n { path: \"/studio\", element: pick(\"studioHome\", <StudioHomePage />), handle: { title: \"Studio\", manageDocumentMeta: true } },\n { path: \"/landing\", element: pick(\"landing\", <StudioLandingPage />), handle: { title: \"Landing\", manageDocumentMeta: true } },\n ],\n },\n ],\n },\n ...extraRoutes,\n { path: \"/\", element: <Navigate to=\"/auth/login\" replace /> },\n { path: \"*\", element: <Navigate to=\"/not-found\" replace /> },\n ];\n}\n"]}
|
|
@@ -17,6 +17,9 @@ import { SettingsPage } from "./pages/admin/core/SettingsPage";
|
|
|
17
17
|
import { DashboardPage } from "./pages/admin/core/DashboardPage";
|
|
18
18
|
import { DatasourcesPage } from "./pages/admin/core/DatasourcesPage";
|
|
19
19
|
import { DatasourceIntrospectionPage } from "./pages/admin/core/DatasourceIntrospectionPage";
|
|
20
|
+
import { WorkflowDefinitionListPage } from "./pages/admin/core/WorkflowDefinitionListPage";
|
|
21
|
+
import { WorkflowDefinitionEditorPage } from "./pages/admin/core/WorkflowDefinitionEditorPage";
|
|
22
|
+
import { WorkflowExecutionDetailPage } from "./pages/admin/core/WorkflowExecutionDetailPage";
|
|
20
23
|
import { LoginPage } from "./pages/auth/LoginPage";
|
|
21
24
|
import { RegisterPage } from "./pages/auth/RegisterPage";
|
|
22
25
|
import { ForgotPasswordPage } from "./pages/auth/ForgotPasswordPage";
|
|
@@ -83,12 +86,15 @@ export function getSolidRoutes(options: SolidRoutesOptions = {}): RouteObject[]
|
|
|
83
86
|
const adminChildren: RouteObject[] = [
|
|
84
87
|
{ path: "/admin", element: pick("admin", <AdminPage />), handle: { title: "Admin", manageDocumentMeta: true } },
|
|
85
88
|
{ path: "/admin/core/:moduleName/home", element: pick("moduleHome", <ModuleHomePage />), handle: { title: "Module Home", manageDocumentMeta: true } },
|
|
89
|
+
{ path: "/admin/core/solid-core/workflow-definition/list", element: <WorkflowDefinitionListPage />, handle: { title: "Workflow Definitions", manageDocumentMeta: true } },
|
|
90
|
+
{ path: "/admin/core/solid-core/workflow-execution/detail/:id", element: <WorkflowExecutionDetailPage />, handle: { title: "Workflow Execution Detail", manageDocumentMeta: true } },
|
|
86
91
|
{ path: "/admin/core/:moduleName/:modelName/list", element: pick("list", <ListPage />), handle: { title: "List", manageDocumentMeta: true } },
|
|
87
92
|
{ path: "/admin/core/:moduleName/:modelName/tree", element: pick("tree", <TreePage />), handle: { title: "Tree", manageDocumentMeta: true } },
|
|
88
93
|
{ path: "/admin/core/:moduleName/:modelName/kanban", element: pick("kanban", <KanbanPage />), handle: { title: "Kanban", manageDocumentMeta: true } },
|
|
89
94
|
{ path: "/admin/core/:moduleName/:modelName/card", element: pick("card", <CardPage />), handle: { title: "Card", manageDocumentMeta: true } },
|
|
90
95
|
{ path: "/admin/core/:moduleName/dashboard/:dashboardName", element: pick("dashboard", <DashboardPage />), handle: { title: "Dashboard", manageDocumentMeta: true } },
|
|
91
96
|
{ path: "/admin/core/:moduleName/:modelName/form/:id", element: pick("form", <FormPage />), handle: { title: "Form", manageDocumentMeta: true } },
|
|
97
|
+
{ path: "/admin/core/solid-core/workflow-definition/editor/:id", element: <WorkflowDefinitionEditorPage />, handle: { title: "Workflow Definition Editor", manageDocumentMeta: true } },
|
|
92
98
|
{ path: "/admin/core/settings", element: pick("settings", <SettingsPage />), handle: { title: "Settings", manageDocumentMeta: true } },
|
|
93
99
|
{ path: "/admin/core/solid-core/datasources", element: <DatasourcesPage />, handle: { title: "Datasources", manageDocumentMeta: true } },
|
|
94
100
|
{ path: "/admin/core/solid-core/modules/:moduleId/datasource-introspection", element: <DatasourceIntrospectionPage />, handle: { title: "Datasource Introspection", manageDocumentMeta: true } },
|
|
@@ -10,6 +10,10 @@ export declare const ExtensionComponentTypes: {
|
|
|
10
10
|
readonly kanbanCardWidget: "kanbanCardWidget";
|
|
11
11
|
readonly cardWidget: "cardWidget";
|
|
12
12
|
readonly settingsWidgets: "settingsWidget";
|
|
13
|
+
readonly workflowNodeEditor: "workflowNodeEditor";
|
|
14
|
+
readonly workflowNodeDocs: "workflowNodeDocs";
|
|
15
|
+
readonly workflowNodeFieldEditor: "workflowNodeFieldEditor";
|
|
16
|
+
readonly workflowNodePaletteCard: "workflowNodePaletteCard";
|
|
13
17
|
};
|
|
14
18
|
export type ExtensionComponentType = (typeof ExtensionComponentTypes)[keyof typeof ExtensionComponentTypes];
|
|
15
19
|
export declare const ExtensionFunctionTypes: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extension-registry.d.ts","sourceRoot":"","sources":["../../src/types/extension-registry.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"extension-registry.d.ts","sourceRoot":"","sources":["../../src/types/extension-registry.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;CAgB1B,CAAC;AAEX,MAAM,MAAM,sBAAsB,GAC9B,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAC;AAE3E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;CAazB,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAC7B,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -9,7 +9,11 @@ export var ExtensionComponentTypes = {
|
|
|
9
9
|
formWidget: "formWidget",
|
|
10
10
|
kanbanCardWidget: "kanbanCardWidget",
|
|
11
11
|
cardWidget: "cardWidget",
|
|
12
|
-
settingsWidgets: "settingsWidget"
|
|
12
|
+
settingsWidgets: "settingsWidget",
|
|
13
|
+
workflowNodeEditor: "workflowNodeEditor",
|
|
14
|
+
workflowNodeDocs: "workflowNodeDocs",
|
|
15
|
+
workflowNodeFieldEditor: "workflowNodeFieldEditor",
|
|
16
|
+
workflowNodePaletteCard: "workflowNodePaletteCard",
|
|
13
17
|
};
|
|
14
18
|
export var ExtensionFunctionTypes = {
|
|
15
19
|
onFieldChange: "onFieldChange",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extension-registry.js","sourceRoot":"","sources":["../../src/types/extension-registry.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,uBAAuB,GAAG;IACnC,eAAe,EAAE,iBAAiB;IAClC,eAAe,EAAE,iBAAiB;IAClC,aAAa,EAAE,eAAe;IAC9B,gBAAgB,EAAE,kBAAkB;IACpC,mBAAmB,EAAE,qBAAqB;IAC1C,mBAAmB,EAAE,qBAAqB;IAC1C,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,gBAAgB,EAAE,kBAAkB;IACpC,UAAU,EAAE,YAAY;IACxB,eAAe,EAAE,gBAAgB;
|
|
1
|
+
{"version":3,"file":"extension-registry.js","sourceRoot":"","sources":["../../src/types/extension-registry.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,uBAAuB,GAAG;IACnC,eAAe,EAAE,iBAAiB;IAClC,eAAe,EAAE,iBAAiB;IAClC,aAAa,EAAE,eAAe;IAC9B,gBAAgB,EAAE,kBAAkB;IACpC,mBAAmB,EAAE,qBAAqB;IAC1C,mBAAmB,EAAE,qBAAqB;IAC1C,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,gBAAgB,EAAE,kBAAkB;IACpC,UAAU,EAAE,YAAY;IACxB,eAAe,EAAE,gBAAgB;IACjC,kBAAkB,EAAE,oBAAoB;IACxC,gBAAgB,EAAE,kBAAkB;IACpC,uBAAuB,EAAE,yBAAyB;IAClD,uBAAuB,EAAE,yBAAyB;CAC5C,CAAC;AAKX,MAAM,CAAC,IAAM,sBAAsB,GAAG;IAClC,aAAa,EAAE,eAAe;IAC9B,WAAW,EAAE,aAAa;IAC1B,cAAc,EAAE,gBAAgB;IAChC,gBAAgB,EAAE,kBAAkB;IACpC,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,oBAAoB,EAAE,sBAAsB;IAC5C,UAAU,EAAE,YAAY;IACxB,oBAAoB,EAAE,sBAAsB;IAC5C,UAAU,EAAE,YAAY;IACxB,YAAY,EAAE,cAAc;IAC5B,kBAAkB,EAAE,oBAAoB;CAClC,CAAC","sourcesContent":["export const ExtensionComponentTypes = {\n dashboardWidget: \"dashboardWidget\",\n listFieldWidget: \"listFieldWidget\",\n listRowAction: \"listRowAction\",\n listHeaderAction: \"listHeaderAction\",\n formFieldViewWidget: \"formFieldViewWidget\",\n formFieldEditWidget: \"formFieldEditWidget\",\n formAction: \"formAction\",\n formWidget: \"formWidget\",\n kanbanCardWidget: \"kanbanCardWidget\",\n cardWidget: \"cardWidget\",\n settingsWidgets: \"settingsWidget\",\n workflowNodeEditor: \"workflowNodeEditor\",\n workflowNodeDocs: \"workflowNodeDocs\",\n workflowNodeFieldEditor: \"workflowNodeFieldEditor\",\n workflowNodePaletteCard: \"workflowNodePaletteCard\",\n} as const;\n\nexport type ExtensionComponentType =\n (typeof ExtensionComponentTypes)[keyof typeof ExtensionComponentTypes];\n\nexport const ExtensionFunctionTypes = {\n onFieldChange: \"onFieldChange\",\n onFieldBlur: \"onFieldBlur\",\n onFormDataLoad: \"onFormDataLoad\",\n onFormLayoutLoad: \"onFormLayoutLoad\",\n onFormLoad: \"onFormLoad\",\n onListLoad: \"onListLoad\",\n onBeforeListDataLoad: \"onBeforeListDataLoad\",\n onTreeLoad: \"onTreeLoad\",\n onBeforeTreeDataLoad: \"onBeforeTreeDataLoad\",\n afterLogin: \"afterLogin\",\n beforeLogout: \"beforeLogout\",\n onApplicationMount: \"onApplicationMount\",\n} as const;\n\nexport type ExtensionFunctionType =\n (typeof ExtensionFunctionTypes)[keyof typeof ExtensionFunctionTypes];\n"]}
|
|
@@ -9,7 +9,11 @@ export const ExtensionComponentTypes = {
|
|
|
9
9
|
formWidget: "formWidget",
|
|
10
10
|
kanbanCardWidget: "kanbanCardWidget",
|
|
11
11
|
cardWidget: "cardWidget",
|
|
12
|
-
settingsWidgets: "settingsWidget"
|
|
12
|
+
settingsWidgets: "settingsWidget",
|
|
13
|
+
workflowNodeEditor: "workflowNodeEditor",
|
|
14
|
+
workflowNodeDocs: "workflowNodeDocs",
|
|
15
|
+
workflowNodeFieldEditor: "workflowNodeFieldEditor",
|
|
16
|
+
workflowNodePaletteCard: "workflowNodePaletteCard",
|
|
13
17
|
} as const;
|
|
14
18
|
|
|
15
19
|
export type ExtensionComponentType =
|
|
@@ -81,6 +81,13 @@ export type LayoutAttribute = {
|
|
|
81
81
|
renderMode?: string;
|
|
82
82
|
widget?: string;
|
|
83
83
|
visible?: boolean;
|
|
84
|
+
columnClassName?: string;
|
|
85
|
+
cellClassName?: string;
|
|
86
|
+
headerClassName?: string;
|
|
87
|
+
style?: Record<string, any>;
|
|
88
|
+
columnStyle?: Record<string, any>;
|
|
89
|
+
cellStyle?: Record<string, any>;
|
|
90
|
+
headerStyle?: Record<string, any>;
|
|
84
91
|
editWidget?: string;
|
|
85
92
|
viewWidget?: string;
|
|
86
93
|
cardWidget?: string;
|
|
@@ -89,6 +96,10 @@ export type LayoutAttribute = {
|
|
|
89
96
|
inlineCreateLayout?: any;
|
|
90
97
|
showDefaultAddButton?: boolean;
|
|
91
98
|
showDefaultEditButton?: boolean;
|
|
99
|
+
showRowActionsInContextMenu?: boolean;
|
|
100
|
+
showRowActionsAsIconOnly?: boolean;
|
|
101
|
+
showRowEditAsIconOnly?: boolean;
|
|
102
|
+
showRowDeleteAsIconOnly?: boolean;
|
|
92
103
|
showEditFormButton?: boolean;
|
|
93
104
|
showAddFormButton?: boolean;
|
|
94
105
|
showDeleteFormButton?: boolean;
|
|
@@ -130,6 +141,27 @@ export type SolidUiEvent = {
|
|
|
130
141
|
viewMetadata: SolidView;
|
|
131
142
|
fieldsMetadata: FieldsMetadata;
|
|
132
143
|
formViewLayout: LayoutNode;
|
|
144
|
+
popup?: {
|
|
145
|
+
open: (event: {
|
|
146
|
+
action?: string;
|
|
147
|
+
closable?: boolean;
|
|
148
|
+
title?: string;
|
|
149
|
+
body?: any;
|
|
150
|
+
message?: any;
|
|
151
|
+
buttons?: Array<{
|
|
152
|
+
label: string;
|
|
153
|
+
action?: string | ((event: any, close: () => void) => void | Promise<void>);
|
|
154
|
+
variant?: string;
|
|
155
|
+
className?: string;
|
|
156
|
+
icon?: string;
|
|
157
|
+
closeOnClick?: boolean;
|
|
158
|
+
[key: string]: any;
|
|
159
|
+
}>;
|
|
160
|
+
popupWidth?: string;
|
|
161
|
+
[key: string]: any;
|
|
162
|
+
}) => void;
|
|
163
|
+
close: () => void;
|
|
164
|
+
};
|
|
133
165
|
};
|
|
134
166
|
|
|
135
167
|
export type SolidUiEventResponse = {
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
export type WorkflowNodeKind = "task" | "control" | "subflow";
|
|
2
|
+
export type WorkflowNodeConfigurationValueType = "string" | "number" | "integer" | "boolean" | "object" | "array" | "json" | "secret" | "expression" | "relation" | "uri" | "any";
|
|
3
|
+
export type WorkflowStepExecutionStatus = "created" | "running" | "success" | "failed" | "skipped";
|
|
4
|
+
export type WorkflowNodeMetricType = "counter" | "gauge" | "histogram" | "timer" | "summary";
|
|
5
|
+
export interface WorkflowNodeChildSlotDefinition {
|
|
6
|
+
key: string;
|
|
7
|
+
label?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
kind: "sequence" | "case-collection";
|
|
10
|
+
layout?: "sequential" | "parallel";
|
|
11
|
+
required?: boolean;
|
|
12
|
+
minItems?: number;
|
|
13
|
+
maxItems?: number;
|
|
14
|
+
}
|
|
15
|
+
export interface WorkflowNodeConfigurationFieldDefinition {
|
|
16
|
+
key: string;
|
|
17
|
+
label?: string;
|
|
18
|
+
description?: string;
|
|
19
|
+
valueType?: WorkflowNodeConfigurationValueType;
|
|
20
|
+
required?: boolean;
|
|
21
|
+
path?: string;
|
|
22
|
+
expressionAllowed?: boolean;
|
|
23
|
+
secretAllowed?: boolean;
|
|
24
|
+
defaultValue?: any;
|
|
25
|
+
enumValues?: Array<string | number | boolean>;
|
|
26
|
+
examples?: any[];
|
|
27
|
+
group?: string;
|
|
28
|
+
widgetHint?: string;
|
|
29
|
+
extensionComponentKey?: string;
|
|
30
|
+
schema?: Record<string, any>;
|
|
31
|
+
uiSchema?: Record<string, any>;
|
|
32
|
+
}
|
|
33
|
+
export interface WorkflowNodeOutputDefinition {
|
|
34
|
+
key: string;
|
|
35
|
+
label?: string;
|
|
36
|
+
description?: string;
|
|
37
|
+
valueType?: WorkflowNodeConfigurationValueType;
|
|
38
|
+
path?: string;
|
|
39
|
+
required?: boolean;
|
|
40
|
+
schema?: Record<string, any>;
|
|
41
|
+
}
|
|
42
|
+
export interface WorkflowNodeMetricDefinition {
|
|
43
|
+
key: string;
|
|
44
|
+
label?: string;
|
|
45
|
+
description?: string;
|
|
46
|
+
type?: WorkflowNodeMetricType;
|
|
47
|
+
unit?: string;
|
|
48
|
+
path?: string;
|
|
49
|
+
tags?: string[];
|
|
50
|
+
}
|
|
51
|
+
export interface WorkflowNodeExampleDefinition {
|
|
52
|
+
key: string;
|
|
53
|
+
label?: string;
|
|
54
|
+
description?: string;
|
|
55
|
+
language?: "json" | "yaml" | "javascript" | "typescript" | "text";
|
|
56
|
+
snippet: string;
|
|
57
|
+
configurationOnly?: boolean;
|
|
58
|
+
metadata?: Record<string, any>;
|
|
59
|
+
}
|
|
60
|
+
export interface WorkflowNodeReferenceDefinition {
|
|
61
|
+
key: string;
|
|
62
|
+
label?: string;
|
|
63
|
+
description?: string;
|
|
64
|
+
content?: string;
|
|
65
|
+
examples?: WorkflowNodeExampleDefinition[];
|
|
66
|
+
schema?: Record<string, any>;
|
|
67
|
+
metadata?: Record<string, any>;
|
|
68
|
+
}
|
|
69
|
+
export interface WorkflowNodeAuthoringMetadata {
|
|
70
|
+
defaultConfiguration?: Record<string, any>;
|
|
71
|
+
configurationFields?: WorkflowNodeConfigurationFieldDefinition[];
|
|
72
|
+
configurationLayout?: WorkflowNodeConfigurationLayoutDefinition;
|
|
73
|
+
childSlots?: WorkflowNodeChildSlotDefinition[];
|
|
74
|
+
outputs?: WorkflowNodeOutputDefinition[];
|
|
75
|
+
supportsExpressions?: boolean;
|
|
76
|
+
supportsRetryPolicy?: boolean;
|
|
77
|
+
supportsTimeoutMs?: boolean;
|
|
78
|
+
supportsOnError?: boolean;
|
|
79
|
+
supportsDisableToggle?: boolean;
|
|
80
|
+
supportsName?: boolean;
|
|
81
|
+
supportsDescription?: boolean;
|
|
82
|
+
searchableText?: string[];
|
|
83
|
+
}
|
|
84
|
+
export interface WorkflowNodeConfigurationLayoutDefinition {
|
|
85
|
+
type: "tabs";
|
|
86
|
+
tabs: WorkflowNodeConfigurationLayoutTabDefinition[];
|
|
87
|
+
}
|
|
88
|
+
export interface WorkflowNodeConfigurationLayoutTabDefinition {
|
|
89
|
+
key: string;
|
|
90
|
+
label: string;
|
|
91
|
+
fields?: string[];
|
|
92
|
+
groups?: string[];
|
|
93
|
+
}
|
|
94
|
+
export interface WorkflowNodeRuntimeMetadata {
|
|
95
|
+
emitsLogs?: boolean;
|
|
96
|
+
emitsArtifacts?: boolean;
|
|
97
|
+
deterministicOutputs?: boolean;
|
|
98
|
+
executionMode?: "task" | "engine-controlled";
|
|
99
|
+
successStatuses?: WorkflowStepExecutionStatus[];
|
|
100
|
+
}
|
|
101
|
+
export interface WorkflowNodeDocumentationMetadata {
|
|
102
|
+
summary?: string;
|
|
103
|
+
}
|
|
104
|
+
export interface WorkflowNodeUiMetadata {
|
|
105
|
+
icon?: string;
|
|
106
|
+
iconColor?: string;
|
|
107
|
+
iconBackgroundColor?: string;
|
|
108
|
+
iconBorderColor?: string;
|
|
109
|
+
editorComponentKey?: string;
|
|
110
|
+
docsComponentKey?: string;
|
|
111
|
+
paletteComponentKey?: string;
|
|
112
|
+
defaultEditorMode?: "schema" | "custom";
|
|
113
|
+
fieldComponentKeys?: Record<string, string>;
|
|
114
|
+
modalSize?: "sm" | "md" | "lg" | "xl" | "full";
|
|
115
|
+
layoutHints?: {
|
|
116
|
+
preferredPanel?: "code" | "flow" | "docs";
|
|
117
|
+
groupOrder?: string[];
|
|
118
|
+
stickySummary?: boolean;
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
export interface WorkflowNodeMetadataResponse {
|
|
122
|
+
type: string;
|
|
123
|
+
kind: WorkflowNodeKind;
|
|
124
|
+
version?: string;
|
|
125
|
+
category?: string;
|
|
126
|
+
subcategory?: string;
|
|
127
|
+
label?: string;
|
|
128
|
+
description?: string;
|
|
129
|
+
icon?: string;
|
|
130
|
+
tags?: string[];
|
|
131
|
+
configSchema?: Record<string, any>;
|
|
132
|
+
uiSchema?: Record<string, any>;
|
|
133
|
+
outputSchema?: Record<string, any>;
|
|
134
|
+
examples?: WorkflowNodeExampleDefinition[];
|
|
135
|
+
metrics?: WorkflowNodeMetricDefinition[];
|
|
136
|
+
definitions?: WorkflowNodeReferenceDefinition[];
|
|
137
|
+
authoring?: WorkflowNodeAuthoringMetadata;
|
|
138
|
+
runtime?: WorkflowNodeRuntimeMetadata;
|
|
139
|
+
documentation?: WorkflowNodeDocumentationMetadata;
|
|
140
|
+
ui?: WorkflowNodeUiMetadata;
|
|
141
|
+
}
|
|
142
|
+
//# sourceMappingURL=workflow-node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-node.d.ts","sourceRoot":"","sources":["../../src/types/workflow-node.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;AAE9D,MAAM,MAAM,kCAAkC,GAC1C,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,SAAS,GACT,QAAQ,GACR,OAAO,GACP,MAAM,GACN,QAAQ,GACR,YAAY,GACZ,UAAU,GACV,KAAK,GACL,KAAK,CAAC;AAEV,MAAM,MAAM,2BAA2B,GACnC,SAAS,GACT,SAAS,GACT,SAAS,GACT,QAAQ,GACR,SAAS,CAAC;AAEd,MAAM,MAAM,sBAAsB,GAC9B,SAAS,GACT,OAAO,GACP,WAAW,GACX,OAAO,GACP,SAAS,CAAC;AAEd,MAAM,WAAW,+BAA+B;IAC9C,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,UAAU,GAAG,iBAAiB,CAAC;IACrC,MAAM,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,wCAAwC;IACvD,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,kCAAkC,CAAC;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAA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B;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,gBAAgB,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACnC,QAAQ,CAAC,EAAE,6BAA6B,EAAE,CAAC;IAC3C,OAAO,CAAC,EAAE,4BAA4B,EAAE,CAAC;IACzC,WAAW,CAAC,EAAE,+BAA+B,EAAE,CAAC;IAChD,SAAS,CAAC,EAAE,6BAA6B,CAAC;IAC1C,OAAO,CAAC,EAAE,2BAA2B,CAAC;IACtC,aAAa,CAAC,EAAE,iCAAiC,CAAC;IAClD,EAAE,CAAC,EAAE,sBAAsB,CAAC;CAC7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-node.js","sourceRoot":"","sources":["../../src/types/workflow-node.ts"],"names":[],"mappings":"","sourcesContent":["export type WorkflowNodeKind = \"task\" | \"control\" | \"subflow\";\n\nexport type WorkflowNodeConfigurationValueType =\n | \"string\"\n | \"number\"\n | \"integer\"\n | \"boolean\"\n | \"object\"\n | \"array\"\n | \"json\"\n | \"secret\"\n | \"expression\"\n | \"relation\"\n | \"uri\"\n | \"any\";\n\nexport type WorkflowStepExecutionStatus =\n | \"created\"\n | \"running\"\n | \"success\"\n | \"failed\"\n | \"skipped\";\n\nexport type WorkflowNodeMetricType =\n | \"counter\"\n | \"gauge\"\n | \"histogram\"\n | \"timer\"\n | \"summary\";\n\nexport interface WorkflowNodeChildSlotDefinition {\n key: string;\n label?: string;\n description?: string;\n kind: \"sequence\" | \"case-collection\";\n layout?: \"sequential\" | \"parallel\";\n required?: boolean;\n minItems?: number;\n maxItems?: number;\n}\n\nexport interface WorkflowNodeConfigurationFieldDefinition {\n key: string;\n label?: string;\n description?: string;\n valueType?: WorkflowNodeConfigurationValueType;\n required?: boolean;\n path?: string;\n expressionAllowed?: boolean;\n secretAllowed?: boolean;\n defaultValue?: any;\n enumValues?: Array<string | number | boolean>;\n examples?: any[];\n group?: string;\n widgetHint?: string;\n extensionComponentKey?: string;\n schema?: Record<string, any>;\n uiSchema?: Record<string, any>;\n}\n\nexport interface WorkflowNodeOutputDefinition {\n key: string;\n label?: string;\n description?: string;\n valueType?: WorkflowNodeConfigurationValueType;\n path?: string;\n required?: boolean;\n schema?: Record<string, any>;\n}\n\nexport interface WorkflowNodeMetricDefinition {\n key: string;\n label?: string;\n description?: string;\n type?: WorkflowNodeMetricType;\n unit?: string;\n path?: string;\n tags?: string[];\n}\n\nexport interface WorkflowNodeExampleDefinition {\n key: string;\n label?: string;\n description?: string;\n language?: \"json\" | \"yaml\" | \"javascript\" | \"typescript\" | \"text\";\n snippet: string;\n configurationOnly?: boolean;\n metadata?: Record<string, any>;\n}\n\nexport interface WorkflowNodeReferenceDefinition {\n key: string;\n label?: string;\n description?: string;\n content?: string;\n examples?: WorkflowNodeExampleDefinition[];\n schema?: Record<string, any>;\n metadata?: Record<string, any>;\n}\n\nexport interface WorkflowNodeAuthoringMetadata {\n defaultConfiguration?: Record<string, any>;\n configurationFields?: WorkflowNodeConfigurationFieldDefinition[];\n configurationLayout?: WorkflowNodeConfigurationLayoutDefinition;\n childSlots?: WorkflowNodeChildSlotDefinition[];\n outputs?: WorkflowNodeOutputDefinition[];\n supportsExpressions?: boolean;\n supportsRetryPolicy?: boolean;\n supportsTimeoutMs?: boolean;\n supportsOnError?: boolean;\n supportsDisableToggle?: boolean;\n supportsName?: boolean;\n supportsDescription?: boolean;\n searchableText?: string[];\n}\n\nexport interface WorkflowNodeConfigurationLayoutDefinition {\n type: \"tabs\";\n tabs: WorkflowNodeConfigurationLayoutTabDefinition[];\n}\n\nexport interface WorkflowNodeConfigurationLayoutTabDefinition {\n key: string;\n label: string;\n fields?: string[];\n groups?: string[];\n}\n\nexport interface WorkflowNodeRuntimeMetadata {\n emitsLogs?: boolean;\n emitsArtifacts?: boolean;\n deterministicOutputs?: boolean;\n executionMode?: \"task\" | \"engine-controlled\";\n successStatuses?: WorkflowStepExecutionStatus[];\n}\n\nexport interface WorkflowNodeDocumentationMetadata {\n summary?: string;\n}\n\nexport interface WorkflowNodeUiMetadata {\n icon?: string;\n iconColor?: string;\n iconBackgroundColor?: string;\n iconBorderColor?: string;\n editorComponentKey?: string;\n docsComponentKey?: string;\n paletteComponentKey?: string;\n defaultEditorMode?: \"schema\" | \"custom\";\n fieldComponentKeys?: Record<string, string>;\n modalSize?: \"sm\" | \"md\" | \"lg\" | \"xl\" | \"full\";\n layoutHints?: {\n preferredPanel?: \"code\" | \"flow\" | \"docs\";\n groupOrder?: string[];\n stickySummary?: boolean;\n };\n}\n\nexport interface WorkflowNodeMetadataResponse {\n type: string;\n kind: WorkflowNodeKind;\n version?: string;\n category?: string;\n subcategory?: string;\n label?: string;\n description?: string;\n icon?: string;\n tags?: string[];\n configSchema?: Record<string, any>;\n uiSchema?: Record<string, any>;\n outputSchema?: Record<string, any>;\n examples?: WorkflowNodeExampleDefinition[];\n metrics?: WorkflowNodeMetricDefinition[];\n definitions?: WorkflowNodeReferenceDefinition[];\n authoring?: WorkflowNodeAuthoringMetadata;\n runtime?: WorkflowNodeRuntimeMetadata;\n documentation?: WorkflowNodeDocumentationMetadata;\n ui?: WorkflowNodeUiMetadata;\n}\n"]}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
export type WorkflowNodeKind = "task" | "control" | "subflow";
|
|
2
|
+
|
|
3
|
+
export type WorkflowNodeConfigurationValueType =
|
|
4
|
+
| "string"
|
|
5
|
+
| "number"
|
|
6
|
+
| "integer"
|
|
7
|
+
| "boolean"
|
|
8
|
+
| "object"
|
|
9
|
+
| "array"
|
|
10
|
+
| "json"
|
|
11
|
+
| "secret"
|
|
12
|
+
| "expression"
|
|
13
|
+
| "relation"
|
|
14
|
+
| "uri"
|
|
15
|
+
| "any";
|
|
16
|
+
|
|
17
|
+
export type WorkflowStepExecutionStatus =
|
|
18
|
+
| "created"
|
|
19
|
+
| "running"
|
|
20
|
+
| "success"
|
|
21
|
+
| "failed"
|
|
22
|
+
| "skipped";
|
|
23
|
+
|
|
24
|
+
export type WorkflowNodeMetricType =
|
|
25
|
+
| "counter"
|
|
26
|
+
| "gauge"
|
|
27
|
+
| "histogram"
|
|
28
|
+
| "timer"
|
|
29
|
+
| "summary";
|
|
30
|
+
|
|
31
|
+
export interface WorkflowNodeChildSlotDefinition {
|
|
32
|
+
key: string;
|
|
33
|
+
label?: string;
|
|
34
|
+
description?: string;
|
|
35
|
+
kind: "sequence" | "case-collection";
|
|
36
|
+
layout?: "sequential" | "parallel";
|
|
37
|
+
required?: boolean;
|
|
38
|
+
minItems?: number;
|
|
39
|
+
maxItems?: number;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface WorkflowNodeConfigurationFieldDefinition {
|
|
43
|
+
key: string;
|
|
44
|
+
label?: string;
|
|
45
|
+
description?: string;
|
|
46
|
+
valueType?: WorkflowNodeConfigurationValueType;
|
|
47
|
+
required?: boolean;
|
|
48
|
+
path?: string;
|
|
49
|
+
expressionAllowed?: boolean;
|
|
50
|
+
secretAllowed?: boolean;
|
|
51
|
+
defaultValue?: any;
|
|
52
|
+
enumValues?: Array<string | number | boolean>;
|
|
53
|
+
examples?: any[];
|
|
54
|
+
group?: string;
|
|
55
|
+
widgetHint?: string;
|
|
56
|
+
extensionComponentKey?: string;
|
|
57
|
+
schema?: Record<string, any>;
|
|
58
|
+
uiSchema?: Record<string, any>;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export interface WorkflowNodeOutputDefinition {
|
|
62
|
+
key: string;
|
|
63
|
+
label?: string;
|
|
64
|
+
description?: string;
|
|
65
|
+
valueType?: WorkflowNodeConfigurationValueType;
|
|
66
|
+
path?: string;
|
|
67
|
+
required?: boolean;
|
|
68
|
+
schema?: Record<string, any>;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export interface WorkflowNodeMetricDefinition {
|
|
72
|
+
key: string;
|
|
73
|
+
label?: string;
|
|
74
|
+
description?: string;
|
|
75
|
+
type?: WorkflowNodeMetricType;
|
|
76
|
+
unit?: string;
|
|
77
|
+
path?: string;
|
|
78
|
+
tags?: string[];
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export interface WorkflowNodeExampleDefinition {
|
|
82
|
+
key: string;
|
|
83
|
+
label?: string;
|
|
84
|
+
description?: string;
|
|
85
|
+
language?: "json" | "yaml" | "javascript" | "typescript" | "text";
|
|
86
|
+
snippet: string;
|
|
87
|
+
configurationOnly?: boolean;
|
|
88
|
+
metadata?: Record<string, any>;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export interface WorkflowNodeReferenceDefinition {
|
|
92
|
+
key: string;
|
|
93
|
+
label?: string;
|
|
94
|
+
description?: string;
|
|
95
|
+
content?: string;
|
|
96
|
+
examples?: WorkflowNodeExampleDefinition[];
|
|
97
|
+
schema?: Record<string, any>;
|
|
98
|
+
metadata?: Record<string, any>;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export interface WorkflowNodeAuthoringMetadata {
|
|
102
|
+
defaultConfiguration?: Record<string, any>;
|
|
103
|
+
configurationFields?: WorkflowNodeConfigurationFieldDefinition[];
|
|
104
|
+
configurationLayout?: WorkflowNodeConfigurationLayoutDefinition;
|
|
105
|
+
childSlots?: WorkflowNodeChildSlotDefinition[];
|
|
106
|
+
outputs?: WorkflowNodeOutputDefinition[];
|
|
107
|
+
supportsExpressions?: boolean;
|
|
108
|
+
supportsRetryPolicy?: boolean;
|
|
109
|
+
supportsTimeoutMs?: boolean;
|
|
110
|
+
supportsOnError?: boolean;
|
|
111
|
+
supportsDisableToggle?: boolean;
|
|
112
|
+
supportsName?: boolean;
|
|
113
|
+
supportsDescription?: boolean;
|
|
114
|
+
searchableText?: string[];
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export interface WorkflowNodeConfigurationLayoutDefinition {
|
|
118
|
+
type: "tabs";
|
|
119
|
+
tabs: WorkflowNodeConfigurationLayoutTabDefinition[];
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export interface WorkflowNodeConfigurationLayoutTabDefinition {
|
|
123
|
+
key: string;
|
|
124
|
+
label: string;
|
|
125
|
+
fields?: string[];
|
|
126
|
+
groups?: string[];
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export interface WorkflowNodeRuntimeMetadata {
|
|
130
|
+
emitsLogs?: boolean;
|
|
131
|
+
emitsArtifacts?: boolean;
|
|
132
|
+
deterministicOutputs?: boolean;
|
|
133
|
+
executionMode?: "task" | "engine-controlled";
|
|
134
|
+
successStatuses?: WorkflowStepExecutionStatus[];
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export interface WorkflowNodeDocumentationMetadata {
|
|
138
|
+
summary?: string;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export interface WorkflowNodeUiMetadata {
|
|
142
|
+
icon?: string;
|
|
143
|
+
iconColor?: string;
|
|
144
|
+
iconBackgroundColor?: string;
|
|
145
|
+
iconBorderColor?: string;
|
|
146
|
+
editorComponentKey?: string;
|
|
147
|
+
docsComponentKey?: string;
|
|
148
|
+
paletteComponentKey?: string;
|
|
149
|
+
defaultEditorMode?: "schema" | "custom";
|
|
150
|
+
fieldComponentKeys?: Record<string, string>;
|
|
151
|
+
modalSize?: "sm" | "md" | "lg" | "xl" | "full";
|
|
152
|
+
layoutHints?: {
|
|
153
|
+
preferredPanel?: "code" | "flow" | "docs";
|
|
154
|
+
groupOrder?: string[];
|
|
155
|
+
stickySummary?: boolean;
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export interface WorkflowNodeMetadataResponse {
|
|
160
|
+
type: string;
|
|
161
|
+
kind: WorkflowNodeKind;
|
|
162
|
+
version?: string;
|
|
163
|
+
category?: string;
|
|
164
|
+
subcategory?: string;
|
|
165
|
+
label?: string;
|
|
166
|
+
description?: string;
|
|
167
|
+
icon?: string;
|
|
168
|
+
tags?: string[];
|
|
169
|
+
configSchema?: Record<string, any>;
|
|
170
|
+
uiSchema?: Record<string, any>;
|
|
171
|
+
outputSchema?: Record<string, any>;
|
|
172
|
+
examples?: WorkflowNodeExampleDefinition[];
|
|
173
|
+
metrics?: WorkflowNodeMetricDefinition[];
|
|
174
|
+
definitions?: WorkflowNodeReferenceDefinition[];
|
|
175
|
+
authoring?: WorkflowNodeAuthoringMetadata;
|
|
176
|
+
runtime?: WorkflowNodeRuntimeMetadata;
|
|
177
|
+
documentation?: WorkflowNodeDocumentationMetadata;
|
|
178
|
+
ui?: WorkflowNodeUiMetadata;
|
|
179
|
+
}
|