@powerhousedao/vetra 6.0.2-staging.9 → 6.1.0-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app-module-D_cAVvt0.js +48 -0
- package/dist/app-module-D_cAVvt0.js.map +1 -0
- package/dist/codegen/index.d.ts +117 -0
- package/dist/codegen/index.d.ts.map +1 -0
- package/dist/codegen/index.js +793 -0
- package/dist/codegen/index.js.map +1 -0
- package/dist/{connect-CTIucT0o.js → connect-BRlVKs1s.js} +1 -1
- package/dist/{connect-CTIucT0o.js.map → connect-BRlVKs1s.js.map} +1 -1
- package/dist/document-editor-1NFr9t3a.js +48 -0
- package/dist/document-editor-1NFr9t3a.js.map +1 -0
- package/dist/document-models/app-module/index.d.ts +1 -1
- package/dist/document-models/app-module/index.js +4 -2
- package/dist/document-models/document-editor/index.d.ts +1 -1
- package/dist/document-models/document-editor/index.js +4 -2
- package/dist/document-models/index.d.ts +5 -5
- package/dist/document-models/index.js +5 -5
- package/dist/document-models/processor-module/index.d.ts +1 -1
- package/dist/document-models/processor-module/index.js +4 -2
- package/dist/document-models/subgraph-module/index.d.ts +1 -1
- package/dist/document-models/subgraph-module/index.js +4 -2
- package/dist/document-models/vetra-package/index.d.ts +1 -1
- package/dist/document-models/vetra-package/index.js +2 -2
- package/dist/{editor-CbtrPBTP.js → editor-BwbJ65NZ.js} +4 -4
- package/dist/{editor-CbtrPBTP.js.map → editor-BwbJ65NZ.js.map} +1 -1
- package/dist/{editor-BSQfwcdz.js → editor-CJAn9WTA.js} +4 -4
- package/dist/{editor-BSQfwcdz.js.map → editor-CJAn9WTA.js.map} +1 -1
- package/dist/{editor-D70FYIwV.js → editor-CLERZjRS.js} +1 -1
- package/dist/{editor-D70FYIwV.js.map → editor-CLERZjRS.js.map} +1 -1
- package/dist/{editor-Dtg8STyT.js → editor-DWufJcmG.js} +4 -4
- package/dist/{editor-Dtg8STyT.js.map → editor-DWufJcmG.js.map} +1 -1
- package/dist/{editor-SfVorwsP.js → editor-DabfMxkF.js} +4 -4
- package/dist/{editor-SfVorwsP.js.map → editor-DabfMxkF.js.map} +1 -1
- package/dist/{editor-Bku8e2dr.js → editor-WWMGVelM.js} +4 -4
- package/dist/{editor-Bku8e2dr.js.map → editor-WWMGVelM.js.map} +1 -1
- package/dist/editors/hooks/index.js +1 -1
- package/dist/editors/index.js +1 -1
- package/dist/{factory-D8ZDOMP3.js → factory-Bd_0OaF8.js} +2 -2
- package/dist/{factory-D8ZDOMP3.js.map → factory-Bd_0OaF8.js.map} +1 -1
- package/dist/{factory-CweZppg6.js → factory-CEzh-u5J.js} +7 -7
- package/dist/factory-CEzh-u5J.js.map +1 -0
- package/dist/{hooks-Xexr33XS.js → hooks-Btogj1f0.js} +1 -1
- package/dist/{hooks-Xexr33XS.js.map → hooks-Btogj1f0.js.map} +1 -1
- package/dist/{module-BYEvqA47.d.ts → index-BPoF8P3O.d.ts} +57 -57
- package/dist/index-BPoF8P3O.d.ts.map +1 -0
- package/dist/{module-CpP8D2Hl.d.ts → index-BoGed4Fa.d.ts} +88 -88
- package/dist/index-BoGed4Fa.d.ts.map +1 -0
- package/dist/{index-BfK0fsx4.d.ts → index-C4s0aLv3.d.ts} +49 -49
- package/dist/index-C4s0aLv3.d.ts.map +1 -0
- package/dist/{index-BdmD5tsW.d.ts → index-ClaOdn_F.d.ts} +46 -46
- package/dist/index-ClaOdn_F.d.ts.map +1 -0
- package/dist/index.d.ts +5 -5
- package/dist/index.js +6 -6
- package/dist/{logger-BLNtquAC.js → logger-CYkStoEb.js} +1 -1
- package/dist/{logger-BLNtquAC.js.map → logger-CYkStoEb.js.map} +1 -1
- package/dist/module-DPyV2vUY.js +138 -0
- package/dist/module-DPyV2vUY.js.map +1 -0
- package/dist/{module-CCqD26Hf.d.ts → module-Drla4Vmn.d.ts} +1 -1
- package/dist/{module-CCqD26Hf.d.ts.map → module-Drla4Vmn.d.ts.map} +1 -1
- package/dist/{module-CZLiUtDI.js → module-dDKBr6QY.js} +1 -1
- package/dist/{module-CZLiUtDI.js.map → module-dDKBr6QY.js.map} +1 -1
- package/dist/{module-CXIFrq-R.js → module-jWN6gsmi.js} +7 -7
- package/dist/{module-CXIFrq-R.js.map → module-jWN6gsmi.js.map} +1 -1
- package/dist/module-pK0hpO6c.js +131 -0
- package/dist/module-pK0hpO6c.js.map +1 -0
- package/dist/module-ryHOwQp-.js +105 -0
- package/dist/module-ryHOwQp-.js.map +1 -0
- package/dist/module-x2Liyk0-.js +80 -0
- package/dist/module-x2Liyk0-.js.map +1 -0
- package/dist/ph-factories-B0_E6LY6.js +53 -0
- package/dist/ph-factories-B0_E6LY6.js.map +1 -0
- package/dist/ph-factories-B6PSPkPQ.js +52 -0
- package/dist/ph-factories-B6PSPkPQ.js.map +1 -0
- package/dist/ph-factories-Bn_HTUfT.js +50 -0
- package/dist/ph-factories-Bn_HTUfT.js.map +1 -0
- package/dist/ph-factories-CJXfT_Z1.js +51 -0
- package/dist/ph-factories-CJXfT_Z1.js.map +1 -0
- package/dist/processor-module-B7IAItXQ.js +48 -0
- package/dist/processor-module-B7IAItXQ.js.map +1 -0
- package/dist/processors/codegen/index.d.ts +3 -21305
- package/dist/processors/codegen/index.d.ts.map +1 -1
- package/dist/processors/codegen/index.js +1 -1
- package/dist/processors/index.js +1 -1
- package/dist/processors/vetra-read-model/index.js +1 -1
- package/dist/subgraph-module-CfzSZTNC.js +48 -0
- package/dist/subgraph-module-CfzSZTNC.js.map +1 -0
- package/dist/switchboard-CIUZkhea.js +8 -0
- package/dist/{switchboard-JOTFVXuj.js.map → switchboard-CIUZkhea.js.map} +1 -1
- package/dist/{useVetraDocument-DoAwvHVi.js → useVetraDocument-BQKyels4.js} +1 -1
- package/dist/{useVetraDocument-DoAwvHVi.js.map → useVetraDocument-BQKyels4.js.map} +1 -1
- package/dist/{module-CTPfENDU.js → utils-BRx88WW3.js} +5 -130
- package/dist/utils-BRx88WW3.js.map +1 -0
- package/dist/{module-BWlCj_0C.js → utils-Byjf33qt.js} +5 -137
- package/dist/utils-Byjf33qt.js.map +1 -0
- package/dist/{module-BoGgbKmO.js → utils-CWO5kDus.js} +5 -79
- package/dist/utils-CWO5kDus.js.map +1 -0
- package/dist/{module-D0SK3Nds.js → utils-CnZc-0E4.js} +5 -104
- package/dist/utils-CnZc-0E4.js.map +1 -0
- package/dist/{vetra-package-YNLxEA-U.js → vetra-package-BgTjv343.js} +2 -2
- package/dist/{vetra-package-YNLxEA-U.js.map → vetra-package-BgTjv343.js.map} +1 -1
- package/package.json +12 -8
- package/dist/app-module-Bbj7PI-S.js +0 -94
- package/dist/app-module-Bbj7PI-S.js.map +0 -1
- package/dist/document-editor-DS-bZMKx.js +0 -93
- package/dist/document-editor-DS-bZMKx.js.map +0 -1
- package/dist/factory-CweZppg6.js.map +0 -1
- package/dist/index-BdmD5tsW.d.ts.map +0 -1
- package/dist/index-BfK0fsx4.d.ts.map +0 -1
- package/dist/module-BWlCj_0C.js.map +0 -1
- package/dist/module-BYEvqA47.d.ts.map +0 -1
- package/dist/module-BoGgbKmO.js.map +0 -1
- package/dist/module-CTPfENDU.js.map +0 -1
- package/dist/module-CpP8D2Hl.d.ts.map +0 -1
- package/dist/module-D0SK3Nds.js.map +0 -1
- package/dist/processor-module-D0lRrrpW.js +0 -95
- package/dist/processor-module-D0lRrrpW.js.map +0 -1
- package/dist/subgraph-module-B3ipwOza.js +0 -92
- package/dist/subgraph-module-B3ipwOza.js.map +0 -1
- package/dist/switchboard-JOTFVXuj.js +0 -8
|
@@ -4,28 +4,6 @@ import * as z$1 from "zod";
|
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import { DocumentDispatch } from "@powerhousedao/reactor-browser";
|
|
6
6
|
|
|
7
|
-
//#region document-models/document-editor/v1/actions.d.ts
|
|
8
|
-
/** Actions for the DocumentEditor document model */
|
|
9
|
-
declare const actions: {
|
|
10
|
-
setEditorName: (input: SetEditorNameInput) => SetEditorNameAction;
|
|
11
|
-
addDocumentType: (input: AddDocumentTypeInput) => AddDocumentTypeAction;
|
|
12
|
-
removeDocumentType: (input: RemoveDocumentTypeInput) => RemoveDocumentTypeAction;
|
|
13
|
-
setEditorStatus: (input: SetEditorStatusInput) => SetEditorStatusAction;
|
|
14
|
-
setName: (name: string | {
|
|
15
|
-
name: string;
|
|
16
|
-
}) => document_model0.SetNameAction;
|
|
17
|
-
setPreferredEditor: (input: string | null | {
|
|
18
|
-
preferredEditor: string | null;
|
|
19
|
-
}) => document_model0.SetPreferredEditorAction;
|
|
20
|
-
undo: (count?: number, scope?: string) => document_model0.UndoAction;
|
|
21
|
-
redo: (count?: number, scope?: string) => document_model0.RedoAction;
|
|
22
|
-
prune: (start?: number, end?: number, scope?: string) => document_model0.SchemaPruneAction;
|
|
23
|
-
loadState: <TState extends document_model0.PHBaseState = document_model0.PHBaseState>(state: TState & {
|
|
24
|
-
name: string;
|
|
25
|
-
}, operations: number) => document_model0.LoadStateAction;
|
|
26
|
-
noop: (scope?: string) => document_model0.NOOPAction;
|
|
27
|
-
};
|
|
28
|
-
//#endregion
|
|
29
7
|
//#region document-models/document-editor/v1/gen/schema/types.d.ts
|
|
30
8
|
type Maybe<T> = T | null | undefined;
|
|
31
9
|
type InputMaybe<T> = T | null | undefined;
|
|
@@ -324,28 +302,27 @@ declare function createDocumentEditorDocument(state?: Partial<{
|
|
|
324
302
|
local?: Partial<DocumentEditorLocalState>;
|
|
325
303
|
}>): DocumentEditorDocument;
|
|
326
304
|
//#endregion
|
|
327
|
-
//#region document-models/document-editor/v1/
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
declare const initialLocalState: DocumentEditorLocalState;
|
|
305
|
+
//#region document-models/document-editor/v1/actions.d.ts
|
|
306
|
+
/** Actions for the DocumentEditor document model */
|
|
307
|
+
declare const actions: {
|
|
308
|
+
setEditorName: (input: SetEditorNameInput) => SetEditorNameAction;
|
|
309
|
+
addDocumentType: (input: AddDocumentTypeInput) => AddDocumentTypeAction;
|
|
310
|
+
removeDocumentType: (input: RemoveDocumentTypeInput) => RemoveDocumentTypeAction;
|
|
311
|
+
setEditorStatus: (input: SetEditorStatusInput) => SetEditorStatusAction;
|
|
312
|
+
setName: (name: string | {
|
|
313
|
+
name: string;
|
|
314
|
+
}) => document_model0.SetNameAction;
|
|
315
|
+
setPreferredEditor: (input: string | null | {
|
|
316
|
+
preferredEditor: string | null;
|
|
317
|
+
}) => document_model0.SetPreferredEditorAction;
|
|
318
|
+
undo: (count?: number, scope?: string) => document_model0.UndoAction;
|
|
319
|
+
redo: (count?: number, scope?: string) => document_model0.RedoAction;
|
|
320
|
+
prune: (start?: number, end?: number, scope?: string) => document_model0.SchemaPruneAction;
|
|
321
|
+
loadState: <TState extends document_model0.PHBaseState = document_model0.PHBaseState>(state: TState & {
|
|
322
|
+
name: string;
|
|
323
|
+
}, operations: number) => document_model0.LoadStateAction;
|
|
324
|
+
noop: (scope?: string) => document_model0.NOOPAction;
|
|
325
|
+
};
|
|
349
326
|
//#endregion
|
|
350
327
|
//#region document-models/document-editor/v1/hooks.d.ts
|
|
351
328
|
/** Hook to get a DocumentEditor document by its id */
|
|
@@ -389,5 +366,28 @@ declare const DocumentEditor: {
|
|
|
389
366
|
/** Utils for the DocumentEditor document model */
|
|
390
367
|
declare const utils: DocumentModelUtils<DocumentEditorPHState>;
|
|
391
368
|
//#endregion
|
|
392
|
-
|
|
393
|
-
|
|
369
|
+
//#region document-models/document-editor/v1/gen/reducer.d.ts
|
|
370
|
+
declare const reducer: Reducer<DocumentEditorPHState>;
|
|
371
|
+
//#endregion
|
|
372
|
+
//#region document-models/document-editor/v1/gen/schema/zod.d.ts
|
|
373
|
+
type Properties<T> = Required<{ [K in keyof T]: z$1.ZodType<T[K]> }>;
|
|
374
|
+
type definedNonNullAny = {};
|
|
375
|
+
declare const isDefinedNonNullAny: (v: any) => v is definedNonNullAny;
|
|
376
|
+
declare const definedNonNullAnySchema: z$1.ZodAny & z$1.ZodType<definedNonNullAny, any, z$1.core.$ZodTypeInternals<definedNonNullAny, any>>;
|
|
377
|
+
declare const StatusTypeSchema: z$1.ZodEnum<{
|
|
378
|
+
CONFIRMED: "CONFIRMED";
|
|
379
|
+
DRAFT: "DRAFT";
|
|
380
|
+
}>;
|
|
381
|
+
declare function AddDocumentTypeInputSchema(): z$1.ZodObject<Properties<AddDocumentTypeInput>>;
|
|
382
|
+
declare function DocumentEditorStateSchema(): z$1.ZodObject<Properties<DocumentEditorState>>;
|
|
383
|
+
declare function DocumentTypeItemSchema(): z$1.ZodObject<Properties<DocumentTypeItem>>;
|
|
384
|
+
declare function RemoveDocumentTypeInputSchema(): z$1.ZodObject<Properties<RemoveDocumentTypeInput>>;
|
|
385
|
+
declare function SetEditorNameInputSchema(): z$1.ZodObject<Properties<SetEditorNameInput>>;
|
|
386
|
+
declare function SetEditorStatusInputSchema(): z$1.ZodObject<Properties<SetEditorStatusInput>>;
|
|
387
|
+
//#endregion
|
|
388
|
+
//#region document-models/document-editor/v1/gen/utils.d.ts
|
|
389
|
+
declare const initialGlobalState: DocumentEditorState;
|
|
390
|
+
declare const initialLocalState: DocumentEditorLocalState;
|
|
391
|
+
//#endregion
|
|
392
|
+
export { Exact as $, assertIsDocumentEditorState as A, DocumentEditorBaseOperationsOperations as B, defaultLocalState as C, DocumentEditorDocumentSchema as D, DocumentEditorDocumentHeaderSchema as E, creators_d_exports as F, SetEditorNameAction as G, AddDocumentTypeAction as H, removeDocumentType as I, DocumentEditorLocalState as J, SetEditorStatusAction as K, setEditorName as L, isDocumentEditorState as M, documentModel as N, DocumentEditorPHStateSchema as O, addDocumentType as P, DocumentTypeItem as Q, setEditorStatus as R, defaultGlobalState as S, documentEditorDocumentType as T, DocumentEditorBaseOperationsAction as U, DocumentEditorAction as V, RemoveDocumentTypeAction as W, AddDocumentTypeInput as X, DocumentEditorPHState as Y, DocumentEditorState as Z, useDocumentEditorDocumentsInSelectedFolder as _, DocumentTypeItemSchema as a, Maybe as at, createDocumentEditorDocument as b, SetEditorStatusInputSchema as c, SetEditorNameInput as ct, isDefinedNonNullAny as d, Incremental as et, reducer as f, useDocumentEditorDocumentsInSelectedDrive as g, useDocumentEditorDocumentById as h, DocumentEditorStateSchema as i, MakeOptional as it, isDocumentEditorDocument as j, assertIsDocumentEditorDocument as k, StatusTypeSchema as l, SetEditorStatusInput as lt, DocumentEditor as m, initialLocalState as n, MakeEmpty as nt, RemoveDocumentTypeInputSchema as o, RemoveDocumentTypeInput as ot, utils as p, DocumentEditorDocument as q, AddDocumentTypeInputSchema as r, MakeMaybe as rt, SetEditorNameInputSchema as s, Scalars as st, initialGlobalState as t, InputMaybe as tt, definedNonNullAnySchema as u, StatusType as ut, useSelectedDocumentEditorDocument as v, defaultPHState as w, createState$1 as x, actions as y, DocumentEditorController as z };
|
|
393
|
+
//# sourceMappingURL=index-ClaOdn_F.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-ClaOdn_F.d.ts","names":[],"sources":["../document-models/document-editor/v1/gen/schema/types.ts","../document-models/document-editor/v1/gen/types.ts","../document-models/document-editor/v1/gen/base-operations/actions.ts","../document-models/document-editor/v1/gen/actions.ts","../document-models/document-editor/v1/gen/base-operations/operations.ts","../document-models/document-editor/v1/gen/controller.ts","../document-models/document-editor/v1/gen/base-operations/creators.ts","../document-models/document-editor/v1/gen/document-model.ts","../document-models/document-editor/v1/gen/document-schema.ts","../document-models/document-editor/v1/gen/document-type.ts","../document-models/document-editor/v1/gen/ph-factories.ts","../document-models/document-editor/v1/actions.ts","../document-models/document-editor/v1/hooks.ts","../document-models/document-editor/v1/module.ts","../document-models/document-editor/v1/utils.ts","../document-models/document-editor/v1/g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A;;;;iBAEb,0BAAA,CAAA,GAA8B,GAAA,CAAE,SAAA,CAC9C,UAAA,CAAW,oBAAA;AAAA,iBAQG,yBAAA,CAAA,GAA6B,GAAA,CAAE,SAAA,CAC7C,UAAA,CAAW,mBAAA;AAAA,iBAUG,sBAAA,CAAA,GAA0B,GAAA,CAAE,SAAA,CAC1C,UAAA,CAAW,gBAAA;AAAA,iBASG,6BAAA,CAAA,GAAiC,GAAA,CAAE,SAAA,CACjD,UAAA,CAAW,uBAAA;AAAA,iBAOG,wBAAA,CAAA,GAA4B,GAAA,CAAE,SAAA,CAC5C,UAAA,CAAW,kBAAA;AAAA,iBAOG,0BAAA,CAAA,GAA8B,GAAA,CAAE,SAAA,CAC9C,UAAA,CAAW,oBAAA;;;cCjDA,kBAAA,EAAoB,mBAAA;AAAA,cAKpB,iBAAA,EAAmB,wBAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { G as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { At as SetPackageDescriptionAction, Dt as SetPackageAuthorNameAction, Et as SetPackageAuthorAction, Mt as SetPackageNameAction, Nt as SetPackageNpmUrlAction, Ot as SetPackageAuthorWebsiteAction, Tt as RemovePackageKeywordAction, _t as SetPackageCategoryInput, bt as SetPackageNameInput, ft as RemovePackageKeywordInput, gt as SetPackageAuthorWebsiteInput, ht as SetPackageAuthorNameInput, jt as SetPackageGithubUrlAction, kt as SetPackageCategoryAction, mt as SetPackageAuthorInput, nt as AddPackageKeywordInput, tt as VetraPackagePHState, vt as SetPackageDescriptionInput, wt as AddPackageKeywordAction, xt as SetPackageNpmUrlInput, yt as SetPackageGithubUrlInput } from "./module-
|
|
1
|
+
import { $ as SetAppStatusAction, J as SetDragAndDropEnabledAction, Q as SetAppNameAction, Y as AddDocumentTypeAction, Z as RemoveDocumentTypeAction, _t as SetDocumentTypesInput, et as SetDocumentTypesAction, gt as SetAppStatusInput, ht as SetAppNameInput, it as AddDocumentTypeInput, pt as RemoveDocumentTypeInput, rt as AppModulePHState, vt as SetDragAndDropEnabledInput } from "./index-C4s0aLv3.js";
|
|
2
|
+
import { G as SetEditorNameAction, H as AddDocumentTypeAction$1, K as SetEditorStatusAction, W as RemoveDocumentTypeAction$1, X as AddDocumentTypeInput$1, Y as DocumentEditorPHState, ct as SetEditorNameInput, lt as SetEditorStatusInput, ot as RemoveDocumentTypeInput$1 } from "./index-ClaOdn_F.js";
|
|
3
|
+
import { $ as SetProcessorNameAction, J as AddDocumentTypeAction$2, Q as RemoveProcessorAppAction, Y as AddProcessorAppAction, Z as RemoveDocumentTypeAction$2, _t as RemoveProcessorAppInput, at as AddDocumentTypeInput$2, bt as SetProcessorStatusInput, et as SetProcessorStatusAction, gt as RemoveDocumentTypeInput$2, it as ProcessorModulePHState, ot as AddProcessorAppInput, tt as SetProcessorTypeAction, xt as SetProcessorTypeInput, yt as SetProcessorNameInput } from "./index-BoGed4Fa.js";
|
|
4
|
+
import { H as SubgraphModulePHState, L as SetSubgraphNameAction, Q as SetSubgraphStatusInput, R as SetSubgraphStatusAction, Z as SetSubgraphNameInput } from "./index-BPoF8P3O.js";
|
|
5
|
+
import { At as SetPackageDescriptionAction, Dt as SetPackageAuthorNameAction, Et as SetPackageAuthorAction, Mt as SetPackageNameAction, Nt as SetPackageNpmUrlAction, Ot as SetPackageAuthorWebsiteAction, Tt as RemovePackageKeywordAction, _t as SetPackageCategoryInput, bt as SetPackageNameInput, ft as RemovePackageKeywordInput, gt as SetPackageAuthorWebsiteInput, ht as SetPackageAuthorNameInput, jt as SetPackageGithubUrlAction, kt as SetPackageCategoryAction, mt as SetPackageAuthorInput, nt as AddPackageKeywordInput, tt as VetraPackagePHState, vt as SetPackageDescriptionInput, wt as AddPackageKeywordAction, xt as SetPackageNpmUrlInput, yt as SetPackageGithubUrlInput } from "./module-Drla4Vmn.js";
|
|
6
6
|
import * as document_model0 from "document-model";
|
|
7
7
|
import { EditorModule } from "document-model";
|
|
8
8
|
import { Manifest } from "@powerhousedao/shared/document-model";
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import powerhouse_manifest_default from "./powerhouse.manifest.js";
|
|
2
|
-
import { t as AppModule } from "./module-
|
|
3
|
-
import { t as DocumentEditor } from "./module-
|
|
4
|
-
import { t as ProcessorModule } from "./module-
|
|
5
|
-
import { t as SubgraphModule } from "./module-
|
|
6
|
-
import { t as VetraPackage } from "./module-
|
|
7
|
-
import { a as DocumentEditorEditor, i as ProcessorModuleEditor, n as VetraDriveApp, o as AppEditor, r as SubgraphModuleEditor, t as VetraPackageEditor } from "./module-
|
|
2
|
+
import { t as AppModule } from "./module-pK0hpO6c.js";
|
|
3
|
+
import { t as DocumentEditor } from "./module-ryHOwQp-.js";
|
|
4
|
+
import { t as ProcessorModule } from "./module-DPyV2vUY.js";
|
|
5
|
+
import { t as SubgraphModule } from "./module-x2Liyk0-.js";
|
|
6
|
+
import { t as VetraPackage } from "./module-dDKBr6QY.js";
|
|
7
|
+
import { a as DocumentEditorEditor, i as ProcessorModuleEditor, n as VetraDriveApp, o as AppEditor, r as SubgraphModuleEditor, t as VetraPackageEditor } from "./module-jWN6gsmi.js";
|
|
8
8
|
//#region document-models/document-models.ts
|
|
9
9
|
/**
|
|
10
10
|
* WARNING: DO NOT EDIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger-
|
|
1
|
+
{"version":3,"file":"logger-CYkStoEb.js","names":[],"sources":["../processors/codegen/logger.ts"],"sourcesContent":["import { childLogger } from \"document-model\";\n\nconst baseLogger = childLogger([\"Vetra\"]);\n\nfunction formatArgs(args: unknown[]): string {\n return args\n .map((arg) => {\n if (typeof arg === \"string\") return arg;\n if (arg instanceof Error) return arg.message;\n if (arg != null && typeof arg === \"object\") return JSON.stringify(arg);\n return `${arg as string | number | boolean}`;\n })\n .join(\" \");\n}\n\nexport const logger = {\n debug: (...args: unknown[]): void => baseLogger.debug(formatArgs(args)),\n info: (...args: unknown[]): void => baseLogger.info(formatArgs(args)),\n warn: (...args: unknown[]): void => baseLogger.warn(formatArgs(args)),\n error: (...args: unknown[]): void => baseLogger.error(formatArgs(args)),\n};\n"],"mappings":";;AAEA,MAAM,aAAa,YAAY,CAAC,QAAQ,CAAC;AAEzC,SAAS,WAAW,MAAyB;AAC3C,QAAO,KACJ,KAAK,QAAQ;AACZ,MAAI,OAAO,QAAQ,SAAU,QAAO;AACpC,MAAI,eAAe,MAAO,QAAO,IAAI;AACrC,MAAI,OAAO,QAAQ,OAAO,QAAQ,SAAU,QAAO,KAAK,UAAU,IAAI;AACtE,SAAO,GAAG;GACV,CACD,KAAK,IAAI;;AAGd,MAAa,SAAS;CACpB,QAAQ,GAAG,SAA0B,WAAW,MAAM,WAAW,KAAK,CAAC;CACvE,OAAO,GAAG,SAA0B,WAAW,KAAK,WAAW,KAAK,CAAC;CACrE,OAAO,GAAG,SAA0B,WAAW,KAAK,WAAW,KAAK,CAAC;CACrE,QAAQ,GAAG,SAA0B,WAAW,MAAM,WAAW,KAAK,CAAC;CACxE"}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { t as __exportAll } from "./chunk-pbuEa-1d.js";
|
|
2
|
+
import { f as reducer, p as actions, r as utils$1 } from "./utils-Byjf33qt.js";
|
|
3
|
+
import { createState, defaultBaseState } from "document-model";
|
|
4
|
+
//#region document-models/processor-module/v1/gen/document-model.ts
|
|
5
|
+
const documentModel = {
|
|
6
|
+
id: "powerhouse/processor",
|
|
7
|
+
name: "Processor Module",
|
|
8
|
+
author: {
|
|
9
|
+
name: "Powerhouse",
|
|
10
|
+
website: "https://powerhouse.inc"
|
|
11
|
+
},
|
|
12
|
+
extension: ".processor",
|
|
13
|
+
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/`.",
|
|
14
|
+
specifications: [{
|
|
15
|
+
state: {
|
|
16
|
+
local: {
|
|
17
|
+
schema: "",
|
|
18
|
+
examples: [],
|
|
19
|
+
initialValue: ""
|
|
20
|
+
},
|
|
21
|
+
global: {
|
|
22
|
+
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}",
|
|
23
|
+
examples: [],
|
|
24
|
+
initialValue: "{\n \"name\": \"\",\n \"type\": \"\",\n \"documentTypes\": [],\n \"status\": \"DRAFT\",\n \"processorApps\": []\n}"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
modules: [{
|
|
28
|
+
id: "91ad39c1-4e8b-4127-b3c8-e835b85e6360",
|
|
29
|
+
name: "base_operations",
|
|
30
|
+
description: "Set the processor's identity, kind, lifecycle status, subscribed document types, and attached drive apps.",
|
|
31
|
+
operations: [
|
|
32
|
+
{
|
|
33
|
+
id: "6f3a5c90-39f2-4302-a073-6195a71c5054",
|
|
34
|
+
name: "SET_PROCESSOR_NAME",
|
|
35
|
+
description: "Set the display name of the processor. Also determines the generated folder name under `processors/`.",
|
|
36
|
+
schema: "input SetProcessorNameInput {\n name: String!\n}",
|
|
37
|
+
template: "",
|
|
38
|
+
reducer: "",
|
|
39
|
+
errors: [],
|
|
40
|
+
examples: [],
|
|
41
|
+
scope: "global"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
id: "b8f28bb4-c6ae-40e6-86fa-29ef14ff8667",
|
|
45
|
+
name: "SET_PROCESSOR_TYPE",
|
|
46
|
+
description: "Set the processor implementation kind (e.g. 'read-model', 'relational-db'). Determines which scaffold codegen emits.",
|
|
47
|
+
schema: "input SetProcessorTypeInput {\n type: String!\n}",
|
|
48
|
+
template: "",
|
|
49
|
+
reducer: "",
|
|
50
|
+
errors: [],
|
|
51
|
+
examples: [],
|
|
52
|
+
scope: "global"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
id: "fbbd7a71-c495-4efc-b8f6-1e57798dbbb4",
|
|
56
|
+
name: "ADD_DOCUMENT_TYPE",
|
|
57
|
+
description: "Subscribe the processor to a document type. Caller supplies a stable id so the entry can be removed later.",
|
|
58
|
+
schema: "input AddDocumentTypeInput {\n id: OID!\n documentType: String!\n}",
|
|
59
|
+
template: "",
|
|
60
|
+
reducer: "",
|
|
61
|
+
errors: [],
|
|
62
|
+
examples: [],
|
|
63
|
+
scope: "global"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
id: "544d413f-423c-4d97-9570-84a19bffeab9",
|
|
67
|
+
name: "REMOVE_DOCUMENT_TYPE",
|
|
68
|
+
description: "Unsubscribe the processor from a document type by removing its entry id.",
|
|
69
|
+
schema: "input RemoveDocumentTypeInput {\n id: OID!\n}",
|
|
70
|
+
template: "",
|
|
71
|
+
reducer: "",
|
|
72
|
+
errors: [],
|
|
73
|
+
examples: [],
|
|
74
|
+
scope: "global"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
id: "df5eb500-7308-498c-9b80-028878ee198b",
|
|
78
|
+
name: "ADD_PROCESSOR_APP",
|
|
79
|
+
description: "Attach the processor to a drive app by name. The processor will run in the context of that app.",
|
|
80
|
+
schema: "input AddProcessorAppInput {\n processorApp: String!\n}",
|
|
81
|
+
template: "",
|
|
82
|
+
reducer: "",
|
|
83
|
+
errors: [],
|
|
84
|
+
examples: [],
|
|
85
|
+
scope: "global"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
id: "07e4168f-1a7b-41ef-953d-219028be7bb9",
|
|
89
|
+
name: "REMOVE_PROCESSOR_APP",
|
|
90
|
+
description: "Detach the processor from a drive app by name. No-op if the app is not currently attached.",
|
|
91
|
+
schema: "input RemoveProcessorAppInput {\n processorApp: String!\n}",
|
|
92
|
+
template: "",
|
|
93
|
+
reducer: "",
|
|
94
|
+
errors: [],
|
|
95
|
+
examples: [],
|
|
96
|
+
scope: "global"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
id: "7b6706eb-5e25-4d64-829a-e3a251380fd1",
|
|
100
|
+
name: "SET_PROCESSOR_STATUS",
|
|
101
|
+
description: "Move the processor between DRAFT and CONFIRMED. Codegen only runs once the status is CONFIRMED.",
|
|
102
|
+
schema: "input SetProcessorStatusInput {\n status: StatusType!\n}",
|
|
103
|
+
template: "",
|
|
104
|
+
reducer: "",
|
|
105
|
+
errors: [],
|
|
106
|
+
examples: [],
|
|
107
|
+
scope: "global"
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
}],
|
|
111
|
+
version: 1,
|
|
112
|
+
changeLog: []
|
|
113
|
+
}]
|
|
114
|
+
};
|
|
115
|
+
//#endregion
|
|
116
|
+
//#region document-models/processor-module/v1/src/utils.ts
|
|
117
|
+
var utils_exports = /* @__PURE__ */ __exportAll({});
|
|
118
|
+
//#endregion
|
|
119
|
+
//#region document-models/processor-module/v1/utils.ts
|
|
120
|
+
/** Utils for the ProcessorModule document model */
|
|
121
|
+
const utils = {
|
|
122
|
+
...utils$1,
|
|
123
|
+
...utils_exports
|
|
124
|
+
};
|
|
125
|
+
//#endregion
|
|
126
|
+
//#region document-models/processor-module/v1/module.ts
|
|
127
|
+
/** Document model module for the ProcessorModule document type */
|
|
128
|
+
const ProcessorModule = {
|
|
129
|
+
version: 1,
|
|
130
|
+
reducer,
|
|
131
|
+
actions,
|
|
132
|
+
utils,
|
|
133
|
+
documentModel: createState(defaultBaseState(), documentModel)
|
|
134
|
+
};
|
|
135
|
+
//#endregion
|
|
136
|
+
export { utils as n, documentModel as r, ProcessorModule as t };
|
|
137
|
+
|
|
138
|
+
//# sourceMappingURL=module-DPyV2vUY.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module-DPyV2vUY.js","names":["genUtils","customUtils"],"sources":["../document-models/processor-module/v1/gen/document-model.ts","../document-models/processor-module/v1/src/utils.ts","../document-models/processor-module/v1/utils.ts","../document-models/processor-module/v1/module.ts"],"sourcesContent":["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","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":";;;;AAEA,MAAa,gBAA0C;CACrD,IAAI;CACJ,MAAM;CACN,QAAQ;EACN,MAAM;EACN,SAAS;EACV;CACD,WAAW;CACX,aACE;CACF,gBAAgB,CACd;EACE,OAAO;GACL,OAAO;IACL,QAAQ;IACR,UAAU,EAAE;IACZ,cAAc;IACf;GACD,QAAQ;IACN,QACE;IACF,UAAU,EAAE;IACZ,cACE;IACH;GACF;EACD,SAAS,CACP;GACE,IAAI;GACJ,MAAM;GACN,aACE;GACF,YAAY;IACV;KACE,IAAI;KACJ,MAAM;KACN,aACE;KACF,QAAQ;KACR,UAAU;KACV,SAAS;KACT,QAAQ,EAAE;KACV,UAAU,EAAE;KACZ,OAAO;KACR;IACD;KACE,IAAI;KACJ,MAAM;KACN,aACE;KACF,QAAQ;KACR,UAAU;KACV,SAAS;KACT,QAAQ,EAAE;KACV,UAAU,EAAE;KACZ,OAAO;KACR;IACD;KACE,IAAI;KACJ,MAAM;KACN,aACE;KACF,QACE;KACF,UAAU;KACV,SAAS;KACT,QAAQ,EAAE;KACV,UAAU,EAAE;KACZ,OAAO;KACR;IACD;KACE,IAAI;KACJ,MAAM;KACN,aACE;KACF,QAAQ;KACR,UAAU;KACV,SAAS;KACT,QAAQ,EAAE;KACV,UAAU,EAAE;KACZ,OAAO;KACR;IACD;KACE,IAAI;KACJ,MAAM;KACN,aACE;KACF,QACE;KACF,UAAU;KACV,SAAS;KACT,QAAQ,EAAE;KACV,UAAU,EAAE;KACZ,OAAO;KACR;IACD;KACE,IAAI;KACJ,MAAM;KACN,aACE;KACF,QACE;KACF,UAAU;KACV,SAAS;KACT,QAAQ,EAAE;KACV,UAAU,EAAE;KACZ,OAAO;KACR;IACD;KACE,IAAI;KACJ,MAAM;KACN,aACE;KACF,QACE;KACF,UAAU;KACV,SAAS;KACT,QAAQ,EAAE;KACV,UAAU,EAAE;KACZ,OAAO;KACR;IACF;GACF,CACF;EACD,SAAS;EACT,WAAW,EAAE;EACd,CACF;CACF;;;;;;;AExHD,MAAa,QAAoD;CAC/D,GAAGA;CACH,GAAGC;CACJ;;;;ACAD,MAAa,kBAAkB;CAC7B,SAAS;CACT;CACA;CACA;CACA,eAAe,YAAY,kBAAkB,EAAE,cAAc;CAC9D"}
|
|
@@ -475,4 +475,4 @@ declare const VetraPackage: {
|
|
|
475
475
|
};
|
|
476
476
|
//#endregion
|
|
477
477
|
export { VetraPackageDocument as $, vetraPackageDocumentType as A, SetPackageDescriptionAction as At, creators_d_exports as B, isDefinedNonNullAny as C, VetraPackageAction as Ct, defaultGlobalState as D, SetPackageAuthorNameAction as Dt, createVetraPackageDocument as E, SetPackageAuthorAction as Et, assertIsVetraPackageState as F, setPackageCategory as G, setPackageAuthor as H, isVetraPackageDocument as I, setPackageName as J, setPackageDescription as K, isVetraPackageState as L, VetraPackageDocumentSchema as M, SetPackageNameAction as Mt, VetraPackagePHStateSchema as N, SetPackageNpmUrlAction as Nt, defaultLocalState as O, SetPackageAuthorWebsiteAction as Ot, assertIsVetraPackageDocument as P, VetraPackageBaseOperationsAction as Pt, actions as Q, documentModel as R, definedNonNullAnySchema as S, VetraPackageState as St, createState$1 as T, RemovePackageKeywordAction as Tt, setPackageAuthorName as U, removePackageKeyword as V, setPackageAuthorWebsite as W, VetraPackageController as X, setPackageNpmUrl as Y, VetraPackageBaseOperationsOperations as Z, SetPackageDescriptionInputSchema as _, SetPackageCategoryInput as _t, useVetraPackageDocumentsInSelectedDrive as a, Incremental as at, SetPackageNpmUrlInputSchema as b, SetPackageNameInput as bt, initialLocalState as c, MakeEmpty as ct, KeywordSchema as d, Maybe as dt, VetraPackageLocalState as et, RemovePackageKeywordInputSchema as f, RemovePackageKeywordInput as ft, SetPackageCategoryInputSchema as g, SetPackageAuthorWebsiteInput as gt, SetPackageAuthorWebsiteInputSchema as h, SetPackageAuthorNameInput as ht, useVetraPackageDocumentById as i, Exact as it, VetraPackageDocumentHeaderSchema as j, SetPackageGithubUrlAction as jt, defaultPHState as k, SetPackageCategoryAction as kt, AddPackageKeywordInputSchema as l, MakeMaybe as lt, SetPackageAuthorNameInputSchema as m, SetPackageAuthorInput as mt, utils as n, AddPackageKeywordInput as nt, useVetraPackageDocumentsInSelectedFolder as o, InputMaybe as ot, SetPackageAuthorInputSchema as p, Scalars as pt, setPackageGithubUrl as q, useSelectedVetraPackageDocument as r, Author as rt, initialGlobalState as s, Keyword as st, VetraPackage as t, VetraPackagePHState as tt, AuthorSchema as u, MakeOptional as ut, SetPackageGithubUrlInputSchema as v, SetPackageDescriptionInput as vt, reducer as w, AddPackageKeywordAction as wt, VetraPackageStateSchema as x, SetPackageNpmUrlInput as xt, SetPackageNameInputSchema as y, SetPackageGithubUrlInput as yt, addPackageKeyword as z };
|
|
478
|
-
//# sourceMappingURL=module-
|
|
478
|
+
//# sourceMappingURL=module-Drla4Vmn.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module-
|
|
1
|
+
{"version":3,"file":"module-Drla4Vmn.d.ts","names":[],"sources":["../document-models/vetra-package/v1/gen/base-operations/actions.ts","../document-models/vetra-package/v1/gen/actions.ts","../document-models/vetra-package/v1/gen/schema/types.ts","../document-models/vetra-package/v1/gen/types.ts","../document-models/vetra-package/v1/actions.ts","../document-models/vetra-package/v1/gen/base-operations/operations.ts","../document-models/vetra-package/v1/gen/controller.ts","../document-models/vetra-package/v1/gen/base-operations/creators.ts","../document-models/vetra-package/v1/gen/document-model.ts","../document-models/vetra-package/v1/gen/document-schema.ts","../document-models/vetra-package/v1/gen/document-type.ts","../document-models/vetra-package/v1/gen/ph-factories.ts","../document-models/vetra-package/v1/gen/reducer.ts","../document-models/vetra-package/v1/gen/schema/zod.ts","../document-models/vetra-package/v1/gen/utils.ts","../document-models/vetra-package/v1/hooks.ts","../document-models/vetra-package/v1/utils.ts","../document-models/vetra-package/v1/module.ts"],"mappings":";;;;;;;KAkBY,oBAAA,GAAuB,MAAA;EACjC,IAAA;EACA,KAAA,EAAO,mBAAA;AAAA;AAAA,KAEG,2BAAA,GAA8B,MAAA;EACxC,IAAA;EACA,KAAA,EAAO,0BAAA;AAAA;AAAA,KAEG,wBAAA,GAA2B,MAAA;EACrC,IAAA;EACA,KAAA,EAAO,uBAAA;AAAA;AAAA,KAEG,sBAAA,GAAyB,MAAA;EACnC,IAAA;EACA,KAAA,EAAO,qBAAA;AAAA;AAAA,KAEG,0BAAA,GAA6B,MAAA;EACvC,IAAA;EACA,KAAA,EAAO,yBAAA;AAAA;AAAA,KAEG,6BAAA,GAAgC,MAAA;EAC1C,IAAA;EACA,KAAA,EAAO,4BAAA;AAAA;AAAA,KAEG,uBAAA,GAA0B,MAAA;EACpC,IAAA;EACA,KAAA,EAAO,sBAAA;AAAA;AAAA,KAEG,0BAAA,GAA6B,MAAA;EACv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AAA,EAAlM,yBAAA,KAAkO,0BAAA;8BAAkN,KAAA,EAAlN,4BAAA,KAAqP,6BAAA;wBAAqN,KAAA,EAArN,sBAAA,KAAkP,uBAAA;2BAAqM,KAAA,EAArM,yBAAA,KAAqO,0BAAA;0BAA6M,KAAA,EAA7M,wBAAA,KAA4O,yBAAA;uBAAwM,KAAA,EAAxM,qBAAA,KAAoO,sBAAA;;;UAAA,eAAA,CAAA,aAAA;;;;2BAAsgR,KAAA,8BAAgB,UAAA;2BAA0C,KAAA,cAA1C,eAAA,CAA0D,UAAA;4BAA2C,GAAA,WAAc,KAAA,cAAzD,eAAA,CAAyE,iBAAA;+BAAA,eAAA,CAAA,WAAA;;;8CAAkM,UAAA;EAAA;EAAA"}
|
|
@@ -454,4 +454,4 @@ const VetraPackage = {
|
|
|
454
454
|
//#endregion
|
|
455
455
|
export { KeywordSchema as A, VetraPackageStateSchema as B, setPackageCategory as C, setPackageNpmUrl as D, setPackageName as E, SetPackageCategoryInputSchema as F, isDefinedNonNullAny as H, SetPackageDescriptionInputSchema as I, SetPackageGithubUrlInputSchema as L, SetPackageAuthorInputSchema as M, SetPackageAuthorNameInputSchema as N, AddPackageKeywordInputSchema as O, SetPackageAuthorWebsiteInputSchema as P, SetPackageNameInputSchema as R, setPackageAuthorWebsite as S, setPackageGithubUrl as T, definedNonNullAnySchema as V, addPackageKeyword as _, utils$1 as a, setPackageAuthor as b, VetraPackagePHStateSchema as c, isVetraPackageDocument as d, isVetraPackageState as f, actions as g, documentModel as h, initialLocalState as i, RemovePackageKeywordInputSchema as j, AuthorSchema as k, assertIsVetraPackageDocument as l, reducer as m, utils as n, VetraPackageDocumentHeaderSchema as o, vetraPackageDocumentType as p, initialGlobalState as r, VetraPackageDocumentSchema as s, VetraPackage as t, assertIsVetraPackageState as u, creators_exports as v, setPackageDescription as w, setPackageAuthorName as x, removePackageKeyword as y, SetPackageNpmUrlInputSchema as z };
|
|
456
456
|
|
|
457
|
-
//# sourceMappingURL=module-
|
|
457
|
+
//# sourceMappingURL=module-dDKBr6QY.js.map
|