@dxos/plugin-pipeline 0.8.4-main.2244d791bb → 0.8.4-main.3fbcb4aa9b
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/lib/neutral/PipelineContainer-7MK2SS76.mjs +69 -0
- package/dist/lib/neutral/PipelineContainer-7MK2SS76.mjs.map +7 -0
- package/dist/lib/neutral/PipelinePlugin.mjs +26 -0
- package/dist/lib/neutral/PipelinePlugin.mjs.map +7 -0
- package/dist/lib/neutral/PipelinePlugin.node.mjs +21 -0
- package/dist/lib/neutral/PipelinePlugin.node.mjs.map +7 -0
- package/dist/lib/{browser/PipelineSettings-R54RTVWZ.mjs → neutral/PipelineProperties-RRPQ3V6I.mjs} +45 -56
- package/dist/lib/neutral/PipelineProperties-RRPQ3V6I.mjs.map +7 -0
- package/dist/lib/neutral/app-graph-builder-ZLGRWRJU.mjs +44 -0
- package/dist/lib/neutral/app-graph-builder-ZLGRWRJU.mjs.map +7 -0
- package/dist/lib/neutral/capabilities/index.mjs +11 -0
- package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
- package/dist/lib/{browser/chunk-QWNKLHBY.mjs → neutral/chunk-ULB5DKWO.mjs} +2 -9
- package/dist/lib/{browser/chunk-QWNKLHBY.mjs.map → neutral/chunk-ULB5DKWO.mjs.map} +3 -3
- package/dist/lib/neutral/components/index.mjs +206 -0
- package/dist/lib/neutral/components/index.mjs.map +7 -0
- package/dist/lib/neutral/containers/index.mjs +9 -0
- package/dist/lib/neutral/containers/index.mjs.map +7 -0
- package/dist/lib/neutral/create-object-ZJYFACOI.mjs +25 -0
- package/dist/lib/neutral/create-object-ZJYFACOI.mjs.map +7 -0
- package/dist/lib/neutral/hooks/index.mjs +70 -0
- package/dist/lib/neutral/hooks/index.mjs.map +7 -0
- package/dist/lib/neutral/index.mjs +7 -0
- package/dist/lib/neutral/meta.json +1 -0
- package/dist/lib/neutral/meta.mjs +7 -0
- package/dist/lib/neutral/meta.mjs.map +7 -0
- package/dist/lib/neutral/plugin.mjs +11 -0
- package/dist/lib/neutral/plugin.mjs.map +7 -0
- package/dist/lib/neutral/react-surface-TW6TRMO6.mjs +49 -0
- package/dist/lib/neutral/react-surface-TW6TRMO6.mjs.map +7 -0
- package/dist/lib/neutral/translations.mjs +38 -0
- package/dist/lib/neutral/translations.mjs.map +7 -0
- package/dist/lib/neutral/types/index.mjs +1 -0
- package/dist/lib/neutral/types/index.mjs.map +7 -0
- package/dist/types/src/PipelinePlugin.d.ts +1 -0
- package/dist/types/src/PipelinePlugin.d.ts.map +1 -1
- package/dist/types/src/PipelinePlugin.node.d.ts +4 -0
- package/dist/types/src/PipelinePlugin.node.d.ts.map +1 -0
- package/dist/types/src/PipelinePlugin.test.d.ts +2 -0
- package/dist/types/src/PipelinePlugin.test.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts +6 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -0
- package/dist/types/src/capabilities/create-object.d.ts +11 -0
- package/dist/types/src/capabilities/create-object.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +9 -3
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts +5 -0
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
- package/dist/types/src/components/{PipelineColumn.d.ts → PipelineComponent/PipelineColumn.d.ts} +4 -4
- package/dist/types/src/components/PipelineComponent/PipelineColumn.d.ts.map +1 -0
- package/dist/types/src/components/PipelineComponent/PipelineComponent.d.ts +53 -0
- package/dist/types/src/components/PipelineComponent/PipelineComponent.d.ts.map +1 -0
- package/dist/types/src/components/PipelineComponent/PipelineComponent.stories.d.ts +62 -0
- package/dist/types/src/components/PipelineComponent/PipelineComponent.stories.d.ts.map +1 -0
- package/dist/types/src/components/PipelineComponent/index.d.ts +3 -0
- package/dist/types/src/components/PipelineComponent/index.d.ts.map +1 -0
- package/dist/types/src/components/index.d.ts +1 -4
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/containers/PipelineContainer/PipelineContainer.d.ts +6 -0
- package/dist/types/src/containers/PipelineContainer/PipelineContainer.d.ts.map +1 -0
- package/dist/types/src/containers/PipelineContainer/PipelineContainer.stories.d.ts +76 -0
- package/dist/types/src/containers/PipelineContainer/PipelineContainer.stories.d.ts.map +1 -0
- package/dist/types/src/containers/PipelineContainer/index.d.ts +2 -0
- package/dist/types/src/containers/PipelineContainer/index.d.ts.map +1 -0
- package/dist/types/src/containers/PipelineProperties/PipelineProperties.d.ts +11 -0
- package/dist/types/src/containers/PipelineProperties/PipelineProperties.d.ts.map +1 -0
- package/dist/types/src/containers/PipelineProperties/index.d.ts +2 -0
- package/dist/types/src/containers/PipelineProperties/index.d.ts.map +1 -0
- package/dist/types/src/containers/index.d.ts +4 -0
- package/dist/types/src/containers/index.d.ts.map +1 -0
- package/dist/types/src/hooks/index.d.ts +2 -0
- package/dist/types/src/hooks/index.d.ts.map +1 -0
- package/dist/types/src/hooks/usePipelineBoardModel.d.ts +6 -0
- package/dist/types/src/hooks/usePipelineBoardModel.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +0 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/plugin.d.ts +3 -0
- package/dist/types/src/plugin.d.ts.map +1 -0
- package/dist/types/src/templates/research.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +44 -25
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/index.d.ts +0 -2
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +100 -54
- package/src/PipelinePlugin.node.ts +19 -0
- package/src/PipelinePlugin.test.ts +27 -0
- package/src/PipelinePlugin.tsx +7 -31
- package/src/capabilities/app-graph-builder.ts +40 -0
- package/src/capabilities/create-object.ts +29 -0
- package/src/capabilities/index.ts +5 -3
- package/src/capabilities/react-surface.tsx +53 -0
- package/src/components/{PipelineColumn.tsx → PipelineComponent/PipelineColumn.tsx} +67 -48
- package/src/components/{PipelineComponent.stories.tsx → PipelineComponent/PipelineComponent.stories.tsx} +40 -32
- package/src/components/PipelineComponent/PipelineComponent.tsx +140 -0
- package/src/components/PipelineComponent/index.ts +6 -0
- package/src/components/index.ts +1 -7
- package/src/containers/PipelineContainer/PipelineContainer.stories.tsx +230 -0
- package/src/containers/PipelineContainer/PipelineContainer.tsx +84 -0
- package/src/containers/PipelineContainer/index.ts +5 -0
- package/src/{components/PipelineSettings.tsx → containers/PipelineProperties/PipelineProperties.tsx} +50 -43
- package/src/containers/PipelineProperties/index.ts +5 -0
- package/src/containers/index.ts +8 -0
- package/src/hooks/index.ts +5 -0
- package/src/hooks/usePipelineBoardModel.ts +79 -0
- package/src/index.ts +0 -1
- package/src/meta.ts +1 -1
- package/src/plugin.ts +9 -0
- package/src/templates/research.ts +16 -17
- package/src/translations.ts +22 -21
- package/src/types/index.ts +0 -3
- package/dist/lib/browser/PipelineContainer-2BRZPECS.mjs +0 -289
- package/dist/lib/browser/PipelineContainer-2BRZPECS.mjs.map +0 -7
- package/dist/lib/browser/PipelineSettings-R54RTVWZ.mjs.map +0 -7
- package/dist/lib/browser/app-graph-builder-NUJB33F7.mjs +0 -65
- package/dist/lib/browser/app-graph-builder-NUJB33F7.mjs.map +0 -7
- package/dist/lib/browser/chunk-7GVESVYR.mjs +0 -42
- package/dist/lib/browser/chunk-7GVESVYR.mjs.map +0 -7
- package/dist/lib/browser/index.mjs +0 -109
- package/dist/lib/browser/index.mjs.map +0 -7
- package/dist/lib/browser/meta.json +0 -1
- package/dist/lib/browser/react-surface-CMTEEE6F.mjs +0 -57
- package/dist/lib/browser/react-surface-CMTEEE6F.mjs.map +0 -7
- package/dist/lib/browser/types/index.mjs +0 -10
- package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts +0 -6
- package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +0 -1
- package/dist/types/src/capabilities/app-graph-builder/index.d.ts +0 -3
- package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/operation-resolver/index.d.ts +0 -2
- package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +0 -5
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface/index.d.ts +0 -3
- package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts +0 -5
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
- package/dist/types/src/components/PipelineColumn.d.ts.map +0 -1
- package/dist/types/src/components/PipelineComponent.d.ts +0 -44
- package/dist/types/src/components/PipelineComponent.d.ts.map +0 -1
- package/dist/types/src/components/PipelineComponent.stories.d.ts +0 -42
- package/dist/types/src/components/PipelineComponent.stories.d.ts.map +0 -1
- package/dist/types/src/components/PipelineContainer.d.ts +0 -7
- package/dist/types/src/components/PipelineContainer.d.ts.map +0 -1
- package/dist/types/src/components/PipelineContainer.stories.d.ts +0 -56
- package/dist/types/src/components/PipelineContainer.stories.d.ts.map +0 -1
- package/dist/types/src/components/PipelineSettings.d.ts +0 -12
- package/dist/types/src/components/PipelineSettings.d.ts.map +0 -1
- package/dist/types/src/types/PipelineAction.d.ts +0 -25
- package/dist/types/src/types/PipelineAction.d.ts.map +0 -1
- package/src/capabilities/app-graph-builder/app-graph-builder.ts +0 -51
- package/src/capabilities/app-graph-builder/index.ts +0 -7
- package/src/capabilities/operation-resolver/index.ts +0 -5
- package/src/capabilities/operation-resolver/operation-resolver.ts +0 -29
- package/src/capabilities/react-surface/index.ts +0 -7
- package/src/capabilities/react-surface/react-surface.tsx +0 -50
- package/src/components/PipelineComponent.tsx +0 -186
- package/src/components/PipelineContainer.stories.tsx +0 -226
- package/src/components/PipelineContainer.tsx +0 -61
- package/src/types/PipelineAction.ts +0 -29
- /package/dist/lib/{browser/types → neutral}/index.mjs.map +0 -0
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/PipelinePlugin.tsx", "../../../src/capabilities/app-graph-builder/index.ts", "../../../src/capabilities/operation-resolver/operation-resolver.ts", "../../../src/capabilities/react-surface/index.ts", "../../../src/translations.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capability, Plugin } from '@dxos/app-framework';\nimport { AppPlugin } from '@dxos/app-toolkit';\nimport { Operation } from '@dxos/operation';\nimport { SpaceCapabilities, SpaceEvents } from '@dxos/plugin-space';\nimport { type CreateObject } from '@dxos/plugin-space/types';\nimport { Pipeline } from '@dxos/types';\n\nimport { AppGraphBuilder, OperationResolver, ReactSurface } from './capabilities';\nimport { meta } from './meta';\nimport { translations } from './translations';\nimport { PipelineOperation } from './types';\n\nexport const PipelinePlugin = Plugin.define(meta).pipe(\n AppPlugin.addAppGraphModule({ activate: AppGraphBuilder }),\n AppPlugin.addMetadataModule({\n metadata: {\n id: Pipeline.Pipeline.typename,\n metadata: {\n icon: 'ph--path--regular',\n iconHue: 'purple',\n createObject: ((props) => Effect.sync(() => Pipeline.make(props))) satisfies CreateObject,\n },\n },\n }),\n AppPlugin.addOperationResolverModule({ activate: OperationResolver }),\n AppPlugin.addSchemaModule({ schema: [Pipeline.Pipeline] }),\n AppPlugin.addSurfaceModule({ activate: ReactSurface }),\n AppPlugin.addTranslationsModule({ translations }),\n Plugin.addModule({\n id: 'on-space-created',\n activatesOn: SpaceEvents.SpaceCreated,\n activate: () =>\n Effect.succeed(\n Capability.contributes(SpaceCapabilities.OnCreateSpace, (params) =>\n Operation.invoke(PipelineOperation.OnCreateSpace, params),\n ),\n ),\n }),\n Plugin.make,\n);\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capability } from '@dxos/app-framework';\n\nexport const AppGraphBuilder = Capability.lazy('AppGraphBuilder', () => import('./app-graph-builder'));\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { Obj, Ref, Type } from '@dxos/echo';\nimport { OperationResolver } from '@dxos/operation';\nimport { Collection } from '@dxos/schema';\nimport { Pipeline } from '@dxos/types';\n\nimport { PipelineOperation } from '../../types';\n\nexport default Capability.makeModule(() =>\n Effect.succeed(\n Capability.contributes(Capabilities.OperationResolver, [\n OperationResolver.make({\n operation: PipelineOperation.OnCreateSpace,\n handler: Effect.fnUntraced(function* ({ rootCollection }) {\n const collection = Collection.makeManaged({ key: Type.getTypename(Pipeline.Pipeline) });\n Obj.change(rootCollection, (c) => {\n c.objects.push(Ref.make(collection));\n });\n }),\n }),\n ]),\n ),\n);\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capability } from '@dxos/app-framework';\n\nexport const ReactSurface = Capability.lazy('ReactSurface', () => import('./react-surface'));\n", "import { type Resource } from '@dxos/react-ui';\nimport { Pipeline } from '@dxos/types';\n//\n// Copyright 2023 DXOS.org\n//\n\nimport { meta } from './meta';\n\nexport const translations = [\n {\n 'en-US': {\n [Pipeline.Pipeline.typename]: {\n 'typename label': 'Pipeline',\n 'typename label_zero': 'Pipelines',\n 'typename label_one': 'Pipeline',\n 'typename label_other': 'Pipelines',\n 'object name placeholder': 'New pipeline',\n 'rename object label': 'Rename pipeline',\n 'delete object label': 'Delete pipeline',\n 'object deleted label': 'Pipeline deleted',\n },\n [meta.id]: {\n 'plugin name': 'Pipelines',\n 'add column label': 'Add column',\n 'add card label': 'Add object',\n 'untitled view title': 'New view',\n 'enumerating tab label': 'List',\n 'editing tab label': 'Edit',\n 'views label': 'Views',\n 'pipeline invocations label': 'Invocations',\n 'pipeline automation label': 'Automations',\n 'toggle expand label': 'Toggle expand',\n 'delete view label': 'Delete view',\n 'add view label': 'Add view',\n },\n },\n },\n] as const satisfies Resource[];\n"],
|
|
5
|
-
"mappings": ";;;;;;;;AAIA,YAAYA,aAAY;AAExB,SAASC,cAAAA,aAAYC,cAAc;AACnC,SAASC,iBAAiB;AAC1B,SAASC,iBAAiB;AAC1B,SAASC,mBAAmBC,mBAAmB;AAE/C,SAASC,YAAAA,iBAAgB;;;ACPzB,SAASC,kBAAkB;AAEpB,IAAMC,kBAAkBC,WAAWC,KAAK,mBAAmB,MAAM,OAAO,kCAAA,CAAA;;;ACF/E,YAAYC,YAAY;AAExB,SAASC,cAAcC,cAAAA,mBAAkB;AACzC,SAASC,KAAKC,KAAKC,YAAY;AAC/B,SAASC,yBAAyB;AAClC,SAASC,kBAAkB;AAC3B,SAASC,gBAAgB;AAIzB,IAAA,6BAAeC,YAAWC,WAAW,MAC5BC,eACLF,YAAWG,YAAYC,aAAaC,mBAAmB;EACrDA,kBAAkBC,KAAK;IACrBC,WAAWC,kBAAkBC;IAC7BC,SAAgBC,kBAAW,WAAW,EAAEC,eAAc,GAAE;AACtD,YAAMC,aAAaC,WAAWC,YAAY;QAAEC,KAAKC,KAAKC,YAAYC,SAASA,QAAQ;MAAE,CAAA;AACrFC,UAAIC,OAAOT,gBAAgB,CAACU,MAAAA;AAC1BA,UAAEC,QAAQC,KAAKC,IAAInB,KAAKO,UAAAA,CAAAA;MAC1B,CAAA;IACF,CAAA;EACF,CAAA;CACD,CAAA,CAAA;;;ACtBL,SAASa,cAAAA,mBAAkB;AAEpB,IAAMC,eAAeC,YAAWC,KAAK,gBAAgB,MAAM,OAAO,8BAAA,CAAA;;;ACLzE,SAASC,YAAAA,iBAAgB;AAOlB,IAAMC,eAAe;EAC1B;IACE,SAAS;MACP,CAACC,UAASA,SAASC,QAAQ,GAAG;QAC5B,kBAAkB;QAClB,uBAAuB;QACvB,sBAAsB;QACtB,wBAAwB;QACxB,2BAA2B;QAC3B,uBAAuB;QACvB,uBAAuB;QACvB,wBAAwB;MAC1B;MACA,CAACC,KAAKC,EAAE,GAAG;QACT,eAAe;QACf,oBAAoB;QACpB,kBAAkB;QAClB,uBAAuB;QACvB,yBAAyB;QACzB,qBAAqB;QACrB,eAAe;QACf,8BAA8B;QAC9B,6BAA6B;QAC7B,uBAAuB;QACvB,qBAAqB;QACrB,kBAAkB;MACpB;IACF;EACF;;;;AJlBK,IAAMC,iBAAiBC,OAAOC,OAAOC,IAAAA,EAAMC,KAChDC,UAAUC,kBAAkB;EAAEC,UAAUC;AAAgB,CAAA,GACxDH,UAAUI,kBAAkB;EAC1BC,UAAU;IACRC,IAAIC,UAASA,SAASC;IACtBH,UAAU;MACRI,MAAM;MACNC,SAAS;MACTC,cAAe,CAACC,UAAiBC,aAAK,MAAMN,UAASO,KAAKF,KAAAA,CAAAA;IAC5D;EACF;AACF,CAAA,GACAZ,UAAUe,2BAA2B;EAAEb,UAAUc;AAAkB,CAAA,GACnEhB,UAAUiB,gBAAgB;EAAEC,QAAQ;IAACX,UAASA;;AAAU,CAAA,GACxDP,UAAUmB,iBAAiB;EAAEjB,UAAUkB;AAAa,CAAA,GACpDpB,UAAUqB,sBAAsB;EAAEC;AAAa,CAAA,GAC/C1B,OAAO2B,UAAU;EACfjB,IAAI;EACJkB,aAAaC,YAAYC;EACzBxB,UAAU,MACDyB,gBACLC,YAAWC,YAAYC,kBAAkBC,eAAe,CAACC,WACvDC,UAAUC,OAAOC,kBAAkBJ,eAAeC,MAAAA,CAAAA,CAAAA;AAG1D,CAAA,GACApC,OAAOkB,IAAI;",
|
|
6
|
-
"names": ["Effect", "Capability", "Plugin", "AppPlugin", "Operation", "SpaceCapabilities", "SpaceEvents", "Pipeline", "Capability", "AppGraphBuilder", "Capability", "lazy", "Effect", "Capabilities", "Capability", "Obj", "Ref", "Type", "OperationResolver", "Collection", "Pipeline", "Capability", "makeModule", "succeed", "contributes", "Capabilities", "OperationResolver", "make", "operation", "PipelineOperation", "OnCreateSpace", "handler", "fnUntraced", "rootCollection", "collection", "Collection", "makeManaged", "key", "Type", "getTypename", "Pipeline", "Obj", "change", "c", "objects", "push", "Ref", "Capability", "ReactSurface", "Capability", "lazy", "Pipeline", "translations", "Pipeline", "typename", "meta", "id", "PipelinePlugin", "Plugin", "define", "meta", "pipe", "AppPlugin", "addAppGraphModule", "activate", "AppGraphBuilder", "addMetadataModule", "metadata", "id", "Pipeline", "typename", "icon", "iconHue", "createObject", "props", "sync", "make", "addOperationResolverModule", "OperationResolver", "addSchemaModule", "schema", "addSurfaceModule", "ReactSurface", "addTranslationsModule", "translations", "addModule", "activatesOn", "SpaceEvents", "SpaceCreated", "succeed", "Capability", "contributes", "SpaceCapabilities", "OnCreateSpace", "params", "Operation", "invoke", "PipelineOperation"]
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"inputs":{"src/meta.ts":{"bytes":1914,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/app-graph-builder/app-graph-builder.ts":{"bytes":6637,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/capabilities/app-graph-builder/index.ts":{"bytes":946,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/app-graph-builder/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"}],"format":"esm"},"src/types/PipelineAction.ts":{"bytes":3454,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/index.ts":{"bytes":763,"imports":[{"path":"src/types/PipelineAction.ts","kind":"import-statement","original":"./PipelineAction"},{"path":"src/types/PipelineAction.ts","kind":"import-statement","original":"./PipelineAction"}],"format":"esm"},"src/capabilities/operation-resolver/operation-resolver.ts":{"bytes":3765,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/operation-resolver/index.ts":{"bytes":656,"imports":[{"path":"src/capabilities/operation-resolver/operation-resolver.ts","kind":"import-statement","original":"./operation-resolver"}],"format":"esm"},"src/components/PipelineColumn.tsx":{"bytes":17646,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"@radix-ui/react-compose-refs","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/components/PipelineComponent.tsx","kind":"import-statement","original":"./PipelineComponent"}],"format":"esm"},"src/components/PipelineComponent.tsx":{"bytes":20311,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-atom","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/components/PipelineColumn.tsx","kind":"import-statement","original":"./PipelineColumn"}],"format":"esm"},"src/components/PipelineContainer.tsx":{"bytes":7350,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"src/components/PipelineComponent.tsx","kind":"import-statement","original":"./PipelineComponent"}],"format":"esm"},"src/components/PipelineSettings.tsx":{"bytes":28994,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/components/index.ts":{"bytes":1252,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/PipelineContainer.tsx","kind":"dynamic-import","original":"./PipelineContainer"},{"path":"src/components/PipelineSettings.tsx","kind":"dynamic-import","original":"./PipelineSettings"}],"format":"esm"},"src/capabilities/react-surface/react-surface.tsx":{"bytes":7051,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/devtools","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/capabilities/react-surface/index.ts":{"bytes":912,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/react-surface/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":712,"imports":[{"path":"src/capabilities/app-graph-builder/index.ts","kind":"import-statement","original":"./app-graph-builder"},{"path":"src/capabilities/operation-resolver/index.ts","kind":"import-statement","original":"./operation-resolver"},{"path":"src/capabilities/react-surface/index.ts","kind":"import-statement","original":"./react-surface"}],"format":"esm"},"src/translations.ts":{"bytes":3965,"imports":[{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/PipelinePlugin.tsx":{"bytes":6046,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/index.ts":{"bytes":557,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/PipelinePlugin.tsx","kind":"import-statement","original":"./PipelinePlugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":7651},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-7GVESVYR.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QWNKLHBY.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/app-graph-builder-NUJB33F7.mjs","kind":"dynamic-import"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/react-surface-CMTEEE6F.mjs","kind":"dynamic-import"},{"path":"@dxos/types","kind":"import-statement","external":true}],"exports":["PipelinePlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/PipelinePlugin.tsx":{"bytesInOutput":1210},"src/capabilities/app-graph-builder/index.ts":{"bytesInOutput":158},"src/capabilities/index.ts":{"bytesInOutput":0},"src/capabilities/operation-resolver/operation-resolver.ts":{"bytesInOutput":800},"src/capabilities/operation-resolver/index.ts":{"bytesInOutput":0},"src/capabilities/react-surface/index.ts":{"bytesInOutput":164},"src/translations.ts":{"bytesInOutput":1057}},"bytes":3800},"dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/types/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-7GVESVYR.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QWNKLHBY.mjs","kind":"import-statement"}],"exports":["PipelineAction","PipelineOperation"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":230},"dist/lib/browser/chunk-7GVESVYR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1724},"dist/lib/browser/chunk-7GVESVYR.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QWNKLHBY.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["PipelineAction_exports","PipelineOperation"],"inputs":{"src/types/PipelineAction.ts":{"bytesInOutput":926},"src/types/index.ts":{"bytesInOutput":0}},"bytes":1120},"dist/lib/browser/app-graph-builder-NUJB33F7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3069},"dist/lib/browser/app-graph-builder-NUJB33F7.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QWNKLHBY.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder/app-graph-builder.ts":{"bytesInOutput":1750}},"bytes":1964},"dist/lib/browser/PipelineContainer-2BRZPECS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":24465},"dist/lib/browser/PipelineContainer-2BRZPECS.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QWNKLHBY.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-atom","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"@radix-ui/react-compose-refs","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"exports":["PipelineContainer","default"],"entryPoint":"src/components/PipelineContainer.tsx","inputs":{"src/components/PipelineContainer.tsx":{"bytesInOutput":1779},"src/components/PipelineComponent.tsx":{"bytesInOutput":4440},"src/components/PipelineColumn.tsx":{"bytesInOutput":4044}},"bytes":10640},"dist/lib/browser/PipelineSettings-R54RTVWZ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":15598},"dist/lib/browser/PipelineSettings-R54RTVWZ.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QWNKLHBY.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["PipelineObjectSettings","default"],"entryPoint":"src/components/PipelineSettings.tsx","inputs":{"src/components/PipelineSettings.tsx":{"bytesInOutput":7338}},"bytes":7556},"dist/lib/browser/react-surface-CMTEEE6F.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4080},"dist/lib/browser/react-surface-CMTEEE6F.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QWNKLHBY.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/devtools","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"dist/lib/browser/PipelineContainer-2BRZPECS.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/PipelineSettings-R54RTVWZ.mjs","kind":"dynamic-import"}],"exports":["default"],"entryPoint":"src/capabilities/react-surface/react-surface.tsx","inputs":{"src/capabilities/react-surface/react-surface.tsx":{"bytesInOutput":1542},"src/components/index.ts":{"bytesInOutput":194}},"bytes":2016},"dist/lib/browser/chunk-QWNKLHBY.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":921},"dist/lib/browser/chunk-QWNKLHBY.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["__export","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":463}},"bytes":722}}}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
meta
|
|
3
|
-
} from "./chunk-QWNKLHBY.mjs";
|
|
4
|
-
|
|
5
|
-
// src/capabilities/react-surface/react-surface.tsx
|
|
6
|
-
import * as Effect from "effect/Effect";
|
|
7
|
-
import React from "react";
|
|
8
|
-
import { Capabilities, Capability } from "@dxos/app-framework";
|
|
9
|
-
import { Surface } from "@dxos/app-framework/ui";
|
|
10
|
-
import { InvocationTraceContainer } from "@dxos/devtools";
|
|
11
|
-
import { Obj } from "@dxos/echo";
|
|
12
|
-
import { Layout } from "@dxos/react-ui";
|
|
13
|
-
import { Pipeline } from "@dxos/types";
|
|
14
|
-
|
|
15
|
-
// src/components/index.ts
|
|
16
|
-
import { lazy } from "react";
|
|
17
|
-
var PipelineContainer = lazy(() => import("./PipelineContainer-2BRZPECS.mjs"));
|
|
18
|
-
var PipelineObjectSettings = lazy(() => import("./PipelineSettings-R54RTVWZ.mjs"));
|
|
19
|
-
|
|
20
|
-
// src/capabilities/react-surface/react-surface.tsx
|
|
21
|
-
var react_surface_default = Capability.makeModule(() => Effect.succeed(Capability.contributes(Capabilities.ReactSurface, [
|
|
22
|
-
Surface.create({
|
|
23
|
-
id: meta.id,
|
|
24
|
-
role: "article",
|
|
25
|
-
filter: (data) => Obj.instanceOf(Pipeline.Pipeline, data.subject),
|
|
26
|
-
component: ({ data, role }) => /* @__PURE__ */ React.createElement(PipelineContainer, {
|
|
27
|
-
role,
|
|
28
|
-
subject: data.subject
|
|
29
|
-
})
|
|
30
|
-
}),
|
|
31
|
-
Surface.create({
|
|
32
|
-
id: `${meta.id}/companion/invocations`,
|
|
33
|
-
role: "article",
|
|
34
|
-
filter: (data) => Obj.instanceOf(Pipeline.Pipeline, data.companionTo) && data.subject === "invocations",
|
|
35
|
-
component: ({ data, role }) => {
|
|
36
|
-
const db = Obj.getDatabase(data.companionTo);
|
|
37
|
-
return /* @__PURE__ */ React.createElement(Layout.Main, {
|
|
38
|
-
role
|
|
39
|
-
}, /* @__PURE__ */ React.createElement(InvocationTraceContainer, {
|
|
40
|
-
db,
|
|
41
|
-
detailAxis: "block"
|
|
42
|
-
}));
|
|
43
|
-
}
|
|
44
|
-
}),
|
|
45
|
-
Surface.create({
|
|
46
|
-
id: `${meta.id}/object-settings`,
|
|
47
|
-
role: "object-settings",
|
|
48
|
-
filter: (data) => Obj.instanceOf(Pipeline.Pipeline, data.subject),
|
|
49
|
-
component: ({ data }) => /* @__PURE__ */ React.createElement(PipelineObjectSettings, {
|
|
50
|
-
pipeline: data.subject
|
|
51
|
-
})
|
|
52
|
-
})
|
|
53
|
-
])));
|
|
54
|
-
export {
|
|
55
|
-
react_surface_default as default
|
|
56
|
-
};
|
|
57
|
-
//# sourceMappingURL=react-surface-CMTEEE6F.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/capabilities/react-surface/react-surface.tsx", "../../../src/components/index.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport React from 'react';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { Surface } from '@dxos/app-framework/ui';\nimport { InvocationTraceContainer } from '@dxos/devtools';\nimport { Obj } from '@dxos/echo';\nimport { Layout } from '@dxos/react-ui';\nimport { Pipeline } from '@dxos/types';\n\nimport { PipelineContainer, PipelineObjectSettings } from '../../components';\nimport { meta } from '../../meta';\n\nexport default Capability.makeModule(() =>\n Effect.succeed(\n Capability.contributes(Capabilities.ReactSurface, [\n Surface.create({\n id: meta.id,\n role: 'article',\n filter: (data): data is { subject: Pipeline.Pipeline } => Obj.instanceOf(Pipeline.Pipeline, data.subject),\n component: ({ data, role }) => <PipelineContainer role={role} subject={data.subject} />,\n }),\n Surface.create({\n id: `${meta.id}/companion/invocations`,\n role: 'article',\n filter: (data): data is { companionTo: Pipeline.Pipeline } =>\n Obj.instanceOf(Pipeline.Pipeline, data.companionTo) && data.subject === 'invocations',\n component: ({ data, role }) => {\n const db = Obj.getDatabase(data.companionTo);\n // TODO(wittjosiah): Filter the invocations to those relevant to the project.\n return (\n <Layout.Main role={role}>\n <InvocationTraceContainer db={db} detailAxis='block' />\n </Layout.Main>\n );\n },\n }),\n Surface.create({\n id: `${meta.id}/object-settings`,\n role: 'object-settings',\n filter: (data): data is { subject: Pipeline.Pipeline } => Obj.instanceOf(Pipeline.Pipeline, data.subject),\n component: ({ data }) => <PipelineObjectSettings pipeline={data.subject} />,\n }),\n ]),\n ),\n);\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { lazy } from 'react';\n\nexport type { PipelineContainerProps } from './PipelineContainer';\nexport type { PipelineObjectSettingsProps } from './PipelineSettings';\n\nexport const PipelineContainer = lazy(() => import('./PipelineContainer'));\nexport const PipelineObjectSettings = lazy(() => import('./PipelineSettings'));\n"],
|
|
5
|
-
"mappings": ";;;;;AAIA,YAAYA,YAAY;AACxB,OAAOC,WAAW;AAElB,SAASC,cAAcC,kBAAkB;AACzC,SAASC,eAAe;AACxB,SAASC,gCAAgC;AACzC,SAASC,WAAW;AACpB,SAASC,cAAc;AACvB,SAASC,gBAAgB;;;ACRzB,SAASC,YAAY;AAKd,IAAMC,oBAAoBC,KAAK,MAAM,OAAO,kCAAA,CAAA;AAC5C,IAAMC,yBAAyBD,KAAK,MAAM,OAAO,iCAAA,CAAA;;;ADOxD,IAAA,wBAAeE,WAAWC,WAAW,MAC5BC,eACLF,WAAWG,YAAYC,aAAaC,cAAc;EAChDC,QAAQC,OAAO;IACbC,IAAIC,KAAKD;IACTE,MAAM;IACNC,QAAQ,CAACC,SAAiDC,IAAIC,WAAWC,SAASA,UAAUH,KAAKI,OAAO;IACxGC,WAAW,CAAC,EAAEL,MAAMF,KAAI,MAAO,sBAAA,cAACQ,mBAAAA;MAAkBR;MAAYM,SAASJ,KAAKI;;EAC9E,CAAA;EACAV,QAAQC,OAAO;IACbC,IAAI,GAAGC,KAAKD,EAAE;IACdE,MAAM;IACNC,QAAQ,CAACC,SACPC,IAAIC,WAAWC,SAASA,UAAUH,KAAKO,WAAW,KAAKP,KAAKI,YAAY;IAC1EC,WAAW,CAAC,EAAEL,MAAMF,KAAI,MAAE;AACxB,YAAMU,KAAKP,IAAIQ,YAAYT,KAAKO,WAAW;AAE3C,aACE,sBAAA,cAACG,OAAOC,MAAI;QAACb;SACX,sBAAA,cAACc,0BAAAA;QAAyBJ;QAAQK,YAAW;;IAGnD;EACF,CAAA;EACAnB,QAAQC,OAAO;IACbC,IAAI,GAAGC,KAAKD,EAAE;IACdE,MAAM;IACNC,QAAQ,CAACC,SAAiDC,IAAIC,WAAWC,SAASA,UAAUH,KAAKI,OAAO;IACxGC,WAAW,CAAC,EAAEL,KAAI,MAAO,sBAAA,cAACc,wBAAAA;MAAuBC,UAAUf,KAAKI;;EAClE,CAAA;CACD,CAAA,CAAA;",
|
|
6
|
-
"names": ["Effect", "React", "Capabilities", "Capability", "Surface", "InvocationTraceContainer", "Obj", "Layout", "Pipeline", "lazy", "PipelineContainer", "lazy", "PipelineObjectSettings", "Capability", "makeModule", "succeed", "contributes", "Capabilities", "ReactSurface", "Surface", "create", "id", "meta", "role", "filter", "data", "Obj", "instanceOf", "Pipeline", "subject", "component", "PipelineContainer", "companionTo", "db", "getDatabase", "Layout", "Main", "InvocationTraceContainer", "detailAxis", "PipelineObjectSettings", "pipeline"]
|
|
7
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as Effect from 'effect/Effect';
|
|
2
|
-
import { Capability } from '@dxos/app-framework';
|
|
3
|
-
import { GraphBuilder } from '@dxos/plugin-graph';
|
|
4
|
-
declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<GraphBuilder.BuilderExtensions>>, never, never>;
|
|
5
|
-
export default _default;
|
|
6
|
-
//# sourceMappingURL=app-graph-builder.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/app-graph-builder/app-graph-builder.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;;AAKlD,wBAoCE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/app-graph-builder/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,eAAe,qIAA0E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/operation-resolver/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as Effect from 'effect/Effect';
|
|
2
|
-
import { Capabilities, Capability } from '@dxos/app-framework';
|
|
3
|
-
declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Capabilities.OperationResolver[]>>, never, never>;
|
|
4
|
-
export default _default;
|
|
5
|
-
//# sourceMappingURL=operation-resolver.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operation-resolver.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/operation-resolver/operation-resolver.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;;AAQ/D,wBAcE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/react-surface/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,YAAY,iJAAmE,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as Effect from 'effect/Effect';
|
|
2
|
-
import { Capabilities, Capability } from '@dxos/app-framework';
|
|
3
|
-
declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Capabilities.ReactSurface>>, never, never>;
|
|
4
|
-
export default _default;
|
|
5
|
-
//# sourceMappingURL=react-surface.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/react-surface/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;;AAU/D,wBAgCE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PipelineColumn.d.ts","sourceRoot":"","sources":["../../../../src/components/PipelineColumn.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAgD,MAAM,OAAO,CAAC;AAMrE,OAAO,EAA8B,KAAK,eAAe,EAAY,MAAM,uBAAuB,CAAC;AAEnG,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,aAAa,CAAC;AAa5C,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;AAGvH,eAAO,MAAM,cAAc;oDAAmD,mBAAmB;;CA0EhG,CAAC"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { type Registry } from '@effect-atom/atom-react';
|
|
2
|
-
import React, { type FC, type PropsWithChildren } from 'react';
|
|
3
|
-
import { Obj } from '@dxos/echo';
|
|
4
|
-
import { type ToolbarRootProps } from '@dxos/react-ui';
|
|
5
|
-
import { type BoardModel } from '@dxos/react-ui-mosaic';
|
|
6
|
-
import { type ProjectionModel } from '@dxos/schema';
|
|
7
|
-
import { type Pipeline as PipelineType } from '@dxos/types';
|
|
8
|
-
type ItemProps = {
|
|
9
|
-
item: Obj.Unknown;
|
|
10
|
-
projectionModel?: ProjectionModel;
|
|
11
|
-
};
|
|
12
|
-
type PipelineContextValue = {
|
|
13
|
-
Item: FC<ItemProps>;
|
|
14
|
-
onAddColumn?: () => void;
|
|
15
|
-
};
|
|
16
|
-
type PipelineRootProps = PropsWithChildren<PipelineContextValue & {
|
|
17
|
-
model: BoardModel<PipelineType.Column, Obj.Unknown>;
|
|
18
|
-
}>;
|
|
19
|
-
declare const usePipeline: (consumerName: string) => PipelineContextValue;
|
|
20
|
-
declare const usePipelineBoardModel: (pipeline: PipelineType.Pipeline | undefined, registry: Registry.Registry) => BoardModel<PipelineType.Column, Obj.Unknown>;
|
|
21
|
-
type PipelineContentProps = {
|
|
22
|
-
pipeline: PipelineType.Pipeline;
|
|
23
|
-
};
|
|
24
|
-
export declare const PipelineToolbar: {
|
|
25
|
-
(props: ToolbarRootProps): React.JSX.Element;
|
|
26
|
-
displayName: string;
|
|
27
|
-
};
|
|
28
|
-
export declare const PipelineComponent: {
|
|
29
|
-
Root: {
|
|
30
|
-
({ model, children, ...contextValue }: PipelineRootProps): React.JSX.Element;
|
|
31
|
-
displayName: string;
|
|
32
|
-
};
|
|
33
|
-
Content: {
|
|
34
|
-
({ pipeline }: PipelineContentProps): React.JSX.Element;
|
|
35
|
-
displayName: string;
|
|
36
|
-
};
|
|
37
|
-
Toolbar: {
|
|
38
|
-
(props: ToolbarRootProps): React.JSX.Element;
|
|
39
|
-
displayName: string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
export { usePipeline, usePipelineBoardModel };
|
|
43
|
-
export type { ItemProps, PipelineContextValue, PipelineRootProps };
|
|
44
|
-
//# sourceMappingURL=PipelineComponent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PipelineComponent.d.ts","sourceRoot":"","sources":["../../../../src/components/PipelineComponent.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAQ,KAAK,QAAQ,EAAgB,MAAM,yBAAyB,CAAC;AAG5E,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAW,MAAM,OAAO,CAAC;AAExE,OAAO,EAAE,GAAG,EAAS,MAAM,YAAY,CAAC;AAIxC,OAAO,EAAW,KAAK,gBAAgB,EAAkB,MAAM,gBAAgB,CAAC;AAChF,OAAO,EAAS,KAAK,UAAU,EAAoC,MAAM,uBAAuB,CAAC;AACjG,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAY,KAAK,QAAQ,IAAI,YAAY,EAAE,MAAM,aAAa,CAAC;AAMtE,KAAK,SAAS,GAAG;IACf,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC,CAAC;AAIF,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC;IAIpB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAMF,KAAK,iBAAiB,GAAG,iBAAiB,CACxC,oBAAoB,GAAG;IACrB,KAAK,EAAE,UAAU,CAAC,YAAY,CAAC,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;CACrD,CACF,CAAC;AAIF,QAAA,MAA4B,WAAW,gDAErC,CAAC;AA2BH,QAAA,MAAM,qBAAqB,GACzB,UAAU,YAAY,CAAC,QAAQ,GAAG,SAAS,EAC3C,UAAU,QAAQ,CAAC,QAAQ,KAC1B,UAAU,CAAC,YAAY,CAAC,MAAM,EAAE,GAAG,CAAC,OAAO,CA0CpB,CAAC;AAQ3B,KAAK,oBAAoB,GAAG;IAC1B,QAAQ,EAAE,YAAY,CAAC,QAAQ,CAAC;CACjC,CAAC;AA2BF,eAAO,MAAM,eAAe;YAAW,gBAAgB;;CAStD,CAAC;AAQF,eAAO,MAAM,iBAAiB;;+CA5H8B,iBAAiB;;;;uBAkFtC,oBAAoB;;;;gBAyBpB,gBAAgB;;;CAqBtD,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,CAAC;AAE9C,YAAY,EAAE,SAAS,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { type StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { Pipeline } from '@dxos/types';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
decorators: import("@storybook/react").Decorator[];
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
translations: [{
|
|
9
|
-
readonly 'en-US': {
|
|
10
|
-
readonly [Pipeline.Pipeline.typename]: {
|
|
11
|
-
readonly 'typename label': "Pipeline";
|
|
12
|
-
readonly 'typename label_zero': "Pipelines";
|
|
13
|
-
readonly 'typename label_one': "Pipeline";
|
|
14
|
-
readonly 'typename label_other': "Pipelines";
|
|
15
|
-
readonly 'object name placeholder': "New pipeline";
|
|
16
|
-
readonly 'rename object label': "Rename pipeline";
|
|
17
|
-
readonly 'delete object label': "Delete pipeline";
|
|
18
|
-
readonly 'object deleted label': "Pipeline deleted";
|
|
19
|
-
};
|
|
20
|
-
readonly [meta.id]: {
|
|
21
|
-
readonly 'plugin name': "Pipelines";
|
|
22
|
-
readonly 'add column label': "Add column";
|
|
23
|
-
readonly 'add card label': "Add object";
|
|
24
|
-
readonly 'untitled view title': "New view";
|
|
25
|
-
readonly 'enumerating tab label': "List";
|
|
26
|
-
readonly 'editing tab label': "Edit";
|
|
27
|
-
readonly 'views label': "Views";
|
|
28
|
-
readonly 'pipeline invocations label': "Invocations";
|
|
29
|
-
readonly 'pipeline automation label': "Automations";
|
|
30
|
-
readonly 'toggle expand label': "Toggle expand";
|
|
31
|
-
readonly 'delete view label': "Delete view";
|
|
32
|
-
readonly 'add view label': "Add view";
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
}];
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
export default meta;
|
|
39
|
-
type Story = StoryObj<typeof meta>;
|
|
40
|
-
export declare const Default: Story;
|
|
41
|
-
export declare const Mutations: Story;
|
|
42
|
-
//# sourceMappingURL=PipelineComponent.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PipelineComponent.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/PipelineComponent.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAcjE,OAAO,EAAU,QAAQ,EAAE,MAAM,aAAa,CAAC;AAwI/C,QAAA,MAAM,IAAI;;;;;;;yBArJiC,CAAQ,QAAQ,CAAC,QAE5D,CAAC,QAAQ,CAAC;;;;;;;;;;yBAOC,CAAS,IAAG,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;CAuLe,CAAC;AAE3C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAEvB,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type SurfaceComponentProps } from '@dxos/app-toolkit/ui';
|
|
3
|
-
import { type Pipeline as PipelineType } from '@dxos/types';
|
|
4
|
-
export type PipelineContainerProps = SurfaceComponentProps<PipelineType.Pipeline>;
|
|
5
|
-
export declare const PipelineContainer: ({ role, subject: pipeline }: PipelineContainerProps) => React.JSX.Element;
|
|
6
|
-
export default PipelineContainer;
|
|
7
|
-
//# sourceMappingURL=PipelineContainer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PipelineContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/PipelineContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAM3C,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAKlE,OAAO,EAAE,KAAK,QAAQ,IAAI,YAAY,EAAE,MAAM,aAAa,CAAC;AAI5D,MAAM,MAAM,sBAAsB,GAAG,qBAAqB,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;AAElF,eAAO,MAAM,iBAAiB,GAAI,6BAA6B,sBAAsB,sBAwBpF,CAAC;AAeF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { type StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { Pipeline } from '@dxos/types';
|
|
4
|
-
declare const meta: {
|
|
5
|
-
title: string;
|
|
6
|
-
render: () => React.JSX.Element;
|
|
7
|
-
decorators: import("@storybook/react").Decorator[];
|
|
8
|
-
parameters: {
|
|
9
|
-
layout: string;
|
|
10
|
-
translations: ({
|
|
11
|
-
readonly 'en-US': {
|
|
12
|
-
readonly [Pipeline.Pipeline.typename]: {
|
|
13
|
-
readonly 'typename label': "Pipeline";
|
|
14
|
-
readonly 'typename label_zero': "Pipelines";
|
|
15
|
-
readonly 'typename label_one': "Pipeline";
|
|
16
|
-
readonly 'typename label_other': "Pipelines";
|
|
17
|
-
readonly 'object name placeholder': "New pipeline";
|
|
18
|
-
readonly 'rename object label': "Rename pipeline";
|
|
19
|
-
readonly 'delete object label': "Delete pipeline";
|
|
20
|
-
readonly 'object deleted label': "Pipeline deleted";
|
|
21
|
-
};
|
|
22
|
-
readonly [meta.id]: {
|
|
23
|
-
readonly 'plugin name': "Pipelines";
|
|
24
|
-
readonly 'add column label': "Add column";
|
|
25
|
-
readonly 'add card label': "Add object";
|
|
26
|
-
readonly 'untitled view title': "New view";
|
|
27
|
-
readonly 'enumerating tab label': "List";
|
|
28
|
-
readonly 'editing tab label': "Edit";
|
|
29
|
-
readonly 'views label': "Views";
|
|
30
|
-
readonly 'pipeline invocations label': "Invocations";
|
|
31
|
-
readonly 'pipeline automation label': "Automations";
|
|
32
|
-
readonly 'toggle expand label': "Toggle expand";
|
|
33
|
-
readonly 'delete view label': "Delete view";
|
|
34
|
-
readonly 'add view label': "Add view";
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
} | {
|
|
38
|
-
readonly 'en-US': {
|
|
39
|
-
readonly "@dxos/react-ui-stack": {
|
|
40
|
-
readonly "resize label": "Drag to resize";
|
|
41
|
-
readonly "drag handle label": "Drag to rearrange";
|
|
42
|
-
readonly "pin start label": "Pin to the left sidebar";
|
|
43
|
-
readonly "pin end label": "Pin to the right sidebar";
|
|
44
|
-
readonly "increment start label": "Move to the left";
|
|
45
|
-
readonly "increment end label": "Move to the right";
|
|
46
|
-
readonly "close label": "Close";
|
|
47
|
-
readonly "minify label": "Minify";
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
})[];
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
export default meta;
|
|
54
|
-
type Story = StoryObj<typeof meta>;
|
|
55
|
-
export declare const Default: Story;
|
|
56
|
-
//# sourceMappingURL=PipelineContainer.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PipelineContainer.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/PipelineContainer.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAgB1B,OAAO,EAAiC,QAAQ,EAAQ,MAAM,aAAa,CAAC;AA0B5E,QAAA,MAAM,IAAI;;;;;;;;yBAxCwB,CAAO,QAAQ,CAAC,QAAQ,CAAC,QACzD,CAAC;;;;;;;;;;yBAOoB,CAAQ,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2MG,CAAC;AAE3C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type ThemedClassName } from '@dxos/react-ui';
|
|
3
|
-
import { Pipeline } from '@dxos/types';
|
|
4
|
-
export type PipelineObjectSettingsProps = ThemedClassName<{
|
|
5
|
-
pipeline: Pipeline.Pipeline;
|
|
6
|
-
}>;
|
|
7
|
-
/**
|
|
8
|
-
* Supports editing the pipeline view.
|
|
9
|
-
*/
|
|
10
|
-
export declare const PipelineObjectSettings: ({ classNames, pipeline }: PipelineObjectSettingsProps) => React.JSX.Element;
|
|
11
|
-
export default PipelineObjectSettings;
|
|
12
|
-
//# sourceMappingURL=PipelineSettings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PipelineSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/PipelineSettings.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAOtE,OAAO,EAAc,KAAK,eAAe,EAAkC,MAAM,gBAAgB,CAAC;AAIlG,OAAO,EAAE,QAAQ,EAAQ,MAAM,aAAa,CAAC;AAY7C,MAAM,MAAM,2BAA2B,GAAG,eAAe,CAAC;IACxD,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAC;CAC7B,CAAC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,sBAAsB,GAAI,0BAA0B,2BAA2B,sBAqM3F,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as Schema from 'effect/Schema';
|
|
2
|
-
import { Capability } from '@dxos/app-framework';
|
|
3
|
-
export declare namespace PipelineOperation {
|
|
4
|
-
const OnCreateSpace: Omit<{
|
|
5
|
-
readonly meta: {
|
|
6
|
-
readonly key: `${string}/on-create-space`;
|
|
7
|
-
readonly name: "On Create Space";
|
|
8
|
-
};
|
|
9
|
-
readonly services: readonly [typeof Capability.Service];
|
|
10
|
-
readonly schema: {
|
|
11
|
-
readonly input: Schema.Struct<{
|
|
12
|
-
space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
|
|
13
|
-
rootCollection: import("@dxos/echo/Type").Obj<{
|
|
14
|
-
readonly name?: string | undefined;
|
|
15
|
-
readonly objects: readonly import("@dxos/echo/internal").Ref<any>[];
|
|
16
|
-
}, Schema.Struct.Fields>;
|
|
17
|
-
isDefault: Schema.optional<typeof Schema.Boolean>;
|
|
18
|
-
}>;
|
|
19
|
-
readonly output: typeof Schema.Void;
|
|
20
|
-
};
|
|
21
|
-
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
22
|
-
readonly executionMode: "sync" | "async";
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=PipelineAction.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PipelineAction.d.ts","sourceRoot":"","sources":["../../../../src/types/PipelineAction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AASjD,yBAAiB,iBAAiB,CAAC;IAC1B,MAAM,aAAa;;;;;;;;;;;;;;;;;;;KAWxB,CAAC;CACJ"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright 2025 DXOS.org
|
|
3
|
-
//
|
|
4
|
-
|
|
5
|
-
import * as Effect from 'effect/Effect';
|
|
6
|
-
|
|
7
|
-
import { Capability } from '@dxos/app-framework';
|
|
8
|
-
import { AppCapabilities } from '@dxos/app-toolkit';
|
|
9
|
-
import { ATTENDABLE_PATH_SEPARATOR, PLANK_COMPANION_TYPE } from '@dxos/plugin-deck/types';
|
|
10
|
-
import { GraphBuilder } from '@dxos/plugin-graph';
|
|
11
|
-
import { Pipeline } from '@dxos/types';
|
|
12
|
-
|
|
13
|
-
import { meta } from '../../meta';
|
|
14
|
-
|
|
15
|
-
export default Capability.makeModule(
|
|
16
|
-
Effect.fnUntraced(function* () {
|
|
17
|
-
const extensions = yield* Effect.all([
|
|
18
|
-
GraphBuilder.createTypeExtension({
|
|
19
|
-
id: `${meta.id}/triggers`,
|
|
20
|
-
type: Pipeline.Pipeline,
|
|
21
|
-
connector: (pipeline) => {
|
|
22
|
-
const nodeId = pipeline.id;
|
|
23
|
-
return Effect.succeed([
|
|
24
|
-
{
|
|
25
|
-
id: [nodeId, 'invocations'].join(ATTENDABLE_PATH_SEPARATOR),
|
|
26
|
-
type: PLANK_COMPANION_TYPE,
|
|
27
|
-
data: 'invocations',
|
|
28
|
-
properties: {
|
|
29
|
-
label: ['pipeline invocations label', { ns: meta.id }],
|
|
30
|
-
icon: 'ph--clock-countdown--regular',
|
|
31
|
-
disposition: 'hidden',
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
id: [nodeId, 'automation'].join(ATTENDABLE_PATH_SEPARATOR),
|
|
36
|
-
type: PLANK_COMPANION_TYPE,
|
|
37
|
-
data: 'automation',
|
|
38
|
-
properties: {
|
|
39
|
-
label: ['pipeline automation label', { ns: meta.id }],
|
|
40
|
-
icon: 'ph--lightning--regular',
|
|
41
|
-
disposition: 'hidden',
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
]);
|
|
45
|
-
},
|
|
46
|
-
}),
|
|
47
|
-
]);
|
|
48
|
-
|
|
49
|
-
return Capability.contributes(AppCapabilities.AppGraphBuilder, extensions);
|
|
50
|
-
}),
|
|
51
|
-
);
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright 2025 DXOS.org
|
|
3
|
-
//
|
|
4
|
-
|
|
5
|
-
import * as Effect from 'effect/Effect';
|
|
6
|
-
|
|
7
|
-
import { Capabilities, Capability } from '@dxos/app-framework';
|
|
8
|
-
import { Obj, Ref, Type } from '@dxos/echo';
|
|
9
|
-
import { OperationResolver } from '@dxos/operation';
|
|
10
|
-
import { Collection } from '@dxos/schema';
|
|
11
|
-
import { Pipeline } from '@dxos/types';
|
|
12
|
-
|
|
13
|
-
import { PipelineOperation } from '../../types';
|
|
14
|
-
|
|
15
|
-
export default Capability.makeModule(() =>
|
|
16
|
-
Effect.succeed(
|
|
17
|
-
Capability.contributes(Capabilities.OperationResolver, [
|
|
18
|
-
OperationResolver.make({
|
|
19
|
-
operation: PipelineOperation.OnCreateSpace,
|
|
20
|
-
handler: Effect.fnUntraced(function* ({ rootCollection }) {
|
|
21
|
-
const collection = Collection.makeManaged({ key: Type.getTypename(Pipeline.Pipeline) });
|
|
22
|
-
Obj.change(rootCollection, (c) => {
|
|
23
|
-
c.objects.push(Ref.make(collection));
|
|
24
|
-
});
|
|
25
|
-
}),
|
|
26
|
-
}),
|
|
27
|
-
]),
|
|
28
|
-
),
|
|
29
|
-
);
|