@powerhousedao/vetra 6.0.0-dev.25 → 6.0.0-dev.251
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app-module-Bbj7PI-S.js +94 -0
- package/dist/app-module-Bbj7PI-S.js.map +1 -0
- package/dist/chunk-pbuEa-1d.js +13 -0
- package/dist/connect-CTIucT0o.js +6 -0
- package/dist/connect-CTIucT0o.js.map +1 -0
- package/dist/document-editor-DS-bZMKx.js +93 -0
- package/dist/document-editor-DS-bZMKx.js.map +1 -0
- package/dist/document-models/app-module/index.d.ts +347 -5
- package/dist/document-models/app-module/index.d.ts.map +1 -1
- package/dist/document-models/app-module/index.js +3 -5
- package/dist/document-models/document-editor/index.d.ts +323 -5
- package/dist/document-models/document-editor/index.d.ts.map +1 -1
- package/dist/document-models/document-editor/index.js +3 -5
- package/dist/document-models/index.d.ts +6 -6
- package/dist/document-models/index.js +6 -5
- package/dist/document-models/processor-module/index.d.ts +355 -5
- package/dist/document-models/processor-module/index.d.ts.map +1 -1
- package/dist/document-models/processor-module/index.js +3 -5
- package/dist/document-models/subgraph-module/index.d.ts +294 -5
- package/dist/document-models/subgraph-module/index.d.ts.map +1 -1
- package/dist/document-models/subgraph-module/index.js +3 -5
- package/dist/document-models/vetra-package/index.d.ts +384 -5
- package/dist/document-models/vetra-package/index.d.ts.map +1 -1
- package/dist/document-models/vetra-package/index.js +3 -5
- package/dist/editor-BSQfwcdz.js +174 -0
- package/dist/editor-BSQfwcdz.js.map +1 -0
- package/dist/editor-Bku8e2dr.js +242 -0
- package/dist/editor-Bku8e2dr.js.map +1 -0
- package/dist/editor-CbtrPBTP.js +199 -0
- package/dist/editor-CbtrPBTP.js.map +1 -0
- package/dist/editor-D70FYIwV.js +1772 -0
- package/dist/editor-D70FYIwV.js.map +1 -0
- package/dist/editor-Dtg8STyT.js +90 -0
- package/dist/editor-Dtg8STyT.js.map +1 -0
- package/dist/editor-SfVorwsP.js +307 -0
- package/dist/editor-SfVorwsP.js.map +1 -0
- package/dist/editors/components/index.d.ts +8 -1
- package/dist/editors/components/index.d.ts.map +1 -1
- package/dist/editors/components/index.js +12 -1
- package/dist/editors/components/index.js.map +1 -0
- package/dist/editors/hooks/index.d.ts +15 -2
- package/dist/editors/hooks/index.d.ts.map +1 -1
- package/dist/editors/hooks/index.js +2 -2
- package/dist/editors/index.d.ts +27 -6
- package/dist/editors/index.d.ts.map +1 -1
- package/dist/editors/index.js +2 -6
- package/dist/factory-CweZppg6.js +930 -0
- package/dist/factory-CweZppg6.js.map +1 -0
- package/dist/factory-D8ZDOMP3.js +79 -0
- package/dist/factory-D8ZDOMP3.js.map +1 -0
- package/dist/hooks-Xexr33XS.js +39 -0
- package/dist/hooks-Xexr33XS.js.map +1 -0
- package/dist/index.d.ts +17 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +36 -4
- package/dist/index.js.map +1 -0
- package/dist/logger-BLNtquAC.js +21 -0
- package/dist/logger-BLNtquAC.js.map +1 -0
- package/dist/module-BWlCj_0C.js +380 -0
- package/dist/module-BWlCj_0C.js.map +1 -0
- package/dist/module-BoGgbKmO.js +236 -0
- package/dist/module-BoGgbKmO.js.map +1 -0
- package/dist/module-BoX1rWiq.d.ts +6 -0
- package/dist/module-BoX1rWiq.d.ts.map +1 -0
- package/dist/module-CG6K37P8.d.ts +6 -0
- package/dist/module-CG6K37P8.d.ts.map +1 -0
- package/dist/module-CTPfENDU.js +352 -0
- package/dist/module-CTPfENDU.js.map +1 -0
- package/dist/module-CXIFrq-R.js +69 -0
- package/dist/module-CXIFrq-R.js.map +1 -0
- package/dist/module-CZLiUtDI.js +457 -0
- package/dist/module-CZLiUtDI.js.map +1 -0
- package/dist/module-Cr-9knz_.d.ts +6 -0
- package/dist/module-Cr-9knz_.d.ts.map +1 -0
- package/dist/module-D0SK3Nds.js +301 -0
- package/dist/module-D0SK3Nds.js.map +1 -0
- package/dist/module-DhhQLYnQ.d.ts +6 -0
- package/dist/module-DhhQLYnQ.d.ts.map +1 -0
- package/dist/module-J-kGIl1E.d.ts +6 -0
- package/dist/module-J-kGIl1E.d.ts.map +1 -0
- package/dist/powerhouse.manifest.d.ts +34 -0
- package/dist/powerhouse.manifest.d.ts.map +1 -0
- package/dist/powerhouse.manifest.js +86 -0
- package/dist/powerhouse.manifest.js.map +1 -0
- package/dist/processor-module-D0lRrrpW.js +95 -0
- package/dist/processor-module-D0lRrrpW.js.map +1 -0
- package/dist/processors/codegen/index.d.ts +21320 -9
- package/dist/processors/codegen/index.d.ts.map +1 -1
- package/dist/processors/codegen/index.js +2 -58
- package/dist/processors/index.d.ts +7 -10
- package/dist/processors/index.d.ts.map +1 -1
- package/dist/processors/index.js +17 -12
- package/dist/processors/index.js.map +1 -0
- package/dist/processors/vetra-read-model/index.d.ts +18597 -8
- package/dist/processors/vetra-read-model/index.d.ts.map +1 -1
- package/dist/processors/vetra-read-model/index.js +2 -58
- package/dist/style.css +17 -9
- package/dist/subgraph-module-B3ipwOza.js +92 -0
- package/dist/subgraph-module-B3ipwOza.js.map +1 -0
- package/dist/switchboard-JOTFVXuj.js +8 -0
- package/dist/switchboard-JOTFVXuj.js.map +1 -0
- package/dist/useVetraDocument-DoAwvHVi.js +30 -0
- package/dist/useVetraDocument-DoAwvHVi.js.map +1 -0
- package/dist/vetra-package-YNLxEA-U.js +100 -0
- package/dist/vetra-package-YNLxEA-U.js.map +1 -0
- package/package.json +45 -72
- package/dist/document-models/app-module/actions.d.ts +0 -18
- package/dist/document-models/app-module/actions.d.ts.map +0 -1
- package/dist/document-models/app-module/actions.js +0 -8
- package/dist/document-models/app-module/gen/actions.d.ts +0 -6
- package/dist/document-models/app-module/gen/actions.d.ts.map +0 -1
- package/dist/document-models/app-module/gen/actions.js +0 -2
- package/dist/document-models/app-module/gen/base-operations/actions.d.ts +0 -24
- package/dist/document-models/app-module/gen/base-operations/actions.d.ts.map +0 -1
- package/dist/document-models/app-module/gen/base-operations/actions.js +0 -1
- package/dist/document-models/app-module/gen/base-operations/creators.d.ts +0 -8
- package/dist/document-models/app-module/gen/base-operations/creators.d.ts.map +0 -1
- package/dist/document-models/app-module/gen/base-operations/creators.js +0 -7
- package/dist/document-models/app-module/gen/base-operations/error.d.ts +0 -2
- package/dist/document-models/app-module/gen/base-operations/error.d.ts.map +0 -1
- package/dist/document-models/app-module/gen/base-operations/error.js +0 -1
- package/dist/document-models/app-module/gen/base-operations/operations.d.ts +0 -11
- package/dist/document-models/app-module/gen/base-operations/operations.d.ts.map +0 -1
- package/dist/document-models/app-module/gen/base-operations/operations.js +0 -1
- package/dist/document-models/app-module/gen/creators.d.ts +0 -5
- package/dist/document-models/app-module/gen/creators.d.ts.map +0 -1
- package/dist/document-models/app-module/gen/creators.js +0 -4
- package/dist/document-models/app-module/gen/dnd-operations/actions.d.ts +0 -8
- package/dist/document-models/app-module/gen/dnd-operations/actions.d.ts.map +0 -1
- package/dist/document-models/app-module/gen/dnd-operations/actions.js +0 -1
- package/dist/document-models/app-module/gen/dnd-operations/creators.d.ts +0 -4
- package/dist/document-models/app-module/gen/dnd-operations/creators.d.ts.map +0 -1
- package/dist/document-models/app-module/gen/dnd-operations/creators.js +0 -3
- package/dist/document-models/app-module/gen/dnd-operations/error.d.ts +0 -2
- package/dist/document-models/app-module/gen/dnd-operations/error.d.ts.map +0 -1
- package/dist/document-models/app-module/gen/dnd-operations/error.js +0 -1
- package/dist/document-models/app-module/gen/dnd-operations/operations.d.ts +0 -7
- package/dist/document-models/app-module/gen/dnd-operations/operations.d.ts.map +0 -1
- package/dist/document-models/app-module/gen/dnd-operations/operations.js +0 -1
- package/dist/document-models/app-module/gen/document-model.d.ts +0 -3
- package/dist/document-models/app-module/gen/document-model.d.ts.map +0 -1
- package/dist/document-models/app-module/gen/document-model.js +0 -110
- package/dist/document-models/app-module/gen/document-schema.d.ts +0 -53
- package/dist/document-models/app-module/gen/document-schema.d.ts.map +0 -1
- package/dist/document-models/app-module/gen/document-schema.js +0 -33
- package/dist/document-models/app-module/gen/document-type.d.ts +0 -2
- package/dist/document-models/app-module/gen/document-type.d.ts.map +0 -1
- package/dist/document-models/app-module/gen/document-type.js +0 -1
- package/dist/document-models/app-module/gen/index.d.ts +0 -13
- package/dist/document-models/app-module/gen/index.d.ts.map +0 -1
- package/dist/document-models/app-module/gen/index.js +0 -12
- package/dist/document-models/app-module/gen/ph-factories.d.ts +0 -23
- package/dist/document-models/app-module/gen/ph-factories.d.ts.map +0 -1
- package/dist/document-models/app-module/gen/ph-factories.js +0 -50
- package/dist/document-models/app-module/gen/reducer.d.ts +0 -3
- package/dist/document-models/app-module/gen/reducer.d.ts.map +0 -1
- package/dist/document-models/app-module/gen/reducer.js +0 -44
- package/dist/document-models/app-module/gen/schema/index.d.ts +0 -3
- package/dist/document-models/app-module/gen/schema/index.d.ts.map +0 -1
- package/dist/document-models/app-module/gen/schema/index.js +0 -2
- package/dist/document-models/app-module/gen/schema/types.d.ts +0 -174
- package/dist/document-models/app-module/gen/schema/types.d.ts.map +0 -1
- package/dist/document-models/app-module/gen/schema/types.js +0 -1
- package/dist/document-models/app-module/gen/schema/zod.d.ts +0 -21
- package/dist/document-models/app-module/gen/schema/zod.d.ts.map +0 -1
- package/dist/document-models/app-module/gen/schema/zod.js +0 -45
- package/dist/document-models/app-module/gen/types.d.ts +0 -12
- package/dist/document-models/app-module/gen/types.d.ts.map +0 -1
- package/dist/document-models/app-module/gen/types.js +0 -1
- package/dist/document-models/app-module/gen/utils.d.ts +0 -15
- package/dist/document-models/app-module/gen/utils.d.ts.map +0 -1
- package/dist/document-models/app-module/gen/utils.js +0 -54
- package/dist/document-models/app-module/hooks.d.ts +0 -14
- package/dist/document-models/app-module/hooks.d.ts.map +0 -1
- package/dist/document-models/app-module/hooks.js +0 -25
- package/dist/document-models/app-module/module.d.ts +0 -5
- package/dist/document-models/app-module/module.d.ts.map +0 -1
- package/dist/document-models/app-module/module.js +0 -10
- package/dist/document-models/app-module/src/index.d.ts +0 -2
- package/dist/document-models/app-module/src/index.d.ts.map +0 -1
- package/dist/document-models/app-module/src/index.js +0 -1
- package/dist/document-models/app-module/src/reducers/base-operations.d.ts +0 -3
- package/dist/document-models/app-module/src/reducers/base-operations.d.ts.map +0 -1
- package/dist/document-models/app-module/src/reducers/base-operations.js +0 -28
- package/dist/document-models/app-module/src/reducers/dnd-operations.d.ts +0 -3
- package/dist/document-models/app-module/src/reducers/dnd-operations.d.ts.map +0 -1
- package/dist/document-models/app-module/src/reducers/dnd-operations.js +0 -5
- package/dist/document-models/app-module/src/tests/base-operations.test.d.ts +0 -6
- package/dist/document-models/app-module/src/tests/base-operations.test.d.ts.map +0 -1
- package/dist/document-models/app-module/src/tests/base-operations.test.js +0 -224
- package/dist/document-models/app-module/src/tests/dnd-operations.test.d.ts +0 -6
- package/dist/document-models/app-module/src/tests/dnd-operations.test.d.ts.map +0 -1
- package/dist/document-models/app-module/src/tests/dnd-operations.test.js +0 -52
- package/dist/document-models/app-module/src/tests/document-model.test.d.ts +0 -6
- package/dist/document-models/app-module/src/tests/document-model.test.d.ts.map +0 -1
- package/dist/document-models/app-module/src/tests/document-model.test.js +0 -91
- package/dist/document-models/app-module/src/utils.d.ts +0 -2
- package/dist/document-models/app-module/src/utils.d.ts.map +0 -1
- package/dist/document-models/app-module/src/utils.js +0 -1
- package/dist/document-models/app-module/utils.d.ts +0 -14
- package/dist/document-models/app-module/utils.d.ts.map +0 -1
- package/dist/document-models/app-module/utils.js +0 -7
- package/dist/document-models/document-editor/actions.d.ts +0 -16
- package/dist/document-models/document-editor/actions.d.ts.map +0 -1
- package/dist/document-models/document-editor/actions.js +0 -4
- package/dist/document-models/document-editor/gen/actions.d.ts +0 -4
- package/dist/document-models/document-editor/gen/actions.d.ts.map +0 -1
- package/dist/document-models/document-editor/gen/actions.js +0 -1
- package/dist/document-models/document-editor/gen/base-operations/actions.d.ts +0 -20
- package/dist/document-models/document-editor/gen/base-operations/actions.d.ts.map +0 -1
- package/dist/document-models/document-editor/gen/base-operations/actions.js +0 -1
- package/dist/document-models/document-editor/gen/base-operations/creators.d.ts +0 -7
- package/dist/document-models/document-editor/gen/base-operations/creators.d.ts.map +0 -1
- package/dist/document-models/document-editor/gen/base-operations/creators.js +0 -6
- package/dist/document-models/document-editor/gen/base-operations/error.d.ts +0 -2
- package/dist/document-models/document-editor/gen/base-operations/error.d.ts.map +0 -1
- package/dist/document-models/document-editor/gen/base-operations/error.js +0 -1
- package/dist/document-models/document-editor/gen/base-operations/operations.d.ts +0 -10
- package/dist/document-models/document-editor/gen/base-operations/operations.d.ts.map +0 -1
- package/dist/document-models/document-editor/gen/base-operations/operations.js +0 -1
- package/dist/document-models/document-editor/gen/creators.d.ts +0 -3
- package/dist/document-models/document-editor/gen/creators.d.ts.map +0 -1
- package/dist/document-models/document-editor/gen/creators.js +0 -2
- package/dist/document-models/document-editor/gen/document-model.d.ts +0 -3
- package/dist/document-models/document-editor/gen/document-model.d.ts.map +0 -1
- package/dist/document-models/document-editor/gen/document-model.js +0 -81
- package/dist/document-models/document-editor/gen/document-schema.d.ts +0 -50
- package/dist/document-models/document-editor/gen/document-schema.d.ts.map +0 -1
- package/dist/document-models/document-editor/gen/document-schema.js +0 -33
- package/dist/document-models/document-editor/gen/document-type.d.ts +0 -2
- package/dist/document-models/document-editor/gen/document-type.d.ts.map +0 -1
- package/dist/document-models/document-editor/gen/document-type.js +0 -1
- package/dist/document-models/document-editor/gen/index.d.ts +0 -12
- package/dist/document-models/document-editor/gen/index.d.ts.map +0 -1
- package/dist/document-models/document-editor/gen/index.js +0 -11
- package/dist/document-models/document-editor/gen/ph-factories.d.ts +0 -23
- package/dist/document-models/document-editor/gen/ph-factories.d.ts.map +0 -1
- package/dist/document-models/document-editor/gen/ph-factories.js +0 -49
- package/dist/document-models/document-editor/gen/reducer.d.ts +0 -3
- package/dist/document-models/document-editor/gen/reducer.d.ts.map +0 -1
- package/dist/document-models/document-editor/gen/reducer.js +0 -33
- package/dist/document-models/document-editor/gen/schema/index.d.ts +0 -3
- package/dist/document-models/document-editor/gen/schema/index.d.ts.map +0 -1
- package/dist/document-models/document-editor/gen/schema/index.js +0 -2
- package/dist/document-models/document-editor/gen/schema/types.d.ts +0 -172
- package/dist/document-models/document-editor/gen/schema/types.d.ts.map +0 -1
- package/dist/document-models/document-editor/gen/schema/types.js +0 -1
- package/dist/document-models/document-editor/gen/schema/zod.d.ts +0 -20
- package/dist/document-models/document-editor/gen/schema/zod.d.ts.map +0 -1
- package/dist/document-models/document-editor/gen/schema/zod.js +0 -42
- package/dist/document-models/document-editor/gen/types.d.ts +0 -12
- package/dist/document-models/document-editor/gen/types.d.ts.map +0 -1
- package/dist/document-models/document-editor/gen/types.js +0 -1
- package/dist/document-models/document-editor/gen/utils.d.ts +0 -15
- package/dist/document-models/document-editor/gen/utils.d.ts.map +0 -1
- package/dist/document-models/document-editor/gen/utils.js +0 -53
- package/dist/document-models/document-editor/hooks.d.ts +0 -14
- package/dist/document-models/document-editor/hooks.d.ts.map +0 -1
- package/dist/document-models/document-editor/hooks.js +0 -25
- package/dist/document-models/document-editor/module.d.ts +0 -5
- package/dist/document-models/document-editor/module.d.ts.map +0 -1
- package/dist/document-models/document-editor/module.js +0 -10
- package/dist/document-models/document-editor/src/index.d.ts +0 -2
- package/dist/document-models/document-editor/src/index.d.ts.map +0 -1
- package/dist/document-models/document-editor/src/index.js +0 -1
- package/dist/document-models/document-editor/src/reducers/base-operations.d.ts +0 -3
- package/dist/document-models/document-editor/src/reducers/base-operations.d.ts.map +0 -1
- package/dist/document-models/document-editor/src/reducers/base-operations.js +0 -26
- package/dist/document-models/document-editor/src/tests/base-operations.test.d.ts +0 -6
- package/dist/document-models/document-editor/src/tests/base-operations.test.d.ts.map +0 -1
- package/dist/document-models/document-editor/src/tests/base-operations.test.js +0 -193
- package/dist/document-models/document-editor/src/tests/document-model.test.d.ts +0 -6
- package/dist/document-models/document-editor/src/tests/document-model.test.d.ts.map +0 -1
- package/dist/document-models/document-editor/src/tests/document-model.test.js +0 -103
- package/dist/document-models/document-editor/src/utils.d.ts +0 -2
- package/dist/document-models/document-editor/src/utils.d.ts.map +0 -1
- package/dist/document-models/document-editor/src/utils.js +0 -1
- package/dist/document-models/document-editor/utils.d.ts +0 -14
- package/dist/document-models/document-editor/utils.d.ts.map +0 -1
- package/dist/document-models/document-editor/utils.js +0 -7
- package/dist/document-models/document-models.d.ts +0 -3
- package/dist/document-models/document-models.d.ts.map +0 -1
- package/dist/document-models/document-models.js +0 -12
- package/dist/document-models/index.d.ts.map +0 -1
- package/dist/document-models/processor-module/actions.d.ts +0 -17
- package/dist/document-models/processor-module/actions.d.ts.map +0 -1
- package/dist/document-models/processor-module/actions.js +0 -4
- package/dist/document-models/processor-module/gen/actions.d.ts +0 -4
- package/dist/document-models/processor-module/gen/actions.d.ts.map +0 -1
- package/dist/document-models/processor-module/gen/actions.js +0 -1
- package/dist/document-models/processor-module/gen/base-operations/actions.d.ts +0 -24
- package/dist/document-models/processor-module/gen/base-operations/actions.d.ts.map +0 -1
- package/dist/document-models/processor-module/gen/base-operations/actions.js +0 -1
- package/dist/document-models/processor-module/gen/base-operations/creators.d.ts +0 -8
- package/dist/document-models/processor-module/gen/base-operations/creators.d.ts.map +0 -1
- package/dist/document-models/processor-module/gen/base-operations/creators.js +0 -7
- package/dist/document-models/processor-module/gen/base-operations/error.d.ts +0 -2
- package/dist/document-models/processor-module/gen/base-operations/error.d.ts.map +0 -1
- package/dist/document-models/processor-module/gen/base-operations/error.js +0 -1
- package/dist/document-models/processor-module/gen/base-operations/operations.d.ts +0 -11
- package/dist/document-models/processor-module/gen/base-operations/operations.d.ts.map +0 -1
- package/dist/document-models/processor-module/gen/base-operations/operations.js +0 -1
- package/dist/document-models/processor-module/gen/creators.d.ts +0 -3
- package/dist/document-models/processor-module/gen/creators.d.ts.map +0 -1
- package/dist/document-models/processor-module/gen/creators.js +0 -2
- package/dist/document-models/processor-module/gen/document-model.d.ts +0 -3
- package/dist/document-models/processor-module/gen/document-model.d.ts.map +0 -1
- package/dist/document-models/processor-module/gen/document-model.js +0 -92
- package/dist/document-models/processor-module/gen/document-schema.d.ts +0 -53
- package/dist/document-models/processor-module/gen/document-schema.d.ts.map +0 -1
- package/dist/document-models/processor-module/gen/document-schema.js +0 -33
- package/dist/document-models/processor-module/gen/document-type.d.ts +0 -2
- package/dist/document-models/processor-module/gen/document-type.d.ts.map +0 -1
- package/dist/document-models/processor-module/gen/document-type.js +0 -1
- package/dist/document-models/processor-module/gen/index.d.ts +0 -12
- package/dist/document-models/processor-module/gen/index.d.ts.map +0 -1
- package/dist/document-models/processor-module/gen/index.js +0 -11
- package/dist/document-models/processor-module/gen/ph-factories.d.ts +0 -23
- package/dist/document-models/processor-module/gen/ph-factories.d.ts.map +0 -1
- package/dist/document-models/processor-module/gen/ph-factories.js +0 -50
- package/dist/document-models/processor-module/gen/reducer.d.ts +0 -3
- package/dist/document-models/processor-module/gen/reducer.d.ts.map +0 -1
- package/dist/document-models/processor-module/gen/reducer.js +0 -38
- package/dist/document-models/processor-module/gen/schema/index.d.ts +0 -3
- package/dist/document-models/processor-module/gen/schema/index.d.ts.map +0 -1
- package/dist/document-models/processor-module/gen/schema/index.js +0 -2
- package/dist/document-models/processor-module/gen/schema/types.d.ts +0 -176
- package/dist/document-models/processor-module/gen/schema/types.d.ts.map +0 -1
- package/dist/document-models/processor-module/gen/schema/types.js +0 -1
- package/dist/document-models/processor-module/gen/schema/zod.d.ts +0 -21
- package/dist/document-models/processor-module/gen/schema/zod.d.ts.map +0 -1
- package/dist/document-models/processor-module/gen/schema/zod.js +0 -48
- package/dist/document-models/processor-module/gen/types.d.ts +0 -12
- package/dist/document-models/processor-module/gen/types.d.ts.map +0 -1
- package/dist/document-models/processor-module/gen/types.js +0 -1
- package/dist/document-models/processor-module/gen/utils.d.ts +0 -15
- package/dist/document-models/processor-module/gen/utils.d.ts.map +0 -1
- package/dist/document-models/processor-module/gen/utils.js +0 -54
- package/dist/document-models/processor-module/hooks.d.ts +0 -14
- package/dist/document-models/processor-module/hooks.d.ts.map +0 -1
- package/dist/document-models/processor-module/hooks.js +0 -25
- package/dist/document-models/processor-module/module.d.ts +0 -5
- package/dist/document-models/processor-module/module.d.ts.map +0 -1
- package/dist/document-models/processor-module/module.js +0 -10
- package/dist/document-models/processor-module/src/index.d.ts +0 -2
- package/dist/document-models/processor-module/src/index.d.ts.map +0 -1
- package/dist/document-models/processor-module/src/index.js +0 -1
- package/dist/document-models/processor-module/src/reducers/base-operations.d.ts +0 -3
- package/dist/document-models/processor-module/src/reducers/base-operations.d.ts.map +0 -1
- package/dist/document-models/processor-module/src/reducers/base-operations.js +0 -33
- package/dist/document-models/processor-module/src/tests/base-operations.test.d.ts +0 -6
- package/dist/document-models/processor-module/src/tests/base-operations.test.d.ts.map +0 -1
- package/dist/document-models/processor-module/src/tests/base-operations.test.js +0 -217
- package/dist/document-models/processor-module/src/tests/document-model.test.d.ts +0 -6
- package/dist/document-models/processor-module/src/tests/document-model.test.d.ts.map +0 -1
- package/dist/document-models/processor-module/src/tests/document-model.test.js +0 -108
- package/dist/document-models/processor-module/src/utils.d.ts +0 -2
- package/dist/document-models/processor-module/src/utils.d.ts.map +0 -1
- package/dist/document-models/processor-module/src/utils.js +0 -1
- package/dist/document-models/processor-module/utils.d.ts +0 -14
- package/dist/document-models/processor-module/utils.d.ts.map +0 -1
- package/dist/document-models/processor-module/utils.js +0 -7
- package/dist/document-models/subgraph-module/actions.d.ts +0 -14
- package/dist/document-models/subgraph-module/actions.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/actions.js +0 -4
- package/dist/document-models/subgraph-module/gen/actions.d.ts +0 -4
- package/dist/document-models/subgraph-module/gen/actions.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/gen/actions.js +0 -1
- package/dist/document-models/subgraph-module/gen/base-operations/actions.d.ts +0 -12
- package/dist/document-models/subgraph-module/gen/base-operations/actions.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/gen/base-operations/actions.js +0 -1
- package/dist/document-models/subgraph-module/gen/base-operations/creators.d.ts +0 -5
- package/dist/document-models/subgraph-module/gen/base-operations/creators.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/gen/base-operations/creators.js +0 -4
- package/dist/document-models/subgraph-module/gen/base-operations/error.d.ts +0 -2
- package/dist/document-models/subgraph-module/gen/base-operations/error.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/gen/base-operations/error.js +0 -1
- package/dist/document-models/subgraph-module/gen/base-operations/operations.d.ts +0 -8
- package/dist/document-models/subgraph-module/gen/base-operations/operations.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/gen/base-operations/operations.js +0 -1
- package/dist/document-models/subgraph-module/gen/creators.d.ts +0 -3
- package/dist/document-models/subgraph-module/gen/creators.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/gen/creators.js +0 -2
- package/dist/document-models/subgraph-module/gen/document-model.d.ts +0 -3
- package/dist/document-models/subgraph-module/gen/document-model.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/gen/document-model.js +0 -59
- package/dist/document-models/subgraph-module/gen/document-schema.d.ts +0 -47
- package/dist/document-models/subgraph-module/gen/document-schema.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/gen/document-schema.js +0 -33
- package/dist/document-models/subgraph-module/gen/document-type.d.ts +0 -2
- package/dist/document-models/subgraph-module/gen/document-type.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/gen/document-type.js +0 -1
- package/dist/document-models/subgraph-module/gen/index.d.ts +0 -12
- package/dist/document-models/subgraph-module/gen/index.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/gen/index.js +0 -11
- package/dist/document-models/subgraph-module/gen/ph-factories.d.ts +0 -23
- package/dist/document-models/subgraph-module/gen/ph-factories.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/gen/ph-factories.js +0 -48
- package/dist/document-models/subgraph-module/gen/reducer.d.ts +0 -3
- package/dist/document-models/subgraph-module/gen/reducer.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/gen/reducer.js +0 -23
- package/dist/document-models/subgraph-module/gen/schema/index.d.ts +0 -3
- package/dist/document-models/subgraph-module/gen/schema/index.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/gen/schema/index.js +0 -2
- package/dist/document-models/subgraph-module/gen/schema/types.d.ts +0 -160
- package/dist/document-models/subgraph-module/gen/schema/types.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/gen/schema/types.js +0 -1
- package/dist/document-models/subgraph-module/gen/schema/zod.d.ts +0 -17
- package/dist/document-models/subgraph-module/gen/schema/zod.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/gen/schema/zod.js +0 -23
- package/dist/document-models/subgraph-module/gen/types.d.ts +0 -12
- package/dist/document-models/subgraph-module/gen/types.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/gen/types.js +0 -1
- package/dist/document-models/subgraph-module/gen/utils.d.ts +0 -15
- package/dist/document-models/subgraph-module/gen/utils.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/gen/utils.js +0 -52
- package/dist/document-models/subgraph-module/hooks.d.ts +0 -14
- package/dist/document-models/subgraph-module/hooks.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/hooks.js +0 -25
- package/dist/document-models/subgraph-module/module.d.ts +0 -5
- package/dist/document-models/subgraph-module/module.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/module.js +0 -10
- package/dist/document-models/subgraph-module/src/index.d.ts +0 -2
- package/dist/document-models/subgraph-module/src/index.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/src/index.js +0 -1
- package/dist/document-models/subgraph-module/src/reducers/base-operations.d.ts +0 -3
- package/dist/document-models/subgraph-module/src/reducers/base-operations.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/src/reducers/base-operations.js +0 -12
- package/dist/document-models/subgraph-module/src/tests/base-operations.test.d.ts +0 -6
- package/dist/document-models/subgraph-module/src/tests/base-operations.test.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/src/tests/base-operations.test.js +0 -64
- package/dist/document-models/subgraph-module/src/tests/document-model.test.d.ts +0 -6
- package/dist/document-models/subgraph-module/src/tests/document-model.test.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/src/tests/document-model.test.js +0 -37
- package/dist/document-models/subgraph-module/src/utils.d.ts +0 -2
- package/dist/document-models/subgraph-module/src/utils.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/src/utils.js +0 -1
- package/dist/document-models/subgraph-module/utils.d.ts +0 -14
- package/dist/document-models/subgraph-module/utils.d.ts.map +0 -1
- package/dist/document-models/subgraph-module/utils.js +0 -7
- package/dist/document-models/vetra-package/actions.d.ts +0 -22
- package/dist/document-models/vetra-package/actions.d.ts.map +0 -1
- package/dist/document-models/vetra-package/actions.js +0 -4
- package/dist/document-models/vetra-package/gen/actions.d.ts +0 -4
- package/dist/document-models/vetra-package/gen/actions.d.ts.map +0 -1
- package/dist/document-models/vetra-package/gen/actions.js +0 -1
- package/dist/document-models/vetra-package/gen/base-operations/actions.d.ts +0 -44
- package/dist/document-models/vetra-package/gen/base-operations/actions.d.ts.map +0 -1
- package/dist/document-models/vetra-package/gen/base-operations/actions.js +0 -1
- package/dist/document-models/vetra-package/gen/base-operations/creators.d.ts +0 -13
- package/dist/document-models/vetra-package/gen/base-operations/creators.d.ts.map +0 -1
- package/dist/document-models/vetra-package/gen/base-operations/creators.js +0 -12
- package/dist/document-models/vetra-package/gen/base-operations/error.d.ts +0 -2
- package/dist/document-models/vetra-package/gen/base-operations/error.d.ts.map +0 -1
- package/dist/document-models/vetra-package/gen/base-operations/error.js +0 -1
- package/dist/document-models/vetra-package/gen/base-operations/operations.d.ts +0 -16
- package/dist/document-models/vetra-package/gen/base-operations/operations.d.ts.map +0 -1
- package/dist/document-models/vetra-package/gen/base-operations/operations.js +0 -1
- package/dist/document-models/vetra-package/gen/creators.d.ts +0 -3
- package/dist/document-models/vetra-package/gen/creators.d.ts.map +0 -1
- package/dist/document-models/vetra-package/gen/creators.js +0 -2
- package/dist/document-models/vetra-package/gen/document-model.d.ts +0 -3
- package/dist/document-models/vetra-package/gen/document-model.d.ts.map +0 -1
- package/dist/document-models/vetra-package/gen/document-model.js +0 -147
- package/dist/document-models/vetra-package/gen/document-schema.d.ts +0 -62
- package/dist/document-models/vetra-package/gen/document-schema.d.ts.map +0 -1
- package/dist/document-models/vetra-package/gen/document-schema.js +0 -33
- package/dist/document-models/vetra-package/gen/document-type.d.ts +0 -2
- package/dist/document-models/vetra-package/gen/document-type.d.ts.map +0 -1
- package/dist/document-models/vetra-package/gen/document-type.js +0 -1
- package/dist/document-models/vetra-package/gen/index.d.ts +0 -12
- package/dist/document-models/vetra-package/gen/index.d.ts.map +0 -1
- package/dist/document-models/vetra-package/gen/index.js +0 -11
- package/dist/document-models/vetra-package/gen/ph-factories.d.ts +0 -23
- package/dist/document-models/vetra-package/gen/ph-factories.d.ts.map +0 -1
- package/dist/document-models/vetra-package/gen/ph-factories.js +0 -56
- package/dist/document-models/vetra-package/gen/reducer.d.ts +0 -3
- package/dist/document-models/vetra-package/gen/reducer.d.ts.map +0 -1
- package/dist/document-models/vetra-package/gen/reducer.js +0 -63
- package/dist/document-models/vetra-package/gen/schema/index.d.ts +0 -3
- package/dist/document-models/vetra-package/gen/schema/index.d.ts.map +0 -1
- package/dist/document-models/vetra-package/gen/schema/index.js +0 -2
- package/dist/document-models/vetra-package/gen/schema/types.d.ts +0 -198
- package/dist/document-models/vetra-package/gen/schema/types.d.ts.map +0 -1
- package/dist/document-models/vetra-package/gen/schema/types.js +0 -1
- package/dist/document-models/vetra-package/gen/schema/zod.d.ts +0 -23
- package/dist/document-models/vetra-package/gen/schema/zod.d.ts.map +0 -1
- package/dist/document-models/vetra-package/gen/schema/zod.js +0 -83
- package/dist/document-models/vetra-package/gen/types.d.ts +0 -12
- package/dist/document-models/vetra-package/gen/types.d.ts.map +0 -1
- package/dist/document-models/vetra-package/gen/types.js +0 -1
- package/dist/document-models/vetra-package/gen/utils.d.ts +0 -15
- package/dist/document-models/vetra-package/gen/utils.d.ts.map +0 -1
- package/dist/document-models/vetra-package/gen/utils.js +0 -60
- package/dist/document-models/vetra-package/hooks.d.ts +0 -14
- package/dist/document-models/vetra-package/hooks.d.ts.map +0 -1
- package/dist/document-models/vetra-package/hooks.js +0 -25
- package/dist/document-models/vetra-package/module.d.ts +0 -5
- package/dist/document-models/vetra-package/module.d.ts.map +0 -1
- package/dist/document-models/vetra-package/module.js +0 -10
- package/dist/document-models/vetra-package/src/index.d.ts +0 -2
- package/dist/document-models/vetra-package/src/index.d.ts.map +0 -1
- package/dist/document-models/vetra-package/src/index.js +0 -1
- package/dist/document-models/vetra-package/src/reducers/base-operations.d.ts +0 -3
- package/dist/document-models/vetra-package/src/reducers/base-operations.d.ts.map +0 -1
- package/dist/document-models/vetra-package/src/reducers/base-operations.js +0 -40
- package/dist/document-models/vetra-package/src/tests/base-operations.test.d.ts +0 -6
- package/dist/document-models/vetra-package/src/tests/base-operations.test.d.ts.map +0 -1
- package/dist/document-models/vetra-package/src/tests/base-operations.test.js +0 -291
- package/dist/document-models/vetra-package/src/tests/document-model.test.d.ts +0 -6
- package/dist/document-models/vetra-package/src/tests/document-model.test.d.ts.map +0 -1
- package/dist/document-models/vetra-package/src/tests/document-model.test.js +0 -113
- package/dist/document-models/vetra-package/src/utils.d.ts +0 -2
- package/dist/document-models/vetra-package/src/utils.d.ts.map +0 -1
- package/dist/document-models/vetra-package/src/utils.js +0 -1
- package/dist/document-models/vetra-package/utils.d.ts +0 -14
- package/dist/document-models/vetra-package/utils.d.ts.map +0 -1
- package/dist/document-models/vetra-package/utils.js +0 -7
- package/dist/editors/app-editor/components/AppEditorForm.d.ts +0 -2
- package/dist/editors/app-editor/components/AppEditorForm.d.ts.map +0 -1
- package/dist/editors/app-editor/components/AppEditorForm.js +0 -105
- package/dist/editors/app-editor/components/EditName.d.ts +0 -3
- package/dist/editors/app-editor/components/EditName.d.ts.map +0 -1
- package/dist/editors/app-editor/components/EditName.js +0 -31
- package/dist/editors/app-editor/config.d.ts +0 -3
- package/dist/editors/app-editor/config.d.ts.map +0 -1
- package/dist/editors/app-editor/config.js +0 -3
- package/dist/editors/app-editor/editor.d.ts +0 -2
- package/dist/editors/app-editor/editor.d.ts.map +0 -1
- package/dist/editors/app-editor/editor.js +0 -9
- package/dist/editors/app-editor/editor.test.d.ts +0 -2
- package/dist/editors/app-editor/editor.test.d.ts.map +0 -1
- package/dist/editors/app-editor/editor.test.js +0 -444
- package/dist/editors/app-editor/module.d.ts +0 -4
- package/dist/editors/app-editor/module.d.ts.map +0 -1
- package/dist/editors/app-editor/module.js +0 -10
- package/dist/editors/components/StatusPill.d.ts +0 -6
- package/dist/editors/components/StatusPill.d.ts.map +0 -1
- package/dist/editors/components/StatusPill.js +0 -6
- package/dist/editors/document-editor/components/DocumentEditorForm.d.ts +0 -12
- package/dist/editors/document-editor/components/DocumentEditorForm.d.ts.map +0 -1
- package/dist/editors/document-editor/components/DocumentEditorForm.js +0 -66
- package/dist/editors/document-editor/config.d.ts +0 -3
- package/dist/editors/document-editor/config.d.ts.map +0 -1
- package/dist/editors/document-editor/config.js +0 -3
- package/dist/editors/document-editor/editor.d.ts +0 -2
- package/dist/editors/document-editor/editor.d.ts.map +0 -1
- package/dist/editors/document-editor/editor.js +0 -29
- package/dist/editors/document-editor/editor.test.d.ts +0 -2
- package/dist/editors/document-editor/editor.test.d.ts.map +0 -1
- package/dist/editors/document-editor/editor.test.js +0 -374
- package/dist/editors/document-editor/module.d.ts +0 -3
- package/dist/editors/document-editor/module.d.ts.map +0 -1
- package/dist/editors/document-editor/module.js +0 -9
- package/dist/editors/editors.d.ts +0 -3
- package/dist/editors/editors.d.ts.map +0 -1
- package/dist/editors/editors.js +0 -14
- package/dist/editors/hooks/useAvailableDocumentTypes.d.ts +0 -2
- package/dist/editors/hooks/useAvailableDocumentTypes.d.ts.map +0 -1
- package/dist/editors/hooks/useAvailableDocumentTypes.js +0 -18
- package/dist/editors/hooks/useDebounce.d.ts +0 -10
- package/dist/editors/hooks/useDebounce.d.ts.map +0 -1
- package/dist/editors/hooks/useDebounce.js +0 -19
- package/dist/editors/hooks/useVetraDocument.d.ts +0 -17
- package/dist/editors/hooks/useVetraDocument.d.ts.map +0 -1
- package/dist/editors/hooks/useVetraDocument.js +0 -46
- package/dist/editors/processor-editor/components/ProcessorEditorForm.d.ts +0 -14
- package/dist/editors/processor-editor/components/ProcessorEditorForm.d.ts.map +0 -1
- package/dist/editors/processor-editor/components/ProcessorEditorForm.js +0 -61
- package/dist/editors/processor-editor/config.d.ts +0 -3
- package/dist/editors/processor-editor/config.d.ts.map +0 -1
- package/dist/editors/processor-editor/config.js +0 -3
- package/dist/editors/processor-editor/editor.d.ts +0 -2
- package/dist/editors/processor-editor/editor.d.ts.map +0 -1
- package/dist/editors/processor-editor/editor.js +0 -33
- package/dist/editors/processor-editor/editor.test.d.ts +0 -2
- package/dist/editors/processor-editor/editor.test.d.ts.map +0 -1
- package/dist/editors/processor-editor/editor.test.js +0 -459
- package/dist/editors/processor-editor/module.d.ts +0 -3
- package/dist/editors/processor-editor/module.d.ts.map +0 -1
- package/dist/editors/processor-editor/module.js +0 -9
- package/dist/editors/subgraph-editor/components/SubgraphEditorForm.d.ts +0 -8
- package/dist/editors/subgraph-editor/components/SubgraphEditorForm.d.ts.map +0 -1
- package/dist/editors/subgraph-editor/components/SubgraphEditorForm.js +0 -29
- package/dist/editors/subgraph-editor/config.d.ts +0 -3
- package/dist/editors/subgraph-editor/config.d.ts.map +0 -1
- package/dist/editors/subgraph-editor/config.js +0 -3
- package/dist/editors/subgraph-editor/editor.d.ts +0 -2
- package/dist/editors/subgraph-editor/editor.d.ts.map +0 -1
- package/dist/editors/subgraph-editor/editor.js +0 -21
- package/dist/editors/subgraph-editor/editor.test.d.ts +0 -2
- package/dist/editors/subgraph-editor/editor.test.d.ts.map +0 -1
- package/dist/editors/subgraph-editor/editor.test.js +0 -201
- package/dist/editors/subgraph-editor/module.d.ts +0 -3
- package/dist/editors/subgraph-editor/module.d.ts.map +0 -1
- package/dist/editors/subgraph-editor/module.js +0 -9
- package/dist/editors/vetra-drive-app/DriveExplorer.d.ts +0 -27
- package/dist/editors/vetra-drive-app/DriveExplorer.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/DriveExplorer.js +0 -7
- package/dist/editors/vetra-drive-app/components/Accordion.d.ts +0 -11
- package/dist/editors/vetra-drive-app/components/Accordion.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/components/Accordion.js +0 -40
- package/dist/editors/vetra-drive-app/components/DataIntegrationsColumn.d.ts +0 -15
- package/dist/editors/vetra-drive-app/components/DataIntegrationsColumn.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/components/DataIntegrationsColumn.js +0 -9
- package/dist/editors/vetra-drive-app/components/DocumentModelsColumn.d.ts +0 -11
- package/dist/editors/vetra-drive-app/components/DocumentModelsColumn.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/components/DocumentModelsColumn.js +0 -9
- package/dist/editors/vetra-drive-app/components/DriveHeader.d.ts +0 -9
- package/dist/editors/vetra-drive-app/components/DriveHeader.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/components/DriveHeader.js +0 -60
- package/dist/editors/vetra-drive-app/components/DriveInfoItem.d.ts +0 -8
- package/dist/editors/vetra-drive-app/components/DriveInfoItem.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/components/DriveInfoItem.js +0 -22
- package/dist/editors/vetra-drive-app/components/EditorContainer.d.ts +0 -5
- package/dist/editors/vetra-drive-app/components/EditorContainer.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/components/EditorContainer.js +0 -13
- package/dist/editors/vetra-drive-app/components/ModuleAccordion.d.ts +0 -13
- package/dist/editors/vetra-drive-app/components/ModuleAccordion.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/components/ModuleAccordion.js +0 -14
- package/dist/editors/vetra-drive-app/components/ModuleItem.d.ts +0 -11
- package/dist/editors/vetra-drive-app/components/ModuleItem.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/components/ModuleItem.js +0 -52
- package/dist/editors/vetra-drive-app/components/ModuleList.d.ts +0 -12
- package/dist/editors/vetra-drive-app/components/ModuleList.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/components/ModuleList.js +0 -7
- package/dist/editors/vetra-drive-app/components/ModuleSpecificationsSection.d.ts +0 -21
- package/dist/editors/vetra-drive-app/components/ModuleSpecificationsSection.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/components/ModuleSpecificationsSection.js +0 -9
- package/dist/editors/vetra-drive-app/components/NewModuleItem.d.ts +0 -10
- package/dist/editors/vetra-drive-app/components/NewModuleItem.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/components/NewModuleItem.js +0 -6
- package/dist/editors/vetra-drive-app/components/PackageInformationSection.d.ts +0 -10
- package/dist/editors/vetra-drive-app/components/PackageInformationSection.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/components/PackageInformationSection.js +0 -13
- package/dist/editors/vetra-drive-app/components/SectionAccordion.d.ts +0 -11
- package/dist/editors/vetra-drive-app/components/SectionAccordion.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/components/SectionAccordion.js +0 -10
- package/dist/editors/vetra-drive-app/components/ShareMenuItem.d.ts +0 -8
- package/dist/editors/vetra-drive-app/components/ShareMenuItem.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/components/ShareMenuItem.js +0 -23
- package/dist/editors/vetra-drive-app/components/UserExperiencesColumn.d.ts +0 -13
- package/dist/editors/vetra-drive-app/components/UserExperiencesColumn.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/components/UserExperiencesColumn.js +0 -8
- package/dist/editors/vetra-drive-app/config.d.ts +0 -3
- package/dist/editors/vetra-drive-app/config.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/config.js +0 -11
- package/dist/editors/vetra-drive-app/document-types.d.ts +0 -10
- package/dist/editors/vetra-drive-app/document-types.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/document-types.js +0 -9
- package/dist/editors/vetra-drive-app/editor.d.ts +0 -4
- package/dist/editors/vetra-drive-app/editor.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/editor.js +0 -49
- package/dist/editors/vetra-drive-app/icons/AddNewIcon.d.ts +0 -9
- package/dist/editors/vetra-drive-app/icons/AddNewIcon.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/icons/AddNewIcon.js +0 -5
- package/dist/editors/vetra-drive-app/icons/AppIcon.d.ts +0 -9
- package/dist/editors/vetra-drive-app/icons/AppIcon.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/icons/AppIcon.js +0 -5
- package/dist/editors/vetra-drive-app/icons/ChevronIcon.d.ts +0 -10
- package/dist/editors/vetra-drive-app/icons/ChevronIcon.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/icons/ChevronIcon.js +0 -5
- package/dist/editors/vetra-drive-app/icons/CopyIcon.d.ts +0 -10
- package/dist/editors/vetra-drive-app/icons/CopyIcon.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/icons/CopyIcon.js +0 -5
- package/dist/editors/vetra-drive-app/icons/DocModelIcon.d.ts +0 -9
- package/dist/editors/vetra-drive-app/icons/DocModelIcon.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/icons/DocModelIcon.js +0 -5
- package/dist/editors/vetra-drive-app/icons/EditorIcon.d.ts +0 -9
- package/dist/editors/vetra-drive-app/icons/EditorIcon.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/icons/EditorIcon.js +0 -5
- package/dist/editors/vetra-drive-app/icons/ExternalLinkIcon.d.ts +0 -10
- package/dist/editors/vetra-drive-app/icons/ExternalLinkIcon.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/icons/ExternalLinkIcon.js +0 -5
- package/dist/editors/vetra-drive-app/icons/InfoIcon.d.ts +0 -11
- package/dist/editors/vetra-drive-app/icons/InfoIcon.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/icons/InfoIcon.js +0 -5
- package/dist/editors/vetra-drive-app/icons/LinkIcon.d.ts +0 -10
- package/dist/editors/vetra-drive-app/icons/LinkIcon.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/icons/LinkIcon.js +0 -5
- package/dist/editors/vetra-drive-app/icons/PlusIcon.d.ts +0 -10
- package/dist/editors/vetra-drive-app/icons/PlusIcon.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/icons/PlusIcon.js +0 -5
- package/dist/editors/vetra-drive-app/icons/ProcessorIcon.d.ts +0 -9
- package/dist/editors/vetra-drive-app/icons/ProcessorIcon.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/icons/ProcessorIcon.js +0 -5
- package/dist/editors/vetra-drive-app/icons/ShareIcon.d.ts +0 -10
- package/dist/editors/vetra-drive-app/icons/ShareIcon.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/icons/ShareIcon.js +0 -5
- package/dist/editors/vetra-drive-app/icons/SubgraphIcon.d.ts +0 -9
- package/dist/editors/vetra-drive-app/icons/SubgraphIcon.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/icons/SubgraphIcon.js +0 -5
- package/dist/editors/vetra-drive-app/icons/VetraIcon.d.ts +0 -10
- package/dist/editors/vetra-drive-app/icons/VetraIcon.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/icons/VetraIcon.js +0 -5
- package/dist/editors/vetra-drive-app/module.d.ts +0 -3
- package/dist/editors/vetra-drive-app/module.d.ts.map +0 -1
- package/dist/editors/vetra-drive-app/module.js +0 -9
- package/dist/editors/vetra-package/components/MetaForm.d.ts +0 -25
- package/dist/editors/vetra-package/components/MetaForm.d.ts.map +0 -1
- package/dist/editors/vetra-package/components/MetaForm.js +0 -42
- package/dist/editors/vetra-package/components/index.d.ts +0 -2
- package/dist/editors/vetra-package/components/index.d.ts.map +0 -1
- package/dist/editors/vetra-package/components/index.js +0 -1
- package/dist/editors/vetra-package/config.d.ts +0 -3
- package/dist/editors/vetra-package/config.d.ts.map +0 -1
- package/dist/editors/vetra-package/config.js +0 -3
- package/dist/editors/vetra-package/editor.d.ts +0 -5
- package/dist/editors/vetra-package/editor.d.ts.map +0 -1
- package/dist/editors/vetra-package/editor.js +0 -69
- package/dist/editors/vetra-package/editor.test.d.ts +0 -2
- package/dist/editors/vetra-package/editor.test.d.ts.map +0 -1
- package/dist/editors/vetra-package/editor.test.js +0 -330
- package/dist/editors/vetra-package/module.d.ts +0 -4
- package/dist/editors/vetra-package/module.d.ts.map +0 -1
- package/dist/editors/vetra-package/module.js +0 -10
- package/dist/powerhouse.manifest.json +0 -67
- package/dist/processors/codegen/__tests__/codegen-processor-e2e.test.d.ts +0 -2
- package/dist/processors/codegen/__tests__/codegen-processor-e2e.test.d.ts.map +0 -1
- package/dist/processors/codegen/__tests__/codegen-processor-e2e.test.js +0 -730
- package/dist/processors/codegen/__tests__/factory.test.d.ts +0 -2
- package/dist/processors/codegen/__tests__/factory.test.d.ts.map +0 -1
- package/dist/processors/codegen/__tests__/factory.test.js +0 -190
- package/dist/processors/codegen/document-handlers/base-document-gen.d.ts +0 -34
- package/dist/processors/codegen/document-handlers/base-document-gen.d.ts.map +0 -1
- package/dist/processors/codegen/document-handlers/base-document-gen.js +0 -44
- package/dist/processors/codegen/document-handlers/document-codegen-factory.d.ts +0 -29
- package/dist/processors/codegen/document-handlers/document-codegen-factory.d.ts.map +0 -1
- package/dist/processors/codegen/document-handlers/document-codegen-factory.js +0 -49
- package/dist/processors/codegen/document-handlers/document-codegen-manager.d.ts +0 -73
- package/dist/processors/codegen/document-handlers/document-codegen-manager.d.ts.map +0 -1
- package/dist/processors/codegen/document-handlers/document-codegen-manager.js +0 -215
- package/dist/processors/codegen/document-handlers/generators/app-generator.d.ts +0 -14
- package/dist/processors/codegen/document-handlers/generators/app-generator.d.ts.map +0 -1
- package/dist/processors/codegen/document-handlers/generators/app-generator.js +0 -99
- package/dist/processors/codegen/document-handlers/generators/constants.d.ts +0 -3
- package/dist/processors/codegen/document-handlers/generators/constants.d.ts.map +0 -1
- package/dist/processors/codegen/document-handlers/generators/constants.js +0 -2
- package/dist/processors/codegen/document-handlers/generators/document-editor-generator.d.ts +0 -14
- package/dist/processors/codegen/document-handlers/generators/document-editor-generator.d.ts.map +0 -1
- package/dist/processors/codegen/document-handlers/generators/document-editor-generator.js +0 -94
- package/dist/processors/codegen/document-handlers/generators/document-model-generator.d.ts +0 -18
- package/dist/processors/codegen/document-handlers/generators/document-model-generator.d.ts.map +0 -1
- package/dist/processors/codegen/document-handlers/generators/document-model-generator.js +0 -97
- package/dist/processors/codegen/document-handlers/generators/index.d.ts +0 -7
- package/dist/processors/codegen/document-handlers/generators/index.d.ts.map +0 -1
- package/dist/processors/codegen/document-handlers/generators/index.js +0 -6
- package/dist/processors/codegen/document-handlers/generators/package-generator.d.ts +0 -14
- package/dist/processors/codegen/document-handlers/generators/package-generator.d.ts.map +0 -1
- package/dist/processors/codegen/document-handlers/generators/package-generator.js +0 -47
- package/dist/processors/codegen/document-handlers/generators/processor-generator.d.ts +0 -14
- package/dist/processors/codegen/document-handlers/generators/processor-generator.d.ts.map +0 -1
- package/dist/processors/codegen/document-handlers/generators/processor-generator.js +0 -103
- package/dist/processors/codegen/document-handlers/generators/subgraph-generator.d.ts +0 -14
- package/dist/processors/codegen/document-handlers/generators/subgraph-generator.d.ts.map +0 -1
- package/dist/processors/codegen/document-handlers/generators/subgraph-generator.js +0 -87
- package/dist/processors/codegen/document-handlers/generators/utils.d.ts +0 -20
- package/dist/processors/codegen/document-handlers/generators/utils.d.ts.map +0 -1
- package/dist/processors/codegen/document-handlers/generators/utils.js +0 -46
- package/dist/processors/codegen/document-handlers/index.d.ts +0 -6
- package/dist/processors/codegen/document-handlers/index.d.ts.map +0 -1
- package/dist/processors/codegen/document-handlers/index.js +0 -5
- package/dist/processors/codegen/document-handlers/types.d.ts +0 -11
- package/dist/processors/codegen/document-handlers/types.d.ts.map +0 -1
- package/dist/processors/codegen/document-handlers/types.js +0 -1
- package/dist/processors/codegen/factory.d.ts +0 -5
- package/dist/processors/codegen/factory.d.ts.map +0 -1
- package/dist/processors/codegen/factory.js +0 -53
- package/dist/processors/codegen/factory.legacy.d.ts +0 -4
- package/dist/processors/codegen/factory.legacy.d.ts.map +0 -1
- package/dist/processors/codegen/factory.legacy.js +0 -53
- package/dist/processors/codegen/index.legacy.d.ts +0 -11
- package/dist/processors/codegen/index.legacy.d.ts.map +0 -1
- package/dist/processors/codegen/index.legacy.js +0 -57
- package/dist/processors/codegen/interactive-manager.d.ts +0 -47
- package/dist/processors/codegen/interactive-manager.d.ts.map +0 -1
- package/dist/processors/codegen/interactive-manager.js +0 -149
- package/dist/processors/codegen/logger.d.ts +0 -7
- package/dist/processors/codegen/logger.d.ts.map +0 -1
- package/dist/processors/codegen/logger.js +0 -10
- package/dist/processors/codegen/utils.d.ts +0 -5
- package/dist/processors/codegen/utils.d.ts.map +0 -1
- package/dist/processors/codegen/utils.js +0 -18
- package/dist/processors/factory.d.ts +0 -8
- package/dist/processors/factory.d.ts.map +0 -1
- package/dist/processors/factory.js +0 -21
- package/dist/processors/factory.legacy.d.ts +0 -7
- package/dist/processors/factory.legacy.d.ts.map +0 -1
- package/dist/processors/factory.legacy.js +0 -20
- package/dist/processors/vetra-read-model/factory.d.ts +0 -5
- package/dist/processors/vetra-read-model/factory.d.ts.map +0 -1
- package/dist/processors/vetra-read-model/factory.js +0 -21
- package/dist/processors/vetra-read-model/factory.legacy.d.ts +0 -4
- package/dist/processors/vetra-read-model/factory.legacy.d.ts.map +0 -1
- package/dist/processors/vetra-read-model/factory.legacy.js +0 -24
- package/dist/processors/vetra-read-model/index.legacy.d.ts +0 -9
- package/dist/processors/vetra-read-model/index.legacy.d.ts.map +0 -1
- package/dist/processors/vetra-read-model/index.legacy.js +0 -75
- package/dist/processors/vetra-read-model/migrations.d.ts +0 -4
- package/dist/processors/vetra-read-model/migrations.d.ts.map +0 -1
- package/dist/processors/vetra-read-model/migrations.js +0 -54
- package/dist/processors/vetra-read-model/schema.d.ts +0 -24
- package/dist/processors/vetra-read-model/schema.d.ts.map +0 -1
- package/dist/processors/vetra-read-model/schema.js +0 -1
- package/dist/setupTests.d.ts +0 -2
- package/dist/setupTests.d.ts.map +0 -1
- package/dist/setupTests.js +0 -47
- package/dist/subgraphs/__tests__/app-module-permissions.test.d.ts +0 -2
- package/dist/subgraphs/__tests__/app-module-permissions.test.d.ts.map +0 -1
- package/dist/subgraphs/__tests__/app-module-permissions.test.js +0 -436
- package/dist/subgraphs/__tests__/permission-utils.test.d.ts +0 -2
- package/dist/subgraphs/__tests__/permission-utils.test.d.ts.map +0 -1
- package/dist/subgraphs/__tests__/permission-utils.test.js +0 -505
- package/dist/subgraphs/__tests__/vetra-read-model-permissions.test.d.ts +0 -2
- package/dist/subgraphs/__tests__/vetra-read-model-permissions.test.d.ts.map +0 -1
- package/dist/subgraphs/__tests__/vetra-read-model-permissions.test.js +0 -319
- package/dist/subgraphs/app-module/index.d.ts +0 -11
- package/dist/subgraphs/app-module/index.d.ts.map +0 -1
- package/dist/subgraphs/app-module/index.js +0 -11
- package/dist/subgraphs/app-module/resolvers.d.ts +0 -3
- package/dist/subgraphs/app-module/resolvers.d.ts.map +0 -1
- package/dist/subgraphs/app-module/resolvers.js +0 -188
- package/dist/subgraphs/app-module/schema.d.ts +0 -3
- package/dist/subgraphs/app-module/schema.d.ts.map +0 -1
- package/dist/subgraphs/app-module/schema.js +0 -78
- package/dist/subgraphs/document-editor/index.d.ts +0 -11
- package/dist/subgraphs/document-editor/index.d.ts.map +0 -1
- package/dist/subgraphs/document-editor/index.js +0 -11
- package/dist/subgraphs/document-editor/resolvers.d.ts +0 -3
- package/dist/subgraphs/document-editor/resolvers.d.ts.map +0 -1
- package/dist/subgraphs/document-editor/resolvers.js +0 -158
- package/dist/subgraphs/document-editor/schema.d.ts +0 -3
- package/dist/subgraphs/document-editor/schema.d.ts.map +0 -1
- package/dist/subgraphs/document-editor/schema.js +0 -59
- package/dist/subgraphs/index.d.ts +0 -7
- package/dist/subgraphs/index.d.ts.map +0 -1
- package/dist/subgraphs/index.js +0 -6
- package/dist/subgraphs/permission-utils.d.ts +0 -31
- package/dist/subgraphs/permission-utils.d.ts.map +0 -1
- package/dist/subgraphs/permission-utils.js +0 -101
- package/dist/subgraphs/processor-module/index.d.ts +0 -10
- package/dist/subgraphs/processor-module/index.d.ts.map +0 -1
- package/dist/subgraphs/processor-module/index.js +0 -11
- package/dist/subgraphs/processor-module/resolvers.d.ts +0 -3
- package/dist/subgraphs/processor-module/resolvers.d.ts.map +0 -1
- package/dist/subgraphs/processor-module/resolvers.js +0 -173
- package/dist/subgraphs/processor-module/schema.d.ts +0 -3
- package/dist/subgraphs/processor-module/schema.d.ts.map +0 -1
- package/dist/subgraphs/processor-module/schema.js +0 -67
- package/dist/subgraphs/subgraph-module/index.d.ts +0 -10
- package/dist/subgraphs/subgraph-module/index.d.ts.map +0 -1
- package/dist/subgraphs/subgraph-module/index.js +0 -11
- package/dist/subgraphs/subgraph-module/resolvers.d.ts +0 -3
- package/dist/subgraphs/subgraph-module/resolvers.d.ts.map +0 -1
- package/dist/subgraphs/subgraph-module/resolvers.js +0 -128
- package/dist/subgraphs/subgraph-module/schema.d.ts +0 -3
- package/dist/subgraphs/subgraph-module/schema.d.ts.map +0 -1
- package/dist/subgraphs/subgraph-module/schema.js +0 -42
- package/dist/subgraphs/vetra-package/index.d.ts +0 -10
- package/dist/subgraphs/vetra-package/index.d.ts.map +0 -1
- package/dist/subgraphs/vetra-package/index.js +0 -11
- package/dist/subgraphs/vetra-package/resolvers.d.ts +0 -3
- package/dist/subgraphs/vetra-package/resolvers.d.ts.map +0 -1
- package/dist/subgraphs/vetra-package/resolvers.js +0 -248
- package/dist/subgraphs/vetra-package/schema.d.ts +0 -3
- package/dist/subgraphs/vetra-package/schema.d.ts.map +0 -1
- package/dist/subgraphs/vetra-package/schema.js +0 -108
- package/dist/subgraphs/vetra-read-model/index.d.ts +0 -8
- package/dist/subgraphs/vetra-read-model/index.d.ts.map +0 -1
- package/dist/subgraphs/vetra-read-model/index.js +0 -8
- package/dist/subgraphs/vetra-read-model/resolvers.d.ts +0 -3
- package/dist/subgraphs/vetra-read-model/resolvers.d.ts.map +0 -1
- package/dist/subgraphs/vetra-read-model/resolvers.js +0 -49
- package/dist/subgraphs/vetra-read-model/schema.d.ts +0 -3
- package/dist/subgraphs/vetra-read-model/schema.d.ts.map +0 -1
- package/dist/subgraphs/vetra-read-model/schema.js +0 -25
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/vite.config.d.ts +0 -3
- package/dist/vite.config.d.ts.map +0 -1
- package/dist/vite.config.js +0 -23
- package/dist/vitest.config.d.ts +0 -3
- package/dist/vitest.config.d.ts.map +0 -1
- package/dist/vitest.config.js +0 -19
|
@@ -0,0 +1,380 @@
|
|
|
1
|
+
import { t as __exportAll } from "./chunk-pbuEa-1d.js";
|
|
2
|
+
import { BaseDocumentHeaderSchema, BaseDocumentStateSchema, baseActions, baseCreateDocument, baseLoadFromInput, baseSaveToFileHandle, createAction, createReducer, createState, defaultBaseState, generateId, isDocumentAction } from "document-model";
|
|
3
|
+
import * as z$1 from "zod";
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
import { PROCESSOR_APPS } from "@powerhousedao/shared/processors";
|
|
6
|
+
//#region document-models/processor-module/v1/gen/schema/zod.ts
|
|
7
|
+
const isDefinedNonNullAny = (v) => v !== void 0 && v !== null;
|
|
8
|
+
const definedNonNullAnySchema = z$1.any().refine((v) => isDefinedNonNullAny(v));
|
|
9
|
+
const StatusTypeSchema = z$1.enum(["CONFIRMED", "DRAFT"]);
|
|
10
|
+
function AddDocumentTypeInputSchema() {
|
|
11
|
+
return z$1.object({
|
|
12
|
+
documentType: z$1.string(),
|
|
13
|
+
id: z$1.string()
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
function AddProcessorAppInputSchema() {
|
|
17
|
+
return z$1.object({ processorApp: z$1.string() });
|
|
18
|
+
}
|
|
19
|
+
function DocumentTypeItemSchema() {
|
|
20
|
+
return z$1.object({
|
|
21
|
+
__typename: z$1.literal("DocumentTypeItem").optional(),
|
|
22
|
+
documentType: z$1.string(),
|
|
23
|
+
id: z$1.string()
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
function ProcessorModuleStateSchema() {
|
|
27
|
+
return z$1.object({
|
|
28
|
+
__typename: z$1.literal("ProcessorModuleState").optional(),
|
|
29
|
+
documentTypes: z$1.array(z$1.lazy(() => DocumentTypeItemSchema())),
|
|
30
|
+
name: z$1.string(),
|
|
31
|
+
processorApps: z$1.array(z$1.string()),
|
|
32
|
+
status: StatusTypeSchema,
|
|
33
|
+
type: z$1.string()
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
function RemoveDocumentTypeInputSchema() {
|
|
37
|
+
return z$1.object({ id: z$1.string() });
|
|
38
|
+
}
|
|
39
|
+
function RemoveProcessorAppInputSchema() {
|
|
40
|
+
return z$1.object({ processorApp: z$1.string() });
|
|
41
|
+
}
|
|
42
|
+
function SetProcessorNameInputSchema() {
|
|
43
|
+
return z$1.object({ name: z$1.string() });
|
|
44
|
+
}
|
|
45
|
+
function SetProcessorStatusInputSchema() {
|
|
46
|
+
return z$1.object({ status: StatusTypeSchema });
|
|
47
|
+
}
|
|
48
|
+
function SetProcessorTypeInputSchema() {
|
|
49
|
+
return z$1.object({ type: z$1.string() });
|
|
50
|
+
}
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region document-models/processor-module/v1/gen/base-operations/creators.ts
|
|
53
|
+
/**
|
|
54
|
+
* WARNING: DO NOT EDIT
|
|
55
|
+
* This file is auto-generated and updated by codegen
|
|
56
|
+
*/
|
|
57
|
+
var creators_exports = /* @__PURE__ */ __exportAll({
|
|
58
|
+
addDocumentType: () => addDocumentType,
|
|
59
|
+
addProcessorApp: () => addProcessorApp,
|
|
60
|
+
removeDocumentType: () => removeDocumentType,
|
|
61
|
+
removeProcessorApp: () => removeProcessorApp,
|
|
62
|
+
setProcessorName: () => setProcessorName,
|
|
63
|
+
setProcessorStatus: () => setProcessorStatus,
|
|
64
|
+
setProcessorType: () => setProcessorType
|
|
65
|
+
});
|
|
66
|
+
const setProcessorName = (input) => createAction("SET_PROCESSOR_NAME", { ...input }, void 0, SetProcessorNameInputSchema, "global");
|
|
67
|
+
const setProcessorType = (input) => createAction("SET_PROCESSOR_TYPE", { ...input }, void 0, SetProcessorTypeInputSchema, "global");
|
|
68
|
+
const addDocumentType = (input) => createAction("ADD_DOCUMENT_TYPE", { ...input }, void 0, AddDocumentTypeInputSchema, "global");
|
|
69
|
+
const removeDocumentType = (input) => createAction("REMOVE_DOCUMENT_TYPE", { ...input }, void 0, RemoveDocumentTypeInputSchema, "global");
|
|
70
|
+
const addProcessorApp = (input) => createAction("ADD_PROCESSOR_APP", { ...input }, void 0, AddProcessorAppInputSchema, "global");
|
|
71
|
+
const removeProcessorApp = (input) => createAction("REMOVE_PROCESSOR_APP", { ...input }, void 0, RemoveProcessorAppInputSchema, "global");
|
|
72
|
+
const setProcessorStatus = (input) => createAction("SET_PROCESSOR_STATUS", { ...input }, void 0, SetProcessorStatusInputSchema, "global");
|
|
73
|
+
//#endregion
|
|
74
|
+
//#region document-models/processor-module/v1/actions.ts
|
|
75
|
+
/**
|
|
76
|
+
* WARNING: DO NOT EDIT
|
|
77
|
+
* This file is auto-generated and updated by codegen
|
|
78
|
+
*/
|
|
79
|
+
/** Actions for the ProcessorModule document model */
|
|
80
|
+
const actions = {
|
|
81
|
+
...baseActions,
|
|
82
|
+
...creators_exports
|
|
83
|
+
};
|
|
84
|
+
//#endregion
|
|
85
|
+
//#region document-models/processor-module/v1/gen/document-model.ts
|
|
86
|
+
const documentModel = {
|
|
87
|
+
id: "powerhouse/processor",
|
|
88
|
+
name: "Processor Module",
|
|
89
|
+
author: {
|
|
90
|
+
name: "Powerhouse",
|
|
91
|
+
website: "https://powerhouse.inc"
|
|
92
|
+
},
|
|
93
|
+
extension: ".processor",
|
|
94
|
+
description: "Declares a processor (a server-side function that reacts to document operations to build read models, send notifications, sync to external systems, etc.) shipped by a Vetra Reactor Package. Create one Processor Module document per processor: pick the processor type, list the document types it subscribes to, attach it to any drive apps that should run it, and mark it CONFIRMED to trigger codegen of the processor scaffold under `processors/`.",
|
|
95
|
+
specifications: [{
|
|
96
|
+
state: {
|
|
97
|
+
local: {
|
|
98
|
+
schema: "",
|
|
99
|
+
examples: [],
|
|
100
|
+
initialValue: ""
|
|
101
|
+
},
|
|
102
|
+
global: {
|
|
103
|
+
schema: "\"\"\"\nConfiguration for a processor contributed by the package. A processor receives\noperations from documents of matching types and runs server-side logic (e.g.\nbuilding a read model, indexing, syncing to an external system).\n\"\"\"\ntype ProcessorModuleState {\n \"\"\"Display name of the processor. Also determines the generated folder name under `processors/`.\"\"\"\n name: String!\n \"\"\"Processor implementation kind (e.g. 'read-model', 'relational-db'). Determines which scaffold codegen emits.\"\"\"\n type: String!\n \"\"\"Document types this processor subscribes to. Each entry has a stable id so it can be removed individually.\"\"\"\n documentTypes: [DocumentTypeItem!]!\n \"\"\"Lifecycle status. While DRAFT the processor definition is editable and codegen is skipped; switching to CONFIRMED triggers scaffold generation.\"\"\"\n status: StatusType!\n \"\"\"Drive-app names this processor is attached to. The processor runs in the context of each listed app.\"\"\"\n processorApps: [String!]!\n}\n\n\"\"\"A document type id (e.g. 'my-org/invoice') attached to the processor 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 processor subscribes to.\"\"\"\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}",
|
|
104
|
+
examples: [],
|
|
105
|
+
initialValue: "{\n \"name\": \"\",\n \"type\": \"\",\n \"documentTypes\": [],\n \"status\": \"DRAFT\",\n \"processorApps\": []\n}"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
modules: [{
|
|
109
|
+
id: "91ad39c1-4e8b-4127-b3c8-e835b85e6360",
|
|
110
|
+
name: "base_operations",
|
|
111
|
+
description: "Set the processor's identity, kind, lifecycle status, subscribed document types, and attached drive apps.",
|
|
112
|
+
operations: [
|
|
113
|
+
{
|
|
114
|
+
id: "6f3a5c90-39f2-4302-a073-6195a71c5054",
|
|
115
|
+
name: "SET_PROCESSOR_NAME",
|
|
116
|
+
description: "Set the display name of the processor. Also determines the generated folder name under `processors/`.",
|
|
117
|
+
schema: "input SetProcessorNameInput {\n name: String!\n}",
|
|
118
|
+
template: "",
|
|
119
|
+
reducer: "",
|
|
120
|
+
errors: [],
|
|
121
|
+
examples: [],
|
|
122
|
+
scope: "global"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
id: "b8f28bb4-c6ae-40e6-86fa-29ef14ff8667",
|
|
126
|
+
name: "SET_PROCESSOR_TYPE",
|
|
127
|
+
description: "Set the processor implementation kind (e.g. 'read-model', 'relational-db'). Determines which scaffold codegen emits.",
|
|
128
|
+
schema: "input SetProcessorTypeInput {\n type: String!\n}",
|
|
129
|
+
template: "",
|
|
130
|
+
reducer: "",
|
|
131
|
+
errors: [],
|
|
132
|
+
examples: [],
|
|
133
|
+
scope: "global"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
id: "fbbd7a71-c495-4efc-b8f6-1e57798dbbb4",
|
|
137
|
+
name: "ADD_DOCUMENT_TYPE",
|
|
138
|
+
description: "Subscribe the processor to a document type. Caller supplies a stable id so the entry can be removed later.",
|
|
139
|
+
schema: "input AddDocumentTypeInput {\n id: OID!\n documentType: String!\n}",
|
|
140
|
+
template: "",
|
|
141
|
+
reducer: "",
|
|
142
|
+
errors: [],
|
|
143
|
+
examples: [],
|
|
144
|
+
scope: "global"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
id: "544d413f-423c-4d97-9570-84a19bffeab9",
|
|
148
|
+
name: "REMOVE_DOCUMENT_TYPE",
|
|
149
|
+
description: "Unsubscribe the processor from a document type by removing its entry id.",
|
|
150
|
+
schema: "input RemoveDocumentTypeInput {\n id: OID!\n}",
|
|
151
|
+
template: "",
|
|
152
|
+
reducer: "",
|
|
153
|
+
errors: [],
|
|
154
|
+
examples: [],
|
|
155
|
+
scope: "global"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
id: "df5eb500-7308-498c-9b80-028878ee198b",
|
|
159
|
+
name: "ADD_PROCESSOR_APP",
|
|
160
|
+
description: "Attach the processor to a drive app by name. The processor will run in the context of that app.",
|
|
161
|
+
schema: "input AddProcessorAppInput {\n processorApp: String!\n}",
|
|
162
|
+
template: "",
|
|
163
|
+
reducer: "",
|
|
164
|
+
errors: [],
|
|
165
|
+
examples: [],
|
|
166
|
+
scope: "global"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
id: "07e4168f-1a7b-41ef-953d-219028be7bb9",
|
|
170
|
+
name: "REMOVE_PROCESSOR_APP",
|
|
171
|
+
description: "Detach the processor from a drive app by name. No-op if the app is not currently attached.",
|
|
172
|
+
schema: "input RemoveProcessorAppInput {\n processorApp: String!\n}",
|
|
173
|
+
template: "",
|
|
174
|
+
reducer: "",
|
|
175
|
+
errors: [],
|
|
176
|
+
examples: [],
|
|
177
|
+
scope: "global"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
id: "7b6706eb-5e25-4d64-829a-e3a251380fd1",
|
|
181
|
+
name: "SET_PROCESSOR_STATUS",
|
|
182
|
+
description: "Move the processor between DRAFT and CONFIRMED. Codegen only runs once the status is CONFIRMED.",
|
|
183
|
+
schema: "input SetProcessorStatusInput {\n status: StatusType!\n}",
|
|
184
|
+
template: "",
|
|
185
|
+
reducer: "",
|
|
186
|
+
errors: [],
|
|
187
|
+
examples: [],
|
|
188
|
+
scope: "global"
|
|
189
|
+
}
|
|
190
|
+
]
|
|
191
|
+
}],
|
|
192
|
+
version: 1,
|
|
193
|
+
changeLog: []
|
|
194
|
+
}]
|
|
195
|
+
};
|
|
196
|
+
//#endregion
|
|
197
|
+
//#region document-models/processor-module/v1/src/reducers/base-operations.ts
|
|
198
|
+
const processorModuleBaseOperationsOperations = {
|
|
199
|
+
setProcessorNameOperation(state, action, dispatch) {
|
|
200
|
+
const trimmedName = action.input.name.trim();
|
|
201
|
+
if (trimmedName === "") throw new Error("Processor name cannot be empty");
|
|
202
|
+
state.name = trimmedName;
|
|
203
|
+
},
|
|
204
|
+
setProcessorTypeOperation(state, action, dispatch) {
|
|
205
|
+
const trimmedType = action.input.type.trim();
|
|
206
|
+
if (trimmedType === "") throw new Error("Processor type cannot be empty");
|
|
207
|
+
state.type = trimmedType;
|
|
208
|
+
},
|
|
209
|
+
addDocumentTypeOperation(state, action, dispatch) {
|
|
210
|
+
if (state.documentTypes.find((dt) => dt.id === action.input.id)) throw new Error(`Document type with id "${action.input.id}" already exists`);
|
|
211
|
+
state.documentTypes.push({
|
|
212
|
+
id: action.input.id,
|
|
213
|
+
documentType: action.input.documentType
|
|
214
|
+
});
|
|
215
|
+
},
|
|
216
|
+
removeDocumentTypeOperation(state, action, dispatch) {
|
|
217
|
+
state.documentTypes = state.documentTypes.filter((documentType) => documentType.id !== action.input.id);
|
|
218
|
+
},
|
|
219
|
+
setProcessorStatusOperation(state, action, dispatch) {
|
|
220
|
+
state.status = action.input.status;
|
|
221
|
+
},
|
|
222
|
+
addProcessorAppOperation(state, action) {
|
|
223
|
+
const { processorApp } = action.input;
|
|
224
|
+
if (!PROCESSOR_APPS.includes(processorApp)) throw new Error(`${processorApp} is not a valid processor app. Must be one of ${PROCESSOR_APPS.join(", ")}.`);
|
|
225
|
+
state.processorApps = [...new Set([...state.processorApps, processorApp])];
|
|
226
|
+
},
|
|
227
|
+
removeProcessorAppOperation(state, action) {
|
|
228
|
+
const { processorApp } = action.input;
|
|
229
|
+
state.processorApps = state.processorApps.filter((p) => p !== processorApp);
|
|
230
|
+
}
|
|
231
|
+
};
|
|
232
|
+
//#endregion
|
|
233
|
+
//#region document-models/processor-module/v1/gen/reducer.ts
|
|
234
|
+
const stateReducer = (state, action, dispatch) => {
|
|
235
|
+
if (isDocumentAction(action)) return state;
|
|
236
|
+
switch (action.type) {
|
|
237
|
+
case "SET_PROCESSOR_NAME":
|
|
238
|
+
SetProcessorNameInputSchema().parse(action.input);
|
|
239
|
+
processorModuleBaseOperationsOperations.setProcessorNameOperation(state[action.scope], action, dispatch);
|
|
240
|
+
break;
|
|
241
|
+
case "SET_PROCESSOR_TYPE":
|
|
242
|
+
SetProcessorTypeInputSchema().parse(action.input);
|
|
243
|
+
processorModuleBaseOperationsOperations.setProcessorTypeOperation(state[action.scope], action, dispatch);
|
|
244
|
+
break;
|
|
245
|
+
case "ADD_DOCUMENT_TYPE":
|
|
246
|
+
AddDocumentTypeInputSchema().parse(action.input);
|
|
247
|
+
processorModuleBaseOperationsOperations.addDocumentTypeOperation(state[action.scope], action, dispatch);
|
|
248
|
+
break;
|
|
249
|
+
case "REMOVE_DOCUMENT_TYPE":
|
|
250
|
+
RemoveDocumentTypeInputSchema().parse(action.input);
|
|
251
|
+
processorModuleBaseOperationsOperations.removeDocumentTypeOperation(state[action.scope], action, dispatch);
|
|
252
|
+
break;
|
|
253
|
+
case "ADD_PROCESSOR_APP":
|
|
254
|
+
AddProcessorAppInputSchema().parse(action.input);
|
|
255
|
+
processorModuleBaseOperationsOperations.addProcessorAppOperation(state[action.scope], action, dispatch);
|
|
256
|
+
break;
|
|
257
|
+
case "REMOVE_PROCESSOR_APP":
|
|
258
|
+
RemoveProcessorAppInputSchema().parse(action.input);
|
|
259
|
+
processorModuleBaseOperationsOperations.removeProcessorAppOperation(state[action.scope], action, dispatch);
|
|
260
|
+
break;
|
|
261
|
+
case "SET_PROCESSOR_STATUS":
|
|
262
|
+
SetProcessorStatusInputSchema().parse(action.input);
|
|
263
|
+
processorModuleBaseOperationsOperations.setProcessorStatusOperation(state[action.scope], action, dispatch);
|
|
264
|
+
break;
|
|
265
|
+
default: return state;
|
|
266
|
+
}
|
|
267
|
+
};
|
|
268
|
+
const reducer = createReducer(stateReducer);
|
|
269
|
+
//#endregion
|
|
270
|
+
//#region document-models/processor-module/v1/gen/document-type.ts
|
|
271
|
+
/**
|
|
272
|
+
* WARNING: DO NOT EDIT
|
|
273
|
+
* This file is auto-generated and updated by codegen
|
|
274
|
+
*/
|
|
275
|
+
const processorModuleDocumentType = "powerhouse/processor";
|
|
276
|
+
//#endregion
|
|
277
|
+
//#region document-models/processor-module/v1/gen/document-schema.ts
|
|
278
|
+
/**
|
|
279
|
+
* WARNING: DO NOT EDIT
|
|
280
|
+
* This file is auto-generated and updated by codegen
|
|
281
|
+
*/
|
|
282
|
+
/** Schema for validating the header object of a ProcessorModule document */
|
|
283
|
+
const ProcessorModuleDocumentHeaderSchema = BaseDocumentHeaderSchema.extend({ documentType: z.literal(processorModuleDocumentType) });
|
|
284
|
+
/** Schema for validating the state object of a ProcessorModule document */
|
|
285
|
+
const ProcessorModulePHStateSchema = BaseDocumentStateSchema.extend({ global: ProcessorModuleStateSchema() });
|
|
286
|
+
const ProcessorModuleDocumentSchema = z.object({
|
|
287
|
+
header: ProcessorModuleDocumentHeaderSchema,
|
|
288
|
+
state: ProcessorModulePHStateSchema,
|
|
289
|
+
initialState: ProcessorModulePHStateSchema
|
|
290
|
+
});
|
|
291
|
+
/** Simple helper function to check if a state object is a ProcessorModule document state object */
|
|
292
|
+
function isProcessorModuleState(state) {
|
|
293
|
+
return ProcessorModulePHStateSchema.safeParse(state).success;
|
|
294
|
+
}
|
|
295
|
+
/** Simple helper function to assert that a document state object is a ProcessorModule document state object */
|
|
296
|
+
function assertIsProcessorModuleState(state) {
|
|
297
|
+
ProcessorModulePHStateSchema.parse(state);
|
|
298
|
+
}
|
|
299
|
+
/** Simple helper function to check if a document is a ProcessorModule document */
|
|
300
|
+
function isProcessorModuleDocument(document) {
|
|
301
|
+
return ProcessorModuleDocumentSchema.safeParse(document).success;
|
|
302
|
+
}
|
|
303
|
+
/** Simple helper function to assert that a document is a ProcessorModule document */
|
|
304
|
+
function assertIsProcessorModuleDocument(document) {
|
|
305
|
+
ProcessorModuleDocumentSchema.parse(document);
|
|
306
|
+
}
|
|
307
|
+
//#endregion
|
|
308
|
+
//#region document-models/processor-module/v1/gen/utils.ts
|
|
309
|
+
const initialGlobalState = {
|
|
310
|
+
name: "",
|
|
311
|
+
type: "",
|
|
312
|
+
documentTypes: [],
|
|
313
|
+
status: "DRAFT",
|
|
314
|
+
processorApps: []
|
|
315
|
+
};
|
|
316
|
+
const initialLocalState = {};
|
|
317
|
+
const utils$1 = {
|
|
318
|
+
fileExtension: ".processor",
|
|
319
|
+
createState(state) {
|
|
320
|
+
return {
|
|
321
|
+
...defaultBaseState(),
|
|
322
|
+
global: {
|
|
323
|
+
...initialGlobalState,
|
|
324
|
+
...state?.global
|
|
325
|
+
},
|
|
326
|
+
local: {
|
|
327
|
+
...initialLocalState,
|
|
328
|
+
...state?.local
|
|
329
|
+
}
|
|
330
|
+
};
|
|
331
|
+
},
|
|
332
|
+
createDocument(state) {
|
|
333
|
+
const document = baseCreateDocument(utils$1.createState, state);
|
|
334
|
+
document.header.documentType = processorModuleDocumentType;
|
|
335
|
+
document.header.id = generateId();
|
|
336
|
+
return document;
|
|
337
|
+
},
|
|
338
|
+
saveToFileHandle(document, input) {
|
|
339
|
+
return baseSaveToFileHandle(document, input);
|
|
340
|
+
},
|
|
341
|
+
loadFromInput(input) {
|
|
342
|
+
return baseLoadFromInput(input, reducer);
|
|
343
|
+
},
|
|
344
|
+
isStateOfType(state) {
|
|
345
|
+
return isProcessorModuleState(state);
|
|
346
|
+
},
|
|
347
|
+
assertIsStateOfType(state) {
|
|
348
|
+
return assertIsProcessorModuleState(state);
|
|
349
|
+
},
|
|
350
|
+
isDocumentOfType(document) {
|
|
351
|
+
return isProcessorModuleDocument(document);
|
|
352
|
+
},
|
|
353
|
+
assertIsDocumentOfType(document) {
|
|
354
|
+
return assertIsProcessorModuleDocument(document);
|
|
355
|
+
}
|
|
356
|
+
};
|
|
357
|
+
//#endregion
|
|
358
|
+
//#region document-models/processor-module/v1/src/utils.ts
|
|
359
|
+
var utils_exports = /* @__PURE__ */ __exportAll({});
|
|
360
|
+
//#endregion
|
|
361
|
+
//#region document-models/processor-module/v1/utils.ts
|
|
362
|
+
/** Utils for the ProcessorModule document model */
|
|
363
|
+
const utils = {
|
|
364
|
+
...utils$1,
|
|
365
|
+
...utils_exports
|
|
366
|
+
};
|
|
367
|
+
//#endregion
|
|
368
|
+
//#region document-models/processor-module/v1/module.ts
|
|
369
|
+
/** Document model module for the ProcessorModule document type */
|
|
370
|
+
const ProcessorModule = {
|
|
371
|
+
version: 1,
|
|
372
|
+
reducer,
|
|
373
|
+
actions,
|
|
374
|
+
utils,
|
|
375
|
+
documentModel: createState(defaultBaseState(), documentModel)
|
|
376
|
+
};
|
|
377
|
+
//#endregion
|
|
378
|
+
export { RemoveProcessorAppInputSchema as A, setProcessorStatus as C, DocumentTypeItemSchema as D, AddProcessorAppInputSchema as E, definedNonNullAnySchema as F, isDefinedNonNullAny as I, SetProcessorStatusInputSchema as M, SetProcessorTypeInputSchema as N, ProcessorModuleStateSchema as O, StatusTypeSchema as P, setProcessorName as S, AddDocumentTypeInputSchema as T, addDocumentType as _, utils$1 as a, removeDocumentType as b, ProcessorModulePHStateSchema as c, isProcessorModuleDocument as d, isProcessorModuleState as f, actions as g, documentModel as h, initialLocalState as i, SetProcessorNameInputSchema as j, RemoveDocumentTypeInputSchema as k, assertIsProcessorModuleDocument as l, reducer as m, utils as n, ProcessorModuleDocumentHeaderSchema as o, processorModuleDocumentType as p, initialGlobalState as r, ProcessorModuleDocumentSchema as s, ProcessorModule as t, assertIsProcessorModuleState as u, addProcessorApp as v, setProcessorType as w, removeProcessorApp as x, creators_exports as y };
|
|
379
|
+
|
|
380
|
+
//# sourceMappingURL=module-BWlCj_0C.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-BWlCj_0C.js","names":["z","processorModuleBaseOperationsActions","utils","genUtils","customUtils"],"sources":["../document-models/processor-module/v1/gen/schema/zod.ts","../document-models/processor-module/v1/gen/base-operations/creators.ts","../document-models/processor-module/v1/actions.ts","../document-models/processor-module/v1/gen/document-model.ts","../document-models/processor-module/v1/src/reducers/base-operations.ts","../document-models/processor-module/v1/gen/reducer.ts","../document-models/processor-module/v1/gen/document-type.ts","../document-models/processor-module/v1/gen/document-schema.ts","../document-models/processor-module/v1/gen/utils.ts","../document-models/processor-module/v1/src/utils.ts","../document-models/processor-module/v1/utils.ts","../document-models/processor-module/v1/module.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-empty-object-type */\n/* eslint-disable @typescript-eslint/no-unused-vars */\nimport * as z from \"zod\";\nimport type {\n AddDocumentTypeInput,\n AddProcessorAppInput,\n DocumentTypeItem,\n ProcessorModuleState,\n RemoveDocumentTypeInput,\n RemoveProcessorAppInput,\n SetProcessorNameInput,\n SetProcessorStatusInput,\n SetProcessorTypeInput,\n StatusType,\n} from \"./types.js\";\n\ntype Properties<T> = Required<{\n [K in keyof T]: z.ZodType<T[K]>;\n}>;\n\ntype definedNonNullAny = {};\n\nexport const isDefinedNonNullAny = (v: any): v is definedNonNullAny =>\n v !== undefined && v !== null;\n\nexport const definedNonNullAnySchema = z\n .any()\n .refine((v) => isDefinedNonNullAny(v));\n\nexport const StatusTypeSchema = z.enum([\"CONFIRMED\", \"DRAFT\"]);\n\nexport function AddDocumentTypeInputSchema(): z.ZodObject<\n Properties<AddDocumentTypeInput>\n> {\n return z.object({\n documentType: z.string(),\n id: z.string(),\n });\n}\n\nexport function AddProcessorAppInputSchema(): z.ZodObject<\n Properties<AddProcessorAppInput>\n> {\n return z.object({\n processorApp: z.string(),\n });\n}\n\nexport function DocumentTypeItemSchema(): z.ZodObject<\n Properties<DocumentTypeItem>\n> {\n return z.object({\n __typename: z.literal(\"DocumentTypeItem\").optional(),\n documentType: z.string(),\n id: z.string(),\n });\n}\n\nexport function ProcessorModuleStateSchema(): z.ZodObject<\n Properties<ProcessorModuleState>\n> {\n return z.object({\n __typename: z.literal(\"ProcessorModuleState\").optional(),\n documentTypes: z.array(z.lazy(() => DocumentTypeItemSchema())),\n name: z.string(),\n processorApps: z.array(z.string()),\n status: StatusTypeSchema,\n type: z.string(),\n });\n}\n\nexport function RemoveDocumentTypeInputSchema(): z.ZodObject<\n Properties<RemoveDocumentTypeInput>\n> {\n return z.object({\n id: z.string(),\n });\n}\n\nexport function RemoveProcessorAppInputSchema(): z.ZodObject<\n Properties<RemoveProcessorAppInput>\n> {\n return z.object({\n processorApp: z.string(),\n });\n}\n\nexport function SetProcessorNameInputSchema(): z.ZodObject<\n Properties<SetProcessorNameInput>\n> {\n return z.object({\n name: z.string(),\n });\n}\n\nexport function SetProcessorStatusInputSchema(): z.ZodObject<\n Properties<SetProcessorStatusInput>\n> {\n return z.object({\n status: StatusTypeSchema,\n });\n}\n\nexport function SetProcessorTypeInputSchema(): z.ZodObject<\n Properties<SetProcessorTypeInput>\n> {\n return z.object({\n type: z.string(),\n });\n}\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport { createAction } from \"document-model\";\nimport {\n AddDocumentTypeInputSchema,\n AddProcessorAppInputSchema,\n RemoveDocumentTypeInputSchema,\n RemoveProcessorAppInputSchema,\n SetProcessorNameInputSchema,\n SetProcessorStatusInputSchema,\n SetProcessorTypeInputSchema,\n} from \"../schema/zod.js\";\nimport type {\n AddDocumentTypeInput,\n AddProcessorAppInput,\n RemoveDocumentTypeInput,\n RemoveProcessorAppInput,\n SetProcessorNameInput,\n SetProcessorStatusInput,\n SetProcessorTypeInput,\n} from \"../types.js\";\nimport type {\n AddDocumentTypeAction,\n AddProcessorAppAction,\n RemoveDocumentTypeAction,\n RemoveProcessorAppAction,\n SetProcessorNameAction,\n SetProcessorStatusAction,\n SetProcessorTypeAction,\n} from \"./actions.js\";\n\nexport const setProcessorName = (input: SetProcessorNameInput) =>\n createAction<SetProcessorNameAction>(\n \"SET_PROCESSOR_NAME\",\n { ...input },\n undefined,\n SetProcessorNameInputSchema,\n \"global\",\n );\n\nexport const setProcessorType = (input: SetProcessorTypeInput) =>\n createAction<SetProcessorTypeAction>(\n \"SET_PROCESSOR_TYPE\",\n { ...input },\n undefined,\n SetProcessorTypeInputSchema,\n \"global\",\n );\n\nexport const addDocumentType = (input: AddDocumentTypeInput) =>\n createAction<AddDocumentTypeAction>(\n \"ADD_DOCUMENT_TYPE\",\n { ...input },\n undefined,\n AddDocumentTypeInputSchema,\n \"global\",\n );\n\nexport const removeDocumentType = (input: RemoveDocumentTypeInput) =>\n createAction<RemoveDocumentTypeAction>(\n \"REMOVE_DOCUMENT_TYPE\",\n { ...input },\n undefined,\n RemoveDocumentTypeInputSchema,\n \"global\",\n );\n\nexport const addProcessorApp = (input: AddProcessorAppInput) =>\n createAction<AddProcessorAppAction>(\n \"ADD_PROCESSOR_APP\",\n { ...input },\n undefined,\n AddProcessorAppInputSchema,\n \"global\",\n );\n\nexport const removeProcessorApp = (input: RemoveProcessorAppInput) =>\n createAction<RemoveProcessorAppAction>(\n \"REMOVE_PROCESSOR_APP\",\n { ...input },\n undefined,\n RemoveProcessorAppInputSchema,\n \"global\",\n );\n\nexport const setProcessorStatus = (input: SetProcessorStatusInput) =>\n createAction<SetProcessorStatusAction>(\n \"SET_PROCESSOR_STATUS\",\n { ...input },\n undefined,\n SetProcessorStatusInputSchema,\n \"global\",\n );\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport { baseActions } from \"document-model\";\nimport { processorModuleBaseOperationsActions } from \"./gen/creators.js\";\n\n/** Actions for the ProcessorModule document model */\n\nexport const actions = {\n ...baseActions,\n ...processorModuleBaseOperationsActions,\n};\n","import type { DocumentModelGlobalState } from \"document-model\";\n\nexport const documentModel: DocumentModelGlobalState = {\n id: \"powerhouse/processor\",\n name: \"Processor Module\",\n author: {\n name: \"Powerhouse\",\n website: \"https://powerhouse.inc\",\n },\n extension: \".processor\",\n description:\n \"Declares a processor (a server-side function that reacts to document operations to build read models, send notifications, sync to external systems, etc.) shipped by a Vetra Reactor Package. Create one Processor Module document per processor: pick the processor type, list the document types it subscribes to, attach it to any drive apps that should run it, and mark it CONFIRMED to trigger codegen of the processor scaffold under `processors/`.\",\n specifications: [\n {\n state: {\n local: {\n schema: \"\",\n examples: [],\n initialValue: \"\",\n },\n global: {\n schema:\n '\"\"\"\\nConfiguration for a processor contributed by the package. A processor receives\\noperations from documents of matching types and runs server-side logic (e.g.\\nbuilding a read model, indexing, syncing to an external system).\\n\"\"\"\\ntype ProcessorModuleState {\\n \"\"\"Display name of the processor. Also determines the generated folder name under `processors/`.\"\"\"\\n name: String!\\n \"\"\"Processor implementation kind (e.g. \\'read-model\\', \\'relational-db\\'). Determines which scaffold codegen emits.\"\"\"\\n type: String!\\n \"\"\"Document types this processor subscribes to. Each entry has a stable id so it can be removed individually.\"\"\"\\n documentTypes: [DocumentTypeItem!]!\\n \"\"\"Lifecycle status. While DRAFT the processor definition is editable and codegen is skipped; switching to CONFIRMED triggers scaffold generation.\"\"\"\\n status: StatusType!\\n \"\"\"Drive-app names this processor is attached to. The processor runs in the context of each listed app.\"\"\"\\n processorApps: [String!]!\\n}\\n\\n\"\"\"A document type id (e.g. \\'my-org/invoice\\') attached to the processor 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 processor subscribes to.\"\"\"\\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 \"type\": \"\",\\n \"documentTypes\": [],\\n \"status\": \"DRAFT\",\\n \"processorApps\": []\\n}',\n },\n },\n modules: [\n {\n id: \"91ad39c1-4e8b-4127-b3c8-e835b85e6360\",\n name: \"base_operations\",\n description:\n \"Set the processor's identity, kind, lifecycle status, subscribed document types, and attached drive apps.\",\n operations: [\n {\n id: \"6f3a5c90-39f2-4302-a073-6195a71c5054\",\n name: \"SET_PROCESSOR_NAME\",\n description:\n \"Set the display name of the processor. Also determines the generated folder name under `processors/`.\",\n schema: \"input SetProcessorNameInput {\\n name: String!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n {\n id: \"b8f28bb4-c6ae-40e6-86fa-29ef14ff8667\",\n name: \"SET_PROCESSOR_TYPE\",\n description:\n \"Set the processor implementation kind (e.g. 'read-model', 'relational-db'). Determines which scaffold codegen emits.\",\n schema: \"input SetProcessorTypeInput {\\n type: String!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n {\n id: \"fbbd7a71-c495-4efc-b8f6-1e57798dbbb4\",\n name: \"ADD_DOCUMENT_TYPE\",\n description:\n \"Subscribe the processor to a document type. 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: \"544d413f-423c-4d97-9570-84a19bffeab9\",\n name: \"REMOVE_DOCUMENT_TYPE\",\n description:\n \"Unsubscribe the processor from a document type by removing its entry id.\",\n schema: \"input RemoveDocumentTypeInput {\\n id: OID!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n {\n id: \"df5eb500-7308-498c-9b80-028878ee198b\",\n name: \"ADD_PROCESSOR_APP\",\n description:\n \"Attach the processor to a drive app by name. The processor will run in the context of that app.\",\n schema:\n \"input AddProcessorAppInput {\\n processorApp: String!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n {\n id: \"07e4168f-1a7b-41ef-953d-219028be7bb9\",\n name: \"REMOVE_PROCESSOR_APP\",\n description:\n \"Detach the processor from a drive app by name. No-op if the app is not currently attached.\",\n schema:\n \"input RemoveProcessorAppInput {\\n processorApp: String!\\n}\",\n template: \"\",\n reducer: \"\",\n errors: [],\n examples: [],\n scope: \"global\",\n },\n {\n id: \"7b6706eb-5e25-4d64-829a-e3a251380fd1\",\n name: \"SET_PROCESSOR_STATUS\",\n description:\n \"Move the processor between DRAFT and CONFIRMED. Codegen only runs once the status is CONFIRMED.\",\n schema:\n \"input SetProcessorStatusInput {\\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","import {\n PROCESSOR_APPS,\n type ProcessorApp,\n} from \"@powerhousedao/shared/processors\";\nimport type { ProcessorModuleBaseOperationsOperations } from \"document-models/processor-module/v1\";\n\nexport const processorModuleBaseOperationsOperations: ProcessorModuleBaseOperationsOperations =\n {\n setProcessorNameOperation(state, action, dispatch) {\n const trimmedName = action.input.name.trim();\n if (trimmedName === \"\") {\n throw new Error(\"Processor name cannot be empty\");\n }\n state.name = trimmedName;\n },\n setProcessorTypeOperation(state, action, dispatch) {\n const trimmedType = action.input.type.trim();\n if (trimmedType === \"\") {\n throw new Error(\"Processor type cannot be empty\");\n }\n state.type = trimmedType;\n },\n addDocumentTypeOperation(state, action, dispatch) {\n // Check for duplicate ID\n const existingId = state.documentTypes.find(\n (dt) => dt.id === action.input.id,\n );\n if (existingId) {\n throw new Error(\n `Document type with id \"${action.input.id}\" already exists`,\n );\n }\n\n state.documentTypes.push({\n id: action.input.id,\n documentType: action.input.documentType,\n });\n },\n removeDocumentTypeOperation(state, action, dispatch) {\n state.documentTypes = state.documentTypes.filter(\n (documentType) => documentType.id !== action.input.id,\n );\n },\n setProcessorStatusOperation(state, action, dispatch) {\n state.status = action.input.status;\n },\n addProcessorAppOperation(state, action) {\n const { processorApp } = action.input;\n if (!PROCESSOR_APPS.includes(processorApp as ProcessorApp)) {\n throw new Error(\n `${processorApp} is not a valid processor app. Must be one of ${PROCESSOR_APPS.join(\", \")}.`,\n );\n }\n state.processorApps = [\n ...new Set([...state.processorApps, processorApp]),\n ];\n },\n removeProcessorAppOperation(state, action) {\n const { processorApp } = action.input;\n state.processorApps = state.processorApps.filter(\n (p) => p !== processorApp,\n );\n },\n };\n","/* eslint-disable @typescript-eslint/no-unsafe-member-access */\n/* eslint-disable @typescript-eslint/no-unsafe-argument */\nimport type { Reducer, StateReducer } from \"document-model\";\nimport { createReducer, isDocumentAction } from \"document-model\";\nimport type { ProcessorModulePHState } from \"document-models/processor-module/v1\";\n\nimport { processorModuleBaseOperationsOperations } from \"../src/reducers/base-operations.js\";\n\nimport {\n AddDocumentTypeInputSchema,\n AddProcessorAppInputSchema,\n RemoveDocumentTypeInputSchema,\n RemoveProcessorAppInputSchema,\n SetProcessorNameInputSchema,\n SetProcessorStatusInputSchema,\n SetProcessorTypeInputSchema,\n} from \"./schema/zod.js\";\n\nconst stateReducer: StateReducer<ProcessorModulePHState> = (\n state,\n action,\n dispatch,\n) => {\n if (isDocumentAction(action)) {\n return state;\n }\n switch (action.type) {\n case \"SET_PROCESSOR_NAME\": {\n SetProcessorNameInputSchema().parse(action.input);\n\n processorModuleBaseOperationsOperations.setProcessorNameOperation(\n (state as any)[action.scope],\n action as any,\n dispatch,\n );\n\n break;\n }\n\n case \"SET_PROCESSOR_TYPE\": {\n SetProcessorTypeInputSchema().parse(action.input);\n\n processorModuleBaseOperationsOperations.setProcessorTypeOperation(\n (state as any)[action.scope],\n action as any,\n dispatch,\n );\n\n break;\n }\n\n case \"ADD_DOCUMENT_TYPE\": {\n AddDocumentTypeInputSchema().parse(action.input);\n\n processorModuleBaseOperationsOperations.addDocumentTypeOperation(\n (state as any)[action.scope],\n action as any,\n dispatch,\n );\n\n break;\n }\n\n case \"REMOVE_DOCUMENT_TYPE\": {\n RemoveDocumentTypeInputSchema().parse(action.input);\n\n processorModuleBaseOperationsOperations.removeDocumentTypeOperation(\n (state as any)[action.scope],\n action as any,\n dispatch,\n );\n\n break;\n }\n\n case \"ADD_PROCESSOR_APP\": {\n AddProcessorAppInputSchema().parse(action.input);\n\n processorModuleBaseOperationsOperations.addProcessorAppOperation(\n (state as any)[action.scope],\n action as any,\n dispatch,\n );\n\n break;\n }\n\n case \"REMOVE_PROCESSOR_APP\": {\n RemoveProcessorAppInputSchema().parse(action.input);\n\n processorModuleBaseOperationsOperations.removeProcessorAppOperation(\n (state as any)[action.scope],\n action as any,\n dispatch,\n );\n\n break;\n }\n\n case \"SET_PROCESSOR_STATUS\": {\n SetProcessorStatusInputSchema().parse(action.input);\n\n processorModuleBaseOperationsOperations.setProcessorStatusOperation(\n (state as any)[action.scope],\n action as any,\n dispatch,\n );\n\n break;\n }\n\n default:\n return state;\n }\n};\n\nexport const reducer: Reducer<ProcessorModulePHState> =\n createReducer(stateReducer);\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nexport const processorModuleDocumentType = \"powerhouse/processor\";\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport {\n BaseDocumentHeaderSchema,\n BaseDocumentStateSchema,\n} from \"document-model\";\nimport { z } from \"zod\";\nimport { processorModuleDocumentType } from \"./document-type.js\";\nimport { ProcessorModuleStateSchema } from \"./schema/zod.js\";\nimport type {\n ProcessorModuleDocument,\n ProcessorModulePHState,\n} from \"./types.js\";\n\n/** Schema for validating the header object of a ProcessorModule document */\nexport const ProcessorModuleDocumentHeaderSchema =\n BaseDocumentHeaderSchema.extend({\n documentType: z.literal(processorModuleDocumentType),\n });\n\n/** Schema for validating the state object of a ProcessorModule document */\nexport const ProcessorModulePHStateSchema = BaseDocumentStateSchema.extend({\n global: ProcessorModuleStateSchema(),\n});\n\nexport const ProcessorModuleDocumentSchema = z.object({\n header: ProcessorModuleDocumentHeaderSchema,\n state: ProcessorModulePHStateSchema,\n initialState: ProcessorModulePHStateSchema,\n});\n\n/** Simple helper function to check if a state object is a ProcessorModule document state object */\nexport function isProcessorModuleState(\n state: unknown,\n): state is ProcessorModulePHState {\n return ProcessorModulePHStateSchema.safeParse(state).success;\n}\n\n/** Simple helper function to assert that a document state object is a ProcessorModule document state object */\nexport function assertIsProcessorModuleState(\n state: unknown,\n): asserts state is ProcessorModulePHState {\n ProcessorModulePHStateSchema.parse(state);\n}\n\n/** Simple helper function to check if a document is a ProcessorModule document */\nexport function isProcessorModuleDocument(\n document: unknown,\n): document is ProcessorModuleDocument {\n return ProcessorModuleDocumentSchema.safeParse(document).success;\n}\n\n/** Simple helper function to assert that a document is a ProcessorModule document */\nexport function assertIsProcessorModuleDocument(\n document: unknown,\n): asserts document is ProcessorModuleDocument {\n ProcessorModuleDocumentSchema.parse(document);\n}\n","/**\n * WARNING: DO NOT EDIT\n * This file is auto-generated and updated by codegen\n */\nimport type { DocumentModelUtils } from \"document-model\";\nimport {\n baseCreateDocument,\n baseLoadFromInput,\n baseSaveToFileHandle,\n defaultBaseState,\n generateId,\n} from \"document-model\";\nimport {\n assertIsProcessorModuleDocument,\n assertIsProcessorModuleState,\n isProcessorModuleDocument,\n isProcessorModuleState,\n} from \"./document-schema.js\";\nimport { processorModuleDocumentType } from \"./document-type.js\";\nimport { reducer } from \"./reducer.js\";\nimport type {\n ProcessorModuleGlobalState,\n ProcessorModuleLocalState,\n ProcessorModulePHState,\n} from \"./types.js\";\n\nexport const initialGlobalState: ProcessorModuleGlobalState = {\n name: \"\",\n type: \"\",\n documentTypes: [],\n status: \"DRAFT\",\n processorApps: [],\n};\nexport const initialLocalState: ProcessorModuleLocalState = {};\n\nexport const utils: DocumentModelUtils<ProcessorModulePHState> = {\n fileExtension: \".processor\",\n createState(state) {\n return {\n ...defaultBaseState(),\n global: { ...initialGlobalState, ...state?.global },\n local: { ...initialLocalState, ...state?.local },\n };\n },\n createDocument(state) {\n const document = baseCreateDocument(utils.createState, state);\n\n document.header.documentType = processorModuleDocumentType;\n\n // for backwards compatibility, but this is NOT a valid signed document id\n document.header.id = generateId();\n\n return document;\n },\n saveToFileHandle(document, input) {\n return baseSaveToFileHandle(document, input);\n },\n loadFromInput(input) {\n return baseLoadFromInput(input, reducer);\n },\n isStateOfType(state) {\n return isProcessorModuleState(state);\n },\n assertIsStateOfType(state) {\n return assertIsProcessorModuleState(state);\n },\n isDocumentOfType(document) {\n return isProcessorModuleDocument(document);\n },\n assertIsDocumentOfType(document) {\n return assertIsProcessorModuleDocument(document);\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 { ProcessorModulePHState } from \"./gen/types.js\";\nimport { utils as genUtils } from \"./gen/utils.js\";\nimport * as customUtils from \"./src/utils.js\";\n\n/** Utils for the ProcessorModule document model */\nexport const utils: DocumentModelUtils<ProcessorModulePHState> = {\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 { ProcessorModulePHState } from \"./gen/types.js\";\nimport { utils } from \"./utils.js\";\n\n/** Document model module for the ProcessorModule document type */\nexport const ProcessorModule = {\n version: 1,\n reducer,\n actions,\n utils,\n documentModel: createState(defaultBaseState(), documentModel),\n} as const satisfies DocumentModelModule<ProcessorModulePHState>;\n"],"mappings":"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"}
|