@dxos/plugin-pipeline 0.8.3-main.ef1bc66f44 → 0.8.4-main.1c7ec43d41

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.
Files changed (129) hide show
  1. package/dist/lib/browser/index.mjs +20 -101
  2. package/dist/lib/browser/index.mjs.map +4 -4
  3. package/dist/lib/browser/meta.json +1 -1
  4. package/dist/lib/browser/translations.mjs +38 -0
  5. package/dist/lib/browser/translations.mjs.map +7 -0
  6. package/dist/lib/browser/types/index.mjs +0 -9
  7. package/dist/types/src/PipelinePlugin.d.ts +1 -0
  8. package/dist/types/src/PipelinePlugin.d.ts.map +1 -1
  9. package/dist/types/src/PipelinePlugin.node.d.ts +4 -0
  10. package/dist/types/src/PipelinePlugin.node.d.ts.map +1 -0
  11. package/dist/types/src/PipelinePlugin.test.d.ts +2 -0
  12. package/dist/types/src/PipelinePlugin.test.d.ts.map +1 -0
  13. package/dist/types/src/capabilities/app-graph-builder.d.ts +6 -0
  14. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -0
  15. package/dist/types/src/capabilities/create-object.d.ts +11 -0
  16. package/dist/types/src/capabilities/create-object.d.ts.map +1 -0
  17. package/dist/types/src/capabilities/index.d.ts +9 -3
  18. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  19. package/dist/types/src/capabilities/react-surface.d.ts +5 -0
  20. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
  21. package/dist/types/src/components/PipelineComponent/PipelineColumn.d.ts +9 -0
  22. package/dist/types/src/components/PipelineComponent/PipelineColumn.d.ts.map +1 -0
  23. package/dist/types/src/components/PipelineComponent/PipelineComponent.d.ts +53 -0
  24. package/dist/types/src/components/PipelineComponent/PipelineComponent.d.ts.map +1 -0
  25. package/dist/types/src/components/PipelineComponent/PipelineComponent.stories.d.ts +62 -0
  26. package/dist/types/src/components/PipelineComponent/PipelineComponent.stories.d.ts.map +1 -0
  27. package/dist/types/src/components/PipelineComponent/index.d.ts +3 -0
  28. package/dist/types/src/components/PipelineComponent/index.d.ts.map +1 -0
  29. package/dist/types/src/components/index.d.ts +1 -4
  30. package/dist/types/src/components/index.d.ts.map +1 -1
  31. package/dist/types/src/containers/PipelineContainer/PipelineContainer.d.ts +6 -0
  32. package/dist/types/src/containers/PipelineContainer/PipelineContainer.d.ts.map +1 -0
  33. package/dist/types/src/containers/PipelineContainer/PipelineContainer.stories.d.ts +76 -0
  34. package/dist/types/src/containers/PipelineContainer/PipelineContainer.stories.d.ts.map +1 -0
  35. package/dist/types/src/containers/PipelineContainer/index.d.ts +2 -0
  36. package/dist/types/src/containers/PipelineContainer/index.d.ts.map +1 -0
  37. package/dist/types/src/containers/PipelineProperties/PipelineProperties.d.ts +11 -0
  38. package/dist/types/src/containers/PipelineProperties/PipelineProperties.d.ts.map +1 -0
  39. package/dist/types/src/containers/PipelineProperties/index.d.ts +2 -0
  40. package/dist/types/src/containers/PipelineProperties/index.d.ts.map +1 -0
  41. package/dist/types/src/containers/index.d.ts +4 -0
  42. package/dist/types/src/containers/index.d.ts.map +1 -0
  43. package/dist/types/src/hooks/index.d.ts +2 -0
  44. package/dist/types/src/hooks/index.d.ts.map +1 -0
  45. package/dist/types/src/hooks/usePipelineBoardModel.d.ts +6 -0
  46. package/dist/types/src/hooks/usePipelineBoardModel.d.ts.map +1 -0
  47. package/dist/types/src/index.d.ts +2 -1
  48. package/dist/types/src/index.d.ts.map +1 -1
  49. package/dist/types/src/templates/research.d.ts.map +1 -1
  50. package/dist/types/src/translations.d.ts +44 -25
  51. package/dist/types/src/translations.d.ts.map +1 -1
  52. package/dist/types/src/types/index.d.ts +0 -2
  53. package/dist/types/src/types/index.d.ts.map +1 -1
  54. package/dist/types/tsconfig.tsbuildinfo +1 -1
  55. package/package.json +64 -48
  56. package/src/PipelinePlugin.node.ts +19 -0
  57. package/src/PipelinePlugin.test.ts +27 -0
  58. package/src/PipelinePlugin.tsx +7 -31
  59. package/src/capabilities/app-graph-builder.ts +40 -0
  60. package/src/capabilities/create-object.ts +29 -0
  61. package/src/capabilities/index.ts +5 -3
  62. package/src/capabilities/react-surface.tsx +53 -0
  63. package/src/components/PipelineComponent/PipelineColumn.tsx +164 -0
  64. package/src/components/{PipelineComponent.stories.tsx → PipelineComponent/PipelineComponent.stories.tsx} +45 -30
  65. package/src/components/PipelineComponent/PipelineComponent.tsx +140 -0
  66. package/src/components/PipelineComponent/index.ts +6 -0
  67. package/src/components/index.ts +1 -7
  68. package/src/containers/PipelineContainer/PipelineContainer.stories.tsx +230 -0
  69. package/src/containers/PipelineContainer/PipelineContainer.tsx +84 -0
  70. package/src/containers/PipelineContainer/index.ts +5 -0
  71. package/src/{components/PipelineSettings.tsx → containers/PipelineProperties/PipelineProperties.tsx} +78 -66
  72. package/src/containers/PipelineProperties/index.ts +5 -0
  73. package/src/containers/index.ts +8 -0
  74. package/src/hooks/index.ts +5 -0
  75. package/src/hooks/usePipelineBoardModel.ts +79 -0
  76. package/src/index.ts +6 -1
  77. package/src/meta.ts +1 -1
  78. package/src/templates/research.ts +14 -15
  79. package/src/translations.ts +22 -21
  80. package/src/types/index.ts +0 -3
  81. package/dist/lib/browser/PipelineContainer-TRO66W6L.mjs +0 -216
  82. package/dist/lib/browser/PipelineContainer-TRO66W6L.mjs.map +0 -7
  83. package/dist/lib/browser/PipelineSettings-EBR3UU5C.mjs +0 -212
  84. package/dist/lib/browser/PipelineSettings-EBR3UU5C.mjs.map +0 -7
  85. package/dist/lib/browser/app-graph-builder-NKUZQ6A7.mjs +0 -64
  86. package/dist/lib/browser/app-graph-builder-NKUZQ6A7.mjs.map +0 -7
  87. package/dist/lib/browser/chunk-J5YNPKHT.mjs +0 -28
  88. package/dist/lib/browser/chunk-J5YNPKHT.mjs.map +0 -7
  89. package/dist/lib/browser/chunk-XDHJKK7D.mjs +0 -42
  90. package/dist/lib/browser/chunk-XDHJKK7D.mjs.map +0 -7
  91. package/dist/lib/browser/react-surface-CH2SUJTQ.mjs +0 -56
  92. package/dist/lib/browser/react-surface-CH2SUJTQ.mjs.map +0 -7
  93. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts +0 -6
  94. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +0 -1
  95. package/dist/types/src/capabilities/app-graph-builder/index.d.ts +0 -3
  96. package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +0 -1
  97. package/dist/types/src/capabilities/operation-resolver/index.d.ts +0 -2
  98. package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +0 -1
  99. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +0 -5
  100. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +0 -1
  101. package/dist/types/src/capabilities/react-surface/index.d.ts +0 -3
  102. package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
  103. package/dist/types/src/capabilities/react-surface/react-surface.d.ts +0 -5
  104. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
  105. package/dist/types/src/components/PipelineColumn.d.ts +0 -10
  106. package/dist/types/src/components/PipelineColumn.d.ts.map +0 -1
  107. package/dist/types/src/components/PipelineComponent.d.ts +0 -38
  108. package/dist/types/src/components/PipelineComponent.d.ts.map +0 -1
  109. package/dist/types/src/components/PipelineComponent.stories.d.ts +0 -42
  110. package/dist/types/src/components/PipelineComponent.stories.d.ts.map +0 -1
  111. package/dist/types/src/components/PipelineContainer.d.ts +0 -7
  112. package/dist/types/src/components/PipelineContainer.d.ts.map +0 -1
  113. package/dist/types/src/components/PipelineContainer.stories.d.ts +0 -56
  114. package/dist/types/src/components/PipelineContainer.stories.d.ts.map +0 -1
  115. package/dist/types/src/components/PipelineSettings.d.ts +0 -12
  116. package/dist/types/src/components/PipelineSettings.d.ts.map +0 -1
  117. package/dist/types/src/types/PipelineAction.d.ts +0 -25
  118. package/dist/types/src/types/PipelineAction.d.ts.map +0 -1
  119. package/src/capabilities/app-graph-builder/app-graph-builder.ts +0 -51
  120. package/src/capabilities/app-graph-builder/index.ts +0 -7
  121. package/src/capabilities/operation-resolver/index.ts +0 -5
  122. package/src/capabilities/operation-resolver/operation-resolver.ts +0 -29
  123. package/src/capabilities/react-surface/index.ts +0 -7
  124. package/src/capabilities/react-surface/react-surface.tsx +0 -50
  125. package/src/components/PipelineColumn.tsx +0 -145
  126. package/src/components/PipelineComponent.tsx +0 -103
  127. package/src/components/PipelineContainer.stories.tsx +0 -226
  128. package/src/components/PipelineContainer.tsx +0 -57
  129. package/src/types/PipelineAction.ts +0 -29
@@ -1,42 +0,0 @@
1
- import {
2
- __export,
3
- meta
4
- } from "./chunk-J5YNPKHT.mjs";
5
-
6
- // src/types/PipelineAction.ts
7
- var PipelineAction_exports = {};
8
- __export(PipelineAction_exports, {
9
- PipelineOperation: () => PipelineOperation
10
- });
11
- import * as Schema from "effect/Schema";
12
- import { Capability } from "@dxos/app-framework";
13
- import { Operation } from "@dxos/operation";
14
- import { SpaceSchema } from "@dxos/react-client/echo";
15
- import { Collection } from "@dxos/schema";
16
- var PIPELINE_OPERATION = `${meta.id}/operation`;
17
- (function(PipelineOperation2) {
18
- PipelineOperation2.OnCreateSpace = Operation.make({
19
- meta: {
20
- key: `${PIPELINE_OPERATION}/on-create-space`,
21
- name: "On Create Space"
22
- },
23
- services: [
24
- Capability.Service
25
- ],
26
- schema: {
27
- input: Schema.Struct({
28
- space: SpaceSchema,
29
- rootCollection: Collection.Collection,
30
- isDefault: Schema.optional(Schema.Boolean)
31
- }),
32
- output: Schema.Void
33
- }
34
- });
35
- })(PipelineOperation || (PipelineOperation = {}));
36
- var PipelineOperation;
37
-
38
- export {
39
- PipelineOperation,
40
- PipelineAction_exports
41
- };
42
- //# sourceMappingURL=chunk-XDHJKK7D.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/types/PipelineAction.ts"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\n\nimport { Capability } from '@dxos/app-framework';\nimport { Operation } from '@dxos/operation';\nimport { SpaceSchema } from '@dxos/react-client/echo';\nimport { Collection } from '@dxos/schema';\n\nimport { meta } from '../meta';\n\nconst PIPELINE_OPERATION = `${meta.id}/operation`;\n\nexport namespace PipelineOperation {\n export const OnCreateSpace = Operation.make({\n meta: { key: `${PIPELINE_OPERATION}/on-create-space`, name: 'On Create Space' },\n services: [Capability.Service],\n schema: {\n input: Schema.Struct({\n space: SpaceSchema,\n rootCollection: Collection.Collection,\n isDefault: Schema.optional(Schema.Boolean),\n }),\n output: Schema.Void,\n },\n });\n}\n"],
5
- "mappings": ";;;;;;AAAA;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,kBAAkB;AAC3B,SAASC,iBAAiB;AAC1B,SAASC,mBAAmB;AAC5B,SAASC,kBAAkB;AAI3B,IAAMC,qBAAqB,GAAGC,KAAKC,EAAE;UAEpBC,oBAAAA;qBACFC,gBAAgBC,UAAUC,KAAK;IAC1CL,MAAM;MAAEM,KAAK,GAAGP,kBAAAA;MAAsCQ,MAAM;IAAkB;IAC9EC,UAAU;MAACC,WAAWC;;IACtBC,QAAQ;MACNC,OAAcC,cAAO;QACnBC,OAAOC;QACPC,gBAAgBC,WAAWA;QAC3BC,WAAkBC,gBAAgBC,cAAO;MAC3C,CAAA;MACAC,QAAeC;IACjB;EACF,CAAA;AACF,GAbiBpB,sBAAAA,oBAAAA,CAAAA,EAAAA;;",
6
- "names": ["Schema", "Capability", "Operation", "SpaceSchema", "Collection", "PIPELINE_OPERATION", "meta", "id", "PipelineOperation", "OnCreateSpace", "Operation", "make", "key", "name", "services", "Capability", "Service", "schema", "input", "Struct", "space", "SpaceSchema", "rootCollection", "Collection", "isDefault", "optional", "Boolean", "output", "Void"]
7
- }
@@ -1,56 +0,0 @@
1
- import {
2
- meta
3
- } from "./chunk-J5YNPKHT.mjs";
4
-
5
- // src/capabilities/react-surface/react-surface.tsx
6
- import * as Effect from "effect/Effect";
7
- import React from "react";
8
- import { Capability, Common } from "@dxos/app-framework";
9
- import { InvocationTraceContainer } from "@dxos/devtools";
10
- import { Obj } from "@dxos/echo";
11
- import { Layout } from "@dxos/react-ui-mosaic";
12
- import { Pipeline } from "@dxos/types";
13
-
14
- // src/components/index.ts
15
- import { lazy } from "react";
16
- var PipelineContainer = lazy(() => import("./PipelineContainer-TRO66W6L.mjs"));
17
- var PipelineObjectSettings = lazy(() => import("./PipelineSettings-EBR3UU5C.mjs"));
18
-
19
- // src/capabilities/react-surface/react-surface.tsx
20
- var react_surface_default = Capability.makeModule(() => Effect.succeed(Capability.contributes(Common.Capability.ReactSurface, [
21
- Common.createSurface({
22
- id: meta.id,
23
- role: "article",
24
- filter: (data) => Obj.instanceOf(Pipeline.Pipeline, data.subject),
25
- component: ({ data, role }) => /* @__PURE__ */ React.createElement(PipelineContainer, {
26
- role,
27
- subject: data.subject
28
- })
29
- }),
30
- Common.createSurface({
31
- id: `${meta.id}/companion/invocations`,
32
- role: "article",
33
- filter: (data) => Obj.instanceOf(Pipeline.Pipeline, data.companionTo) && data.subject === "invocations",
34
- component: ({ data, role }) => {
35
- const db = Obj.getDatabase(data.companionTo);
36
- return /* @__PURE__ */ React.createElement(Layout.Main, {
37
- role
38
- }, /* @__PURE__ */ React.createElement(InvocationTraceContainer, {
39
- db,
40
- detailAxis: "block"
41
- }));
42
- }
43
- }),
44
- Common.createSurface({
45
- id: `${meta.id}/object-settings`,
46
- role: "object-settings",
47
- filter: (data) => Obj.instanceOf(Pipeline.Pipeline, data.subject),
48
- component: ({ data }) => /* @__PURE__ */ React.createElement(PipelineObjectSettings, {
49
- pipeline: data.subject
50
- })
51
- })
52
- ])));
53
- export {
54
- react_surface_default as default
55
- };
56
- //# sourceMappingURL=react-surface-CH2SUJTQ.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 { Capability, Common } from '@dxos/app-framework';\nimport { InvocationTraceContainer } from '@dxos/devtools';\nimport { Obj } from '@dxos/echo';\nimport { Layout } from '@dxos/react-ui-mosaic';\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(Common.Capability.ReactSurface, [\n Common.createSurface({\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 Common.createSurface({\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 Common.createSurface({\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,YAAYC,cAAc;AACnC,SAASC,gCAAgC;AACzC,SAASC,WAAW;AACpB,SAASC,cAAc;AACvB,SAASC,gBAAgB;;;ACPzB,SAASC,YAAY;AAKd,IAAMC,oBAAoBC,KAAK,MAAM,OAAO,kCAAA,CAAA;AAC5C,IAAMC,yBAAyBD,KAAK,MAAM,OAAO,iCAAA,CAAA;;;ADMxD,IAAA,wBAAeE,WAAWC,WAAW,MAC5BC,eACLF,WAAWG,YAAYC,OAAOJ,WAAWK,cAAc;EACrDD,OAAOE,cAAc;IACnBC,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;EACAX,OAAOE,cAAc;IACnBC,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;EACApB,OAAOE,cAAc;IACnBC,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", "Capability", "Common", "InvocationTraceContainer", "Obj", "Layout", "Pipeline", "lazy", "PipelineContainer", "lazy", "PipelineObjectSettings", "Capability", "makeModule", "succeed", "contributes", "Common", "ReactSurface", "createSurface", "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,EAAU,MAAM,qBAAqB,CAAC;AAEzD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;;AAKlD,wBAoCE"}
@@ -1,3 +0,0 @@
1
- import { Capability } from '@dxos/app-framework';
2
- export declare const AppGraphBuilder: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-graph").BuilderExtensions>>, Error>;
3
- //# sourceMappingURL=index.d.ts.map
@@ -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,2 +0,0 @@
1
- export { default as OperationResolver } from './operation-resolver';
2
- //# sourceMappingURL=index.d.ts.map
@@ -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 { Capability, Common } from '@dxos/app-framework';
3
- declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Common.Capability.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,UAAU,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;;AAQzD,wBAcE"}
@@ -1,3 +0,0 @@
1
- import { Capability } from '@dxos/app-framework';
2
- export declare const ReactSurface: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Common").Capability.ReactSurface>>, Error>;
3
- //# sourceMappingURL=index.d.ts.map
@@ -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,sJAAmE,CAAC"}
@@ -1,5 +0,0 @@
1
- import * as Effect from 'effect/Effect';
2
- import { Capability, Common } from '@dxos/app-framework';
3
- declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Common.Capability.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,UAAU,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;;AASzD,wBAgCE"}
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { type Pipeline } from '@dxos/types';
3
- export type PipelineColumnProps = {
4
- column: Pipeline.Column;
5
- };
6
- export declare const PipelineColumn: {
7
- ({ column }: PipelineColumnProps): React.JSX.Element | null;
8
- displayName: string;
9
- };
10
- //# sourceMappingURL=PipelineColumn.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PipelineColumn.d.ts","sourceRoot":"","sources":["../../../../src/components/PipelineColumn.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAgD,MAAM,OAAO,CAAC;AAQrE,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,aAAa,CAAC;AAY5C,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC;CACzB,CAAC;AAKF,eAAO,MAAM,cAAc;iBAAgB,mBAAmB;;CAsE7D,CAAC"}
@@ -1,38 +0,0 @@
1
- import React, { type FC } from 'react';
2
- import { type Obj } from '@dxos/echo';
3
- import { type ToolbarRootProps } from '@dxos/react-ui';
4
- import { type ProjectionModel } from '@dxos/schema';
5
- import { type Pipeline as PipelineType } from '@dxos/types';
6
- type ItemProps = {
7
- item: Obj.Unknown;
8
- projectionModel?: ProjectionModel;
9
- };
10
- type PipelineContextValue = {
11
- Item: FC<ItemProps>;
12
- onAddColumn?: () => void;
13
- };
14
- type PipelineRootProps = PipelineContextValue;
15
- declare const usePipeline: (consumerName: string) => PipelineContextValue;
16
- type PipelineContentProps = {
17
- pipeline: PipelineType.Pipeline;
18
- };
19
- export declare const PipelineToolbar: {
20
- (props: ToolbarRootProps): React.JSX.Element;
21
- displayName: string;
22
- };
23
- export declare const PipelineComponent: {
24
- Root: React.FC<PipelineContextValue & {
25
- children: React.ReactNode;
26
- }>;
27
- Content: {
28
- ({ pipeline }: PipelineContentProps): React.JSX.Element;
29
- displayName: string;
30
- };
31
- Toolbar: {
32
- (props: ToolbarRootProps): React.JSX.Element;
33
- displayName: string;
34
- };
35
- };
36
- export { usePipeline };
37
- export type { ItemProps, PipelineContextValue, PipelineRootProps };
38
- //# sourceMappingURL=PipelineComponent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PipelineComponent.d.ts","sourceRoot":"","sources":["../../../../src/components/PipelineComponent.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAW,KAAK,gBAAgB,EAAkB,MAAM,gBAAgB,CAAC;AAEhF,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,KAAK,QAAQ,IAAI,YAAY,EAAE,MAAM,aAAa,CAAC;AAM5D,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,oBAAoB,CAAC;AAI9C,QAAA,MAAqB,WAAW,gDAE9B,CAAC;AAUH,KAAK,oBAAoB,GAAG;IAC1B,QAAQ,EAAE,YAAY,CAAC,QAAQ,CAAC;CACjC,CAAC;AAsBF,eAAO,MAAM,eAAe;YAAW,gBAAgB;;CAStD,CAAC;AAQF,eAAO,MAAM,iBAAiB;;;;;uBArCS,oBAAoB;;;;gBAoBpB,gBAAgB;;;CAqBtD,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC;AAEvB,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': "Project";
12
- readonly 'typename label_zero': "Projects";
13
- readonly 'typename label_one': "Project";
14
- readonly 'typename label_other': "Projects";
15
- readonly 'object name placeholder': "New project";
16
- readonly 'rename object label': "Rename project";
17
- readonly 'delete object label': "Delete project";
18
- readonly 'object deleted label': "Project deleted";
19
- };
20
- readonly [meta.id]: {
21
- readonly 'plugin name': "Projects";
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 'project invocations label': "Invocations";
29
- readonly 'project 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":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAajE,OAAO,EAAU,QAAQ,EAAE,MAAM,aAAa,CAAC;AAoI/C,QAAA,MAAM,IAAI;;;;;;;yBA9IoC,CACzC,QAAQ,CAAC,QAAQ,CAAC,QAAQ,CAAC;;;;;;;;;;yBAOlB,CAAQ,IAAI,CAAE,EAAC,CAAC;;;;;;;;;;;;;;;;;CAgLY,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-framework/react';
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;AAE3C,OAAO,EAAE,KAAK,qBAAqB,EAAuB,MAAM,2BAA2B,CAAC;AAM5F,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,sBAsBpF,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': "Project";
14
- readonly 'typename label_zero': "Projects";
15
- readonly 'typename label_one': "Project";
16
- readonly 'typename label_other': "Projects";
17
- readonly 'object name placeholder': "New project";
18
- readonly 'rename object label': "Rename project";
19
- readonly 'delete object label': "Delete project";
20
- readonly 'object deleted label': "Project deleted";
21
- };
22
- readonly [meta.id]: {
23
- readonly 'plugin name': "Projects";
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 'project invocations label': "Invocations";
31
- readonly 'project 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;;;;;;;;;;yBAOY,CAAQ,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2MW,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,sBAgM3F,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,7 +0,0 @@
1
- //
2
- // Copyright 2025 DXOS.org
3
- //
4
-
5
- import { Capability } from '@dxos/app-framework';
6
-
7
- export const AppGraphBuilder = Capability.lazy('AppGraphBuilder', () => import('./app-graph-builder'));
@@ -1,5 +0,0 @@
1
- //
2
- // Copyright 2025 DXOS.org
3
- //
4
-
5
- export { default as OperationResolver } from './operation-resolver';
@@ -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
- );
@@ -1,7 +0,0 @@
1
- //
2
- // Copyright 2025 DXOS.org
3
- //
4
-
5
- import { Capability } from '@dxos/app-framework';
6
-
7
- export const ReactSurface = Capability.lazy('ReactSurface', () => import('./react-surface'));
@@ -1,50 +0,0 @@
1
- //
2
- // Copyright 2025 DXOS.org
3
- //
4
-
5
- import * as Effect from 'effect/Effect';
6
- import React from 'react';
7
-
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
- import { PipelineContainer, PipelineObjectSettings } from '../../components';
16
- import { meta } from '../../meta';
17
-
18
- export default Capability.makeModule(() =>
19
- Effect.succeed(
20
- Capability.contributes(Capabilities.ReactSurface, [
21
- Surface.create({
22
- id: meta.id,
23
- role: 'article',
24
- filter: (data): data is { subject: Pipeline.Pipeline } => Obj.instanceOf(Pipeline.Pipeline, data.subject),
25
- component: ({ data, role }) => <PipelineContainer role={role} subject={data.subject} />,
26
- }),
27
- Surface.create({
28
- id: `${meta.id}/companion/invocations`,
29
- role: 'article',
30
- filter: (data): data is { companionTo: Pipeline.Pipeline } =>
31
- Obj.instanceOf(Pipeline.Pipeline, data.companionTo) && data.subject === 'invocations',
32
- component: ({ data, role }) => {
33
- const db = Obj.getDatabase(data.companionTo);
34
- // TODO(wittjosiah): Filter the invocations to those relevant to the project.
35
- return (
36
- <Layout.Main role={role}>
37
- <InvocationTraceContainer db={db} detailAxis='block' />
38
- </Layout.Main>
39
- );
40
- },
41
- }),
42
- Surface.create({
43
- id: `${meta.id}/object-settings`,
44
- role: 'object-settings',
45
- filter: (data): data is { subject: Pipeline.Pipeline } => Obj.instanceOf(Pipeline.Pipeline, data.subject),
46
- component: ({ data }) => <PipelineObjectSettings pipeline={data.subject} />,
47
- }),
48
- ]),
49
- ),
50
- );