@powerhousedao/vetra 6.2.3-dev.9 → 6.2.3-staging.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/dist/codegen/index.d.ts +19 -19
  2. package/dist/codegen/index.d.ts.map +1 -1
  3. package/dist/codegen/index.js +14 -11
  4. package/dist/codegen/index.js.map +1 -1
  5. package/dist/codegen/spec.d.ts +3 -2
  6. package/dist/codegen/spec.js +1 -1
  7. package/dist/{connect-qpJ9OUaH.js → connect-EqImHuZ2.js} +1 -1
  8. package/dist/{connect-qpJ9OUaH.js.map → connect-EqImHuZ2.js.map} +1 -1
  9. package/dist/document-models/app-module/index.d.ts +29 -6
  10. package/dist/document-models/app-module/index.d.ts.map +1 -1
  11. package/dist/document-models/app-module/index.js +4 -4
  12. package/dist/document-models/app-module/index.js.map +1 -1
  13. package/dist/document-models/document-editor/index.d.ts +27 -6
  14. package/dist/document-models/document-editor/index.d.ts.map +1 -1
  15. package/dist/document-models/document-editor/index.js +4 -4
  16. package/dist/document-models/document-editor/index.js.map +1 -1
  17. package/dist/document-models/index.d.ts +7 -6
  18. package/dist/document-models/index.js +5 -5
  19. package/dist/document-models/processor-module/index.d.ts +30 -6
  20. package/dist/document-models/processor-module/index.d.ts.map +1 -1
  21. package/dist/document-models/processor-module/index.js +4 -4
  22. package/dist/document-models/processor-module/index.js.map +1 -1
  23. package/dist/document-models/subgraph-module/index.d.ts +25 -6
  24. package/dist/document-models/subgraph-module/index.d.ts.map +1 -1
  25. package/dist/document-models/subgraph-module/index.js +4 -4
  26. package/dist/document-models/subgraph-module/index.js.map +1 -1
  27. package/dist/document-models/vetra-package/index.d.ts +33 -6
  28. package/dist/document-models/vetra-package/index.d.ts.map +1 -1
  29. package/dist/document-models/vetra-package/index.js +3 -3
  30. package/dist/{editor-LRAwrgdQ.js → editor-BXOEFIDj.js} +8 -7
  31. package/dist/editor-BXOEFIDj.js.map +1 -0
  32. package/dist/{editor-CLbvu3pG.js → editor-C5a0rBQj.js} +5 -5
  33. package/dist/editor-C5a0rBQj.js.map +1 -0
  34. package/dist/{editor-_0gdltOt.js → editor-CiX3Tq3g.js} +4 -4
  35. package/dist/editor-CiX3Tq3g.js.map +1 -0
  36. package/dist/{editor-C13SvgUy.js → editor-DFEeM_dy.js} +3 -3
  37. package/dist/editor-DFEeM_dy.js.map +1 -0
  38. package/dist/{editor-CCdg1mJL.js → editor-DpZVlVN1.js} +4 -4
  39. package/dist/{editor-CCdg1mJL.js.map → editor-DpZVlVN1.js.map} +1 -1
  40. package/dist/{editor-Fgw7attg.js → editor-DpadPeVq.js} +25 -25
  41. package/dist/{editor-Fgw7attg.js.map → editor-DpadPeVq.js.map} +1 -1
  42. package/dist/editors/components/index.d.ts +3 -3
  43. package/dist/editors/components/index.d.ts.map +1 -1
  44. package/dist/editors/components/index.js.map +1 -1
  45. package/dist/editors/hooks/index.d.ts +3 -3
  46. package/dist/editors/hooks/index.d.ts.map +1 -1
  47. package/dist/editors/hooks/index.js +1 -1
  48. package/dist/editors/index.d.ts +7 -8
  49. package/dist/editors/index.d.ts.map +1 -1
  50. package/dist/editors/index.js +1 -1
  51. package/dist/{factory-DMl8eB3P.js → factory-BWrWHoS5.js} +3 -3
  52. package/dist/{factory-DMl8eB3P.js.map → factory-BWrWHoS5.js.map} +1 -1
  53. package/dist/{factory-5eiZohiv.js → factory-BzUAqoGU.js} +2 -2
  54. package/dist/{factory-5eiZohiv.js.map → factory-BzUAqoGU.js.map} +1 -1
  55. package/dist/{hooks-BIgFcbaF.js → hooks-BbxvC-C3.js} +2 -2
  56. package/dist/{hooks-BIgFcbaF.js.map → hooks-BbxvC-C3.js.map} +1 -1
  57. package/dist/{index-SB-AtQdU.d.ts → index-B52jv-LY.d.ts} +30 -64
  58. package/dist/index-B52jv-LY.d.ts.map +1 -0
  59. package/dist/{index-Dm_gN1DR.d.ts → index-D6Ai0OOc.d.ts} +26 -59
  60. package/dist/index-D6Ai0OOc.d.ts.map +1 -0
  61. package/dist/{index-f_um1g-i.d.ts → index-DPG4u1Ym.d.ts} +26 -62
  62. package/dist/index-DPG4u1Ym.d.ts.map +1 -0
  63. package/dist/{index-B5ijieNt.d.ts → index-DplUuZMT.d.ts} +21 -55
  64. package/dist/index-DplUuZMT.d.ts.map +1 -0
  65. package/dist/index.d.ts +51 -93
  66. package/dist/index.d.ts.map +1 -1
  67. package/dist/index.js +84 -12
  68. package/dist/index.js.map +1 -1
  69. package/dist/{logger-WHD0fyLm.js → logger-BFxMdimR.js} +1 -1
  70. package/dist/{logger-WHD0fyLm.js.map → logger-BFxMdimR.js.map} +1 -1
  71. package/dist/{module-Chqkdq4U.js → module-2JZcvfVs.js} +3 -3
  72. package/dist/{module-Chqkdq4U.js.map → module-2JZcvfVs.js.map} +1 -1
  73. package/dist/{module-CRq_lUkG.js → module-Caxhis1M.js} +3 -3
  74. package/dist/{module-CRq_lUkG.js.map → module-Caxhis1M.js.map} +1 -1
  75. package/dist/{module-DXT-FMxU.js → module-CdpGkPNN.js} +7 -7
  76. package/dist/{module-DXT-FMxU.js.map → module-CdpGkPNN.js.map} +1 -1
  77. package/dist/{module-ciAK1LUC.d.ts → module-D4lqkHHK.d.ts} +37 -70
  78. package/dist/module-D4lqkHHK.d.ts.map +1 -0
  79. package/dist/{module-bKT_e3CH.js → module-Db8mmgzN.js} +3 -3
  80. package/dist/{module-bKT_e3CH.js.map → module-Db8mmgzN.js.map} +1 -1
  81. package/dist/{module-CRfHlbnq.js → module-FXJRy_1W.js} +2 -2
  82. package/dist/{module-CRfHlbnq.js.map → module-FXJRy_1W.js.map} +1 -1
  83. package/dist/{module-Bx1OEHxF.js → module-hLzF5tCL.js} +3 -3
  84. package/dist/{module-Bx1OEHxF.js.map → module-hLzF5tCL.js.map} +1 -1
  85. package/dist/{ph-factories-CjbIAMgT.js → ph-factories-Bgnr3mK3.js} +2 -2
  86. package/dist/{ph-factories-CjbIAMgT.js.map → ph-factories-Bgnr3mK3.js.map} +1 -1
  87. package/dist/{ph-factories-Ce8oAqs9.js → ph-factories-CgoFCmG0.js} +2 -2
  88. package/dist/{ph-factories-Ce8oAqs9.js.map → ph-factories-CgoFCmG0.js.map} +1 -1
  89. package/dist/{ph-factories-dVj6mIlR.js → ph-factories-DhLtvC7j.js} +2 -2
  90. package/dist/{ph-factories-dVj6mIlR.js.map → ph-factories-DhLtvC7j.js.map} +1 -1
  91. package/dist/{ph-factories-CljTAAVS.js → ph-factories-HuC7_vvF.js} +2 -2
  92. package/dist/{ph-factories-CljTAAVS.js.map → ph-factories-HuC7_vvF.js.map} +1 -1
  93. package/dist/powerhouse.manifest.json +76 -0
  94. package/dist/{processor-trJFuoHh.js → processor-CsiUWh93.js} +11 -4
  95. package/dist/processor-CsiUWh93.js.map +1 -0
  96. package/dist/processors/codegen/index.d.ts +3 -4
  97. package/dist/processors/codegen/index.d.ts.map +1 -1
  98. package/dist/processors/codegen/index.js +2 -2
  99. package/dist/processors/index.d.ts +2 -3
  100. package/dist/processors/index.d.ts.map +1 -1
  101. package/dist/processors/index.js +1 -1
  102. package/dist/processors/index.js.map +1 -1
  103. package/dist/processors/vetra-read-model/index.d.ts +47 -49
  104. package/dist/processors/vetra-read-model/index.d.ts.map +1 -1
  105. package/dist/processors/vetra-read-model/index.js +1 -1
  106. package/dist/{spec-api-DobY5TUJ.js → spec-api-BIJ_jsGp.js} +9 -9
  107. package/dist/{spec-api-DobY5TUJ.js.map → spec-api-BIJ_jsGp.js.map} +1 -1
  108. package/dist/{specs-BeVdfCwg.d.ts → specs-DoTSfuxN.d.ts} +7 -4
  109. package/dist/specs-DoTSfuxN.d.ts.map +1 -0
  110. package/dist/switchboard-kgDm1UIQ.js +8 -0
  111. package/dist/{switchboard-Bf0uvxSu.js.map → switchboard-kgDm1UIQ.js.map} +1 -1
  112. package/dist/{upgrade-manifest-OlS1ALVv.js → upgrade-manifest-BOZ5nmyK.js} +1 -1
  113. package/dist/{upgrade-manifest-OlS1ALVv.js.map → upgrade-manifest-BOZ5nmyK.js.map} +1 -1
  114. package/dist/{upgrade-manifest-BGuy0v65.js → upgrade-manifest-D7xKGmZc.js} +1 -1
  115. package/dist/{upgrade-manifest-BGuy0v65.js.map → upgrade-manifest-D7xKGmZc.js.map} +1 -1
  116. package/dist/{upgrade-manifest-Ck3Mgwhc.js → upgrade-manifest-DLxSL23q.js} +1 -1
  117. package/dist/{upgrade-manifest-Ck3Mgwhc.js.map → upgrade-manifest-DLxSL23q.js.map} +1 -1
  118. package/dist/{upgrade-manifest-XdOLymuP.js → upgrade-manifest-Dv62Cod7.js} +1 -1
  119. package/dist/{upgrade-manifest-XdOLymuP.js.map → upgrade-manifest-Dv62Cod7.js.map} +1 -1
  120. package/dist/{upgrade-manifest-NaS4SWk9.js → upgrade-manifest-d3LquK-H.js} +1 -1
  121. package/dist/{upgrade-manifest-NaS4SWk9.js.map → upgrade-manifest-d3LquK-H.js.map} +1 -1
  122. package/dist/{useVetraDocument-BlLdlhrQ.js → useVetraDocument-B0k3gNtw.js} +1 -1
  123. package/dist/{useVetraDocument-BlLdlhrQ.js.map → useVetraDocument-B0k3gNtw.js.map} +1 -1
  124. package/dist/{utils-DXCsvCXL.js → utils-876N1Sph.js} +2 -2
  125. package/dist/{utils-DXCsvCXL.js.map → utils-876N1Sph.js.map} +1 -1
  126. package/dist/{utils-CkxGmQ2_.js → utils-Al_SGg2a.js} +2 -2
  127. package/dist/{utils-CkxGmQ2_.js.map → utils-Al_SGg2a.js.map} +1 -1
  128. package/dist/{utils-B4KdjDnp.js → utils-COP7hJ-K.js} +2 -2
  129. package/dist/{utils-B4KdjDnp.js.map → utils-COP7hJ-K.js.map} +1 -1
  130. package/dist/{utils-DmOIDVQo.js → utils-w_21RRK6.js} +3 -3
  131. package/dist/{utils-DmOIDVQo.js.map → utils-w_21RRK6.js.map} +1 -1
  132. package/dist/{vetra-package-Bl6TC4wx.js → vetra-package-DSyRtkdJ.js} +2 -2
  133. package/dist/{vetra-package-Bl6TC4wx.js.map → vetra-package-DSyRtkdJ.js.map} +1 -1
  134. package/package.json +13 -12
  135. package/dist/editor-C13SvgUy.js.map +0 -1
  136. package/dist/editor-CLbvu3pG.js.map +0 -1
  137. package/dist/editor-LRAwrgdQ.js.map +0 -1
  138. package/dist/editor-_0gdltOt.js.map +0 -1
  139. package/dist/index-B5ijieNt.d.ts.map +0 -1
  140. package/dist/index-Dm_gN1DR.d.ts.map +0 -1
  141. package/dist/index-SB-AtQdU.d.ts.map +0 -1
  142. package/dist/index-f_um1g-i.d.ts.map +0 -1
  143. package/dist/module-ciAK1LUC.d.ts.map +0 -1
  144. package/dist/powerhouse.manifest.d.ts +0 -34
  145. package/dist/powerhouse.manifest.d.ts.map +0 -1
  146. package/dist/powerhouse.manifest.js +0 -86
  147. package/dist/powerhouse.manifest.js.map +0 -1
  148. package/dist/processor-trJFuoHh.js.map +0 -1
  149. package/dist/specs-BeVdfCwg.d.ts.map +0 -1
  150. package/dist/switchboard-Bf0uvxSu.js +0 -8
  151. /package/dist/{chunk-pbuEa-1d.js → rolldown-runtime-D7D4PA-g.js} +0 -0
package/dist/index.d.ts CHANGED
@@ -1,71 +1,58 @@
1
- import { $ as SetAppStatusAction, J as SetDragAndDropEnabledAction, Q as SetAppNameAction, Y as AddDocumentTypeAction, Z as RemoveDocumentTypeAction, _t as SetDocumentTypesInput, et as SetDocumentTypesAction, gt as SetAppStatusInput, ht as SetAppNameInput, it as AddDocumentTypeInput, pt as RemoveDocumentTypeInput, rt as AppModulePHState, vt as SetDragAndDropEnabledInput } from "./index-f_um1g-i.js";
2
- import { G as SetEditorNameAction, H as AddDocumentTypeAction$1, K as SetEditorStatusAction, W as RemoveDocumentTypeAction$1, X as AddDocumentTypeInput$1, Y as DocumentEditorPHState, ct as SetEditorNameInput, lt as SetEditorStatusInput, ot as RemoveDocumentTypeInput$1 } from "./index-Dm_gN1DR.js";
3
- import { $ as SetProcessorNameAction, J as AddDocumentTypeAction$2, Q as RemoveProcessorAppAction, Y as AddProcessorAppAction, Z as RemoveDocumentTypeAction$2, _t as RemoveProcessorAppInput, at as AddDocumentTypeInput$2, bt as SetProcessorStatusInput, et as SetProcessorStatusAction, gt as RemoveDocumentTypeInput$2, it as ProcessorModulePHState, ot as AddProcessorAppInput, tt as SetProcessorTypeAction, xt as SetProcessorTypeInput, yt as SetProcessorNameInput } from "./index-SB-AtQdU.js";
4
- import { H as SubgraphModulePHState, L as SetSubgraphNameAction, Q as SetSubgraphStatusInput, R as SetSubgraphStatusAction, Z as SetSubgraphNameInput } from "./index-B5ijieNt.js";
5
- import { At as SetPackageDescriptionAction, Dt as SetPackageAuthorNameAction, Et as SetPackageAuthorAction, Mt as SetPackageNameAction, Nt as SetPackageNpmUrlAction, Ot as SetPackageAuthorWebsiteAction, Tt as RemovePackageKeywordAction, _t as SetPackageCategoryInput, bt as SetPackageNameInput, ft as RemovePackageKeywordInput, gt as SetPackageAuthorWebsiteInput, ht as SetPackageAuthorNameInput, jt as SetPackageGithubUrlAction, kt as SetPackageCategoryAction, mt as SetPackageAuthorInput, nt as AddPackageKeywordInput, tt as VetraPackagePHState, vt as SetPackageDescriptionInput, wt as AddPackageKeywordAction, xt as SetPackageNpmUrlInput, yt as SetPackageGithubUrlInput } from "./module-ciAK1LUC.js";
6
- import * as document_model0 from "document-model";
1
+ import { K as SetDragAndDropEnabledAction, Q as SetDocumentTypesAction, X as SetAppNameAction, Y as RemoveDocumentTypeAction, Z as SetAppStatusAction, dt as RemoveDocumentTypeInput, gt as SetDragAndDropEnabledInput, ht as SetDocumentTypesInput, mt as SetAppStatusInput, nt as AddDocumentTypeInput, pt as SetAppNameInput, q as AddDocumentTypeAction, tt as AppModulePHState } from "./index-DPG4u1Ym.js";
2
+ import { B as AddDocumentTypeAction$1, H as RemoveDocumentTypeAction$1, J as AddDocumentTypeInput$1, U as SetEditorNameAction, W as SetEditorStatusAction, it as RemoveDocumentTypeInput$1, ot as SetEditorNameInput, q as DocumentEditorPHState, st as SetEditorStatusInput } from "./index-D6Ai0OOc.js";
3
+ import { $ as SetProcessorTypeAction, K as AddDocumentTypeAction$2, Q as SetProcessorStatusAction, X as RemoveProcessorAppAction, Y as RemoveDocumentTypeAction$2, Z as SetProcessorNameAction, _t as SetProcessorNameInput, ht as RemoveProcessorAppInput, it as AddProcessorAppInput, mt as RemoveDocumentTypeInput$2, nt as ProcessorModulePHState, q as AddProcessorAppAction, rt as AddDocumentTypeInput$2, vt as SetProcessorStatusInput, yt as SetProcessorTypeInput } from "./index-B52jv-LY.js";
4
+ import { B as SubgraphModulePHState, F as SetSubgraphNameAction, I as SetSubgraphStatusAction, X as SetSubgraphStatusInput, Y as SetSubgraphNameInput } from "./index-DplUuZMT.js";
5
+ import { $ as VetraPackagePHState, At as SetPackageNameAction, Ct as RemovePackageKeywordAction, Dt as SetPackageCategoryAction, Et as SetPackageAuthorWebsiteAction, Ot as SetPackageDescriptionAction, St as AddPackageKeywordAction, Tt as SetPackageAuthorNameAction, _t as SetPackageGithubUrlInput, et as AddPackageKeywordInput, ft as SetPackageAuthorInput, gt as SetPackageDescriptionInput, ht as SetPackageCategoryInput, jt as SetPackageNpmUrlAction, kt as SetPackageGithubUrlAction, mt as SetPackageAuthorWebsiteInput, pt as SetPackageAuthorNameInput, ut as RemovePackageKeywordInput, vt as SetPackageNameInput, wt as SetPackageAuthorAction, yt as SetPackageNpmUrlInput } from "./module-D4lqkHHK.js";
7
6
  import { EditorModule, UpgradeManifest } from "document-model";
8
7
  import { Manifest } from "@powerhousedao/shared/document-model";
9
-
10
8
  //#region document-models/document-models.d.ts
11
9
  /**
12
10
  * WARNING: DO NOT EDIT
13
11
  * This file is auto-generated and updated by codegen
14
12
  */
15
- declare const documentModels: readonly [{
13
+ export declare const documentModels: readonly [{
16
14
  readonly version: 1;
17
- readonly reducer: document_model0.Reducer<AppModulePHState>;
15
+ readonly reducer: import("document-model").Reducer<AppModulePHState>;
18
16
  readonly actions: {
19
- setDragAndDropEnabled: (input: SetDragAndDropEnabledInput) => SetDragAndDropEnabledAction;
17
+ setName: typeof import("document-model").setName;
18
+ setPreferredEditor: typeof import("document-model").setPreferredEditor;
19
+ undo: typeof import("document-model").undo;
20
+ redo: typeof import("document-model").redo;
21
+ noop: typeof import("document-model").noop;
20
22
  setAppName: (input: SetAppNameInput) => SetAppNameAction;
21
23
  setAppStatus: (input: SetAppStatusInput) => SetAppStatusAction;
22
24
  addDocumentType: (input: AddDocumentTypeInput) => AddDocumentTypeAction;
23
25
  removeDocumentType: (input: RemoveDocumentTypeInput) => RemoveDocumentTypeAction;
24
26
  setDocumentTypes: (input: SetDocumentTypesInput) => SetDocumentTypesAction;
25
- setName: (name: string | {
26
- name: string;
27
- }) => document_model0.SetNameAction;
28
- setPreferredEditor: (input: string | null | {
29
- preferredEditor: string | null;
30
- }) => document_model0.SetPreferredEditorAction;
31
- undo: (count?: number, scope?: string) => document_model0.UndoAction;
32
- redo: (count?: number, scope?: string) => document_model0.RedoAction;
33
- prune: (start?: number, end?: number, scope?: string) => document_model0.SchemaPruneAction;
34
- loadState: <TState extends document_model0.PHBaseState = document_model0.PHBaseState>(state: TState & {
35
- name: string;
36
- }, operations: number) => document_model0.LoadStateAction;
37
- noop: (scope?: string) => document_model0.NOOPAction;
27
+ setDragAndDropEnabled: (input: SetDragAndDropEnabledInput) => SetDragAndDropEnabledAction;
38
28
  };
39
- readonly utils: document_model0.DocumentModelUtils<AppModulePHState>;
40
- readonly documentModel: document_model0.DocumentModelPHState;
29
+ readonly utils: import("document-model").DocumentModelUtils<AppModulePHState>;
30
+ readonly documentModel: import("document-model").DocumentModelPHState;
41
31
  }, {
42
32
  readonly version: 1;
43
- readonly reducer: document_model0.Reducer<DocumentEditorPHState>;
33
+ readonly reducer: import("document-model").Reducer<DocumentEditorPHState>;
44
34
  readonly actions: {
35
+ setName: typeof import("document-model").setName;
36
+ setPreferredEditor: typeof import("document-model").setPreferredEditor;
37
+ undo: typeof import("document-model").undo;
38
+ redo: typeof import("document-model").redo;
39
+ noop: typeof import("document-model").noop;
45
40
  setEditorName: (input: SetEditorNameInput) => SetEditorNameAction;
46
41
  addDocumentType: (input: AddDocumentTypeInput$1) => AddDocumentTypeAction$1;
47
42
  removeDocumentType: (input: RemoveDocumentTypeInput$1) => RemoveDocumentTypeAction$1;
48
43
  setEditorStatus: (input: SetEditorStatusInput) => SetEditorStatusAction;
49
- setName: (name: string | {
50
- name: string;
51
- }) => document_model0.SetNameAction;
52
- setPreferredEditor: (input: string | null | {
53
- preferredEditor: string | null;
54
- }) => document_model0.SetPreferredEditorAction;
55
- undo: (count?: number, scope?: string) => document_model0.UndoAction;
56
- redo: (count?: number, scope?: string) => document_model0.RedoAction;
57
- prune: (start?: number, end?: number, scope?: string) => document_model0.SchemaPruneAction;
58
- loadState: <TState extends document_model0.PHBaseState = document_model0.PHBaseState>(state: TState & {
59
- name: string;
60
- }, operations: number) => document_model0.LoadStateAction;
61
- noop: (scope?: string) => document_model0.NOOPAction;
62
44
  };
63
- readonly utils: document_model0.DocumentModelUtils<DocumentEditorPHState>;
64
- readonly documentModel: document_model0.DocumentModelPHState;
45
+ readonly utils: import("document-model").DocumentModelUtils<DocumentEditorPHState>;
46
+ readonly documentModel: import("document-model").DocumentModelPHState;
65
47
  }, {
66
48
  readonly version: 1;
67
- readonly reducer: document_model0.Reducer<ProcessorModulePHState>;
49
+ readonly reducer: import("document-model").Reducer<ProcessorModulePHState>;
68
50
  readonly actions: {
51
+ setName: typeof import("document-model").setName;
52
+ setPreferredEditor: typeof import("document-model").setPreferredEditor;
53
+ undo: typeof import("document-model").undo;
54
+ redo: typeof import("document-model").redo;
55
+ noop: typeof import("document-model").noop;
69
56
  setProcessorName: (input: SetProcessorNameInput) => SetProcessorNameAction;
70
57
  setProcessorType: (input: SetProcessorTypeInput) => SetProcessorTypeAction;
71
58
  addDocumentType: (input: AddDocumentTypeInput$2) => AddDocumentTypeAction$2;
@@ -73,48 +60,32 @@ declare const documentModels: readonly [{
73
60
  addProcessorApp: (input: AddProcessorAppInput) => AddProcessorAppAction;
74
61
  removeProcessorApp: (input: RemoveProcessorAppInput) => RemoveProcessorAppAction;
75
62
  setProcessorStatus: (input: SetProcessorStatusInput) => SetProcessorStatusAction;
76
- setName: (name: string | {
77
- name: string;
78
- }) => document_model0.SetNameAction;
79
- setPreferredEditor: (input: string | null | {
80
- preferredEditor: string | null;
81
- }) => document_model0.SetPreferredEditorAction;
82
- undo: (count?: number, scope?: string) => document_model0.UndoAction;
83
- redo: (count?: number, scope?: string) => document_model0.RedoAction;
84
- prune: (start?: number, end?: number, scope?: string) => document_model0.SchemaPruneAction;
85
- loadState: <TState extends document_model0.PHBaseState = document_model0.PHBaseState>(state: TState & {
86
- name: string;
87
- }, operations: number) => document_model0.LoadStateAction;
88
- noop: (scope?: string) => document_model0.NOOPAction;
89
63
  };
90
- readonly utils: document_model0.DocumentModelUtils<ProcessorModulePHState>;
91
- readonly documentModel: document_model0.DocumentModelPHState;
64
+ readonly utils: import("document-model").DocumentModelUtils<ProcessorModulePHState>;
65
+ readonly documentModel: import("document-model").DocumentModelPHState;
92
66
  }, {
93
67
  readonly version: 1;
94
- readonly reducer: document_model0.Reducer<SubgraphModulePHState>;
68
+ readonly reducer: import("document-model").Reducer<SubgraphModulePHState>;
95
69
  readonly actions: {
70
+ setName: typeof import("document-model").setName;
71
+ setPreferredEditor: typeof import("document-model").setPreferredEditor;
72
+ undo: typeof import("document-model").undo;
73
+ redo: typeof import("document-model").redo;
74
+ noop: typeof import("document-model").noop;
96
75
  setSubgraphName: (input: SetSubgraphNameInput) => SetSubgraphNameAction;
97
76
  setSubgraphStatus: (input: SetSubgraphStatusInput) => SetSubgraphStatusAction;
98
- setName: (name: string | {
99
- name: string;
100
- }) => document_model0.SetNameAction;
101
- setPreferredEditor: (input: string | null | {
102
- preferredEditor: string | null;
103
- }) => document_model0.SetPreferredEditorAction;
104
- undo: (count?: number, scope?: string) => document_model0.UndoAction;
105
- redo: (count?: number, scope?: string) => document_model0.RedoAction;
106
- prune: (start?: number, end?: number, scope?: string) => document_model0.SchemaPruneAction;
107
- loadState: <TState extends document_model0.PHBaseState = document_model0.PHBaseState>(state: TState & {
108
- name: string;
109
- }, operations: number) => document_model0.LoadStateAction;
110
- noop: (scope?: string) => document_model0.NOOPAction;
111
77
  };
112
- readonly utils: document_model0.DocumentModelUtils<SubgraphModulePHState>;
113
- readonly documentModel: document_model0.DocumentModelPHState;
78
+ readonly utils: import("document-model").DocumentModelUtils<SubgraphModulePHState>;
79
+ readonly documentModel: import("document-model").DocumentModelPHState;
114
80
  }, {
115
81
  readonly version: 1;
116
- readonly reducer: document_model0.Reducer<VetraPackagePHState>;
82
+ readonly reducer: import("document-model").Reducer<VetraPackagePHState>;
117
83
  readonly actions: {
84
+ setName: typeof import("document-model").setName;
85
+ setPreferredEditor: typeof import("document-model").setPreferredEditor;
86
+ undo: typeof import("document-model").undo;
87
+ redo: typeof import("document-model").redo;
88
+ noop: typeof import("document-model").noop;
118
89
  setPackageName: (input: SetPackageNameInput) => SetPackageNameAction;
119
90
  setPackageDescription: (input: SetPackageDescriptionInput) => SetPackageDescriptionAction;
120
91
  setPackageCategory: (input: SetPackageCategoryInput) => SetPackageCategoryAction;
@@ -125,32 +96,19 @@ declare const documentModels: readonly [{
125
96
  removePackageKeyword: (input: RemovePackageKeywordInput) => RemovePackageKeywordAction;
126
97
  setPackageGithubUrl: (input: SetPackageGithubUrlInput) => SetPackageGithubUrlAction;
127
98
  setPackageNpmUrl: (input: SetPackageNpmUrlInput) => SetPackageNpmUrlAction;
128
- setName: (name: string | {
129
- name: string;
130
- }) => document_model0.SetNameAction;
131
- setPreferredEditor: (input: string | null | {
132
- preferredEditor: string | null;
133
- }) => document_model0.SetPreferredEditorAction;
134
- undo: (count?: number, scope?: string) => document_model0.UndoAction;
135
- redo: (count?: number, scope?: string) => document_model0.RedoAction;
136
- prune: (start?: number, end?: number, scope?: string) => document_model0.SchemaPruneAction;
137
- loadState: <TState extends document_model0.PHBaseState = document_model0.PHBaseState>(state: TState & {
138
- name: string;
139
- }, operations: number) => document_model0.LoadStateAction;
140
- noop: (scope?: string) => document_model0.NOOPAction;
141
99
  };
142
- readonly utils: document_model0.DocumentModelUtils<VetraPackagePHState>;
143
- readonly documentModel: document_model0.DocumentModelPHState;
100
+ readonly utils: import("document-model").DocumentModelUtils<VetraPackagePHState>;
101
+ readonly documentModel: import("document-model").DocumentModelPHState;
144
102
  }];
145
103
  //#endregion
146
104
  //#region document-models/upgrade-manifests.d.ts
147
- declare const upgradeManifests: UpgradeManifest<readonly number[]>[];
105
+ export declare const upgradeManifests: UpgradeManifest<readonly number[]>[];
148
106
  //#endregion
149
107
  //#region editors/editors.d.ts
150
- declare const editors: EditorModule[];
108
+ export declare const editors: EditorModule[];
151
109
  //#endregion
152
110
  //#region index.d.ts
153
- declare const manifest: Manifest;
111
+ export declare const manifest: Manifest;
154
112
  //#endregion
155
- export { documentModels, editors, manifest, upgradeManifests };
113
+ export {};
156
114
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../document-models/document-models.ts","../document-models/upgrade-manifests.ts","../editors/editors.ts","../index.ts"],"mappings":";;;;;;;;;;;;;;cAWa,cAAA;EAAA;4CAMH,gBAAA;EAAA;4BAbe,KAAA,iCAAiC,2BAAA;iBAc1D,KAAA,EAd0D,eAAA,KAcpC,gBAAA;mBAAwK,KAAA,EAAxK,iBAAA,KAAgM,kBAAA;sBAAiL,KAAA,EAAjL,oBAAA,KAA4M,qBAAA;yBAA6L,KAAA,EAA7L,uBAAA,KAA2N,wBAAA;uBAAoM,KAAA,EAApM,qBAAA,KAAgO,sBAAA;;;UAAA,eAAA,CAAA,aAAA;;;;2BAAwuU,KAAA,8BAAgB,UAAA;2BAA0C,KAAA,cAA1C,eAAA,CAA0D,UAAA;4BAA2C,GAAA,WAAc,KAAA,cAAzD,eAAA,CAAyE,iBAAA;+BAAA,eAAA,CAAA,WAAA;;;8CAAkM,UAAA;EAAA;EAAA,mDAAA,gBAAA;EAAA;;;;;oBAJh5W,KAAA,yBACI,mBAAA;sBAGkI,KAAA,EAHlI,sBAAA,KAG6J,uBAAA;yBAA6L,KAAA,EAA7L,yBAAA,KAA2N,0BAAA;sBAAmM,KAAA,EAAnM,oBAAA,KAA8N,qBAAA;;;UAAA,eAAA,CAAA,aAAA;;;;2BAAi+U,KAAA,8BAAgB,UAAA;2BAA0C,KAAA,cAA1C,eAAA,CAA0D,UAAA;4BAA2C,GAAA,WAAc,KAAA,cAAzD,eAAA,CAAyE,iBAAA;+BAAA,eAAA,CAAA,WAAA;;;8CAAkM,UAAA;EAAA;EAAA,mDAAA,qBAAA;EAAA;;;;;uBAAzsW,KAAA,4BAA4B,sBAAA;uBAA8L,KAAA,EAA9L,qBAAA,KAA0N,sBAAA;sBAA6L,KAAA,EAA7L,sBAAA,KAAwN,uBAAA;yBAA6L,KAAA,EAA7L,yBAAA,KAA2N,0BAAA;sBAAmM,KAAA,EAAnM,oBAAA,KAA8N,qBAAA;yBAA6L,KAAA,EAA7L,uBAAA,KAA2N,wBAAA;yBAAsM,KAAA,EAAtM,uBAAA,KAAoO,wBAAA;;;UAAA,eAAA,CAAA,aAAA;;;;2BAA8iT,KAAA,8BAAgB,UAAA;2BAA0C,KAAA,cAA1C,eAAA,CAA0D,UAAA;4BAA2C,GAAA,WAAc,KAAA,cAAzD,eAAA,CAAyE,iBAAA;+BAAA,eAAA,CAAA,WAAA;;;8CAAkM,UAAA;EAAA;EAAA,mDAAA,sBAAA;EAAA;;;;;sBAXv5W,KAAA,2BACE,qBAAA;wBASG,KAAA,EATH,sBAAA,KAUoB,uBAAA;;;UAAA,eAAA,CAAA,aAAA;;;;2BAA4iW,KAAA,8BAAgB,UAAA;2BAA0C,KAAA,cAA1C,eAAA,CAA0D,UAAA;4BAA2C,GAAA,WAAc,KAAA,cAAzD,eAAA,CAAyE,iBAAA;+BAAA,eAAA,CAAA,WAAA;;;8CAAkM,UAAA;EAAA;EAAA,mDAAA,qBAAA;EAAA;;;;;qBAAz5V,KAAA,0BAA0B,oBAAA;4BAA6L,KAAA,EAA7L,0BAAA,KAA8N,2BAAA;yBAA+M,KAAA,EAA/M,uBAAA,KAA6O,wBAAA;uBAAoM,KAAA,EAApM,qBAAA,KAAgO,sBAAA;2BAAkM,KAAA,EAAlM,yBAAA,KAAkO,0BAAA;8BAAkN,KAAA,EAAlN,4BAAA,KAAqP,6BAAA;wBAAqN,KAAA,EAArN,sBAAA,KAAkP,uBAAA;2BAAqM,KAAA,EAArM,yBAAA,KAAqO,0BAAA;0BAA6M,KAAA,EAA7M,wBAAA,KAA4O,yBAAA;uBAAwM,KAAA,EAAxM,qBAAA,KAAoO,sBAAA;;;UAAA,eAAA,CAAA,aAAA;;;;2BAAigR,KAAA,8BAAgB,UAAA;2BAA0C,KAAA,cAA1C,eAAA,CAA0D,UAAA;4BAA2C,GAAA,WAAc,KAAA,cAAzD,eAAA,CAAyE,iBAAA;+BAAA,eAAA,CAAA,WAAA;;;8CAAkM,UAAA;EAAA;EAAA,mDAAA,mBAAA;EAAA;;;;cCP74W,gBAAA,EAAkB,eAAA;;;cCClB,OAAA,EAAS,YAAA;;;cCPT,QAAA,EAAU,QAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../document-models/document-models.ts","../document-models/upgrade-manifests.ts","../editors/editors.ts","../index.ts"],"mappings":";;;;;;;;;;;;qBAWa;;qDAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBCAA,kBAAkB;;;qBCClB,SAAS;;;qBCPT,UAAU"}
package/dist/index.js CHANGED
@@ -1,15 +1,87 @@
1
- import powerhouse_manifest_default from "./powerhouse.manifest.js";
2
- import { t as AppModule } from "./module-CRq_lUkG.js";
3
- import { t as DocumentEditor } from "./module-Chqkdq4U.js";
4
- import { t as ProcessorModule } from "./module-bKT_e3CH.js";
5
- import { t as SubgraphModule } from "./module-Bx1OEHxF.js";
6
- import { t as VetraPackage } from "./module-CRfHlbnq.js";
7
- import { t as appModuleUpgradeManifest } from "./upgrade-manifest-Ck3Mgwhc.js";
8
- import { t as documentEditorUpgradeManifest } from "./upgrade-manifest-BGuy0v65.js";
9
- import { t as processorModuleUpgradeManifest } from "./upgrade-manifest-NaS4SWk9.js";
10
- import { t as subgraphModuleUpgradeManifest } from "./upgrade-manifest-XdOLymuP.js";
11
- import { t as vetraPackageUpgradeManifest } from "./upgrade-manifest-OlS1ALVv.js";
12
- import { a as DocumentEditorEditor, i as ProcessorModuleEditor, n as VetraDriveApp, o as AppEditor, r as SubgraphModuleEditor, t as VetraPackageEditor } from "./module-DXT-FMxU.js";
1
+ import { t as AppModule } from "./module-Caxhis1M.js";
2
+ import { t as DocumentEditor } from "./module-2JZcvfVs.js";
3
+ import { t as ProcessorModule } from "./module-Db8mmgzN.js";
4
+ import { t as SubgraphModule } from "./module-hLzF5tCL.js";
5
+ import { t as VetraPackage } from "./module-FXJRy_1W.js";
6
+ import { t as appModuleUpgradeManifest } from "./upgrade-manifest-DLxSL23q.js";
7
+ import { t as documentEditorUpgradeManifest } from "./upgrade-manifest-D7xKGmZc.js";
8
+ import { t as processorModuleUpgradeManifest } from "./upgrade-manifest-d3LquK-H.js";
9
+ import { t as subgraphModuleUpgradeManifest } from "./upgrade-manifest-Dv62Cod7.js";
10
+ import { t as vetraPackageUpgradeManifest } from "./upgrade-manifest-BOZ5nmyK.js";
11
+ import { a as DocumentEditorEditor, i as ProcessorModuleEditor, n as VetraDriveApp, o as AppEditor, r as SubgraphModuleEditor, t as VetraPackageEditor } from "./module-CdpGkPNN.js";
12
+ //#region powerhouse.manifest.json
13
+ var powerhouse_manifest_default = {
14
+ name: "@powerhousedao/vetra",
15
+ description: "Vetra package",
16
+ category: "",
17
+ publisher: {
18
+ "name": "@powerhousedao",
19
+ "url": "https://github.com/powerhouse-inc/powerhouse/tree/main/packages/vetra"
20
+ },
21
+ documentModels: [
22
+ {
23
+ "id": "powerhouse/package",
24
+ "name": "Vetra Package"
25
+ },
26
+ {
27
+ "id": "powerhouse/document-editor",
28
+ "name": "Document Editor"
29
+ },
30
+ {
31
+ "id": "powerhouse/subgraph",
32
+ "name": "Subgraph Module"
33
+ },
34
+ {
35
+ "id": "powerhouse/processor",
36
+ "name": "Processor Module"
37
+ },
38
+ {
39
+ "id": "powerhouse/app",
40
+ "name": "App Module"
41
+ }
42
+ ],
43
+ apps: [{
44
+ "id": "vetra-drive-app",
45
+ "name": "Vetra Drive App"
46
+ }],
47
+ editors: [
48
+ {
49
+ "id": "vetra-package-editor",
50
+ "name": "Vetra Package Editor",
51
+ "documentTypes": ["powerhouse/package"]
52
+ },
53
+ {
54
+ "id": "document-editor-editor",
55
+ "name": "Document Editor",
56
+ "documentTypes": ["powerhouse/document-editor"]
57
+ },
58
+ {
59
+ "id": "subgraph-module-editor",
60
+ "name": "Subgraph Module Editor",
61
+ "documentTypes": ["powerhouse/subgraph"]
62
+ },
63
+ {
64
+ "id": "processor-module-editor",
65
+ "name": "Processor Module Editor",
66
+ "documentTypes": ["powerhouse/processor"]
67
+ },
68
+ {
69
+ "id": "app-editor",
70
+ "name": "App Editor",
71
+ "documentTypes": ["powerhouse/app"]
72
+ }
73
+ ],
74
+ processors: [{
75
+ "id": "codegen",
76
+ "name": "codegen"
77
+ }, {
78
+ "id": "vetra-read-model",
79
+ "name": "vetra-read-model"
80
+ }],
81
+ subgraphs: [],
82
+ config: []
83
+ };
84
+ //#endregion
13
85
  //#region document-models/document-models.ts
14
86
  /**
15
87
  * WARNING: DO NOT EDIT
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["AppModuleV1","DocumentEditorV1","ProcessorModuleV1","SubgraphModuleV1","VetraPackageV1","manifestJson"],"sources":["../document-models/document-models.ts","../document-models/upgrade-manifests.ts","../editors/editors.ts","../index.ts"],"sourcesContent":["import { AppModule as AppModuleV1 } from \"document-models/app-module/v1\";\nimport { DocumentEditor as DocumentEditorV1 } from \"document-models/document-editor/v1\";\nimport { ProcessorModule as ProcessorModuleV1 } from \"document-models/processor-module/v1\";\nimport { SubgraphModule as SubgraphModuleV1 } from \"document-models/subgraph-module/v1\";\nimport { VetraPackage as VetraPackageV1 } from \"document-models/vetra-package/v1\";\n\n/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\n\nexport const documentModels = [\n AppModuleV1,\n DocumentEditorV1,\n ProcessorModuleV1,\n SubgraphModuleV1,\n VetraPackageV1,\n] as const;\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { UpgradeManifest } from \"document-model\";\nimport { appModuleUpgradeManifest } from \"document-models/app-module/upgrades\";\nimport { documentEditorUpgradeManifest } from \"document-models/document-editor/upgrades\";\nimport { processorModuleUpgradeManifest } from \"document-models/processor-module/upgrades\";\nimport { subgraphModuleUpgradeManifest } from \"document-models/subgraph-module/upgrades\";\nimport { vetraPackageUpgradeManifest } from \"document-models/vetra-package/upgrades\";\n\nexport const upgradeManifests: UpgradeManifest<readonly number[]>[] = [\n appModuleUpgradeManifest,\n documentEditorUpgradeManifest,\n processorModuleUpgradeManifest,\n subgraphModuleUpgradeManifest,\n vetraPackageUpgradeManifest,\n];\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { EditorModule } from \"document-model\";\nimport { AppEditor } from \"./app-editor/module.js\";\nimport { DocumentEditorEditor } from \"./document-editor/module.js\";\nimport { ProcessorModuleEditor } from \"./processor-editor/module.js\";\nimport { SubgraphModuleEditor } from \"./subgraph-editor/module.js\";\nimport { VetraDriveApp } from \"./vetra-drive-app/module.js\";\nimport { VetraPackageEditor } from \"./vetra-package/module.js\";\n\nexport const editors: EditorModule[] = [\n AppEditor,\n DocumentEditorEditor,\n ProcessorModuleEditor,\n SubgraphModuleEditor,\n VetraDriveApp,\n VetraPackageEditor,\n];\n","import type { Manifest } from \"@powerhousedao/shared/document-model\";\nimport manifestJson from \"./powerhouse.manifest.json\" with { type: \"json\" };\nexport { documentModels } from \"./document-models/document-models.js\";\nexport { upgradeManifests } from \"./document-models/upgrade-manifests.js\";\nexport { editors } from \"./editors/editors.js\";\nexport const manifest: Manifest = manifestJson;\n"],"mappings":";;;;;;;;;;;;;;;;;AAWA,MAAa,iBAAiB;CAC5BA;CACAC;CACAC;CACAC;CACAC;CACD;;;ACND,MAAa,mBAAyD;CACpE;CACA;CACA;CACA;CACA;CACD;;;ACLD,MAAa,UAA0B;CACrC;CACA;CACA;CACA;CACA;CACA;CACD;;;ACdD,MAAa,WAAqBC"}
1
+ {"version":3,"file":"index.js","names":["AppModuleV1","DocumentEditorV1","ProcessorModuleV1","SubgraphModuleV1","VetraPackageV1","manifestJson"],"sources":["../powerhouse.manifest.json","../document-models/document-models.ts","../document-models/upgrade-manifests.ts","../editors/editors.ts","../index.ts"],"sourcesContent":["","import { AppModule as AppModuleV1 } from \"document-models/app-module/v1\";\nimport { DocumentEditor as DocumentEditorV1 } from \"document-models/document-editor/v1\";\nimport { ProcessorModule as ProcessorModuleV1 } from \"document-models/processor-module/v1\";\nimport { SubgraphModule as SubgraphModuleV1 } from \"document-models/subgraph-module/v1\";\nimport { VetraPackage as VetraPackageV1 } from \"document-models/vetra-package/v1\";\n\n/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\n\nexport const documentModels = [\n AppModuleV1,\n DocumentEditorV1,\n ProcessorModuleV1,\n SubgraphModuleV1,\n VetraPackageV1,\n] as const;\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { UpgradeManifest } from \"document-model\";\nimport { appModuleUpgradeManifest } from \"document-models/app-module/upgrades\";\nimport { documentEditorUpgradeManifest } from \"document-models/document-editor/upgrades\";\nimport { processorModuleUpgradeManifest } from \"document-models/processor-module/upgrades\";\nimport { subgraphModuleUpgradeManifest } from \"document-models/subgraph-module/upgrades\";\nimport { vetraPackageUpgradeManifest } from \"document-models/vetra-package/upgrades\";\n\nexport const upgradeManifests: UpgradeManifest<readonly number[]>[] = [\n appModuleUpgradeManifest,\n documentEditorUpgradeManifest,\n processorModuleUpgradeManifest,\n subgraphModuleUpgradeManifest,\n vetraPackageUpgradeManifest,\n];\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { EditorModule } from \"document-model\";\nimport { AppEditor } from \"./app-editor/module.js\";\nimport { DocumentEditorEditor } from \"./document-editor/module.js\";\nimport { ProcessorModuleEditor } from \"./processor-editor/module.js\";\nimport { SubgraphModuleEditor } from \"./subgraph-editor/module.js\";\nimport { VetraDriveApp } from \"./vetra-drive-app/module.js\";\nimport { VetraPackageEditor } from \"./vetra-package/module.js\";\n\nexport const editors: EditorModule[] = [\n AppEditor,\n DocumentEditorEditor,\n ProcessorModuleEditor,\n SubgraphModuleEditor,\n VetraDriveApp,\n VetraPackageEditor,\n];\n","import type { Manifest } from \"@powerhousedao/shared/document-model\";\nimport manifestJson from \"./powerhouse.manifest.json\" with { type: \"json\" };\nexport { documentModels } from \"./document-models/document-models.js\";\nexport { upgradeManifests } from \"./document-models/upgrade-manifests.js\";\nexport { editors } from \"./editors/editors.js\";\nexport const manifest: Manifest = manifestJson;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACWA,MAAa,iBAAiB;CAC5BA;CACAC;CACAC;CACAC;CACAC;AACF;;;ACNA,MAAa,mBAAyD;CACpE;CACA;CACA;CACA;CACA;AACF;;;ACLA,MAAa,UAA0B;CACrC;CACA;CACA;CACA;CACA;CACA;AACF;;;ACdA,MAAa,WAAqBC"}
@@ -18,4 +18,4 @@ const logger = {
18
18
  //#endregion
19
19
  export { logger as t };
20
20
 
21
- //# sourceMappingURL=logger-WHD0fyLm.js.map
21
+ //# sourceMappingURL=logger-BFxMdimR.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"logger-WHD0fyLm.js","names":[],"sources":["../processors/codegen/logger.ts"],"sourcesContent":["import { childLogger } from \"document-model\";\n\nconst baseLogger = childLogger([\"Vetra\"]);\n\nfunction formatArgs(args: unknown[]): string {\n return args\n .map((arg) => {\n if (typeof arg === \"string\") return arg;\n if (arg instanceof Error) return arg.message;\n if (arg != null && typeof arg === \"object\") return JSON.stringify(arg);\n return `${arg as string | number | boolean}`;\n })\n .join(\" \");\n}\n\nexport const logger = {\n debug: (...args: unknown[]): void => baseLogger.debug(formatArgs(args)),\n info: (...args: unknown[]): void => baseLogger.info(formatArgs(args)),\n warn: (...args: unknown[]): void => baseLogger.warn(formatArgs(args)),\n error: (...args: unknown[]): void => baseLogger.error(formatArgs(args)),\n};\n"],"mappings":";;AAEA,MAAM,aAAa,YAAY,CAAC,QAAQ,CAAC;AAEzC,SAAS,WAAW,MAAyB;AAC3C,QAAO,KACJ,KAAK,QAAQ;AACZ,MAAI,OAAO,QAAQ,SAAU,QAAO;AACpC,MAAI,eAAe,MAAO,QAAO,IAAI;AACrC,MAAI,OAAO,QAAQ,OAAO,QAAQ,SAAU,QAAO,KAAK,UAAU,IAAI;AACtE,SAAO,GAAG;GACV,CACD,KAAK,IAAI;;AAGd,MAAa,SAAS;CACpB,QAAQ,GAAG,SAA0B,WAAW,MAAM,WAAW,KAAK,CAAC;CACvE,OAAO,GAAG,SAA0B,WAAW,KAAK,WAAW,KAAK,CAAC;CACrE,OAAO,GAAG,SAA0B,WAAW,KAAK,WAAW,KAAK,CAAC;CACrE,QAAQ,GAAG,SAA0B,WAAW,MAAM,WAAW,KAAK,CAAC;CACxE"}
1
+ {"version":3,"file":"logger-BFxMdimR.js","names":[],"sources":["../processors/codegen/logger.ts"],"sourcesContent":["import { childLogger } from \"document-model\";\n\nconst baseLogger = childLogger([\"Vetra\"]);\n\nfunction formatArgs(args: unknown[]): string {\n return args\n .map((arg) => {\n if (typeof arg === \"string\") return arg;\n if (arg instanceof Error) return arg.message;\n if (arg != null && typeof arg === \"object\") return JSON.stringify(arg);\n return `${arg as string | number | boolean}`;\n })\n .join(\" \");\n}\n\nexport const logger = {\n debug: (...args: unknown[]): void => baseLogger.debug(formatArgs(args)),\n info: (...args: unknown[]): void => baseLogger.info(formatArgs(args)),\n warn: (...args: unknown[]): void => baseLogger.warn(formatArgs(args)),\n error: (...args: unknown[]): void => baseLogger.error(formatArgs(args)),\n};\n"],"mappings":";;AAEA,MAAM,aAAa,YAAY,CAAC,OAAO,CAAC;AAExC,SAAS,WAAW,MAAyB;CAC3C,OAAO,KACJ,KAAK,QAAQ;EACZ,IAAI,OAAO,QAAQ,UAAU,OAAO;EACpC,IAAI,eAAe,OAAO,OAAO,IAAI;EACrC,IAAI,OAAO,QAAQ,OAAO,QAAQ,UAAU,OAAO,KAAK,UAAU,GAAG;EACrE,OAAO,GAAG;CACZ,CAAC,CAAC,CACD,KAAK,GAAG;AACb;AAEA,MAAa,SAAS;CACpB,QAAQ,GAAG,SAA0B,WAAW,MAAM,WAAW,IAAI,CAAC;CACtE,OAAO,GAAG,SAA0B,WAAW,KAAK,WAAW,IAAI,CAAC;CACpE,OAAO,GAAG,SAA0B,WAAW,KAAK,WAAW,IAAI,CAAC;CACpE,QAAQ,GAAG,SAA0B,WAAW,MAAM,WAAW,IAAI,CAAC;AACxE"}
@@ -1,5 +1,5 @@
1
- import { t as __exportAll } from "./chunk-pbuEa-1d.js";
2
- import { f as reducer, p as actions, r as utils$1 } from "./utils-DXCsvCXL.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
2
+ import { f as reducer, p as actions, r as utils$1 } from "./utils-876N1Sph.js";
3
3
  import { createState, defaultBaseState } from "document-model";
4
4
  //#region document-models/document-editor/v1/gen/document-model.ts
5
5
  const documentModel = {
@@ -102,4 +102,4 @@ const DocumentEditor = {
102
102
  //#endregion
103
103
  export { utils as n, documentModel as r, DocumentEditor as t };
104
104
 
105
- //# sourceMappingURL=module-Chqkdq4U.js.map
105
+ //# sourceMappingURL=module-2JZcvfVs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"module-Chqkdq4U.js","names":["genUtils","customUtils"],"sources":["../document-models/document-editor/v1/gen/document-model.ts","../document-models/document-editor/v1/src/utils.ts","../document-models/document-editor/v1/utils.ts","../document-models/document-editor/v1/module.ts"],"sourcesContent":["import type { DocumentModelGlobalState } from \"document-model\";\n\nexport const documentModel: DocumentModelGlobalState = {\n id: \"powerhouse/document-editor\",\n name: \"Document Editor\",\n author: {\n name: \"Powerhouse\",\n website: \"https://powerhouse.inc\",\n },\n extension: \".editor\",\n description:\n \"Declares a document editor (a React UI for editing instances of one or more document models) shipped by a Vetra Reactor Package. Create one Document Editor document per editor, list the document types it can edit, then mark it CONFIRMED to trigger codegen of the editor scaffold under `editors/`. The boilerplate it produces is what you then customize.\",\n specifications: [\n {\n state: {\n local: {\n schema: \"\",\n examples: [],\n initialValue: \"\",\n },\n global: {\n schema:\n '\"\"\"\\nConfiguration for a document editor contributed by the package. The editor is\\nregistered against every document type listed in `documentTypes`; Connect picks\\nthe first matching editor when opening a document.\\n\"\"\"\\ntype DocumentEditorState {\\n \"\"\"Display name of the editor. Also determines the generated folder name under `editors/`.\"\"\"\\n name: String!\\n \"\"\"Document types this editor can edit. Each entry has a stable id so it can be removed individually.\"\"\"\\n documentTypes: [DocumentTypeItem!]!\\n \"\"\"Lifecycle status. While DRAFT the editor definition is editable and codegen is skipped; switching to CONFIRMED triggers scaffold generation.\"\"\"\\n status: StatusType!\\n}\\n\\n\"\"\"A document type id (e.g. \\'powerhouse/document-drive\\') attached to the editor with a stable entry id.\"\"\"\\ntype DocumentTypeItem {\\n \"\"\"Stable identifier for the entry; used to remove it.\"\"\"\\n id: OID!\\n \"\"\"Document type id this editor handles (e.g. \\'my-org/invoice\\').\"\"\"\\n documentType: String!\\n}\\n\\n\"\"\"\\nLifecycle status of a module definition.\\n- DRAFT: still being edited; codegen does not run.\\n- CONFIRMED: locked in; codegen produces the corresponding scaffold.\\n\"\"\"\\nenum StatusType {\\n DRAFT\\n CONFIRMED\\n}',\n examples: [],\n initialValue:\n '{\\n \"name\": \"\",\\n \"documentTypes\": [],\\n \"status\": \"DRAFT\"\\n}',\n },\n },\n modules: [\n {\n id: \"73f6d103-47cb-4074-a736-a3eaf5d079bf\",\n name: \"base_operations\",\n description:\n \"Set the editor's identity, lifecycle status, and the document types it handles.\",\n operations: [\n {\n id: \"50a16f00-d25a-4c97-9632-4ce3b951a402\",\n name: \"SET_EDITOR_NAME\",\n description:\n \"Set the display name of the editor. Also determines the generated folder name under `editors/`.\",\n schema: \"input SetEditorNameInput {\\n name: String!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n {\n id: \"acee4272-f29e-4a19-aaf9-bae2cb6652ab\",\n name: \"ADD_DOCUMENT_TYPE\",\n description:\n \"Register a document type this editor can edit. Caller supplies a stable id so the entry can be removed later.\",\n schema:\n \"input AddDocumentTypeInput {\\n id: OID!\\n documentType: String!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n {\n id: \"6c549776-0fc3-4632-a6c7-8721fa6ee41c\",\n name: \"REMOVE_DOCUMENT_TYPE\",\n description: \"Remove a registered document type entry by its id.\",\n schema: \"input RemoveDocumentTypeInput {\\n id: OID!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n {\n id: \"e9aa7f08-553b-452f-a494-126ace6b15f7\",\n name: \"SET_EDITOR_STATUS\",\n description:\n \"Move the editor between DRAFT and CONFIRMED. Codegen only runs once the status is CONFIRMED \\u2014 leaving it DRAFT means no editor files are produced.\",\n schema: \"input SetEditorStatusInput {\\n status: StatusType!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n ],\n },\n ],\n version: 1,\n changeLog: [],\n },\n ],\n};\n","export {};\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { DocumentModelUtils } from \"document-model\";\nimport type { DocumentEditorPHState } from \"./gen/types.js\";\nimport { utils as genUtils } from \"./gen/utils.js\";\nimport * as customUtils from \"./src/utils.js\";\n\n/** Utils for the DocumentEditor document model */\nexport const utils: DocumentModelUtils<DocumentEditorPHState> = {\n ...genUtils,\n ...customUtils,\n};\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { DocumentModelModule } from \"document-model\";\nimport { createState, defaultBaseState } from \"document-model\";\nimport { actions } from \"./actions.js\";\nimport { documentModel } from \"./gen/document-model.js\";\nimport { reducer } from \"./gen/reducer.js\";\nimport type { DocumentEditorPHState } from \"./gen/types.js\";\nimport { utils } from \"./utils.js\";\n\n/** Document model module for the DocumentEditor document type */\nexport const DocumentEditor = {\n version: 1,\n reducer,\n actions,\n utils,\n documentModel: createState(defaultBaseState(), documentModel),\n} as const satisfies DocumentModelModule<DocumentEditorPHState>;\n"],"mappings":";;;;AAEA,MAAa,gBAA0C;CACrD,IAAI;CACJ,MAAM;CACN,QAAQ;EACN,MAAM;EACN,SAAS;EACV;CACD,WAAW;CACX,aACE;CACF,gBAAgB,CACd;EACE,OAAO;GACL,OAAO;IACL,QAAQ;IACR,UAAU,EAAE;IACZ,cAAc;IACf;GACD,QAAQ;IACN,QACE;IACF,UAAU,EAAE;IACZ,cACE;IACH;GACF;EACD,SAAS,CACP;GACE,IAAI;GACJ,MAAM;GACN,aACE;GACF,YAAY;IACV;KACE,IAAI;KACJ,MAAM;KACN,aACE;KACF,QAAQ;KACR,UAAU;KACV,SAAS;KACT,QAAQ,EAAE;KACV,UAAU,EAAE;KACZ,OAAO;KACR;IACD;KACE,IAAI;KACJ,MAAM;KACN,aACE;KACF,QACE;KACF,UAAU;KACV,SAAS;KACT,QAAQ,EAAE;KACV,UAAU,EAAE;KACZ,OAAO;KACR;IACD;KACE,IAAI;KACJ,MAAM;KACN,aAAa;KACb,QAAQ;KACR,UAAU;KACV,SAAS;KACT,QAAQ,EAAE;KACV,UAAU,EAAE;KACZ,OAAO;KACR;IACD;KACE,IAAI;KACJ,MAAM;KACN,aACE;KACF,QAAQ;KACR,UAAU;KACV,SAAS;KACT,QAAQ,EAAE;KACV,UAAU,EAAE;KACZ,OAAO;KACR;IACF;GACF,CACF;EACD,SAAS;EACT,WAAW,EAAE;EACd,CACF;CACF;;;;;;;AEhFD,MAAa,QAAmD;CAC9D,GAAGA;CACH,GAAGC;CACJ;;;;ACAD,MAAa,iBAAiB;CAC5B,SAAS;CACT;CACA;CACA;CACA,eAAe,YAAY,kBAAkB,EAAE,cAAc;CAC9D"}
1
+ {"version":3,"file":"module-2JZcvfVs.js","names":["genUtils","customUtils"],"sources":["../document-models/document-editor/v1/gen/document-model.ts","../document-models/document-editor/v1/src/utils.ts","../document-models/document-editor/v1/utils.ts","../document-models/document-editor/v1/module.ts"],"sourcesContent":["import type { DocumentModelGlobalState } from \"document-model\";\n\nexport const documentModel: DocumentModelGlobalState = {\n id: \"powerhouse/document-editor\",\n name: \"Document Editor\",\n author: {\n name: \"Powerhouse\",\n website: \"https://powerhouse.inc\",\n },\n extension: \".editor\",\n description:\n \"Declares a document editor (a React UI for editing instances of one or more document models) shipped by a Vetra Reactor Package. Create one Document Editor document per editor, list the document types it can edit, then mark it CONFIRMED to trigger codegen of the editor scaffold under `editors/`. The boilerplate it produces is what you then customize.\",\n specifications: [\n {\n state: {\n local: {\n schema: \"\",\n examples: [],\n initialValue: \"\",\n },\n global: {\n schema:\n '\"\"\"\\nConfiguration for a document editor contributed by the package. The editor is\\nregistered against every document type listed in `documentTypes`; Connect picks\\nthe first matching editor when opening a document.\\n\"\"\"\\ntype DocumentEditorState {\\n \"\"\"Display name of the editor. Also determines the generated folder name under `editors/`.\"\"\"\\n name: String!\\n \"\"\"Document types this editor can edit. Each entry has a stable id so it can be removed individually.\"\"\"\\n documentTypes: [DocumentTypeItem!]!\\n \"\"\"Lifecycle status. While DRAFT the editor definition is editable and codegen is skipped; switching to CONFIRMED triggers scaffold generation.\"\"\"\\n status: StatusType!\\n}\\n\\n\"\"\"A document type id (e.g. \\'powerhouse/document-drive\\') attached to the editor with a stable entry id.\"\"\"\\ntype DocumentTypeItem {\\n \"\"\"Stable identifier for the entry; used to remove it.\"\"\"\\n id: OID!\\n \"\"\"Document type id this editor handles (e.g. \\'my-org/invoice\\').\"\"\"\\n documentType: String!\\n}\\n\\n\"\"\"\\nLifecycle status of a module definition.\\n- DRAFT: still being edited; codegen does not run.\\n- CONFIRMED: locked in; codegen produces the corresponding scaffold.\\n\"\"\"\\nenum StatusType {\\n DRAFT\\n CONFIRMED\\n}',\n examples: [],\n initialValue:\n '{\\n \"name\": \"\",\\n \"documentTypes\": [],\\n \"status\": \"DRAFT\"\\n}',\n },\n },\n modules: [\n {\n id: \"73f6d103-47cb-4074-a736-a3eaf5d079bf\",\n name: \"base_operations\",\n description:\n \"Set the editor's identity, lifecycle status, and the document types it handles.\",\n operations: [\n {\n id: \"50a16f00-d25a-4c97-9632-4ce3b951a402\",\n name: \"SET_EDITOR_NAME\",\n description:\n \"Set the display name of the editor. Also determines the generated folder name under `editors/`.\",\n schema: \"input SetEditorNameInput {\\n name: String!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n {\n id: \"acee4272-f29e-4a19-aaf9-bae2cb6652ab\",\n name: \"ADD_DOCUMENT_TYPE\",\n description:\n \"Register a document type this editor can edit. Caller supplies a stable id so the entry can be removed later.\",\n schema:\n \"input AddDocumentTypeInput {\\n id: OID!\\n documentType: String!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n {\n id: \"6c549776-0fc3-4632-a6c7-8721fa6ee41c\",\n name: \"REMOVE_DOCUMENT_TYPE\",\n description: \"Remove a registered document type entry by its id.\",\n schema: \"input RemoveDocumentTypeInput {\\n id: OID!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n {\n id: \"e9aa7f08-553b-452f-a494-126ace6b15f7\",\n name: \"SET_EDITOR_STATUS\",\n description:\n \"Move the editor between DRAFT and CONFIRMED. Codegen only runs once the status is CONFIRMED \\u2014 leaving it DRAFT means no editor files are produced.\",\n schema: \"input SetEditorStatusInput {\\n status: StatusType!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n ],\n },\n ],\n version: 1,\n changeLog: [],\n },\n ],\n};\n","export {};\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { DocumentModelUtils } from \"document-model\";\nimport type { DocumentEditorPHState } from \"./gen/types.js\";\nimport { utils as genUtils } from \"./gen/utils.js\";\nimport * as customUtils from \"./src/utils.js\";\n\n/** Utils for the DocumentEditor document model */\nexport const utils: DocumentModelUtils<DocumentEditorPHState> = {\n ...genUtils,\n ...customUtils,\n};\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { DocumentModelModule } from \"document-model\";\nimport { createState, defaultBaseState } from \"document-model\";\nimport { actions } from \"./actions.js\";\nimport { documentModel } from \"./gen/document-model.js\";\nimport { reducer } from \"./gen/reducer.js\";\nimport type { DocumentEditorPHState } from \"./gen/types.js\";\nimport { utils } from \"./utils.js\";\n\n/** Document model module for the DocumentEditor document type */\nexport const DocumentEditor = {\n version: 1,\n reducer,\n actions,\n utils,\n documentModel: createState(defaultBaseState(), documentModel),\n} as const satisfies DocumentModelModule<DocumentEditorPHState>;\n"],"mappings":";;;;AAEA,MAAa,gBAA0C;CACrD,IAAI;CACJ,MAAM;CACN,QAAQ;EACN,MAAM;EACN,SAAS;CACX;CACA,WAAW;CACX,aACE;CACF,gBAAgB,CACd;EACE,OAAO;GACL,OAAO;IACL,QAAQ;IACR,UAAU,CAAC;IACX,cAAc;GAChB;GACA,QAAQ;IACN,QACE;IACF,UAAU,CAAC;IACX,cACE;GACJ;EACF;EACA,SAAS,CACP;GACE,IAAI;GACJ,MAAM;GACN,aACE;GACF,YAAY;IACV;KACE,IAAI;KACJ,MAAM;KACN,aACE;KACF,QAAQ;KACR,UAAU;KACV,SAAS;KACT,QAAQ,CAAC;KACT,UAAU,CAAC;KACX,OAAO;IACT;IACA;KACE,IAAI;KACJ,MAAM;KACN,aACE;KACF,QACE;KACF,UAAU;KACV,SAAS;KACT,QAAQ,CAAC;KACT,UAAU,CAAC;KACX,OAAO;IACT;IACA;KACE,IAAI;KACJ,MAAM;KACN,aAAa;KACb,QAAQ;KACR,UAAU;KACV,SAAS;KACT,QAAQ,CAAC;KACT,UAAU,CAAC;KACX,OAAO;IACT;IACA;KACE,IAAI;KACJ,MAAM;KACN,aACE;KACF,QAAQ;KACR,UAAU;KACV,SAAS;KACT,QAAQ,CAAC;KACT,UAAU,CAAC;KACX,OAAO;IACT;GACF;EACF,CACF;EACA,SAAS;EACT,WAAW,CAAC;CACd,CACF;AACF;;;;;;;AEhFA,MAAa,QAAmD;CAC9D,GAAGA;CACH,GAAGC;AACL;;;;ACAA,MAAa,iBAAiB;CAC5B,SAAS;CACT;CACA;CACA;CACA,eAAe,YAAY,iBAAiB,GAAG,aAAa;AAC9D"}
@@ -1,5 +1,5 @@
1
- import { t as __exportAll } from "./chunk-pbuEa-1d.js";
2
- import { f as reducer, p as actions, r as utils$1 } from "./utils-B4KdjDnp.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
2
+ import { f as reducer, p as actions, r as utils$1 } from "./utils-COP7hJ-K.js";
3
3
  import { createState, defaultBaseState } from "document-model";
4
4
  //#region document-models/app-module/v1/gen/document-model.ts
5
5
  const documentModel = {
@@ -128,4 +128,4 @@ const AppModule = {
128
128
  //#endregion
129
129
  export { utils as n, documentModel as r, AppModule as t };
130
130
 
131
- //# sourceMappingURL=module-CRq_lUkG.js.map
131
+ //# sourceMappingURL=module-Caxhis1M.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"module-CRq_lUkG.js","names":["genUtils","customUtils"],"sources":["../document-models/app-module/v1/gen/document-model.ts","../document-models/app-module/v1/src/utils.ts","../document-models/app-module/v1/utils.ts","../document-models/app-module/v1/module.ts"],"sourcesContent":["import type { DocumentModelGlobalState } from \"document-model\";\n\nexport const documentModel: DocumentModelGlobalState = {\n id: \"powerhouse/app\",\n name: \"App Module\",\n author: {\n name: \"Powerhouse\",\n website: \"https://powerhouse.inc\",\n },\n extension: \".app\",\n description:\n \"Declares a custom Drive App (a drive-level UI surface) shipped by a Vetra Reactor Package. Use one App Module document per drive app: configure which document types it handles, whether it accepts drag-and-drop, and mark it CONFIRMED to trigger codegen of the corresponding app scaffold under `apps/`.\",\n specifications: [\n {\n state: {\n local: {\n schema: \"\",\n examples: [],\n initialValue: \"\",\n },\n global: {\n schema:\n '\"\"\"\\nConfiguration for a Drive App contributed by the package. Drive apps render a\\ncustom view at the drive level (instead of, or alongside, the document file\\ntree) and can opt into which document types they accept.\\n\"\"\"\\ntype AppModuleState {\\n \"\"\"Display name of the drive app. Also used as the source for the generated folder name under `apps/`.\"\"\"\\n name: String!\\n \"\"\"Lifecycle status. While DRAFT the app definition is editable and codegen is skipped; switching to CONFIRMED triggers app scaffold generation.\"\"\"\\n status: StatusType!\\n \"\"\"Document type ids this app handles. `null` means the app accepts any document type; an empty list means it accepts none.\"\"\"\\n allowedDocumentTypes: [String!]\\n \"\"\"Whether the app surface accepts dropped files from the user. Defaults to true.\"\"\"\\n isDragAndDropEnabled: Boolean!\\n}\\n\\n\"\"\"\\nLifecycle status of a module definition.\\n- DRAFT: still being edited; codegen does not run.\\n- CONFIRMED: locked in; codegen produces the corresponding scaffold.\\n\"\"\"\\nenum StatusType {\\n DRAFT\\n CONFIRMED\\n}',\n examples: [],\n initialValue:\n '{\\n \"name\": \"\",\\n \"status\": \"DRAFT\",\\n \"allowedDocumentTypes\": null,\\n \"isDragAndDropEnabled\": true\\n}',\n },\n },\n modules: [\n {\n id: \"d274599a-ceb5-4f2b-8651-b25787306734\",\n name: \"base_operations\",\n description:\n \"Set the app's identity, lifecycle status, and the document types it handles.\",\n operations: [\n {\n id: \"f2ba2ddc-8527-4162-93bd-e045e9932013\",\n name: \"SET_APP_NAME\",\n description:\n \"Set the display name of the drive app. Also determines the generated folder name under `apps/`.\",\n schema: \"input SetAppNameInput {\\n name: String!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n {\n id: \"c842efa4-154c-4fd9-9d12-42bec51af4e9\",\n name: \"SET_APP_STATUS\",\n description:\n \"Move the app between DRAFT and CONFIRMED. Codegen only runs once the status is CONFIRMED.\",\n schema: \"input SetAppStatusInput {\\n status: StatusType!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n {\n id: \"7376f168-695f-4aef-94d0-6e381666358c\",\n name: \"ADD_DOCUMENT_TYPE\",\n description:\n \"Append a document type id to the list of types this app handles. Initializes the list if it was `null` (accept-any).\",\n schema:\n \"input AddDocumentTypeInput {\\n documentType: String!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n {\n id: \"310e4e5b-3f14-4e9a-8e09-5583c7698a65\",\n name: \"REMOVE_DOCUMENT_TYPE\",\n description:\n \"Remove a document type id from the handled list. No-op if the type is not present.\",\n schema:\n \"input RemoveDocumentTypeInput {\\n documentType: String!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n {\n id: \"b365727a-7df3-48f0-a4f8-02362f02ad1d\",\n name: \"SET_DOCUMENT_TYPES\",\n description:\n \"Replace the entire allowed-document-types list in one call. Pass an empty list to accept none.\",\n schema:\n \"input SetDocumentTypesInput {\\n documentTypes: [String!]!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n ],\n },\n {\n id: \"270faa10-92e9-40d0-b128-2de32704bcb5\",\n name: \"dnd_operations\",\n description:\n \"Toggle drag-and-drop file handling for the app surface.\",\n operations: [\n {\n id: \"077b1ab8-cb32-4b4e-a1fa-76178188c6a1\",\n name: \"SET_DRAG_AND_DROP_ENABLED\",\n description:\n \"Enable or disable drag-and-drop file handling on the app surface.\",\n schema:\n \"input SetDragAndDropEnabledInput {\\n enabled: Boolean!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n ],\n },\n ],\n version: 1,\n changeLog: [],\n },\n ],\n};\n","export {};\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { DocumentModelUtils } from \"document-model\";\nimport type { AppModulePHState } from \"./gen/types.js\";\nimport { utils as genUtils } from \"./gen/utils.js\";\nimport * as customUtils from \"./src/utils.js\";\n\n/** Utils for the AppModule document model */\nexport const utils: DocumentModelUtils<AppModulePHState> = {\n ...genUtils,\n ...customUtils,\n};\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { DocumentModelModule } from \"document-model\";\nimport { createState, defaultBaseState } from \"document-model\";\nimport { actions } from \"./actions.js\";\nimport { documentModel } from \"./gen/document-model.js\";\nimport { reducer } from \"./gen/reducer.js\";\nimport type { AppModulePHState } from \"./gen/types.js\";\nimport { utils } from \"./utils.js\";\n\n/** Document model module for the AppModule document type */\nexport const AppModule = {\n version: 1,\n reducer,\n actions,\n utils,\n documentModel: createState(defaultBaseState(), documentModel),\n} as const satisfies DocumentModelModule<AppModulePHState>;\n"],"mappings":";;;;AAEA,MAAa,gBAA0C;CACrD,IAAI;CACJ,MAAM;CACN,QAAQ;EACN,MAAM;EACN,SAAS;EACV;CACD,WAAW;CACX,aACE;CACF,gBAAgB,CACd;EACE,OAAO;GACL,OAAO;IACL,QAAQ;IACR,UAAU,EAAE;IACZ,cAAc;IACf;GACD,QAAQ;IACN,QACE;IACF,UAAU,EAAE;IACZ,cACE;IACH;GACF;EACD,SAAS,CACP;GACE,IAAI;GACJ,MAAM;GACN,aACE;GACF,YAAY;IACV;KACE,IAAI;KACJ,MAAM;KACN,aACE;KACF,QAAQ;KACR,UAAU;KACV,SAAS;KACT,QAAQ,EAAE;KACV,UAAU,EAAE;KACZ,OAAO;KACR;IACD;KACE,IAAI;KACJ,MAAM;KACN,aACE;KACF,QAAQ;KACR,UAAU;KACV,SAAS;KACT,QAAQ,EAAE;KACV,UAAU,EAAE;KACZ,OAAO;KACR;IACD;KACE,IAAI;KACJ,MAAM;KACN,aACE;KACF,QACE;KACF,UAAU;KACV,SAAS;KACT,QAAQ,EAAE;KACV,UAAU,EAAE;KACZ,OAAO;KACR;IACD;KACE,IAAI;KACJ,MAAM;KACN,aACE;KACF,QACE;KACF,UAAU;KACV,SAAS;KACT,QAAQ,EAAE;KACV,UAAU,EAAE;KACZ,OAAO;KACR;IACD;KACE,IAAI;KACJ,MAAM;KACN,aACE;KACF,QACE;KACF,UAAU;KACV,SAAS;KACT,QAAQ,EAAE;KACV,UAAU,EAAE;KACZ,OAAO;KACR;IACF;GACF,EACD;GACE,IAAI;GACJ,MAAM;GACN,aACE;GACF,YAAY,CACV;IACE,IAAI;IACJ,MAAM;IACN,aACE;IACF,QACE;IACF,UAAU;IACV,SAAS;IACT,QAAQ,EAAE;IACV,UAAU,EAAE;IACZ,OAAO;IACR,CACF;GACF,CACF;EACD,SAAS;EACT,WAAW,EAAE;EACd,CACF;CACF;;;;;;;AEpHD,MAAa,QAA8C;CACzD,GAAGA;CACH,GAAGC;CACJ;;;;ACAD,MAAa,YAAY;CACvB,SAAS;CACT;CACA;CACA;CACA,eAAe,YAAY,kBAAkB,EAAE,cAAc;CAC9D"}
1
+ {"version":3,"file":"module-Caxhis1M.js","names":["genUtils","customUtils"],"sources":["../document-models/app-module/v1/gen/document-model.ts","../document-models/app-module/v1/src/utils.ts","../document-models/app-module/v1/utils.ts","../document-models/app-module/v1/module.ts"],"sourcesContent":["import type { DocumentModelGlobalState } from \"document-model\";\n\nexport const documentModel: DocumentModelGlobalState = {\n id: \"powerhouse/app\",\n name: \"App Module\",\n author: {\n name: \"Powerhouse\",\n website: \"https://powerhouse.inc\",\n },\n extension: \".app\",\n description:\n \"Declares a custom Drive App (a drive-level UI surface) shipped by a Vetra Reactor Package. Use one App Module document per drive app: configure which document types it handles, whether it accepts drag-and-drop, and mark it CONFIRMED to trigger codegen of the corresponding app scaffold under `apps/`.\",\n specifications: [\n {\n state: {\n local: {\n schema: \"\",\n examples: [],\n initialValue: \"\",\n },\n global: {\n schema:\n '\"\"\"\\nConfiguration for a Drive App contributed by the package. Drive apps render a\\ncustom view at the drive level (instead of, or alongside, the document file\\ntree) and can opt into which document types they accept.\\n\"\"\"\\ntype AppModuleState {\\n \"\"\"Display name of the drive app. Also used as the source for the generated folder name under `apps/`.\"\"\"\\n name: String!\\n \"\"\"Lifecycle status. While DRAFT the app definition is editable and codegen is skipped; switching to CONFIRMED triggers app scaffold generation.\"\"\"\\n status: StatusType!\\n \"\"\"Document type ids this app handles. `null` means the app accepts any document type; an empty list means it accepts none.\"\"\"\\n allowedDocumentTypes: [String!]\\n \"\"\"Whether the app surface accepts dropped files from the user. Defaults to true.\"\"\"\\n isDragAndDropEnabled: Boolean!\\n}\\n\\n\"\"\"\\nLifecycle status of a module definition.\\n- DRAFT: still being edited; codegen does not run.\\n- CONFIRMED: locked in; codegen produces the corresponding scaffold.\\n\"\"\"\\nenum StatusType {\\n DRAFT\\n CONFIRMED\\n}',\n examples: [],\n initialValue:\n '{\\n \"name\": \"\",\\n \"status\": \"DRAFT\",\\n \"allowedDocumentTypes\": null,\\n \"isDragAndDropEnabled\": true\\n}',\n },\n },\n modules: [\n {\n id: \"d274599a-ceb5-4f2b-8651-b25787306734\",\n name: \"base_operations\",\n description:\n \"Set the app's identity, lifecycle status, and the document types it handles.\",\n operations: [\n {\n id: \"f2ba2ddc-8527-4162-93bd-e045e9932013\",\n name: \"SET_APP_NAME\",\n description:\n \"Set the display name of the drive app. Also determines the generated folder name under `apps/`.\",\n schema: \"input SetAppNameInput {\\n name: String!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n {\n id: \"c842efa4-154c-4fd9-9d12-42bec51af4e9\",\n name: \"SET_APP_STATUS\",\n description:\n \"Move the app between DRAFT and CONFIRMED. Codegen only runs once the status is CONFIRMED.\",\n schema: \"input SetAppStatusInput {\\n status: StatusType!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n {\n id: \"7376f168-695f-4aef-94d0-6e381666358c\",\n name: \"ADD_DOCUMENT_TYPE\",\n description:\n \"Append a document type id to the list of types this app handles. Initializes the list if it was `null` (accept-any).\",\n schema:\n \"input AddDocumentTypeInput {\\n documentType: String!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n {\n id: \"310e4e5b-3f14-4e9a-8e09-5583c7698a65\",\n name: \"REMOVE_DOCUMENT_TYPE\",\n description:\n \"Remove a document type id from the handled list. No-op if the type is not present.\",\n schema:\n \"input RemoveDocumentTypeInput {\\n documentType: String!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n {\n id: \"b365727a-7df3-48f0-a4f8-02362f02ad1d\",\n name: \"SET_DOCUMENT_TYPES\",\n description:\n \"Replace the entire allowed-document-types list in one call. Pass an empty list to accept none.\",\n schema:\n \"input SetDocumentTypesInput {\\n documentTypes: [String!]!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n ],\n },\n {\n id: \"270faa10-92e9-40d0-b128-2de32704bcb5\",\n name: \"dnd_operations\",\n description:\n \"Toggle drag-and-drop file handling for the app surface.\",\n operations: [\n {\n id: \"077b1ab8-cb32-4b4e-a1fa-76178188c6a1\",\n name: \"SET_DRAG_AND_DROP_ENABLED\",\n description:\n \"Enable or disable drag-and-drop file handling on the app surface.\",\n schema:\n \"input SetDragAndDropEnabledInput {\\n enabled: Boolean!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n ],\n },\n ],\n version: 1,\n changeLog: [],\n },\n ],\n};\n","export {};\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { DocumentModelUtils } from \"document-model\";\nimport type { AppModulePHState } from \"./gen/types.js\";\nimport { utils as genUtils } from \"./gen/utils.js\";\nimport * as customUtils from \"./src/utils.js\";\n\n/** Utils for the AppModule document model */\nexport const utils: DocumentModelUtils<AppModulePHState> = {\n ...genUtils,\n ...customUtils,\n};\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { DocumentModelModule } from \"document-model\";\nimport { createState, defaultBaseState } from \"document-model\";\nimport { actions } from \"./actions.js\";\nimport { documentModel } from \"./gen/document-model.js\";\nimport { reducer } from \"./gen/reducer.js\";\nimport type { AppModulePHState } from \"./gen/types.js\";\nimport { utils } from \"./utils.js\";\n\n/** Document model module for the AppModule document type */\nexport const AppModule = {\n version: 1,\n reducer,\n actions,\n utils,\n documentModel: createState(defaultBaseState(), documentModel),\n} as const satisfies DocumentModelModule<AppModulePHState>;\n"],"mappings":";;;;AAEA,MAAa,gBAA0C;CACrD,IAAI;CACJ,MAAM;CACN,QAAQ;EACN,MAAM;EACN,SAAS;CACX;CACA,WAAW;CACX,aACE;CACF,gBAAgB,CACd;EACE,OAAO;GACL,OAAO;IACL,QAAQ;IACR,UAAU,CAAC;IACX,cAAc;GAChB;GACA,QAAQ;IACN,QACE;IACF,UAAU,CAAC;IACX,cACE;GACJ;EACF;EACA,SAAS,CACP;GACE,IAAI;GACJ,MAAM;GACN,aACE;GACF,YAAY;IACV;KACE,IAAI;KACJ,MAAM;KACN,aACE;KACF,QAAQ;KACR,UAAU;KACV,SAAS;KACT,QAAQ,CAAC;KACT,UAAU,CAAC;KACX,OAAO;IACT;IACA;KACE,IAAI;KACJ,MAAM;KACN,aACE;KACF,QAAQ;KACR,UAAU;KACV,SAAS;KACT,QAAQ,CAAC;KACT,UAAU,CAAC;KACX,OAAO;IACT;IACA;KACE,IAAI;KACJ,MAAM;KACN,aACE;KACF,QACE;KACF,UAAU;KACV,SAAS;KACT,QAAQ,CAAC;KACT,UAAU,CAAC;KACX,OAAO;IACT;IACA;KACE,IAAI;KACJ,MAAM;KACN,aACE;KACF,QACE;KACF,UAAU;KACV,SAAS;KACT,QAAQ,CAAC;KACT,UAAU,CAAC;KACX,OAAO;IACT;IACA;KACE,IAAI;KACJ,MAAM;KACN,aACE;KACF,QACE;KACF,UAAU;KACV,SAAS;KACT,QAAQ,CAAC;KACT,UAAU,CAAC;KACX,OAAO;IACT;GACF;EACF,GACA;GACE,IAAI;GACJ,MAAM;GACN,aACE;GACF,YAAY,CACV;IACE,IAAI;IACJ,MAAM;IACN,aACE;IACF,QACE;IACF,UAAU;IACV,SAAS;IACT,QAAQ,CAAC;IACT,UAAU,CAAC;IACX,OAAO;GACT,CACF;EACF,CACF;EACA,SAAS;EACT,WAAW,CAAC;CACd,CACF;AACF;;;;;;;AEpHA,MAAa,QAA8C;CACzD,GAAGA;CACH,GAAGC;AACL;;;;ACAA,MAAa,YAAY;CACvB,SAAS;CACT;CACA;CACA;CACA,eAAe,YAAY,iBAAiB,GAAG,aAAa;AAC9D"}
@@ -2,7 +2,7 @@ import { lazy } from "react";
2
2
  //#region editors/app-editor/module.ts
3
3
  /** Document editor module for the "powerhouse/app" document type */
4
4
  const AppEditor = {
5
- Component: lazy(() => import("./editor-LRAwrgdQ.js")),
5
+ Component: lazy(() => import("./editor-BXOEFIDj.js")),
6
6
  documentTypes: ["powerhouse/app"],
7
7
  config: {
8
8
  id: "app-editor",
@@ -13,7 +13,7 @@ const AppEditor = {
13
13
  //#region editors/document-editor/module.ts
14
14
  /** Document editor module for the "powerhouse/document-editor" document type */
15
15
  const DocumentEditorEditor = {
16
- Component: lazy(() => import("./editor-C13SvgUy.js")),
16
+ Component: lazy(() => import("./editor-DFEeM_dy.js")),
17
17
  documentTypes: ["powerhouse/document-editor"],
18
18
  config: {
19
19
  id: "document-editor-editor",
@@ -24,7 +24,7 @@ const DocumentEditorEditor = {
24
24
  //#region editors/processor-editor/module.ts
25
25
  /** Document editor module for the "powerhouse/processor" document type */
26
26
  const ProcessorModuleEditor = {
27
- Component: lazy(() => import("./editor-CLbvu3pG.js")),
27
+ Component: lazy(() => import("./editor-C5a0rBQj.js")),
28
28
  documentTypes: ["powerhouse/processor"],
29
29
  config: {
30
30
  id: "processor-module-editor",
@@ -35,7 +35,7 @@ const ProcessorModuleEditor = {
35
35
  //#region editors/subgraph-editor/module.ts
36
36
  /** Document editor module for the "powerhouse/subgraph" document type */
37
37
  const SubgraphModuleEditor = {
38
- Component: lazy(() => import("./editor-_0gdltOt.js")),
38
+ Component: lazy(() => import("./editor-CiX3Tq3g.js")),
39
39
  documentTypes: ["powerhouse/subgraph"],
40
40
  config: {
41
41
  id: "subgraph-module-editor",
@@ -45,7 +45,7 @@ const SubgraphModuleEditor = {
45
45
  //#endregion
46
46
  //#region editors/vetra-drive-app/module.ts
47
47
  const VetraDriveApp = {
48
- Component: lazy(() => import("./editor-Fgw7attg.js")),
48
+ Component: lazy(() => import("./editor-DpadPeVq.js")),
49
49
  documentTypes: ["powerhouse/document-drive"],
50
50
  config: {
51
51
  id: "vetra-drive-app",
@@ -56,7 +56,7 @@ const VetraDriveApp = {
56
56
  //#region editors/vetra-package/module.ts
57
57
  /** Document editor module for the "powerhouse/package" document type */
58
58
  const VetraPackageEditor = {
59
- Component: lazy(() => import("./editor-CCdg1mJL.js")),
59
+ Component: lazy(() => import("./editor-DpZVlVN1.js")),
60
60
  documentTypes: ["powerhouse/package"],
61
61
  config: {
62
62
  id: "vetra-package-editor",
@@ -66,4 +66,4 @@ const VetraPackageEditor = {
66
66
  //#endregion
67
67
  export { DocumentEditorEditor as a, ProcessorModuleEditor as i, VetraDriveApp as n, AppEditor as o, SubgraphModuleEditor as r, VetraPackageEditor as t };
68
68
 
69
- //# sourceMappingURL=module-DXT-FMxU.js.map
69
+ //# sourceMappingURL=module-CdpGkPNN.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"module-DXT-FMxU.js","names":[],"sources":["../editors/app-editor/module.ts","../editors/document-editor/module.ts","../editors/processor-editor/module.ts","../editors/subgraph-editor/module.ts","../editors/vetra-drive-app/module.ts","../editors/vetra-package/module.ts"],"sourcesContent":["/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { EditorModule } from \"document-model\";\nimport { lazy } from \"react\";\n\n/** Document editor module for the \"powerhouse/app\" document type */\nexport const AppEditor: EditorModule = {\n Component: lazy(() => import(\"./editor.js\")),\n documentTypes: [\"powerhouse/app\"],\n config: {\n id: \"app-editor\",\n name: \"AppEditor\",\n },\n};\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { EditorModule } from \"document-model\";\nimport { lazy } from \"react\";\n\n/** Document editor module for the \"powerhouse/document-editor\" document type */\nexport const DocumentEditorEditor: EditorModule = {\n Component: lazy(() => import(\"./editor.js\")),\n documentTypes: [\"powerhouse/document-editor\"],\n config: {\n id: \"document-editor-editor\",\n name: \"Document Editor Editor\",\n },\n};\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { EditorModule } from \"document-model\";\nimport { lazy } from \"react\";\n\n/** Document editor module for the \"powerhouse/processor\" document type */\nexport const ProcessorModuleEditor: EditorModule = {\n Component: lazy(() => import(\"./editor.js\")),\n documentTypes: [\"powerhouse/processor\"],\n config: {\n id: \"processor-module-editor\",\n name: \"Processor Module Editor\",\n },\n};\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { EditorModule } from \"document-model\";\nimport { lazy } from \"react\";\n\n/** Document editor module for the \"powerhouse/subgraph\" document type */\nexport const SubgraphModuleEditor: EditorModule = {\n Component: lazy(() => import(\"./editor.js\")),\n documentTypes: [\"powerhouse/subgraph\"],\n config: {\n id: \"subgraph-module-editor\",\n name: \"Subgraph Module Editor\",\n },\n};\n","import type { EditorModule } from \"@powerhousedao/shared/document-model\";\nimport { lazy } from \"react\";\n\nexport const VetraDriveApp: EditorModule = {\n Component: lazy(() => import(\"./editor.js\")),\n documentTypes: [\"powerhouse/document-drive\"],\n config: {\n id: \"vetra-drive-app\",\n name: \"Vetra Drive App\",\n },\n};\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { EditorModule } from \"document-model\";\nimport { lazy } from \"react\";\n\n/** Document editor module for the \"powerhouse/package\" document type */\nexport const VetraPackageEditor: EditorModule = {\n Component: lazy(() => import(\"./editor.js\")),\n documentTypes: [\"powerhouse/package\"],\n config: {\n id: \"vetra-package-editor\",\n name: \"Vetra Package Editor\",\n },\n};\n"],"mappings":";;;AAQA,MAAa,YAA0B;CACrC,WAAW,WAAW,OAAO,wBAAe;CAC5C,eAAe,CAAC,iBAAiB;CACjC,QAAQ;EACN,IAAI;EACJ,MAAM;EACP;CACF;;;;ACPD,MAAa,uBAAqC;CAChD,WAAW,WAAW,OAAO,wBAAe;CAC5C,eAAe,CAAC,6BAA6B;CAC7C,QAAQ;EACN,IAAI;EACJ,MAAM;EACP;CACF;;;;ACPD,MAAa,wBAAsC;CACjD,WAAW,WAAW,OAAO,wBAAe;CAC5C,eAAe,CAAC,uBAAuB;CACvC,QAAQ;EACN,IAAI;EACJ,MAAM;EACP;CACF;;;;ACPD,MAAa,uBAAqC;CAChD,WAAW,WAAW,OAAO,wBAAe;CAC5C,eAAe,CAAC,sBAAsB;CACtC,QAAQ;EACN,IAAI;EACJ,MAAM;EACP;CACF;;;ACZD,MAAa,gBAA8B;CACzC,WAAW,WAAW,OAAO,wBAAe;CAC5C,eAAe,CAAC,4BAA4B;CAC5C,QAAQ;EACN,IAAI;EACJ,MAAM;EACP;CACF;;;;ACFD,MAAa,qBAAmC;CAC9C,WAAW,WAAW,OAAO,wBAAe;CAC5C,eAAe,CAAC,qBAAqB;CACrC,QAAQ;EACN,IAAI;EACJ,MAAM;EACP;CACF"}
1
+ {"version":3,"file":"module-CdpGkPNN.js","names":[],"sources":["../editors/app-editor/module.ts","../editors/document-editor/module.ts","../editors/processor-editor/module.ts","../editors/subgraph-editor/module.ts","../editors/vetra-drive-app/module.ts","../editors/vetra-package/module.ts"],"sourcesContent":["/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { EditorModule } from \"document-model\";\nimport { lazy } from \"react\";\n\n/** Document editor module for the \"powerhouse/app\" document type */\nexport const AppEditor: EditorModule = {\n Component: lazy(() => import(\"./editor.js\")),\n documentTypes: [\"powerhouse/app\"],\n config: {\n id: \"app-editor\",\n name: \"AppEditor\",\n },\n};\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { EditorModule } from \"document-model\";\nimport { lazy } from \"react\";\n\n/** Document editor module for the \"powerhouse/document-editor\" document type */\nexport const DocumentEditorEditor: EditorModule = {\n Component: lazy(() => import(\"./editor.js\")),\n documentTypes: [\"powerhouse/document-editor\"],\n config: {\n id: \"document-editor-editor\",\n name: \"Document Editor Editor\",\n },\n};\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { EditorModule } from \"document-model\";\nimport { lazy } from \"react\";\n\n/** Document editor module for the \"powerhouse/processor\" document type */\nexport const ProcessorModuleEditor: EditorModule = {\n Component: lazy(() => import(\"./editor.js\")),\n documentTypes: [\"powerhouse/processor\"],\n config: {\n id: \"processor-module-editor\",\n name: \"Processor Module Editor\",\n },\n};\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { EditorModule } from \"document-model\";\nimport { lazy } from \"react\";\n\n/** Document editor module for the \"powerhouse/subgraph\" document type */\nexport const SubgraphModuleEditor: EditorModule = {\n Component: lazy(() => import(\"./editor.js\")),\n documentTypes: [\"powerhouse/subgraph\"],\n config: {\n id: \"subgraph-module-editor\",\n name: \"Subgraph Module Editor\",\n },\n};\n","import type { EditorModule } from \"@powerhousedao/shared/document-model\";\nimport { lazy } from \"react\";\n\nexport const VetraDriveApp: EditorModule = {\n Component: lazy(() => import(\"./editor.js\")),\n documentTypes: [\"powerhouse/document-drive\"],\n config: {\n id: \"vetra-drive-app\",\n name: \"Vetra Drive App\",\n },\n};\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { EditorModule } from \"document-model\";\nimport { lazy } from \"react\";\n\n/** Document editor module for the \"powerhouse/package\" document type */\nexport const VetraPackageEditor: EditorModule = {\n Component: lazy(() => import(\"./editor.js\")),\n documentTypes: [\"powerhouse/package\"],\n config: {\n id: \"vetra-package-editor\",\n name: \"Vetra Package Editor\",\n },\n};\n"],"mappings":";;;AAQA,MAAa,YAA0B;CACrC,WAAW,WAAW,OAAO,uBAAc;CAC3C,eAAe,CAAC,gBAAgB;CAChC,QAAQ;EACN,IAAI;EACJ,MAAM;CACR;AACF;;;;ACPA,MAAa,uBAAqC;CAChD,WAAW,WAAW,OAAO,uBAAc;CAC3C,eAAe,CAAC,4BAA4B;CAC5C,QAAQ;EACN,IAAI;EACJ,MAAM;CACR;AACF;;;;ACPA,MAAa,wBAAsC;CACjD,WAAW,WAAW,OAAO,uBAAc;CAC3C,eAAe,CAAC,sBAAsB;CACtC,QAAQ;EACN,IAAI;EACJ,MAAM;CACR;AACF;;;;ACPA,MAAa,uBAAqC;CAChD,WAAW,WAAW,OAAO,uBAAc;CAC3C,eAAe,CAAC,qBAAqB;CACrC,QAAQ;EACN,IAAI;EACJ,MAAM;CACR;AACF;;;ACZA,MAAa,gBAA8B;CACzC,WAAW,WAAW,OAAO,uBAAc;CAC3C,eAAe,CAAC,2BAA2B;CAC3C,QAAQ;EACN,IAAI;EACJ,MAAM;CACR;AACF;;;;ACFA,MAAa,qBAAmC;CAC9C,WAAW,WAAW,OAAO,uBAAc;CAC3C,eAAe,CAAC,oBAAoB;CACpC,QAAQ;EACN,IAAI;EACJ,MAAM;CACR;AACF"}