@powerhousedao/vetra 6.2.3-dev.5 → 6.2.3-dev.50
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/codegen/index.d.ts +19 -19
- package/dist/codegen/index.d.ts.map +1 -1
- package/dist/codegen/index.js +14 -11
- package/dist/codegen/index.js.map +1 -1
- package/dist/codegen/spec.d.ts +3 -2
- package/dist/codegen/spec.js +1 -1
- package/dist/{connect-qpJ9OUaH.js → connect-EqImHuZ2.js} +1 -1
- package/dist/{connect-qpJ9OUaH.js.map → connect-EqImHuZ2.js.map} +1 -1
- package/dist/document-models/app-module/index.d.ts +29 -6
- package/dist/document-models/app-module/index.d.ts.map +1 -1
- package/dist/document-models/app-module/index.js +4 -4
- package/dist/document-models/app-module/index.js.map +1 -1
- package/dist/document-models/document-editor/index.d.ts +27 -6
- package/dist/document-models/document-editor/index.d.ts.map +1 -1
- package/dist/document-models/document-editor/index.js +4 -4
- package/dist/document-models/document-editor/index.js.map +1 -1
- package/dist/document-models/index.d.ts +7 -6
- package/dist/document-models/index.js +5 -5
- package/dist/document-models/processor-module/index.d.ts +30 -6
- package/dist/document-models/processor-module/index.d.ts.map +1 -1
- package/dist/document-models/processor-module/index.js +4 -4
- package/dist/document-models/processor-module/index.js.map +1 -1
- package/dist/document-models/subgraph-module/index.d.ts +25 -6
- package/dist/document-models/subgraph-module/index.d.ts.map +1 -1
- package/dist/document-models/subgraph-module/index.js +4 -4
- package/dist/document-models/subgraph-module/index.js.map +1 -1
- package/dist/document-models/vetra-package/index.d.ts +33 -6
- package/dist/document-models/vetra-package/index.d.ts.map +1 -1
- package/dist/document-models/vetra-package/index.js +3 -3
- package/dist/{editor-LRAwrgdQ.js → editor-BXOEFIDj.js} +8 -7
- package/dist/editor-BXOEFIDj.js.map +1 -0
- package/dist/{editor-CLbvu3pG.js → editor-C5a0rBQj.js} +5 -5
- package/dist/editor-C5a0rBQj.js.map +1 -0
- package/dist/{editor-_0gdltOt.js → editor-CiX3Tq3g.js} +4 -4
- package/dist/editor-CiX3Tq3g.js.map +1 -0
- package/dist/{editor-C13SvgUy.js → editor-DFEeM_dy.js} +3 -3
- package/dist/editor-DFEeM_dy.js.map +1 -0
- package/dist/{editor-CCdg1mJL.js → editor-DpZVlVN1.js} +4 -4
- package/dist/{editor-CCdg1mJL.js.map → editor-DpZVlVN1.js.map} +1 -1
- package/dist/{editor-Fgw7attg.js → editor-DpadPeVq.js} +25 -25
- package/dist/{editor-Fgw7attg.js.map → editor-DpadPeVq.js.map} +1 -1
- package/dist/editors/components/index.d.ts +3 -3
- package/dist/editors/components/index.d.ts.map +1 -1
- package/dist/editors/components/index.js.map +1 -1
- package/dist/editors/hooks/index.d.ts +3 -3
- package/dist/editors/hooks/index.d.ts.map +1 -1
- package/dist/editors/hooks/index.js +1 -1
- package/dist/editors/index.d.ts +7 -8
- package/dist/editors/index.d.ts.map +1 -1
- package/dist/editors/index.js +1 -1
- package/dist/{factory-5eiZohiv.js → factory-BUuO4fIN.js} +12 -4
- package/dist/factory-BUuO4fIN.js.map +1 -0
- package/dist/{factory-DMl8eB3P.js → factory-BWrWHoS5.js} +3 -3
- package/dist/{factory-DMl8eB3P.js.map → factory-BWrWHoS5.js.map} +1 -1
- package/dist/{hooks-BIgFcbaF.js → hooks-BbxvC-C3.js} +2 -2
- package/dist/{hooks-BIgFcbaF.js.map → hooks-BbxvC-C3.js.map} +1 -1
- package/dist/{index-SB-AtQdU.d.ts → index-B52jv-LY.d.ts} +30 -64
- package/dist/index-B52jv-LY.d.ts.map +1 -0
- package/dist/{index-Dm_gN1DR.d.ts → index-D6Ai0OOc.d.ts} +26 -59
- package/dist/index-D6Ai0OOc.d.ts.map +1 -0
- package/dist/{index-f_um1g-i.d.ts → index-DPG4u1Ym.d.ts} +26 -62
- package/dist/index-DPG4u1Ym.d.ts.map +1 -0
- package/dist/{index-B5ijieNt.d.ts → index-DplUuZMT.d.ts} +21 -55
- package/dist/index-DplUuZMT.d.ts.map +1 -0
- package/dist/index.d.ts +51 -93
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +84 -12
- package/dist/index.js.map +1 -1
- package/dist/{logger-WHD0fyLm.js → logger-BFxMdimR.js} +1 -1
- package/dist/{logger-WHD0fyLm.js.map → logger-BFxMdimR.js.map} +1 -1
- package/dist/{module-Chqkdq4U.js → module-2JZcvfVs.js} +3 -3
- package/dist/{module-Chqkdq4U.js.map → module-2JZcvfVs.js.map} +1 -1
- package/dist/{module-CRq_lUkG.js → module-Caxhis1M.js} +3 -3
- package/dist/{module-CRq_lUkG.js.map → module-Caxhis1M.js.map} +1 -1
- package/dist/{module-DXT-FMxU.js → module-CdpGkPNN.js} +7 -7
- package/dist/{module-DXT-FMxU.js.map → module-CdpGkPNN.js.map} +1 -1
- package/dist/{module-ciAK1LUC.d.ts → module-D4lqkHHK.d.ts} +37 -70
- package/dist/module-D4lqkHHK.d.ts.map +1 -0
- package/dist/{module-bKT_e3CH.js → module-Db8mmgzN.js} +3 -3
- package/dist/{module-bKT_e3CH.js.map → module-Db8mmgzN.js.map} +1 -1
- package/dist/{module-CRfHlbnq.js → module-FXJRy_1W.js} +2 -2
- package/dist/{module-CRfHlbnq.js.map → module-FXJRy_1W.js.map} +1 -1
- package/dist/{module-Bx1OEHxF.js → module-hLzF5tCL.js} +3 -3
- package/dist/{module-Bx1OEHxF.js.map → module-hLzF5tCL.js.map} +1 -1
- package/dist/{ph-factories-CjbIAMgT.js → ph-factories-Bgnr3mK3.js} +2 -2
- package/dist/{ph-factories-CjbIAMgT.js.map → ph-factories-Bgnr3mK3.js.map} +1 -1
- package/dist/{ph-factories-Ce8oAqs9.js → ph-factories-CgoFCmG0.js} +2 -2
- package/dist/{ph-factories-Ce8oAqs9.js.map → ph-factories-CgoFCmG0.js.map} +1 -1
- package/dist/{ph-factories-dVj6mIlR.js → ph-factories-DhLtvC7j.js} +2 -2
- package/dist/{ph-factories-dVj6mIlR.js.map → ph-factories-DhLtvC7j.js.map} +1 -1
- package/dist/{ph-factories-CljTAAVS.js → ph-factories-HuC7_vvF.js} +2 -2
- package/dist/{ph-factories-CljTAAVS.js.map → ph-factories-HuC7_vvF.js.map} +1 -1
- package/dist/powerhouse.manifest.json +76 -0
- package/dist/{processor-trJFuoHh.js → processor-CsiUWh93.js} +11 -4
- package/dist/processor-CsiUWh93.js.map +1 -0
- package/dist/processors/codegen/index.d.ts +3 -4
- package/dist/processors/codegen/index.d.ts.map +1 -1
- package/dist/processors/codegen/index.js +2 -2
- package/dist/processors/index.d.ts +2 -3
- package/dist/processors/index.d.ts.map +1 -1
- package/dist/processors/index.js +1 -1
- package/dist/processors/index.js.map +1 -1
- package/dist/processors/vetra-read-model/index.d.ts +47 -49
- package/dist/processors/vetra-read-model/index.d.ts.map +1 -1
- package/dist/processors/vetra-read-model/index.js +1 -1
- package/dist/{spec-api-DobY5TUJ.js → spec-api-BIJ_jsGp.js} +9 -9
- package/dist/{spec-api-DobY5TUJ.js.map → spec-api-BIJ_jsGp.js.map} +1 -1
- package/dist/{specs-BeVdfCwg.d.ts → specs-DoTSfuxN.d.ts} +7 -4
- package/dist/specs-DoTSfuxN.d.ts.map +1 -0
- package/dist/switchboard-Bug8BWrz.js +8 -0
- package/dist/{switchboard-Bf0uvxSu.js.map → switchboard-Bug8BWrz.js.map} +1 -1
- package/dist/{upgrade-manifest-OlS1ALVv.js → upgrade-manifest-BOZ5nmyK.js} +1 -1
- package/dist/{upgrade-manifest-OlS1ALVv.js.map → upgrade-manifest-BOZ5nmyK.js.map} +1 -1
- package/dist/{upgrade-manifest-BGuy0v65.js → upgrade-manifest-D7xKGmZc.js} +1 -1
- package/dist/{upgrade-manifest-BGuy0v65.js.map → upgrade-manifest-D7xKGmZc.js.map} +1 -1
- package/dist/{upgrade-manifest-Ck3Mgwhc.js → upgrade-manifest-DLxSL23q.js} +1 -1
- package/dist/{upgrade-manifest-Ck3Mgwhc.js.map → upgrade-manifest-DLxSL23q.js.map} +1 -1
- package/dist/{upgrade-manifest-XdOLymuP.js → upgrade-manifest-Dv62Cod7.js} +1 -1
- package/dist/{upgrade-manifest-XdOLymuP.js.map → upgrade-manifest-Dv62Cod7.js.map} +1 -1
- package/dist/{upgrade-manifest-NaS4SWk9.js → upgrade-manifest-d3LquK-H.js} +1 -1
- package/dist/{upgrade-manifest-NaS4SWk9.js.map → upgrade-manifest-d3LquK-H.js.map} +1 -1
- package/dist/{useVetraDocument-BlLdlhrQ.js → useVetraDocument-B0k3gNtw.js} +1 -1
- package/dist/{useVetraDocument-BlLdlhrQ.js.map → useVetraDocument-B0k3gNtw.js.map} +1 -1
- package/dist/{utils-DXCsvCXL.js → utils-876N1Sph.js} +2 -2
- package/dist/{utils-DXCsvCXL.js.map → utils-876N1Sph.js.map} +1 -1
- package/dist/{utils-CkxGmQ2_.js → utils-Al_SGg2a.js} +2 -2
- package/dist/{utils-CkxGmQ2_.js.map → utils-Al_SGg2a.js.map} +1 -1
- package/dist/{utils-B4KdjDnp.js → utils-COP7hJ-K.js} +2 -2
- package/dist/{utils-B4KdjDnp.js.map → utils-COP7hJ-K.js.map} +1 -1
- package/dist/{utils-DmOIDVQo.js → utils-w_21RRK6.js} +3 -3
- package/dist/{utils-DmOIDVQo.js.map → utils-w_21RRK6.js.map} +1 -1
- package/dist/{vetra-package-Bl6TC4wx.js → vetra-package-DSyRtkdJ.js} +2 -2
- package/dist/{vetra-package-Bl6TC4wx.js.map → vetra-package-DSyRtkdJ.js.map} +1 -1
- package/package.json +14 -13
- package/dist/editor-C13SvgUy.js.map +0 -1
- package/dist/editor-CLbvu3pG.js.map +0 -1
- package/dist/editor-LRAwrgdQ.js.map +0 -1
- package/dist/editor-_0gdltOt.js.map +0 -1
- package/dist/factory-5eiZohiv.js.map +0 -1
- package/dist/index-B5ijieNt.d.ts.map +0 -1
- package/dist/index-Dm_gN1DR.d.ts.map +0 -1
- package/dist/index-SB-AtQdU.d.ts.map +0 -1
- package/dist/index-f_um1g-i.d.ts.map +0 -1
- package/dist/module-ciAK1LUC.d.ts.map +0 -1
- package/dist/powerhouse.manifest.d.ts +0 -34
- package/dist/powerhouse.manifest.d.ts.map +0 -1
- package/dist/powerhouse.manifest.js +0 -86
- package/dist/powerhouse.manifest.js.map +0 -1
- package/dist/processor-trJFuoHh.js.map +0 -1
- package/dist/specs-BeVdfCwg.d.ts.map +0 -1
- package/dist/switchboard-Bf0uvxSu.js +0 -8
- /package/dist/{chunk-pbuEa-1d.js → rolldown-runtime-D7D4PA-g.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-D6Ai0OOc.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/ph-factories.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/gen/reducer.ts","../document-models/document-editor/v1/gen/schema/zod.ts","../document-models/document-editor/v1/gen/utils.ts"],"mappings":";;;;;KAAY,MAAM,KAAK;KACX,WAAW,KAAK;KAChB,MAAM;GAAa;QAC5B,WAAW,IAAI,EAAE;KAER,aAAa,GAAG,gBAAgB,KAAK,KAAK,GAAG,QACtD,UAAU,KAAK,MAAM,EAAE;KAEd,UAAU,GAAG,gBAAgB,KAAK,KAAK,GAAG,QACnD,UAAU,IAAI,MAAM,EAAE;KAEb,UACV;GAAa;GACb,gBAAgB,QACX,KAAK;KACA,YAAY,KACpB,OAEG,WAAW,KAAK,4CAA4C,EAAE;;KAGzD;EACV;IAAM;IAAe;;EACrB;IAAU;IAAe;;EACzB;IAAW;IAAgB;;EAC3B;I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OG,8BAA8B,IAAE,UAC9C,WAAW;;;cClDA,oBAAoB;cAKpB,mBAAmB"}
|
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
import * as document_model0 from "document-model";
|
|
2
1
|
import { Action, DocumentModelGlobalState, DocumentModelUtils, PHAuthState, PHBaseState, PHDocument, PHDocumentController, PHDocumentState, Reducer, SignalDispatch } from "document-model";
|
|
3
2
|
import * as z$1 from "zod";
|
|
4
3
|
import { z } from "zod";
|
|
5
4
|
import { DocumentDispatch } from "@powerhousedao/reactor-browser";
|
|
6
|
-
|
|
7
5
|
//#region document-models/app-module/v1/gen/schema/types.d.ts
|
|
8
6
|
type Maybe<T> = T | null | undefined;
|
|
9
7
|
type InputMaybe<T> = T | null | undefined;
|
|
10
8
|
type Exact<T extends {
|
|
11
9
|
[key: string]: unknown;
|
|
12
|
-
}> = { [K in keyof T]: T[K] };
|
|
13
|
-
type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]
|
|
14
|
-
type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]
|
|
10
|
+
}> = { [K in keyof T]: T[K]; };
|
|
11
|
+
type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]>; };
|
|
12
|
+
type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]>; };
|
|
15
13
|
type MakeEmpty<T extends {
|
|
16
14
|
[key: string]: unknown;
|
|
17
|
-
}, K extends keyof T> = { [_ in K]?: never };
|
|
18
|
-
type Incremental<T> = T | { [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never };
|
|
15
|
+
}, K extends keyof T> = { [_ in K]?: never; };
|
|
16
|
+
type Incremental<T> = T | { [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never; };
|
|
19
17
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
20
18
|
type Scalars = {
|
|
21
19
|
ID: {
|
|
@@ -152,9 +150,13 @@ type AddDocumentTypeInput = {
|
|
|
152
150
|
* tree) and can opt into which document types they accept.
|
|
153
151
|
*/
|
|
154
152
|
type AppModuleState = {
|
|
155
|
-
/** Document type ids this app handles. `null` means the app accepts any document type; an empty list means it accepts none. */
|
|
156
|
-
|
|
157
|
-
|
|
153
|
+
/** Document type ids this app handles. `null` means the app accepts any document type; an empty list means it accepts none. */
|
|
154
|
+
allowedDocumentTypes: Maybe<Array<Scalars["String"]["output"]>>;
|
|
155
|
+
/** Whether the app surface accepts dropped files from the user. Defaults to true. */
|
|
156
|
+
isDragAndDropEnabled: Scalars["Boolean"]["output"];
|
|
157
|
+
/** Display name of the drive app. Also used as the source for the generated folder name under `apps/`. */
|
|
158
|
+
name: Scalars["String"]["output"];
|
|
159
|
+
/** Lifecycle status. While DRAFT the app definition is editable and codegen is skipped; switching to CONFIRMED triggers app scaffold generation. */
|
|
158
160
|
status: StatusType;
|
|
159
161
|
};
|
|
160
162
|
type RemoveDocumentTypeInput = {
|
|
@@ -230,7 +232,7 @@ interface AppModuleBaseOperationsOperations {
|
|
|
230
232
|
}
|
|
231
233
|
//#endregion
|
|
232
234
|
//#region document-models/app-module/v1/gen/controller.d.ts
|
|
233
|
-
declare const AppModuleController: new (initialDocument?:
|
|
235
|
+
declare const AppModuleController: new (initialDocument?: import("document-model").PHDocument<AppModulePHState> | undefined) => PHDocumentController<AppModulePHState> & import("document-model").ActionMap<AppModuleAction, PHDocumentController<AppModulePHState>>;
|
|
234
236
|
declare namespace creators_d_exports$1 {
|
|
235
237
|
export { addDocumentType, removeDocumentType, setAppName, setAppStatus, setDocumentTypes };
|
|
236
238
|
}
|
|
@@ -304,13 +306,6 @@ declare function isAppModuleDocument(document: unknown): document is AppModuleDo
|
|
|
304
306
|
/** Simple helper function to assert that a document is a AppModule document */
|
|
305
307
|
declare function assertIsAppModuleDocument(document: unknown): asserts document is AppModuleDocument;
|
|
306
308
|
//#endregion
|
|
307
|
-
//#region document-models/app-module/v1/gen/document-type.d.ts
|
|
308
|
-
/**
|
|
309
|
-
* WARNING: DO NOT EDIT
|
|
310
|
-
* This file is auto-generated and updated by codegen
|
|
311
|
-
*/
|
|
312
|
-
declare const appModuleDocumentType = "powerhouse/app";
|
|
313
|
-
//#endregion
|
|
314
309
|
//#region document-models/app-module/v1/gen/ph-factories.d.ts
|
|
315
310
|
declare function defaultGlobalState(): AppModuleState;
|
|
316
311
|
declare function defaultLocalState(): AppModuleLocalState;
|
|
@@ -328,30 +323,6 @@ declare function createAppModuleDocument(state?: Partial<{
|
|
|
328
323
|
local?: Partial<AppModuleLocalState>;
|
|
329
324
|
}>): AppModuleDocument;
|
|
330
325
|
//#endregion
|
|
331
|
-
//#region document-models/app-module/v1/actions.d.ts
|
|
332
|
-
/** Actions for the AppModule document model */
|
|
333
|
-
declare const actions: {
|
|
334
|
-
setDragAndDropEnabled: (input: SetDragAndDropEnabledInput) => SetDragAndDropEnabledAction;
|
|
335
|
-
setAppName: (input: SetAppNameInput) => SetAppNameAction;
|
|
336
|
-
setAppStatus: (input: SetAppStatusInput) => SetAppStatusAction;
|
|
337
|
-
addDocumentType: (input: AddDocumentTypeInput) => AddDocumentTypeAction;
|
|
338
|
-
removeDocumentType: (input: RemoveDocumentTypeInput) => RemoveDocumentTypeAction;
|
|
339
|
-
setDocumentTypes: (input: SetDocumentTypesInput) => SetDocumentTypesAction;
|
|
340
|
-
setName: (name: string | {
|
|
341
|
-
name: string;
|
|
342
|
-
}) => document_model0.SetNameAction;
|
|
343
|
-
setPreferredEditor: (input: string | null | {
|
|
344
|
-
preferredEditor: string | null;
|
|
345
|
-
}) => document_model0.SetPreferredEditorAction;
|
|
346
|
-
undo: (count?: number, scope?: string) => document_model0.UndoAction;
|
|
347
|
-
redo: (count?: number, scope?: string) => document_model0.RedoAction;
|
|
348
|
-
prune: (start?: number, end?: number, scope?: string) => document_model0.SchemaPruneAction;
|
|
349
|
-
loadState: <TState extends document_model0.PHBaseState = document_model0.PHBaseState>(state: TState & {
|
|
350
|
-
name: string;
|
|
351
|
-
}, operations: number) => document_model0.LoadStateAction;
|
|
352
|
-
noop: (scope?: string) => document_model0.NOOPAction;
|
|
353
|
-
};
|
|
354
|
-
//#endregion
|
|
355
326
|
//#region document-models/app-module/v1/hooks.d.ts
|
|
356
327
|
/** Hook to get a AppModule document by its id */
|
|
357
328
|
declare function useAppModuleDocumentById(documentId: string | null | undefined): [AppModuleDocument, DocumentDispatch<AppModuleAction>] | [undefined, undefined];
|
|
@@ -366,30 +337,22 @@ declare function useAppModuleDocumentsInSelectedFolder(): AppModuleDocument[] |
|
|
|
366
337
|
/** Document model module for the AppModule document type */
|
|
367
338
|
declare const AppModule: {
|
|
368
339
|
readonly version: 1;
|
|
369
|
-
readonly reducer:
|
|
340
|
+
readonly reducer: import("document-model").Reducer<AppModulePHState>;
|
|
370
341
|
readonly actions: {
|
|
371
|
-
|
|
342
|
+
setName: typeof import("document-model").setName;
|
|
343
|
+
setPreferredEditor: typeof import("document-model").setPreferredEditor;
|
|
344
|
+
undo: typeof import("document-model").undo;
|
|
345
|
+
redo: typeof import("document-model").redo;
|
|
346
|
+
noop: typeof import("document-model").noop;
|
|
372
347
|
setAppName: (input: SetAppNameInput) => SetAppNameAction;
|
|
373
348
|
setAppStatus: (input: SetAppStatusInput) => SetAppStatusAction;
|
|
374
349
|
addDocumentType: (input: AddDocumentTypeInput) => AddDocumentTypeAction;
|
|
375
350
|
removeDocumentType: (input: RemoveDocumentTypeInput) => RemoveDocumentTypeAction;
|
|
376
351
|
setDocumentTypes: (input: SetDocumentTypesInput) => SetDocumentTypesAction;
|
|
377
|
-
|
|
378
|
-
name: string;
|
|
379
|
-
}) => document_model0.SetNameAction;
|
|
380
|
-
setPreferredEditor: (input: string | null | {
|
|
381
|
-
preferredEditor: string | null;
|
|
382
|
-
}) => document_model0.SetPreferredEditorAction;
|
|
383
|
-
undo: (count?: number, scope?: string) => document_model0.UndoAction;
|
|
384
|
-
redo: (count?: number, scope?: string) => document_model0.RedoAction;
|
|
385
|
-
prune: (start?: number, end?: number, scope?: string) => document_model0.SchemaPruneAction;
|
|
386
|
-
loadState: <TState extends document_model0.PHBaseState = document_model0.PHBaseState>(state: TState & {
|
|
387
|
-
name: string;
|
|
388
|
-
}, operations: number) => document_model0.LoadStateAction;
|
|
389
|
-
noop: (scope?: string) => document_model0.NOOPAction;
|
|
352
|
+
setDragAndDropEnabled: (input: SetDragAndDropEnabledInput) => SetDragAndDropEnabledAction;
|
|
390
353
|
};
|
|
391
|
-
readonly utils:
|
|
392
|
-
readonly documentModel:
|
|
354
|
+
readonly utils: import("document-model").DocumentModelUtils<AppModulePHState>;
|
|
355
|
+
readonly documentModel: import("document-model").DocumentModelPHState;
|
|
393
356
|
};
|
|
394
357
|
//#endregion
|
|
395
358
|
//#region document-models/app-module/v1/utils.d.ts
|
|
@@ -400,7 +363,7 @@ declare const utils: DocumentModelUtils<AppModulePHState>;
|
|
|
400
363
|
declare const reducer: Reducer<AppModulePHState>;
|
|
401
364
|
//#endregion
|
|
402
365
|
//#region document-models/app-module/v1/gen/schema/zod.d.ts
|
|
403
|
-
type Properties<T> = Required<{ [K in keyof T]: z$1.ZodType<T[K]
|
|
366
|
+
type Properties<T> = Required<{ [K in keyof T]: z$1.ZodType<T[K]>; }>;
|
|
404
367
|
type definedNonNullAny = {};
|
|
405
368
|
declare const isDefinedNonNullAny: (v: any) => v is definedNonNullAny;
|
|
406
369
|
declare const definedNonNullAnySchema: z$1.ZodAny & z$1.ZodType<definedNonNullAny, any, z$1.core.$ZodTypeInternals<definedNonNullAny, any>>;
|
|
@@ -420,5 +383,6 @@ declare function SetDragAndDropEnabledInputSchema(): z$1.ZodObject<Properties<Se
|
|
|
420
383
|
declare const initialGlobalState: AppModuleState;
|
|
421
384
|
declare const initialLocalState: AppModuleLocalState;
|
|
422
385
|
//#endregion
|
|
423
|
-
export {
|
|
424
|
-
|
|
386
|
+
export { AppModuleDocument as $, isAppModuleDocument as A, setAppStatus as B, defaultLocalState as C, AppModulePHStateSchema as D, AppModuleDocumentSchema as E, setDragAndDropEnabled as F, AppModuleDndOperationsAction as G, AppModuleController as H, addDocumentType as I, AppModuleBaseOperationsAction as J, SetDragAndDropEnabledAction as K, creators_d_exports$1 as L, documentModel as M, AppModuleDndOperationsOperations as N, assertIsAppModuleDocument as O, creators_d_exports as P, SetDocumentTypesAction as Q, removeDocumentType as R, defaultGlobalState as S, AppModuleDocumentHeaderSchema as T, AppModuleBaseOperationsOperations as U, setDocumentTypes as V, AppModuleAction as W, SetAppNameAction as X, RemoveDocumentTypeAction as Y, SetAppStatusAction as Z, useAppModuleDocumentsInSelectedDrive as _, StatusType as _t, RemoveDocumentTypeInputSchema as a, Incremental as at, createAppModuleDocument as b, SetDocumentTypesInputSchema as c, MakeMaybe as ct, definedNonNullAnySchema as d, RemoveDocumentTypeInput as dt, AppModuleLocalState as et, isDefinedNonNullAny as f, Scalars as ft, useAppModuleDocumentById as g, SetDragAndDropEnabledInput as gt, AppModule as h, SetDocumentTypesInput as ht, AppModuleStateSchema as i, Exact as it, isAppModuleState as j, assertIsAppModuleState as k, SetDragAndDropEnabledInputSchema as l, MakeOptional as lt, utils as m, SetAppStatusInput as mt, initialLocalState as n, AddDocumentTypeInput as nt, SetAppNameInputSchema as o, InputMaybe as ot, reducer as p, SetAppNameInput as pt, AddDocumentTypeAction as q, AddDocumentTypeInputSchema as r, AppModuleState as rt, SetAppStatusInputSchema as s, MakeEmpty as st, initialGlobalState as t, AppModulePHState as tt, StatusTypeSchema as u, Maybe as ut, useAppModuleDocumentsInSelectedFolder as v, defaultPHState as w, createState$1 as x, useSelectedAppModuleDocument as y, setAppName as z };
|
|
387
|
+
export {};
|
|
388
|
+
//# sourceMappingURL=index-DPG4u1Ym.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-DPG4u1Ym.d.ts","names":[],"sources":["../document-models/app-module/v1/gen/schema/types.ts","../document-models/app-module/v1/gen/types.ts","../document-models/app-module/v1/gen/base-operations/actions.ts","../document-models/app-module/v1/gen/dnd-operations/actions.ts","../document-models/app-module/v1/gen/actions.ts","../document-models/app-module/v1/gen/base-operations/operations.ts","../document-models/app-module/v1/gen/controller.ts","../document-models/app-module/v1/gen/base-operations/creators.ts","../document-models/app-module/v1/gen/dnd-operations/creators.ts","../document-models/app-module/v1/gen/dnd-operations/operations.ts","../document-models/app-module/v1/gen/document-model.ts","../document-models/app-module/v1/gen/document-schema.ts","../document-models/app-module/v1/gen/ph-factories.ts","../document-models/app-module/v1/hooks.ts","../document-models/app-module/v1/module.ts","../document-models/app-module/v1/utils.ts","../document-models/app-module/v1/gen/reducer.ts","../document-models/app-module/v1/gen/schema/zod.ts","../document-models/app-module/v1/gen/utils.ts"],"mappings":";;;;;KAAY,MAAM,KAAK;KACX,WAAW,KAAK;KAChB,MAAM;GAAa;QAC5B,WAAW,IAAI,EAAE;KAER,aAAa,GAAG,gBAAgB,KAAK,KAAK,GAAG,QACtD,UAAU,KAAK,MAAM,EAAE;KAEd,UAAU,GAAG,gBAAgB,KAAK,KAAK,GAAG,QACnD,UAAU,IAAI,MAAM,EAAE;KAEb,UACV;GAAa;GACb,gBAAgB,QACX,KAAK;KACA,YAAY,KACpB,OAEG,WAAW,KAAK,4CAA4C,EAAE;;KAGzD;EACV;IAAM;IAAe;;EACrB;IAAU;IAAe;;EACzB;IAAW;IAAgB;;EAC3B;IAAO;IAAe;;EACtB;IAAS;IAAe;;EACxB;IAAW;IAAgC;;EAC3C;IACE;MAAS;MAAe;;IACxB;MAAU;MAAe;;;EAE3B;IACE;MAAS;MAAc;;IACvB;MAAU;MAAc;;;EAE1B;IACE;MAAS;MAAc;;IACvB;MAAU;MAAc;;;EAE1B;IACE;MAAS;MAAc;;IACvB;MAAU;MAAc;;;EAE1B;IAAgB;IAAe;;EAC/B;IAAqB;IAAe;;EACpC;IAAiB;IAAe;;EAChC;IACE;IACA;;EAEF;IAAY;IAAe;;EAC3B;IAAQ;I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A,oBAAoB;cAMpB,mBAAmB"}
|
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
import * as document_model0 from "document-model";
|
|
2
1
|
import { Action, DocumentModelGlobalState, DocumentModelUtils, PHAuthState, PHBaseState, PHDocument, PHDocumentController, PHDocumentState, Reducer, SignalDispatch } from "document-model";
|
|
3
2
|
import * as z$1 from "zod";
|
|
4
3
|
import { z } from "zod";
|
|
5
4
|
import { DocumentDispatch } from "@powerhousedao/reactor-browser";
|
|
6
|
-
|
|
7
5
|
//#region document-models/subgraph-module/v1/gen/schema/types.d.ts
|
|
8
6
|
type Maybe<T> = T | null | undefined;
|
|
9
7
|
type InputMaybe<T> = T | null | undefined;
|
|
10
8
|
type Exact<T extends {
|
|
11
9
|
[key: string]: unknown;
|
|
12
|
-
}> = { [K in keyof T]: T[K] };
|
|
13
|
-
type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]
|
|
14
|
-
type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]
|
|
10
|
+
}> = { [K in keyof T]: T[K]; };
|
|
11
|
+
type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]>; };
|
|
12
|
+
type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]>; };
|
|
15
13
|
type MakeEmpty<T extends {
|
|
16
14
|
[key: string]: unknown;
|
|
17
|
-
}, K extends keyof T> = { [_ in K]?: never };
|
|
18
|
-
type Incremental<T> = T | { [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never };
|
|
15
|
+
}, K extends keyof T> = { [_ in K]?: never; };
|
|
16
|
+
type Incremental<T> = T | { [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never; };
|
|
19
17
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
20
18
|
type Scalars = {
|
|
21
19
|
ID: {
|
|
@@ -160,7 +158,9 @@ type StatusType = "CONFIRMED" | "DRAFT";
|
|
|
160
158
|
* is served by Switchboard and stitched into the unified Powerhouse API.
|
|
161
159
|
*/
|
|
162
160
|
type SubgraphModuleState = {
|
|
163
|
-
/** Display name of the subgraph. Also determines the generated folder name under `subgraphs/` and the route segment Switchboard mounts it at. */
|
|
161
|
+
/** Display name of the subgraph. Also determines the generated folder name under `subgraphs/` and the route segment Switchboard mounts it at. */
|
|
162
|
+
name: Scalars["String"]["output"];
|
|
163
|
+
/** Lifecycle status. While DRAFT the subgraph definition is editable and codegen is skipped; switching to CONFIRMED triggers scaffold generation. */
|
|
164
164
|
status: StatusType;
|
|
165
165
|
};
|
|
166
166
|
//#endregion
|
|
@@ -193,7 +193,7 @@ interface SubgraphModuleBaseOperationsOperations {
|
|
|
193
193
|
}
|
|
194
194
|
//#endregion
|
|
195
195
|
//#region document-models/subgraph-module/v1/gen/controller.d.ts
|
|
196
|
-
declare const SubgraphModuleController: new (initialDocument?:
|
|
196
|
+
declare const SubgraphModuleController: new (initialDocument?: import("document-model").PHDocument<SubgraphModulePHState> | undefined) => PHDocumentController<SubgraphModulePHState> & import("document-model").ActionMap<SubgraphModuleBaseOperationsAction, PHDocumentController<SubgraphModulePHState>>;
|
|
197
197
|
declare namespace creators_d_exports {
|
|
198
198
|
export { setSubgraphName, setSubgraphStatus };
|
|
199
199
|
}
|
|
@@ -249,13 +249,6 @@ declare function isSubgraphModuleDocument(document: unknown): document is Subgra
|
|
|
249
249
|
/** Simple helper function to assert that a document is a SubgraphModule document */
|
|
250
250
|
declare function assertIsSubgraphModuleDocument(document: unknown): asserts document is SubgraphModuleDocument;
|
|
251
251
|
//#endregion
|
|
252
|
-
//#region document-models/subgraph-module/v1/gen/document-type.d.ts
|
|
253
|
-
/**
|
|
254
|
-
* WARNING: DO NOT EDIT
|
|
255
|
-
* This file is auto-generated and updated by codegen
|
|
256
|
-
*/
|
|
257
|
-
declare const subgraphModuleDocumentType = "powerhouse/subgraph";
|
|
258
|
-
//#endregion
|
|
259
252
|
//#region document-models/subgraph-module/v1/gen/ph-factories.d.ts
|
|
260
253
|
declare function defaultGlobalState(): SubgraphModuleState;
|
|
261
254
|
declare function defaultLocalState(): SubgraphModuleLocalState;
|
|
@@ -273,26 +266,6 @@ declare function createSubgraphModuleDocument(state?: Partial<{
|
|
|
273
266
|
local?: Partial<SubgraphModuleLocalState>;
|
|
274
267
|
}>): SubgraphModuleDocument;
|
|
275
268
|
//#endregion
|
|
276
|
-
//#region document-models/subgraph-module/v1/actions.d.ts
|
|
277
|
-
/** Actions for the SubgraphModule document model */
|
|
278
|
-
declare const actions: {
|
|
279
|
-
setSubgraphName: (input: SetSubgraphNameInput) => SetSubgraphNameAction;
|
|
280
|
-
setSubgraphStatus: (input: SetSubgraphStatusInput) => SetSubgraphStatusAction;
|
|
281
|
-
setName: (name: string | {
|
|
282
|
-
name: string;
|
|
283
|
-
}) => document_model0.SetNameAction;
|
|
284
|
-
setPreferredEditor: (input: string | null | {
|
|
285
|
-
preferredEditor: string | null;
|
|
286
|
-
}) => document_model0.SetPreferredEditorAction;
|
|
287
|
-
undo: (count?: number, scope?: string) => document_model0.UndoAction;
|
|
288
|
-
redo: (count?: number, scope?: string) => document_model0.RedoAction;
|
|
289
|
-
prune: (start?: number, end?: number, scope?: string) => document_model0.SchemaPruneAction;
|
|
290
|
-
loadState: <TState extends document_model0.PHBaseState = document_model0.PHBaseState>(state: TState & {
|
|
291
|
-
name: string;
|
|
292
|
-
}, operations: number) => document_model0.LoadStateAction;
|
|
293
|
-
noop: (scope?: string) => document_model0.NOOPAction;
|
|
294
|
-
};
|
|
295
|
-
//#endregion
|
|
296
269
|
//#region document-models/subgraph-module/v1/hooks.d.ts
|
|
297
270
|
/** Hook to get a SubgraphModule document by its id */
|
|
298
271
|
declare function useSubgraphModuleDocumentById(documentId: string | null | undefined): [SubgraphModuleDocument, DocumentDispatch<SubgraphModuleAction>] | [undefined, undefined];
|
|
@@ -307,26 +280,18 @@ declare function useSubgraphModuleDocumentsInSelectedFolder(): SubgraphModuleDoc
|
|
|
307
280
|
/** Document model module for the SubgraphModule document type */
|
|
308
281
|
declare const SubgraphModule: {
|
|
309
282
|
readonly version: 1;
|
|
310
|
-
readonly reducer:
|
|
283
|
+
readonly reducer: import("document-model").Reducer<SubgraphModulePHState>;
|
|
311
284
|
readonly actions: {
|
|
285
|
+
setName: typeof import("document-model").setName;
|
|
286
|
+
setPreferredEditor: typeof import("document-model").setPreferredEditor;
|
|
287
|
+
undo: typeof import("document-model").undo;
|
|
288
|
+
redo: typeof import("document-model").redo;
|
|
289
|
+
noop: typeof import("document-model").noop;
|
|
312
290
|
setSubgraphName: (input: SetSubgraphNameInput) => SetSubgraphNameAction;
|
|
313
291
|
setSubgraphStatus: (input: SetSubgraphStatusInput) => SetSubgraphStatusAction;
|
|
314
|
-
setName: (name: string | {
|
|
315
|
-
name: string;
|
|
316
|
-
}) => document_model0.SetNameAction;
|
|
317
|
-
setPreferredEditor: (input: string | null | {
|
|
318
|
-
preferredEditor: string | null;
|
|
319
|
-
}) => document_model0.SetPreferredEditorAction;
|
|
320
|
-
undo: (count?: number, scope?: string) => document_model0.UndoAction;
|
|
321
|
-
redo: (count?: number, scope?: string) => document_model0.RedoAction;
|
|
322
|
-
prune: (start?: number, end?: number, scope?: string) => document_model0.SchemaPruneAction;
|
|
323
|
-
loadState: <TState extends document_model0.PHBaseState = document_model0.PHBaseState>(state: TState & {
|
|
324
|
-
name: string;
|
|
325
|
-
}, operations: number) => document_model0.LoadStateAction;
|
|
326
|
-
noop: (scope?: string) => document_model0.NOOPAction;
|
|
327
292
|
};
|
|
328
|
-
readonly utils:
|
|
329
|
-
readonly documentModel:
|
|
293
|
+
readonly utils: import("document-model").DocumentModelUtils<SubgraphModulePHState>;
|
|
294
|
+
readonly documentModel: import("document-model").DocumentModelPHState;
|
|
330
295
|
};
|
|
331
296
|
//#endregion
|
|
332
297
|
//#region document-models/subgraph-module/v1/utils.d.ts
|
|
@@ -337,7 +302,7 @@ declare const utils: DocumentModelUtils<SubgraphModulePHState>;
|
|
|
337
302
|
declare const reducer: Reducer<SubgraphModulePHState>;
|
|
338
303
|
//#endregion
|
|
339
304
|
//#region document-models/subgraph-module/v1/gen/schema/zod.d.ts
|
|
340
|
-
type Properties<T> = Required<{ [K in keyof T]: z$1.ZodType<T[K]
|
|
305
|
+
type Properties<T> = Required<{ [K in keyof T]: z$1.ZodType<T[K]>; }>;
|
|
341
306
|
type definedNonNullAny = {};
|
|
342
307
|
declare const isDefinedNonNullAny: (v: any) => v is definedNonNullAny;
|
|
343
308
|
declare const definedNonNullAnySchema: z$1.ZodAny & z$1.ZodType<definedNonNullAny, any, z$1.core.$ZodTypeInternals<definedNonNullAny, any>>;
|
|
@@ -353,5 +318,6 @@ declare function SubgraphModuleStateSchema(): z$1.ZodObject<Properties<SubgraphM
|
|
|
353
318
|
declare const initialGlobalState: SubgraphModuleState;
|
|
354
319
|
declare const initialLocalState: SubgraphModuleLocalState;
|
|
355
320
|
//#endregion
|
|
356
|
-
export {
|
|
357
|
-
|
|
321
|
+
export { setSubgraphName as A, SubgraphModulePHState as B, SubgraphModulePHStateSchema as C, isSubgraphModuleState as D, isSubgraphModuleDocument as E, SetSubgraphNameAction as F, MakeMaybe as G, Incremental as H, SetSubgraphStatusAction as I, Scalars as J, MakeOptional as K, SubgraphModuleBaseOperationsAction as L, SubgraphModuleController as M, SubgraphModuleBaseOperationsOperations as N, documentModel as O, SubgraphModuleAction as P, SubgraphModuleState as Q, SubgraphModuleDocument as R, SubgraphModuleDocumentSchema as S, assertIsSubgraphModuleState as T, InputMaybe as U, Exact as V, MakeEmpty as W, SetSubgraphStatusInput as X, SetSubgraphNameInput as Y, StatusType as Z, createSubgraphModuleDocument as _, StatusTypeSchema as a, defaultPHState as b, isDefinedNonNullAny as c, SubgraphModule as d, useSelectedSubgraphModuleDocument as f, createState$1 as g, useSubgraphModuleDocumentsInSelectedFolder as h, SetSubgraphStatusInputSchema as i, setSubgraphStatus as j, creators_d_exports as k, reducer as l, useSubgraphModuleDocumentsInSelectedDrive as m, initialLocalState as n, SubgraphModuleStateSchema as o, useSubgraphModuleDocumentById as p, Maybe as q, SetSubgraphNameInputSchema as r, definedNonNullAnySchema as s, initialGlobalState as t, utils as u, defaultGlobalState as v, assertIsSubgraphModuleDocument as w, SubgraphModuleDocumentHeaderSchema as x, defaultLocalState as y, SubgraphModuleLocalState as z };
|
|
322
|
+
export {};
|
|
323
|
+
//# sourceMappingURL=index-DplUuZMT.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-DplUuZMT.d.ts","names":[],"sources":["../document-models/subgraph-module/v1/gen/schema/types.ts","../document-models/subgraph-module/v1/gen/types.ts","../document-models/subgraph-module/v1/gen/base-operations/actions.ts","../document-models/subgraph-module/v1/gen/actions.ts","../document-models/subgraph-module/v1/gen/base-operations/operations.ts","../document-models/subgraph-module/v1/gen/controller.ts","../document-models/subgraph-module/v1/gen/base-operations/creators.ts","../document-models/subgraph-module/v1/gen/document-model.ts","../document-models/subgraph-module/v1/gen/document-schema.ts","../document-models/subgraph-module/v1/gen/ph-factories.ts","../document-models/subgraph-module/v1/hooks.ts","../document-models/subgraph-module/v1/module.ts","../document-models/subgraph-module/v1/utils.ts","../document-models/subgraph-module/v1/gen/reducer.ts","../document-models/subgraph-module/v1/gen/schema/zod.ts","../document-models/subgraph-module/v1/gen/utils.ts"],"mappings":";;;;;KAAY,MAAM,KAAK;KACX,WAAW,KAAK;KAChB,MAAM;GAAa;QAC5B,WAAW,IAAI,EAAE;KAER,aAAa,GAAG,gBAAgB,KAAK,KAAK,GAAG,QACtD,UAAU,KAAK,MAAM,EAAE;KAEd,UAAU,GAAG,gBAAgB,KAAK,KAAK,GAAG,QACnD,UAAU,IAAI,MAAM,EAAE;KAEb,UACV;GAAa;GACb,gBAAgB,QACX,KAAK;KACA,YAAY,KACpB,OAEG,WAAW,KAAK,4CAA4C,EAAE;;KAGzD;EACV;IAAM;IAAe;;EACr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4B,EAAA;;;;;;;;;;;;;;;;;;;;GAIvC,EAAA,KAAA;;iBAGc,sBACd,iBACC,SAAS;;iBAKI,4BACd,yBACS,SAAS;;iBAKJ,yBACd,oBACC,YAAY;;iBAKC,+BACd,4BACS,YAAY;;;iBCvCP,sBAAsB;iBAOtB,qBAAqB;iBAIrB,kBAAkB;iBA0BlB,cACd,YAAY,QAAQ,cACpB,cAAc,QAAQ,sBACtB,aAAa,QAAQ,4BACpB;;;;;;iBAaa,6BACd,QAAQ;EACN,OAAO,QAAQ;EACf,WAAW,QAAQ;EACnB,SAAS,QAAQ;EACjB,QAAQ,QAAQ;KAEjB;;;;iBCvDa,8BACd,yCAEG,wBAAwB,iBAAiB;;iBAQ9B,sCACd,wBACA,iBAAiB;;iBASH,6CAAyC;;iBAMzC,8CAA0C;;;;cCpC7C;WACF;;;;;;;;;;;;;;;;;cCJE,OAAO,mBAAmB;;;cCyC1B,SAAS,QAAQ;;;KCzCzB,WAAW,KAAK,YAClB,WAAW,IAAI,IAAE,QAAQ,EAAE;KAGzB;cAEQ,sBAAmB,WAAa,KAAK;cAGrC,yBAAuB,IAAA,SAAA,IAAA,QAAA,wBAAA,IAAA,KAAA,kBAAA;cAIvB,kBAAgB,IAAA;;;;iBAEb,8BAA8B,IAAE,UAC9C,WAAW;iBAOG,gCAAgC,IAAE,UAChD,WAAW;iBAOG,6BAA6B,IAAE,UAC7C,WAAW;;;cCjBA,oBAAoB;cAIpB,mBAAmB"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,71 +1,58 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { $ as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import * as document_model0 from "document-model";
|
|
1
|
+
import { K as SetDragAndDropEnabledAction, Q as SetDocumentTypesAction, X as SetAppNameAction, Y as RemoveDocumentTypeAction, Z as SetAppStatusAction, dt as RemoveDocumentTypeInput, gt as SetDragAndDropEnabledInput, ht as SetDocumentTypesInput, mt as SetAppStatusInput, nt as AddDocumentTypeInput, pt as SetAppNameInput, q as AddDocumentTypeAction, tt as AppModulePHState } from "./index-DPG4u1Ym.js";
|
|
2
|
+
import { B as AddDocumentTypeAction$1, H as RemoveDocumentTypeAction$1, J as AddDocumentTypeInput$1, U as SetEditorNameAction, W as SetEditorStatusAction, it as RemoveDocumentTypeInput$1, ot as SetEditorNameInput, q as DocumentEditorPHState, st as SetEditorStatusInput } from "./index-D6Ai0OOc.js";
|
|
3
|
+
import { $ as SetProcessorTypeAction, K as AddDocumentTypeAction$2, Q as SetProcessorStatusAction, X as RemoveProcessorAppAction, Y as RemoveDocumentTypeAction$2, Z as SetProcessorNameAction, _t as SetProcessorNameInput, ht as RemoveProcessorAppInput, it as AddProcessorAppInput, mt as RemoveDocumentTypeInput$2, nt as ProcessorModulePHState, q as AddProcessorAppAction, rt as AddDocumentTypeInput$2, vt as SetProcessorStatusInput, yt as SetProcessorTypeInput } from "./index-B52jv-LY.js";
|
|
4
|
+
import { B as SubgraphModulePHState, F as SetSubgraphNameAction, I as SetSubgraphStatusAction, X as SetSubgraphStatusInput, Y as SetSubgraphNameInput } from "./index-DplUuZMT.js";
|
|
5
|
+
import { $ as VetraPackagePHState, At as SetPackageNameAction, Ct as RemovePackageKeywordAction, Dt as SetPackageCategoryAction, Et as SetPackageAuthorWebsiteAction, Ot as SetPackageDescriptionAction, St as AddPackageKeywordAction, Tt as SetPackageAuthorNameAction, _t as SetPackageGithubUrlInput, et as AddPackageKeywordInput, ft as SetPackageAuthorInput, gt as SetPackageDescriptionInput, ht as SetPackageCategoryInput, jt as SetPackageNpmUrlAction, kt as SetPackageGithubUrlAction, mt as SetPackageAuthorWebsiteInput, pt as SetPackageAuthorNameInput, ut as RemovePackageKeywordInput, vt as SetPackageNameInput, wt as SetPackageAuthorAction, yt as SetPackageNpmUrlInput } from "./module-D4lqkHHK.js";
|
|
7
6
|
import { EditorModule, UpgradeManifest } from "document-model";
|
|
8
7
|
import { Manifest } from "@powerhousedao/shared/document-model";
|
|
9
|
-
|
|
10
8
|
//#region document-models/document-models.d.ts
|
|
11
9
|
/**
|
|
12
10
|
* WARNING: DO NOT EDIT
|
|
13
11
|
* This file is auto-generated and updated by codegen
|
|
14
12
|
*/
|
|
15
|
-
declare const documentModels: readonly [{
|
|
13
|
+
export declare const documentModels: readonly [{
|
|
16
14
|
readonly version: 1;
|
|
17
|
-
readonly reducer:
|
|
15
|
+
readonly reducer: import("document-model").Reducer<AppModulePHState>;
|
|
18
16
|
readonly actions: {
|
|
19
|
-
|
|
17
|
+
setName: typeof import("document-model").setName;
|
|
18
|
+
setPreferredEditor: typeof import("document-model").setPreferredEditor;
|
|
19
|
+
undo: typeof import("document-model").undo;
|
|
20
|
+
redo: typeof import("document-model").redo;
|
|
21
|
+
noop: typeof import("document-model").noop;
|
|
20
22
|
setAppName: (input: SetAppNameInput) => SetAppNameAction;
|
|
21
23
|
setAppStatus: (input: SetAppStatusInput) => SetAppStatusAction;
|
|
22
24
|
addDocumentType: (input: AddDocumentTypeInput) => AddDocumentTypeAction;
|
|
23
25
|
removeDocumentType: (input: RemoveDocumentTypeInput) => RemoveDocumentTypeAction;
|
|
24
26
|
setDocumentTypes: (input: SetDocumentTypesInput) => SetDocumentTypesAction;
|
|
25
|
-
|
|
26
|
-
name: string;
|
|
27
|
-
}) => document_model0.SetNameAction;
|
|
28
|
-
setPreferredEditor: (input: string | null | {
|
|
29
|
-
preferredEditor: string | null;
|
|
30
|
-
}) => document_model0.SetPreferredEditorAction;
|
|
31
|
-
undo: (count?: number, scope?: string) => document_model0.UndoAction;
|
|
32
|
-
redo: (count?: number, scope?: string) => document_model0.RedoAction;
|
|
33
|
-
prune: (start?: number, end?: number, scope?: string) => document_model0.SchemaPruneAction;
|
|
34
|
-
loadState: <TState extends document_model0.PHBaseState = document_model0.PHBaseState>(state: TState & {
|
|
35
|
-
name: string;
|
|
36
|
-
}, operations: number) => document_model0.LoadStateAction;
|
|
37
|
-
noop: (scope?: string) => document_model0.NOOPAction;
|
|
27
|
+
setDragAndDropEnabled: (input: SetDragAndDropEnabledInput) => SetDragAndDropEnabledAction;
|
|
38
28
|
};
|
|
39
|
-
readonly utils:
|
|
40
|
-
readonly documentModel:
|
|
29
|
+
readonly utils: import("document-model").DocumentModelUtils<AppModulePHState>;
|
|
30
|
+
readonly documentModel: import("document-model").DocumentModelPHState;
|
|
41
31
|
}, {
|
|
42
32
|
readonly version: 1;
|
|
43
|
-
readonly reducer:
|
|
33
|
+
readonly reducer: import("document-model").Reducer<DocumentEditorPHState>;
|
|
44
34
|
readonly actions: {
|
|
35
|
+
setName: typeof import("document-model").setName;
|
|
36
|
+
setPreferredEditor: typeof import("document-model").setPreferredEditor;
|
|
37
|
+
undo: typeof import("document-model").undo;
|
|
38
|
+
redo: typeof import("document-model").redo;
|
|
39
|
+
noop: typeof import("document-model").noop;
|
|
45
40
|
setEditorName: (input: SetEditorNameInput) => SetEditorNameAction;
|
|
46
41
|
addDocumentType: (input: AddDocumentTypeInput$1) => AddDocumentTypeAction$1;
|
|
47
42
|
removeDocumentType: (input: RemoveDocumentTypeInput$1) => RemoveDocumentTypeAction$1;
|
|
48
43
|
setEditorStatus: (input: SetEditorStatusInput) => SetEditorStatusAction;
|
|
49
|
-
setName: (name: string | {
|
|
50
|
-
name: string;
|
|
51
|
-
}) => document_model0.SetNameAction;
|
|
52
|
-
setPreferredEditor: (input: string | null | {
|
|
53
|
-
preferredEditor: string | null;
|
|
54
|
-
}) => document_model0.SetPreferredEditorAction;
|
|
55
|
-
undo: (count?: number, scope?: string) => document_model0.UndoAction;
|
|
56
|
-
redo: (count?: number, scope?: string) => document_model0.RedoAction;
|
|
57
|
-
prune: (start?: number, end?: number, scope?: string) => document_model0.SchemaPruneAction;
|
|
58
|
-
loadState: <TState extends document_model0.PHBaseState = document_model0.PHBaseState>(state: TState & {
|
|
59
|
-
name: string;
|
|
60
|
-
}, operations: number) => document_model0.LoadStateAction;
|
|
61
|
-
noop: (scope?: string) => document_model0.NOOPAction;
|
|
62
44
|
};
|
|
63
|
-
readonly utils:
|
|
64
|
-
readonly documentModel:
|
|
45
|
+
readonly utils: import("document-model").DocumentModelUtils<DocumentEditorPHState>;
|
|
46
|
+
readonly documentModel: import("document-model").DocumentModelPHState;
|
|
65
47
|
}, {
|
|
66
48
|
readonly version: 1;
|
|
67
|
-
readonly reducer:
|
|
49
|
+
readonly reducer: import("document-model").Reducer<ProcessorModulePHState>;
|
|
68
50
|
readonly actions: {
|
|
51
|
+
setName: typeof import("document-model").setName;
|
|
52
|
+
setPreferredEditor: typeof import("document-model").setPreferredEditor;
|
|
53
|
+
undo: typeof import("document-model").undo;
|
|
54
|
+
redo: typeof import("document-model").redo;
|
|
55
|
+
noop: typeof import("document-model").noop;
|
|
69
56
|
setProcessorName: (input: SetProcessorNameInput) => SetProcessorNameAction;
|
|
70
57
|
setProcessorType: (input: SetProcessorTypeInput) => SetProcessorTypeAction;
|
|
71
58
|
addDocumentType: (input: AddDocumentTypeInput$2) => AddDocumentTypeAction$2;
|
|
@@ -73,48 +60,32 @@ declare const documentModels: readonly [{
|
|
|
73
60
|
addProcessorApp: (input: AddProcessorAppInput) => AddProcessorAppAction;
|
|
74
61
|
removeProcessorApp: (input: RemoveProcessorAppInput) => RemoveProcessorAppAction;
|
|
75
62
|
setProcessorStatus: (input: SetProcessorStatusInput) => SetProcessorStatusAction;
|
|
76
|
-
setName: (name: string | {
|
|
77
|
-
name: string;
|
|
78
|
-
}) => document_model0.SetNameAction;
|
|
79
|
-
setPreferredEditor: (input: string | null | {
|
|
80
|
-
preferredEditor: string | null;
|
|
81
|
-
}) => document_model0.SetPreferredEditorAction;
|
|
82
|
-
undo: (count?: number, scope?: string) => document_model0.UndoAction;
|
|
83
|
-
redo: (count?: number, scope?: string) => document_model0.RedoAction;
|
|
84
|
-
prune: (start?: number, end?: number, scope?: string) => document_model0.SchemaPruneAction;
|
|
85
|
-
loadState: <TState extends document_model0.PHBaseState = document_model0.PHBaseState>(state: TState & {
|
|
86
|
-
name: string;
|
|
87
|
-
}, operations: number) => document_model0.LoadStateAction;
|
|
88
|
-
noop: (scope?: string) => document_model0.NOOPAction;
|
|
89
63
|
};
|
|
90
|
-
readonly utils:
|
|
91
|
-
readonly documentModel:
|
|
64
|
+
readonly utils: import("document-model").DocumentModelUtils<ProcessorModulePHState>;
|
|
65
|
+
readonly documentModel: import("document-model").DocumentModelPHState;
|
|
92
66
|
}, {
|
|
93
67
|
readonly version: 1;
|
|
94
|
-
readonly reducer:
|
|
68
|
+
readonly reducer: import("document-model").Reducer<SubgraphModulePHState>;
|
|
95
69
|
readonly actions: {
|
|
70
|
+
setName: typeof import("document-model").setName;
|
|
71
|
+
setPreferredEditor: typeof import("document-model").setPreferredEditor;
|
|
72
|
+
undo: typeof import("document-model").undo;
|
|
73
|
+
redo: typeof import("document-model").redo;
|
|
74
|
+
noop: typeof import("document-model").noop;
|
|
96
75
|
setSubgraphName: (input: SetSubgraphNameInput) => SetSubgraphNameAction;
|
|
97
76
|
setSubgraphStatus: (input: SetSubgraphStatusInput) => SetSubgraphStatusAction;
|
|
98
|
-
setName: (name: string | {
|
|
99
|
-
name: string;
|
|
100
|
-
}) => document_model0.SetNameAction;
|
|
101
|
-
setPreferredEditor: (input: string | null | {
|
|
102
|
-
preferredEditor: string | null;
|
|
103
|
-
}) => document_model0.SetPreferredEditorAction;
|
|
104
|
-
undo: (count?: number, scope?: string) => document_model0.UndoAction;
|
|
105
|
-
redo: (count?: number, scope?: string) => document_model0.RedoAction;
|
|
106
|
-
prune: (start?: number, end?: number, scope?: string) => document_model0.SchemaPruneAction;
|
|
107
|
-
loadState: <TState extends document_model0.PHBaseState = document_model0.PHBaseState>(state: TState & {
|
|
108
|
-
name: string;
|
|
109
|
-
}, operations: number) => document_model0.LoadStateAction;
|
|
110
|
-
noop: (scope?: string) => document_model0.NOOPAction;
|
|
111
77
|
};
|
|
112
|
-
readonly utils:
|
|
113
|
-
readonly documentModel:
|
|
78
|
+
readonly utils: import("document-model").DocumentModelUtils<SubgraphModulePHState>;
|
|
79
|
+
readonly documentModel: import("document-model").DocumentModelPHState;
|
|
114
80
|
}, {
|
|
115
81
|
readonly version: 1;
|
|
116
|
-
readonly reducer:
|
|
82
|
+
readonly reducer: import("document-model").Reducer<VetraPackagePHState>;
|
|
117
83
|
readonly actions: {
|
|
84
|
+
setName: typeof import("document-model").setName;
|
|
85
|
+
setPreferredEditor: typeof import("document-model").setPreferredEditor;
|
|
86
|
+
undo: typeof import("document-model").undo;
|
|
87
|
+
redo: typeof import("document-model").redo;
|
|
88
|
+
noop: typeof import("document-model").noop;
|
|
118
89
|
setPackageName: (input: SetPackageNameInput) => SetPackageNameAction;
|
|
119
90
|
setPackageDescription: (input: SetPackageDescriptionInput) => SetPackageDescriptionAction;
|
|
120
91
|
setPackageCategory: (input: SetPackageCategoryInput) => SetPackageCategoryAction;
|
|
@@ -125,32 +96,19 @@ declare const documentModels: readonly [{
|
|
|
125
96
|
removePackageKeyword: (input: RemovePackageKeywordInput) => RemovePackageKeywordAction;
|
|
126
97
|
setPackageGithubUrl: (input: SetPackageGithubUrlInput) => SetPackageGithubUrlAction;
|
|
127
98
|
setPackageNpmUrl: (input: SetPackageNpmUrlInput) => SetPackageNpmUrlAction;
|
|
128
|
-
setName: (name: string | {
|
|
129
|
-
name: string;
|
|
130
|
-
}) => document_model0.SetNameAction;
|
|
131
|
-
setPreferredEditor: (input: string | null | {
|
|
132
|
-
preferredEditor: string | null;
|
|
133
|
-
}) => document_model0.SetPreferredEditorAction;
|
|
134
|
-
undo: (count?: number, scope?: string) => document_model0.UndoAction;
|
|
135
|
-
redo: (count?: number, scope?: string) => document_model0.RedoAction;
|
|
136
|
-
prune: (start?: number, end?: number, scope?: string) => document_model0.SchemaPruneAction;
|
|
137
|
-
loadState: <TState extends document_model0.PHBaseState = document_model0.PHBaseState>(state: TState & {
|
|
138
|
-
name: string;
|
|
139
|
-
}, operations: number) => document_model0.LoadStateAction;
|
|
140
|
-
noop: (scope?: string) => document_model0.NOOPAction;
|
|
141
99
|
};
|
|
142
|
-
readonly utils:
|
|
143
|
-
readonly documentModel:
|
|
100
|
+
readonly utils: import("document-model").DocumentModelUtils<VetraPackagePHState>;
|
|
101
|
+
readonly documentModel: import("document-model").DocumentModelPHState;
|
|
144
102
|
}];
|
|
145
103
|
//#endregion
|
|
146
104
|
//#region document-models/upgrade-manifests.d.ts
|
|
147
|
-
declare const upgradeManifests: UpgradeManifest<readonly number[]>[];
|
|
105
|
+
export declare const upgradeManifests: UpgradeManifest<readonly number[]>[];
|
|
148
106
|
//#endregion
|
|
149
107
|
//#region editors/editors.d.ts
|
|
150
|
-
declare const editors: EditorModule[];
|
|
108
|
+
export declare const editors: EditorModule[];
|
|
151
109
|
//#endregion
|
|
152
110
|
//#region index.d.ts
|
|
153
|
-
declare const manifest: Manifest;
|
|
111
|
+
export declare const manifest: Manifest;
|
|
154
112
|
//#endregion
|
|
155
|
-
export {
|
|
113
|
+
export {};
|
|
156
114
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../document-models/document-models.ts","../document-models/upgrade-manifests.ts","../editors/editors.ts","../index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../document-models/document-models.ts","../document-models/upgrade-manifests.ts","../editors/editors.ts","../index.ts"],"mappings":";;;;;;;;;;;;qBAWa;;qDAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBCAA,kBAAkB;;;qBCClB,SAAS;;;qBCPT,UAAU"}
|