@powerhousedao/vetra 6.0.0-dev.256 → 6.0.0-dev.257
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-BBzu0pRO.js → factory-CEzh-u5J.js} +5 -5
- package/dist/{factory-BBzu0pRO.js.map → factory-CEzh-u5J.js.map} +1 -1
- 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-D69j45OO.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/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-D69j45OO.js +0 -8
|
@@ -4,40 +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/processor-module/v1/gen/base-operations/actions.d.ts
|
|
8
|
-
type SetProcessorNameAction = Action & {
|
|
9
|
-
type: "SET_PROCESSOR_NAME";
|
|
10
|
-
input: SetProcessorNameInput;
|
|
11
|
-
};
|
|
12
|
-
type SetProcessorTypeAction = Action & {
|
|
13
|
-
type: "SET_PROCESSOR_TYPE";
|
|
14
|
-
input: SetProcessorTypeInput;
|
|
15
|
-
};
|
|
16
|
-
type AddDocumentTypeAction = Action & {
|
|
17
|
-
type: "ADD_DOCUMENT_TYPE";
|
|
18
|
-
input: AddDocumentTypeInput;
|
|
19
|
-
};
|
|
20
|
-
type RemoveDocumentTypeAction = Action & {
|
|
21
|
-
type: "REMOVE_DOCUMENT_TYPE";
|
|
22
|
-
input: RemoveDocumentTypeInput;
|
|
23
|
-
};
|
|
24
|
-
type AddProcessorAppAction = Action & {
|
|
25
|
-
type: "ADD_PROCESSOR_APP";
|
|
26
|
-
input: AddProcessorAppInput;
|
|
27
|
-
};
|
|
28
|
-
type RemoveProcessorAppAction = Action & {
|
|
29
|
-
type: "REMOVE_PROCESSOR_APP";
|
|
30
|
-
input: RemoveProcessorAppInput;
|
|
31
|
-
};
|
|
32
|
-
type SetProcessorStatusAction = Action & {
|
|
33
|
-
type: "SET_PROCESSOR_STATUS";
|
|
34
|
-
input: SetProcessorStatusInput;
|
|
35
|
-
};
|
|
36
|
-
type ProcessorModuleBaseOperationsAction = SetProcessorNameAction | SetProcessorTypeAction | AddDocumentTypeAction | RemoveDocumentTypeAction | AddProcessorAppAction | RemoveProcessorAppAction | SetProcessorStatusAction;
|
|
37
|
-
//#endregion
|
|
38
|
-
//#region document-models/processor-module/v1/gen/actions.d.ts
|
|
39
|
-
type ProcessorModuleAction = ProcessorModuleBaseOperationsAction;
|
|
40
|
-
//#endregion
|
|
41
7
|
//#region document-models/processor-module/v1/gen/schema/types.d.ts
|
|
42
8
|
type Maybe<T> = T | null | undefined;
|
|
43
9
|
type InputMaybe<T> = T | null | undefined;
|
|
@@ -231,30 +197,39 @@ type ProcessorModulePHState = PHBaseState & {
|
|
|
231
197
|
};
|
|
232
198
|
type ProcessorModuleDocument = PHDocument<ProcessorModulePHState>;
|
|
233
199
|
//#endregion
|
|
234
|
-
//#region document-models/processor-module/v1/actions.d.ts
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
removeProcessorApp: (input: RemoveProcessorAppInput) => RemoveProcessorAppAction;
|
|
243
|
-
setProcessorStatus: (input: SetProcessorStatusInput) => SetProcessorStatusAction;
|
|
244
|
-
setName: (name: string | {
|
|
245
|
-
name: string;
|
|
246
|
-
}) => document_model0.SetNameAction;
|
|
247
|
-
setPreferredEditor: (input: string | null | {
|
|
248
|
-
preferredEditor: string | null;
|
|
249
|
-
}) => document_model0.SetPreferredEditorAction;
|
|
250
|
-
undo: (count?: number, scope?: string) => document_model0.UndoAction;
|
|
251
|
-
redo: (count?: number, scope?: string) => document_model0.RedoAction;
|
|
252
|
-
prune: (start?: number, end?: number, scope?: string) => document_model0.SchemaPruneAction;
|
|
253
|
-
loadState: <TState extends document_model0.PHBaseState = document_model0.PHBaseState>(state: TState & {
|
|
254
|
-
name: string;
|
|
255
|
-
}, operations: number) => document_model0.LoadStateAction;
|
|
256
|
-
noop: (scope?: string) => document_model0.NOOPAction;
|
|
200
|
+
//#region document-models/processor-module/v1/gen/base-operations/actions.d.ts
|
|
201
|
+
type SetProcessorNameAction = Action & {
|
|
202
|
+
type: "SET_PROCESSOR_NAME";
|
|
203
|
+
input: SetProcessorNameInput;
|
|
204
|
+
};
|
|
205
|
+
type SetProcessorTypeAction = Action & {
|
|
206
|
+
type: "SET_PROCESSOR_TYPE";
|
|
207
|
+
input: SetProcessorTypeInput;
|
|
257
208
|
};
|
|
209
|
+
type AddDocumentTypeAction = Action & {
|
|
210
|
+
type: "ADD_DOCUMENT_TYPE";
|
|
211
|
+
input: AddDocumentTypeInput;
|
|
212
|
+
};
|
|
213
|
+
type RemoveDocumentTypeAction = Action & {
|
|
214
|
+
type: "REMOVE_DOCUMENT_TYPE";
|
|
215
|
+
input: RemoveDocumentTypeInput;
|
|
216
|
+
};
|
|
217
|
+
type AddProcessorAppAction = Action & {
|
|
218
|
+
type: "ADD_PROCESSOR_APP";
|
|
219
|
+
input: AddProcessorAppInput;
|
|
220
|
+
};
|
|
221
|
+
type RemoveProcessorAppAction = Action & {
|
|
222
|
+
type: "REMOVE_PROCESSOR_APP";
|
|
223
|
+
input: RemoveProcessorAppInput;
|
|
224
|
+
};
|
|
225
|
+
type SetProcessorStatusAction = Action & {
|
|
226
|
+
type: "SET_PROCESSOR_STATUS";
|
|
227
|
+
input: SetProcessorStatusInput;
|
|
228
|
+
};
|
|
229
|
+
type ProcessorModuleBaseOperationsAction = SetProcessorNameAction | SetProcessorTypeAction | AddDocumentTypeAction | RemoveDocumentTypeAction | AddProcessorAppAction | RemoveProcessorAppAction | SetProcessorStatusAction;
|
|
230
|
+
//#endregion
|
|
231
|
+
//#region document-models/processor-module/v1/gen/actions.d.ts
|
|
232
|
+
type ProcessorModuleAction = ProcessorModuleBaseOperationsAction;
|
|
258
233
|
//#endregion
|
|
259
234
|
//#region document-models/processor-module/v1/gen/base-operations/operations.d.ts
|
|
260
235
|
interface ProcessorModuleBaseOperationsOperations {
|
|
@@ -362,31 +337,30 @@ declare function createProcessorModuleDocument(state?: Partial<{
|
|
|
362
337
|
local?: Partial<ProcessorModuleLocalState>;
|
|
363
338
|
}>): ProcessorModuleDocument;
|
|
364
339
|
//#endregion
|
|
365
|
-
//#region document-models/processor-module/v1/
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
declare const initialLocalState: ProcessorModuleLocalState;
|
|
340
|
+
//#region document-models/processor-module/v1/actions.d.ts
|
|
341
|
+
/** Actions for the ProcessorModule document model */
|
|
342
|
+
declare const actions: {
|
|
343
|
+
setProcessorName: (input: SetProcessorNameInput) => SetProcessorNameAction;
|
|
344
|
+
setProcessorType: (input: SetProcessorTypeInput) => SetProcessorTypeAction;
|
|
345
|
+
addDocumentType: (input: AddDocumentTypeInput) => AddDocumentTypeAction;
|
|
346
|
+
removeDocumentType: (input: RemoveDocumentTypeInput) => RemoveDocumentTypeAction;
|
|
347
|
+
addProcessorApp: (input: AddProcessorAppInput) => AddProcessorAppAction;
|
|
348
|
+
removeProcessorApp: (input: RemoveProcessorAppInput) => RemoveProcessorAppAction;
|
|
349
|
+
setProcessorStatus: (input: SetProcessorStatusInput) => SetProcessorStatusAction;
|
|
350
|
+
setName: (name: string | {
|
|
351
|
+
name: string;
|
|
352
|
+
}) => document_model0.SetNameAction;
|
|
353
|
+
setPreferredEditor: (input: string | null | {
|
|
354
|
+
preferredEditor: string | null;
|
|
355
|
+
}) => document_model0.SetPreferredEditorAction;
|
|
356
|
+
undo: (count?: number, scope?: string) => document_model0.UndoAction;
|
|
357
|
+
redo: (count?: number, scope?: string) => document_model0.RedoAction;
|
|
358
|
+
prune: (start?: number, end?: number, scope?: string) => document_model0.SchemaPruneAction;
|
|
359
|
+
loadState: <TState extends document_model0.PHBaseState = document_model0.PHBaseState>(state: TState & {
|
|
360
|
+
name: string;
|
|
361
|
+
}, operations: number) => document_model0.LoadStateAction;
|
|
362
|
+
noop: (scope?: string) => document_model0.NOOPAction;
|
|
363
|
+
};
|
|
390
364
|
//#endregion
|
|
391
365
|
//#region document-models/processor-module/v1/hooks.d.ts
|
|
392
366
|
/** Hook to get a ProcessorModule document by its id */
|
|
@@ -398,10 +372,6 @@ declare function useProcessorModuleDocumentsInSelectedDrive(): ProcessorModuleDo
|
|
|
398
372
|
/** Hook to get all ProcessorModule documents in the selected folder */
|
|
399
373
|
declare function useProcessorModuleDocumentsInSelectedFolder(): ProcessorModuleDocument[] | undefined;
|
|
400
374
|
//#endregion
|
|
401
|
-
//#region document-models/processor-module/v1/utils.d.ts
|
|
402
|
-
/** Utils for the ProcessorModule document model */
|
|
403
|
-
declare const utils: DocumentModelUtils<ProcessorModulePHState>;
|
|
404
|
-
//#endregion
|
|
405
375
|
//#region document-models/processor-module/v1/module.d.ts
|
|
406
376
|
/** Document model module for the ProcessorModule document type */
|
|
407
377
|
declare const ProcessorModule: {
|
|
@@ -433,5 +403,35 @@ declare const ProcessorModule: {
|
|
|
433
403
|
readonly documentModel: document_model0.DocumentModelPHState;
|
|
434
404
|
};
|
|
435
405
|
//#endregion
|
|
436
|
-
|
|
437
|
-
|
|
406
|
+
//#region document-models/processor-module/v1/utils.d.ts
|
|
407
|
+
/** Utils for the ProcessorModule document model */
|
|
408
|
+
declare const utils: DocumentModelUtils<ProcessorModulePHState>;
|
|
409
|
+
//#endregion
|
|
410
|
+
//#region document-models/processor-module/v1/gen/reducer.d.ts
|
|
411
|
+
declare const reducer: Reducer<ProcessorModulePHState>;
|
|
412
|
+
//#endregion
|
|
413
|
+
//#region document-models/processor-module/v1/gen/schema/zod.d.ts
|
|
414
|
+
type Properties<T> = Required<{ [K in keyof T]: z$1.ZodType<T[K]> }>;
|
|
415
|
+
type definedNonNullAny = {};
|
|
416
|
+
declare const isDefinedNonNullAny: (v: any) => v is definedNonNullAny;
|
|
417
|
+
declare const definedNonNullAnySchema: z$1.ZodAny & z$1.ZodType<definedNonNullAny, any, z$1.core.$ZodTypeInternals<definedNonNullAny, any>>;
|
|
418
|
+
declare const StatusTypeSchema: z$1.ZodEnum<{
|
|
419
|
+
CONFIRMED: "CONFIRMED";
|
|
420
|
+
DRAFT: "DRAFT";
|
|
421
|
+
}>;
|
|
422
|
+
declare function AddDocumentTypeInputSchema(): z$1.ZodObject<Properties<AddDocumentTypeInput>>;
|
|
423
|
+
declare function AddProcessorAppInputSchema(): z$1.ZodObject<Properties<AddProcessorAppInput>>;
|
|
424
|
+
declare function DocumentTypeItemSchema(): z$1.ZodObject<Properties<DocumentTypeItem>>;
|
|
425
|
+
declare function ProcessorModuleStateSchema(): z$1.ZodObject<Properties<ProcessorModuleState>>;
|
|
426
|
+
declare function RemoveDocumentTypeInputSchema(): z$1.ZodObject<Properties<RemoveDocumentTypeInput>>;
|
|
427
|
+
declare function RemoveProcessorAppInputSchema(): z$1.ZodObject<Properties<RemoveProcessorAppInput>>;
|
|
428
|
+
declare function SetProcessorNameInputSchema(): z$1.ZodObject<Properties<SetProcessorNameInput>>;
|
|
429
|
+
declare function SetProcessorStatusInputSchema(): z$1.ZodObject<Properties<SetProcessorStatusInput>>;
|
|
430
|
+
declare function SetProcessorTypeInputSchema(): z$1.ZodObject<Properties<SetProcessorTypeInput>>;
|
|
431
|
+
//#endregion
|
|
432
|
+
//#region document-models/processor-module/v1/gen/utils.d.ts
|
|
433
|
+
declare const initialGlobalState: ProcessorModuleState;
|
|
434
|
+
declare const initialLocalState: ProcessorModuleLocalState;
|
|
435
|
+
//#endregion
|
|
436
|
+
export { SetProcessorNameAction as $, ProcessorModuleDocumentSchema as A, removeDocumentType as B, createProcessorModuleDocument as C, defaultPHState as D, defaultLocalState as E, isProcessorModuleState as F, ProcessorModuleController as G, setProcessorName as H, documentModel as I, AddDocumentTypeAction as J, ProcessorModuleBaseOperationsOperations as K, addDocumentType as L, assertIsProcessorModuleDocument as M, assertIsProcessorModuleState as N, processorModuleDocumentType as O, isProcessorModuleDocument as P, RemoveProcessorAppAction as Q, addProcessorApp as R, actions as S, StatusType as St, defaultGlobalState as T, setProcessorStatus as U, removeProcessorApp as V, setProcessorType as W, ProcessorModuleBaseOperationsAction as X, AddProcessorAppAction as Y, RemoveDocumentTypeAction as Z, ProcessorModule as _, RemoveProcessorAppInput as _t, DocumentTypeItemSchema as a, AddDocumentTypeInput as at, useProcessorModuleDocumentsInSelectedFolder as b, SetProcessorStatusInput as bt, RemoveProcessorAppInputSchema as c, Exact as ct, SetProcessorTypeInputSchema as d, MakeEmpty as dt, SetProcessorStatusAction as et, StatusTypeSchema as f, MakeMaybe as ft, utils as g, RemoveDocumentTypeInput as gt, reducer as h, ProcessorModuleState as ht, AddProcessorAppInputSchema as i, ProcessorModulePHState as it, ProcessorModulePHStateSchema as j, ProcessorModuleDocumentHeaderSchema as k, SetProcessorNameInputSchema as l, Incremental as lt, isDefinedNonNullAny as m, Maybe as mt, initialLocalState as n, ProcessorModuleDocument as nt, ProcessorModuleStateSchema as o, AddProcessorAppInput as ot, definedNonNullAnySchema as p, MakeOptional as pt, ProcessorModuleAction as q, AddDocumentTypeInputSchema as r, ProcessorModuleLocalState as rt, RemoveDocumentTypeInputSchema as s, DocumentTypeItem as st, initialGlobalState as t, SetProcessorTypeAction as tt, SetProcessorStatusInputSchema as u, InputMaybe as ut, useProcessorModuleDocumentById as v, Scalars as vt, createState$1 as w, useSelectedProcessorModuleDocument as x, SetProcessorTypeInput as xt, useProcessorModuleDocumentsInSelectedDrive as y, SetProcessorNameInput as yt, creators_d_exports as z };
|
|
437
|
+
//# sourceMappingURL=index-BoGed4Fa.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BoGed4Fa.d.ts","names":[],"sources":["../document-models/processor-module/v1/gen/schema/types.ts","../document-models/processor-module/v1/gen/types.ts","../document-models/processor-module/v1/gen/base-operations/actions.ts","../document-models/processor-module/v1/gen/actions.ts","../document-models/processor-module/v1/gen/base-operations/operations.ts","../document-models/processor-module/v1/gen/controller.ts","../document-models/processor-module/v1/gen/base-operations/creators.ts","../document-models/processor-module/v1/gen/document-model.ts","../document-models/processor-module/v1/gen/document-schema.ts","../document-models/processor-module/v1/gen/document-type.ts","../document-models/processor-module/v1/gen/ph-factories.ts","../document-models/processor-module/v1/actions.ts","../document-models/processor-module/v1/hooks.ts","../document-models/processor-module/v1/module.ts","../document-models/processor-module/v1/utils.ts","../document-models/processor-module/v1/gen/reducer.ts","../document-models/processor-module/v1/gen/schema/zod.ts","../document-models/processor-module/v1/gen/utils.ts"],"mappings":";;;;;;;KAAY,KAAA,MAAW,CAAA;AAAA,KACX,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oBAAA;AAAA,iBAOG,sBAAA,CAAA,GAA0B,GAAA,CAAE,SAAA,CAC1C,UAAA,CAAW,gBAAA;AAAA,iBASG,0BAAA,CAAA,GAA8B,GAAA,CAAE,SAAA,CAC9C,UAAA,CAAW,oBAAA;AAAA,iBAYG,6BAAA,CAAA,GAAiC,GAAA,CAAE,SAAA,CACjD,UAAA,CAAW,uBAAA;AAAA,iBAOG,6BAAA,CAAA,GAAiC,GAAA,CAAE,SAAA,CACjD,UAAA,CAAW,uBAAA;AAAA,iBAOG,2BAAA,CAAA,GAA+B,GAAA,CAAE,SAAA,CAC/C,UAAA,CAAW,qBAAA;AAAA,iBAOG,6BAAA,CAAA,GAAiC,GAAA,CAAE,SAAA,CACjD,UAAA,CAAW,uBAAA;AAAA,iBAOG,2BAAA,CAAA,GAA+B,GAAA,CAAE,SAAA,CAC/C,UAAA,CAAW,qBAAA;;;cC9EA,kBAAA,EAAoB,oBAAA;AAAA,cAOpB,iBAAA,EAAmB,yBAAA"}
|
|
@@ -4,30 +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/app-module/v1/actions.d.ts
|
|
8
|
-
/** Actions for the AppModule document model */
|
|
9
|
-
declare const actions: {
|
|
10
|
-
setDragAndDropEnabled: (input: SetDragAndDropEnabledInput) => SetDragAndDropEnabledAction;
|
|
11
|
-
setAppName: (input: SetAppNameInput) => SetAppNameAction;
|
|
12
|
-
setAppStatus: (input: SetAppStatusInput) => SetAppStatusAction;
|
|
13
|
-
addDocumentType: (input: AddDocumentTypeInput) => AddDocumentTypeAction;
|
|
14
|
-
removeDocumentType: (input: RemoveDocumentTypeInput) => RemoveDocumentTypeAction;
|
|
15
|
-
setDocumentTypes: (input: SetDocumentTypesInput) => SetDocumentTypesAction;
|
|
16
|
-
setName: (name: string | {
|
|
17
|
-
name: string;
|
|
18
|
-
}) => document_model0.SetNameAction;
|
|
19
|
-
setPreferredEditor: (input: string | null | {
|
|
20
|
-
preferredEditor: string | null;
|
|
21
|
-
}) => document_model0.SetPreferredEditorAction;
|
|
22
|
-
undo: (count?: number, scope?: string) => document_model0.UndoAction;
|
|
23
|
-
redo: (count?: number, scope?: string) => document_model0.RedoAction;
|
|
24
|
-
prune: (start?: number, end?: number, scope?: string) => document_model0.SchemaPruneAction;
|
|
25
|
-
loadState: <TState extends document_model0.PHBaseState = document_model0.PHBaseState>(state: TState & {
|
|
26
|
-
name: string;
|
|
27
|
-
}, operations: number) => document_model0.LoadStateAction;
|
|
28
|
-
noop: (scope?: string) => document_model0.NOOPAction;
|
|
29
|
-
};
|
|
30
|
-
//#endregion
|
|
31
7
|
//#region document-models/app-module/v1/gen/schema/types.d.ts
|
|
32
8
|
type Maybe<T> = T | null | undefined;
|
|
33
9
|
type InputMaybe<T> = T | null | undefined;
|
|
@@ -352,29 +328,29 @@ declare function createAppModuleDocument(state?: Partial<{
|
|
|
352
328
|
local?: Partial<AppModuleLocalState>;
|
|
353
329
|
}>): AppModuleDocument;
|
|
354
330
|
//#endregion
|
|
355
|
-
//#region document-models/app-module/v1/
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
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
|
+
};
|
|
378
354
|
//#endregion
|
|
379
355
|
//#region document-models/app-module/v1/hooks.d.ts
|
|
380
356
|
/** Hook to get a AppModule document by its id */
|
|
@@ -420,5 +396,29 @@ declare const AppModule: {
|
|
|
420
396
|
/** Utils for the AppModule document model */
|
|
421
397
|
declare const utils: DocumentModelUtils<AppModulePHState>;
|
|
422
398
|
//#endregion
|
|
423
|
-
|
|
424
|
-
|
|
399
|
+
//#region document-models/app-module/v1/gen/reducer.d.ts
|
|
400
|
+
declare const reducer: Reducer<AppModulePHState>;
|
|
401
|
+
//#endregion
|
|
402
|
+
//#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]> }>;
|
|
404
|
+
type definedNonNullAny = {};
|
|
405
|
+
declare const isDefinedNonNullAny: (v: any) => v is definedNonNullAny;
|
|
406
|
+
declare const definedNonNullAnySchema: z$1.ZodAny & z$1.ZodType<definedNonNullAny, any, z$1.core.$ZodTypeInternals<definedNonNullAny, any>>;
|
|
407
|
+
declare const StatusTypeSchema: z$1.ZodEnum<{
|
|
408
|
+
CONFIRMED: "CONFIRMED";
|
|
409
|
+
DRAFT: "DRAFT";
|
|
410
|
+
}>;
|
|
411
|
+
declare function AddDocumentTypeInputSchema(): z$1.ZodObject<Properties<AddDocumentTypeInput>>;
|
|
412
|
+
declare function AppModuleStateSchema(): z$1.ZodObject<Properties<AppModuleState>>;
|
|
413
|
+
declare function RemoveDocumentTypeInputSchema(): z$1.ZodObject<Properties<RemoveDocumentTypeInput>>;
|
|
414
|
+
declare function SetAppNameInputSchema(): z$1.ZodObject<Properties<SetAppNameInput>>;
|
|
415
|
+
declare function SetAppStatusInputSchema(): z$1.ZodObject<Properties<SetAppStatusInput>>;
|
|
416
|
+
declare function SetDocumentTypesInputSchema(): z$1.ZodObject<Properties<SetDocumentTypesInput>>;
|
|
417
|
+
declare function SetDragAndDropEnabledInputSchema(): z$1.ZodObject<Properties<SetDragAndDropEnabledInput>>;
|
|
418
|
+
//#endregion
|
|
419
|
+
//#region document-models/app-module/v1/gen/utils.d.ts
|
|
420
|
+
declare const initialGlobalState: AppModuleState;
|
|
421
|
+
declare const initialLocalState: AppModuleLocalState;
|
|
422
|
+
//#endregion
|
|
423
|
+
export { SetAppStatusAction as $, assertIsAppModuleDocument as A, removeDocumentType as B, defaultGlobalState as C, AppModuleDocumentHeaderSchema as D, appModuleDocumentType as E, AppModuleDndOperationsOperations as F, AppModuleBaseOperationsOperations as G, setAppStatus as H, creators_d_exports as I, SetDragAndDropEnabledAction as J, AppModuleAction as K, setDragAndDropEnabled as L, isAppModuleDocument as M, isAppModuleState as N, AppModuleDocumentSchema as O, documentModel as P, SetAppNameAction as Q, addDocumentType as R, createState$1 as S, defaultPHState as T, setDocumentTypes as U, setAppName as V, AppModuleController as W, AppModuleBaseOperationsAction as X, AddDocumentTypeAction as Y, RemoveDocumentTypeAction as Z, useAppModuleDocumentsInSelectedDrive as _, SetDocumentTypesInput as _t, RemoveDocumentTypeInputSchema as a, AppModuleState as at, actions as b, SetDocumentTypesInputSchema as c, InputMaybe as ct, definedNonNullAnySchema as d, MakeOptional as dt, SetDocumentTypesAction as et, isDefinedNonNullAny as f, Maybe as ft, useAppModuleDocumentById as g, SetAppStatusInput as gt, AppModule as h, SetAppNameInput as ht, AppModuleStateSchema as i, AddDocumentTypeInput as it, assertIsAppModuleState as j, AppModulePHStateSchema as k, SetDragAndDropEnabledInputSchema as l, MakeEmpty as lt, utils as m, Scalars as mt, initialLocalState as n, AppModuleLocalState as nt, SetAppNameInputSchema as o, Exact as ot, reducer as p, RemoveDocumentTypeInput as pt, AppModuleDndOperationsAction as q, AddDocumentTypeInputSchema as r, AppModulePHState as rt, SetAppStatusInputSchema as s, Incremental as st, initialGlobalState as t, AppModuleDocument as tt, StatusTypeSchema as u, MakeMaybe as ut, useAppModuleDocumentsInSelectedFolder as v, SetDragAndDropEnabledInput as vt, defaultLocalState as w, createAppModuleDocument as x, useSelectedAppModuleDocument as y, StatusType as yt, creators_d_exports$1 as z };
|
|
424
|
+
//# sourceMappingURL=index-C4s0aLv3.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-C4s0aLv3.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/document-type.ts","../document-models/app-module/v1/gen/ph-factories.ts","../document-models/app-module/v1/actions.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,KAAA,MAAW,CAAA;AAAA,KACX,UAAA,MAAgB,CAAA;AAAA,KAChB,KAAA;EAAA,CAAmB,GAAA;AAAA,mBACjB,CAAA,GAAI,CAAA,CAAE,CAAA;AAAA,KAER,YAAA,oBAAgC,CAAA,IAAK,IAAA,CAAK,CAAA,EAAG,CAAA,iBAC5C,CAAA,IAAK,KAAA,CAAM,CAAA,CAAE,MAAA;AAAA,KAEd,SAAA,oBAA6B,CAAA,IAAK,IAAA,CAAK,CAAA,EAAG,CAAA,iBACzC,CAAA,GAAI,KAAA,CAAM,CAAA,CAAE,MAAA;AAAA,KAEb,SAAA;EAAA,CACG,GAAA;AAAA,mBACG,CAAA,YACN,CAAA;AAAA,KACA,WAAA,MACR,CAAA,iBAEc,CAAA,IAAK,CAAA,2CAA4C,CAAA,CAAE,CAAA;;KAGzD,OAAA;EACV,EAAA;IAAM,KAAA;IAAe,MAAA;EAAA;EACrB,MAAA;IAAU,KAAA;IAAe,MAAA;EAAA;EACzB,OAAA;IAAW,KAAA;IAAgB,MAAA;EAAA;EAC3B,GAAA;IAAO,KAAA;IAAe,MAAA;EAAA;EACtB,KAAA;IAAS,KAAA;IAAe,MAAA;EAAA;EACxB,OAAA;IAAW,KAAA;IAAgC,MAAA;EAAA;EAC3C,MAAA;IACE,KAAA;MAAS,IAAA;MAAe,KAAA;IAAA;IACxB,MAAA;MAAU,IAAA;MAAe,KAAA;IAAA;EAAA;EAE3B,aAAA;IACE,KAAA;MAAS,IAAA;MAAc,KAAA;IAAA;IACvB,MAAA;MAAU,IAAA;MAAc,KAAA;IAAA;EAAA;EAE1B,eAAA;IACE,KAAA;MAAS,IAAA;M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,2BAAA,CAAA,GAA+B,GAAA,CAAE,SAAA,CAC/C,UAAA,CAAW,qBAAA;AAAA,iBAOG,gCAAA,CAAA,GAAoC,GAAA,CAAE,SAAA,CACpD,UAAA,CAAW,0BAAA;;;cCxDA,kBAAA,EAAoB,cAAA;AAAA,cAMpB,iBAAA,EAAmB,mBAAA"}
|
|
@@ -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/gen/reducer.ts","../document-models/document-editor/v1/gen/schema/zod.ts","../document-models/document-editor/v1/gen/utils.ts"],"mappings":";;;;;;;KAAY,KAAA,MAAW,CAAA;AAAA,KACX,UAAA,MAAgB,CAAA;AAAA,KAChB,KAAA;EAAA,CAAmB,GAAA;AAAA,mBACjB,CAAA,GAAI,CAAA,CAAE,CAAA;AAAA,KAER,YAAA,oBAAgC,CAAA,IAAK,IAAA,CAAK,CAAA,EAAG,CAAA,iBAC5C,CAAA,IAAK,KAAA,CAAM,CAAA,CAAE,MAAA;AAAA,KAEd,SAAA,oBAA6B,CAAA,IAAK,IAAA,CAAK,CAAA,EAAG,CAAA,iBACzC,CAAA,GAAI,KAAA,CAAM,CAAA,CAAE,MAAA;AAAA,KAEb,SAAA;EAAA,CACG,GAAA;AAAA,mBACG,CAAA,YACN,CAAA;AAAA,KACA,WAAA,MACR,CAAA,iBAEc,CAAA,IAAK,CAAA,2CAA4C,CAAA,CAAE,CAAA;;KAGzD,OAAA;EACV,EAAA;IAAM,KAAA;IAAe,MAAA;EAAA;EACrB,MAAA;IAAU,KAAA;IAAe,MAAA;EAAA;EACzB,OAAA;IAAW,KAAA;IAAgB,MAA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AAyE,iBAAA;+BAAA,eAAA,CAAA,WAAA;;;8CAAkM,UAAA;EAAA;EAAA;;;;;;cCV90W,KAAA,EAAO,kBAAA,CAAmB,qBAAA;;;cCmE1B,OAAA,EAAS,OAAA,CAAQ,qBAAA;;;KChEzB,UAAA,MAAgB,QAAA,eACP,CAAA,GAAI,GAAA,CAAE,OAAA,CAAQ,CAAA,CAAE,CAAA;AAAA,KAGzB,iBAAA;AAAA,cAEQ,mBAAA,GAAuB,CAAA,UAAS,CAAA,IAAK,iBAAA;AAAA,cAGrC,uBAAA,EAAuB,GAAA,CAAA,MAAA,GAAA,GAAA,CAAA,OAAA,CAAA,iBAAA,OAAA,GAAA,CAAA,IAAA,CAAA,iBAAA,CAAA,iBAAA;AAAA,cAIvB,gBAAA,EAAgB,GAAA,CAAA,OAAA;;;;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"}
|