@powerhousedao/vetra 6.0.0-dev.130 → 6.0.0-dev.132
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/document-models/app-module/index.d.ts +1 -1
- package/dist/document-models/document-editor/index.d.ts +1 -1
- package/dist/document-models/index.d.ts +5 -5
- package/dist/document-models/processor-module/index.d.ts +1 -1
- package/dist/document-models/subgraph-module/index.d.ts +1 -1
- package/dist/document-models/vetra-package/index.d.ts +1 -1
- package/dist/{index-BIhYARHk.d.ts → index-CHfOF-Et.d.ts} +20 -62
- package/dist/{index-BIhYARHk.d.ts.map → index-CHfOF-Et.d.ts.map} +1 -1
- package/dist/{index-BlYcCfPV.d.ts → index-CL_CHW_Z.d.ts} +17 -53
- package/dist/{index-BlYcCfPV.d.ts.map → index-CL_CHW_Z.d.ts.map} +1 -1
- package/dist/{index-C7Ijph75.d.ts → index-C_kUPMNf.d.ts} +14 -44
- package/dist/{index-C7Ijph75.d.ts.map → index-C_kUPMNf.d.ts.map} +1 -1
- package/dist/{index-vsvue1ka.d.ts → index-Qr_rU6VS.d.ts} +12 -39
- package/dist/{index-vsvue1ka.d.ts.map → index-Qr_rU6VS.d.ts.map} +1 -1
- package/dist/{index-B_E5OBH7.d.ts → index-cBMMID-w.d.ts} +16 -49
- package/dist/{index-B_E5OBH7.d.ts.map → index-cBMMID-w.d.ts.map} +1 -1
- package/dist/processors/index.d.ts +3 -3
- package/dist/processors/index.d.ts.map +1 -1
- package/package.json +9 -9
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as AppModuleDocument, A as createAppModuleDocument, B as setAppName, C as SetDragAndDropEnabledInputSchema, D as reducer, E as isDefinedNonNullAny, F as creators_d_exports$1, G as AppModuleDndOperationsAction, H as setDocumentTypes, I as setDragAndDropEnabled, J as AppModuleBaseOperationsAction, K as SetDragAndDropEnabledAction, L as addDocumentType, M as defaultGlobalState, N as defaultLocalState, O as initialGlobalState, P as defaultPHState, Q as SetDocumentTypesAction, R as creators_d_exports, S as SetDocumentTypesInputSchema, T as definedNonNullAnySchema, U as documentModel, V as setAppStatus, W as AppModuleAction, X as SetAppNameAction, Y as RemoveDocumentTypeAction, Z as SetAppStatusAction, _ as AddDocumentTypeInputSchema, _t as StatusType, a as useAppModuleDocumentsInSelectedFolder, at as Incremental, b as SetAppNameInputSchema, c as AppModuleBaseOperationsOperations, ct as MakeMaybe, d as AppModulePHStateSchema, dt as RemoveDocumentTypeInput, et as AppModuleLocalState, f as assertIsAppModuleDocument, ft as Scalars, g as appModuleDocumentType, gt as SetDragAndDropEnabledInput, h as isAppModuleState, ht as SetDocumentTypesInput, i as useAppModuleDocumentsInSelectedDrive, it as Exact, j as createState, k as initialLocalState, l as AppModuleDocumentHeaderSchema, lt as MakeOptional, m as isAppModuleDocument, mt as SetAppStatusInput, n as actions, nt as AddDocumentTypeInput, o as useSelectedAppModuleDocument, ot as InputMaybe, p as assertIsAppModuleState, pt as SetAppNameInput, q as AddDocumentTypeAction, r as useAppModuleDocumentById, rt as AppModuleState, s as AppModuleDndOperationsOperations, st as MakeEmpty, t as utils, tt as AppModulePHState, u as AppModuleDocumentSchema, ut as Maybe, v as AppModuleStateSchema, w as StatusTypeSchema, x as SetAppStatusInputSchema, y as RemoveDocumentTypeInputSchema, z as removeDocumentType } from "../../index-
|
|
1
|
+
import { $ as AppModuleDocument, A as createAppModuleDocument, B as setAppName, C as SetDragAndDropEnabledInputSchema, D as reducer, E as isDefinedNonNullAny, F as creators_d_exports$1, G as AppModuleDndOperationsAction, H as setDocumentTypes, I as setDragAndDropEnabled, J as AppModuleBaseOperationsAction, K as SetDragAndDropEnabledAction, L as addDocumentType, M as defaultGlobalState, N as defaultLocalState, O as initialGlobalState, P as defaultPHState, Q as SetDocumentTypesAction, R as creators_d_exports, S as SetDocumentTypesInputSchema, T as definedNonNullAnySchema, U as documentModel, V as setAppStatus, W as AppModuleAction, X as SetAppNameAction, Y as RemoveDocumentTypeAction, Z as SetAppStatusAction, _ as AddDocumentTypeInputSchema, _t as StatusType, a as useAppModuleDocumentsInSelectedFolder, at as Incremental, b as SetAppNameInputSchema, c as AppModuleBaseOperationsOperations, ct as MakeMaybe, d as AppModulePHStateSchema, dt as RemoveDocumentTypeInput, et as AppModuleLocalState, f as assertIsAppModuleDocument, ft as Scalars, g as appModuleDocumentType, gt as SetDragAndDropEnabledInput, h as isAppModuleState, ht as SetDocumentTypesInput, i as useAppModuleDocumentsInSelectedDrive, it as Exact, j as createState, k as initialLocalState, l as AppModuleDocumentHeaderSchema, lt as MakeOptional, m as isAppModuleDocument, mt as SetAppStatusInput, n as actions, nt as AddDocumentTypeInput, o as useSelectedAppModuleDocument, ot as InputMaybe, p as assertIsAppModuleState, pt as SetAppNameInput, q as AddDocumentTypeAction, r as useAppModuleDocumentById, rt as AppModuleState, s as AppModuleDndOperationsOperations, st as MakeEmpty, t as utils, tt as AppModulePHState, u as AppModuleDocumentSchema, ut as Maybe, v as AppModuleStateSchema, w as StatusTypeSchema, x as SetAppStatusInputSchema, y as RemoveDocumentTypeInputSchema, z as removeDocumentType } from "../../index-cBMMID-w.js";
|
|
2
2
|
export { AddDocumentTypeAction, AddDocumentTypeInput, AddDocumentTypeInputSchema, AppModuleAction, AppModuleBaseOperationsAction, AppModuleBaseOperationsOperations, AppModuleDndOperationsAction, AppModuleDndOperationsOperations, AppModuleDocument, AppModuleDocumentHeaderSchema, AppModuleDocumentSchema, AppModuleState as AppModuleGlobalState, AppModuleState, AppModuleLocalState, AppModulePHState, AppModulePHStateSchema, AppModuleStateSchema, Exact, Incremental, InputMaybe, MakeEmpty, MakeMaybe, MakeOptional, Maybe, RemoveDocumentTypeAction, RemoveDocumentTypeInput, RemoveDocumentTypeInputSchema, Scalars, SetAppNameAction, SetAppNameInput, SetAppNameInputSchema, SetAppStatusAction, SetAppStatusInput, SetAppStatusInputSchema, SetDocumentTypesAction, SetDocumentTypesInput, SetDocumentTypesInputSchema, SetDragAndDropEnabledAction, SetDragAndDropEnabledInput, SetDragAndDropEnabledInputSchema, StatusType, StatusTypeSchema, actions, addDocumentType, appModuleDocumentType, assertIsAppModuleDocument, assertIsAppModuleState, creators_d_exports as baseOperationsActions, createAppModuleDocument, createState, defaultGlobalState, defaultLocalState, defaultPHState, definedNonNullAnySchema, creators_d_exports$1 as dndOperationsActions, documentModel, initialGlobalState, initialLocalState, isAppModuleDocument, isAppModuleState, isDefinedNonNullAny, reducer, removeDocumentType, setAppName, setAppStatus, setDocumentTypes, setDragAndDropEnabled, useAppModuleDocumentById, useAppModuleDocumentsInSelectedDrive, useAppModuleDocumentsInSelectedFolder, useSelectedAppModuleDocument, utils };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as InputMaybe, A as defaultGlobalState, B as AddDocumentTypeAction, C as definedNonNullAnySchema, D as initialLocalState, E as initialGlobalState, F as removeDocumentType, G as DocumentEditorDocument, H as RemoveDocumentTypeAction, I as setEditorName, J as AddDocumentTypeInput, K as DocumentEditorLocalState, L as setEditorStatus, M as defaultPHState, N as addDocumentType, O as createDocumentEditorDocument, P as creators_d_exports, Q as Incremental, R as documentModel, S as StatusTypeSchema, T as reducer, U as SetEditorNameAction, V as DocumentEditorBaseOperationsAction, W as SetEditorStatusAction, X as DocumentTypeItem, Y as DocumentEditorState, Z as Exact, _ as DocumentEditorStateSchema, a as useDocumentEditorDocumentsInSelectedFolder, at as Scalars, b as SetEditorNameInputSchema, c as DocumentEditorDocumentHeaderSchema, ct as StatusType, d as assertIsDocumentEditorDocument, et as MakeEmpty, f as assertIsDocumentEditorState, g as AddDocumentTypeInputSchema, h as documentEditorDocumentType, i as useDocumentEditorDocumentsInSelectedDrive, it as RemoveDocumentTypeInput, j as defaultLocalState, k as createState, l as DocumentEditorDocumentSchema, m as isDocumentEditorState, n as actions, nt as MakeOptional, o as useSelectedDocumentEditorDocument, ot as SetEditorNameInput, p as isDocumentEditorDocument, q as DocumentEditorPHState, r as useDocumentEditorDocumentById, rt as Maybe, s as DocumentEditorBaseOperationsOperations, st as SetEditorStatusInput, t as utils, tt as MakeMaybe, u as DocumentEditorPHStateSchema, v as DocumentTypeItemSchema, w as isDefinedNonNullAny, x as SetEditorStatusInputSchema, y as RemoveDocumentTypeInputSchema, z as DocumentEditorAction } from "../../index-
|
|
1
|
+
import { $ as InputMaybe, A as defaultGlobalState, B as AddDocumentTypeAction, C as definedNonNullAnySchema, D as initialLocalState, E as initialGlobalState, F as removeDocumentType, G as DocumentEditorDocument, H as RemoveDocumentTypeAction, I as setEditorName, J as AddDocumentTypeInput, K as DocumentEditorLocalState, L as setEditorStatus, M as defaultPHState, N as addDocumentType, O as createDocumentEditorDocument, P as creators_d_exports, Q as Incremental, R as documentModel, S as StatusTypeSchema, T as reducer, U as SetEditorNameAction, V as DocumentEditorBaseOperationsAction, W as SetEditorStatusAction, X as DocumentTypeItem, Y as DocumentEditorState, Z as Exact, _ as DocumentEditorStateSchema, a as useDocumentEditorDocumentsInSelectedFolder, at as Scalars, b as SetEditorNameInputSchema, c as DocumentEditorDocumentHeaderSchema, ct as StatusType, d as assertIsDocumentEditorDocument, et as MakeEmpty, f as assertIsDocumentEditorState, g as AddDocumentTypeInputSchema, h as documentEditorDocumentType, i as useDocumentEditorDocumentsInSelectedDrive, it as RemoveDocumentTypeInput, j as defaultLocalState, k as createState, l as DocumentEditorDocumentSchema, m as isDocumentEditorState, n as actions, nt as MakeOptional, o as useSelectedDocumentEditorDocument, ot as SetEditorNameInput, p as isDocumentEditorDocument, q as DocumentEditorPHState, r as useDocumentEditorDocumentById, rt as Maybe, s as DocumentEditorBaseOperationsOperations, st as SetEditorStatusInput, t as utils, tt as MakeMaybe, u as DocumentEditorPHStateSchema, v as DocumentTypeItemSchema, w as isDefinedNonNullAny, x as SetEditorStatusInputSchema, y as RemoveDocumentTypeInputSchema, z as DocumentEditorAction } from "../../index-C_kUPMNf.js";
|
|
2
2
|
export { AddDocumentTypeAction, AddDocumentTypeInput, AddDocumentTypeInputSchema, DocumentEditorAction, DocumentEditorBaseOperationsAction, DocumentEditorBaseOperationsOperations, DocumentEditorDocument, DocumentEditorDocumentHeaderSchema, DocumentEditorDocumentSchema, DocumentEditorState as DocumentEditorGlobalState, DocumentEditorState, DocumentEditorLocalState, DocumentEditorPHState, DocumentEditorPHStateSchema, DocumentEditorStateSchema, DocumentTypeItem, DocumentTypeItemSchema, Exact, Incremental, InputMaybe, MakeEmpty, MakeMaybe, MakeOptional, Maybe, RemoveDocumentTypeAction, RemoveDocumentTypeInput, RemoveDocumentTypeInputSchema, Scalars, SetEditorNameAction, SetEditorNameInput, SetEditorNameInputSchema, SetEditorStatusAction, SetEditorStatusInput, SetEditorStatusInputSchema, StatusType, StatusTypeSchema, actions, addDocumentType, assertIsDocumentEditorDocument, assertIsDocumentEditorState, creators_d_exports as baseOperationsActions, createDocumentEditorDocument, createState, defaultGlobalState, defaultLocalState, defaultPHState, definedNonNullAnySchema, documentEditorDocumentType, documentModel, initialGlobalState, initialLocalState, isDefinedNonNullAny, isDocumentEditorDocument, isDocumentEditorState, reducer, removeDocumentType, setEditorName, setEditorStatus, useDocumentEditorDocumentById, useDocumentEditorDocumentsInSelectedDrive, useDocumentEditorDocumentsInSelectedFolder, useSelectedDocumentEditorDocument, utils };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { tt as AppModulePHState } from "../index-
|
|
2
|
-
import { q as DocumentEditorPHState } from "../index-
|
|
3
|
-
import { nt as ProcessorModulePHState } from "../index-
|
|
4
|
-
import { B as SubgraphModulePHState } from "../index-
|
|
5
|
-
import { dt as VetraPackagePHState } from "../index-
|
|
1
|
+
import { tt as AppModulePHState } from "../index-cBMMID-w.js";
|
|
2
|
+
import { q as DocumentEditorPHState } from "../index-C_kUPMNf.js";
|
|
3
|
+
import { nt as ProcessorModulePHState } from "../index-CL_CHW_Z.js";
|
|
4
|
+
import { B as SubgraphModulePHState } from "../index-Qr_rU6VS.js";
|
|
5
|
+
import { dt as VetraPackagePHState } from "../index-CHfOF-Et.js";
|
|
6
6
|
import { DocumentModelModule } from "@powerhousedao/shared/document-model";
|
|
7
7
|
|
|
8
8
|
//#region document-models/app-module/module.d.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as SetProcessorTypeAction, A as initialLocalState, B as removeProcessorApp, C as SetProcessorStatusInputSchema, D as isDefinedNonNullAny, E as definedNonNullAnySchema, F as defaultPHState, G as ProcessorModuleAction, H as setProcessorStatus, I as addDocumentType, J as ProcessorModuleBaseOperationsAction, K as AddDocumentTypeAction, L as addProcessorApp, M as createState, N as defaultGlobalState, O as reducer, P as defaultLocalState, Q as SetProcessorStatusAction, R as creators_d_exports, S as SetProcessorNameInputSchema, T as StatusTypeSchema, U as setProcessorType, V as setProcessorName, W as documentModel, X as RemoveProcessorAppAction, Y as RemoveDocumentTypeAction, Z as SetProcessorNameAction, _ as AddProcessorAppInputSchema, _t as SetProcessorNameInput, a as useProcessorModuleDocumentsInSelectedFolder, at as DocumentTypeItem, b as RemoveDocumentTypeInputSchema, bt as StatusType, c as ProcessorModuleDocumentHeaderSchema, ct as InputMaybe, d as assertIsProcessorModuleDocument, dt as MakeOptional, et as ProcessorModuleDocument, f as assertIsProcessorModuleState, ft as Maybe, g as AddDocumentTypeInputSchema, gt as Scalars, h as processorModuleDocumentType, ht as RemoveProcessorAppInput, i as useProcessorModuleDocumentsInSelectedDrive, it as AddProcessorAppInput, j as createProcessorModuleDocument, k as initialGlobalState, l as ProcessorModuleDocumentSchema, lt as MakeEmpty, m as isProcessorModuleState, mt as RemoveDocumentTypeInput, n as actions, nt as ProcessorModulePHState, o as useSelectedProcessorModuleDocument, ot as Exact, p as isProcessorModuleDocument, pt as ProcessorModuleState, q as AddProcessorAppAction, r as useProcessorModuleDocumentById, rt as AddDocumentTypeInput, s as ProcessorModuleBaseOperationsOperations, st as Incremental, t as utils, tt as ProcessorModuleLocalState, u as ProcessorModulePHStateSchema, ut as MakeMaybe, v as DocumentTypeItemSchema, vt as SetProcessorStatusInput, w as SetProcessorTypeInputSchema, x as RemoveProcessorAppInputSchema, y as ProcessorModuleStateSchema, yt as SetProcessorTypeInput, z as removeDocumentType } from "../../index-
|
|
1
|
+
import { $ as SetProcessorTypeAction, A as initialLocalState, B as removeProcessorApp, C as SetProcessorStatusInputSchema, D as isDefinedNonNullAny, E as definedNonNullAnySchema, F as defaultPHState, G as ProcessorModuleAction, H as setProcessorStatus, I as addDocumentType, J as ProcessorModuleBaseOperationsAction, K as AddDocumentTypeAction, L as addProcessorApp, M as createState, N as defaultGlobalState, O as reducer, P as defaultLocalState, Q as SetProcessorStatusAction, R as creators_d_exports, S as SetProcessorNameInputSchema, T as StatusTypeSchema, U as setProcessorType, V as setProcessorName, W as documentModel, X as RemoveProcessorAppAction, Y as RemoveDocumentTypeAction, Z as SetProcessorNameAction, _ as AddProcessorAppInputSchema, _t as SetProcessorNameInput, a as useProcessorModuleDocumentsInSelectedFolder, at as DocumentTypeItem, b as RemoveDocumentTypeInputSchema, bt as StatusType, c as ProcessorModuleDocumentHeaderSchema, ct as InputMaybe, d as assertIsProcessorModuleDocument, dt as MakeOptional, et as ProcessorModuleDocument, f as assertIsProcessorModuleState, ft as Maybe, g as AddDocumentTypeInputSchema, gt as Scalars, h as processorModuleDocumentType, ht as RemoveProcessorAppInput, i as useProcessorModuleDocumentsInSelectedDrive, it as AddProcessorAppInput, j as createProcessorModuleDocument, k as initialGlobalState, l as ProcessorModuleDocumentSchema, lt as MakeEmpty, m as isProcessorModuleState, mt as RemoveDocumentTypeInput, n as actions, nt as ProcessorModulePHState, o as useSelectedProcessorModuleDocument, ot as Exact, p as isProcessorModuleDocument, pt as ProcessorModuleState, q as AddProcessorAppAction, r as useProcessorModuleDocumentById, rt as AddDocumentTypeInput, s as ProcessorModuleBaseOperationsOperations, st as Incremental, t as utils, tt as ProcessorModuleLocalState, u as ProcessorModulePHStateSchema, ut as MakeMaybe, v as DocumentTypeItemSchema, vt as SetProcessorStatusInput, w as SetProcessorTypeInputSchema, x as RemoveProcessorAppInputSchema, y as ProcessorModuleStateSchema, yt as SetProcessorTypeInput, z as removeDocumentType } from "../../index-CL_CHW_Z.js";
|
|
2
2
|
export { AddDocumentTypeAction, AddDocumentTypeInput, AddDocumentTypeInputSchema, AddProcessorAppAction, AddProcessorAppInput, AddProcessorAppInputSchema, DocumentTypeItem, DocumentTypeItemSchema, Exact, Incremental, InputMaybe, MakeEmpty, MakeMaybe, MakeOptional, Maybe, ProcessorModuleAction, ProcessorModuleBaseOperationsAction, ProcessorModuleBaseOperationsOperations, ProcessorModuleDocument, ProcessorModuleDocumentHeaderSchema, ProcessorModuleDocumentSchema, ProcessorModuleState as ProcessorModuleGlobalState, ProcessorModuleState, ProcessorModuleLocalState, ProcessorModulePHState, ProcessorModulePHStateSchema, ProcessorModuleStateSchema, RemoveDocumentTypeAction, RemoveDocumentTypeInput, RemoveDocumentTypeInputSchema, RemoveProcessorAppAction, RemoveProcessorAppInput, RemoveProcessorAppInputSchema, Scalars, SetProcessorNameAction, SetProcessorNameInput, SetProcessorNameInputSchema, SetProcessorStatusAction, SetProcessorStatusInput, SetProcessorStatusInputSchema, SetProcessorTypeAction, SetProcessorTypeInput, SetProcessorTypeInputSchema, StatusType, StatusTypeSchema, actions, addDocumentType, addProcessorApp, assertIsProcessorModuleDocument, assertIsProcessorModuleState, creators_d_exports as baseOperationsActions, createProcessorModuleDocument, createState, defaultGlobalState, defaultLocalState, defaultPHState, definedNonNullAnySchema, documentModel, initialGlobalState, initialLocalState, isDefinedNonNullAny, isProcessorModuleDocument, isProcessorModuleState, processorModuleDocumentType, reducer, removeDocumentType, removeProcessorApp, setProcessorName, setProcessorStatus, setProcessorType, useProcessorModuleDocumentById, useProcessorModuleDocumentsInSelectedDrive, useProcessorModuleDocumentsInSelectedFolder, useSelectedProcessorModuleDocument, utils };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as creators_d_exports, B as SubgraphModulePHState, C as initialGlobalState, D as defaultGlobalState, E as createSubgraphModuleDocument, F as SetSubgraphNameAction, G as MakeMaybe, H as Incremental, I as SetSubgraphStatusAction, J as Scalars, K as MakeOptional, L as SubgraphModuleBaseOperationsAction, M as setSubgraphStatus, N as documentModel, O as defaultLocalState, P as SubgraphModuleAction, Q as SubgraphModuleState, R as SubgraphModuleDocument, S as reducer, T as createState, U as InputMaybe, V as Exact, W as MakeEmpty, X as SetSubgraphStatusInput, Y as SetSubgraphNameInput, Z as StatusType, _ as SetSubgraphStatusInputSchema, a as useSubgraphModuleDocumentsInSelectedDrive, b as definedNonNullAnySchema, c as SubgraphModuleDocumentHeaderSchema, d as assertIsSubgraphModuleDocument, f as assertIsSubgraphModuleState, g as SetSubgraphNameInputSchema, h as subgraphModuleDocumentType, i as useSubgraphModuleDocumentById, j as setSubgraphName, k as defaultPHState, l as SubgraphModuleDocumentSchema, m as isSubgraphModuleState, n as actions, o as useSubgraphModuleDocumentsInSelectedFolder, p as isSubgraphModuleDocument, q as Maybe, r as useSelectedSubgraphModuleDocument, s as SubgraphModuleBaseOperationsOperations, t as utils, u as SubgraphModulePHStateSchema, v as StatusTypeSchema, w as initialLocalState, x as isDefinedNonNullAny, y as SubgraphModuleStateSchema, z as SubgraphModuleLocalState } from "../../index-
|
|
1
|
+
import { A as creators_d_exports, B as SubgraphModulePHState, C as initialGlobalState, D as defaultGlobalState, E as createSubgraphModuleDocument, F as SetSubgraphNameAction, G as MakeMaybe, H as Incremental, I as SetSubgraphStatusAction, J as Scalars, K as MakeOptional, L as SubgraphModuleBaseOperationsAction, M as setSubgraphStatus, N as documentModel, O as defaultLocalState, P as SubgraphModuleAction, Q as SubgraphModuleState, R as SubgraphModuleDocument, S as reducer, T as createState, U as InputMaybe, V as Exact, W as MakeEmpty, X as SetSubgraphStatusInput, Y as SetSubgraphNameInput, Z as StatusType, _ as SetSubgraphStatusInputSchema, a as useSubgraphModuleDocumentsInSelectedDrive, b as definedNonNullAnySchema, c as SubgraphModuleDocumentHeaderSchema, d as assertIsSubgraphModuleDocument, f as assertIsSubgraphModuleState, g as SetSubgraphNameInputSchema, h as subgraphModuleDocumentType, i as useSubgraphModuleDocumentById, j as setSubgraphName, k as defaultPHState, l as SubgraphModuleDocumentSchema, m as isSubgraphModuleState, n as actions, o as useSubgraphModuleDocumentsInSelectedFolder, p as isSubgraphModuleDocument, q as Maybe, r as useSelectedSubgraphModuleDocument, s as SubgraphModuleBaseOperationsOperations, t as utils, u as SubgraphModulePHStateSchema, v as StatusTypeSchema, w as initialLocalState, x as isDefinedNonNullAny, y as SubgraphModuleStateSchema, z as SubgraphModuleLocalState } from "../../index-Qr_rU6VS.js";
|
|
2
2
|
export { Exact, Incremental, InputMaybe, MakeEmpty, MakeMaybe, MakeOptional, Maybe, Scalars, SetSubgraphNameAction, SetSubgraphNameInput, SetSubgraphNameInputSchema, SetSubgraphStatusAction, SetSubgraphStatusInput, SetSubgraphStatusInputSchema, StatusType, StatusTypeSchema, SubgraphModuleAction, SubgraphModuleBaseOperationsAction, SubgraphModuleBaseOperationsOperations, SubgraphModuleDocument, SubgraphModuleDocumentHeaderSchema, SubgraphModuleDocumentSchema, SubgraphModuleState as SubgraphModuleGlobalState, SubgraphModuleState, SubgraphModuleLocalState, SubgraphModulePHState, SubgraphModulePHStateSchema, SubgraphModuleStateSchema, actions, assertIsSubgraphModuleDocument, assertIsSubgraphModuleState, creators_d_exports as baseOperationsActions, createState, createSubgraphModuleDocument, defaultGlobalState, defaultLocalState, defaultPHState, definedNonNullAnySchema, documentModel, initialGlobalState, initialLocalState, isDefinedNonNullAny, isSubgraphModuleDocument, isSubgraphModuleState, reducer, setSubgraphName, setSubgraphStatus, subgraphModuleDocumentType, useSelectedSubgraphModuleDocument, useSubgraphModuleDocumentById, useSubgraphModuleDocumentsInSelectedDrive, useSubgraphModuleDocumentsInSelectedFolder, utils };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as RemovePackageKeywordAction, A as isDefinedNonNullAny, At as SetPackageNameInput, B as creators_d_exports, C as SetPackageCategoryInputSchema, Ct as Scalars, D as SetPackageNpmUrlInputSchema, Dt as SetPackageCategoryInput, E as SetPackageNameInputSchema, Et as SetPackageAuthorWebsiteInput, F as createVetraPackageDocument, G as setPackageCategory, H as setPackageAuthor, I as defaultGlobalState, J as setPackageName, K as setPackageDescription, L as defaultLocalState, M as initialGlobalState, Mt as VetraPackageState, N as initialLocalState, O as VetraPackageStateSchema, Ot as SetPackageDescriptionInput, P as createState, Q as AddPackageKeywordAction, R as defaultPHState, S as SetPackageAuthorWebsiteInputSchema, St as RemovePackageKeywordInput, T as SetPackageGithubUrlInputSchema, Tt as SetPackageAuthorNameInput, U as setPackageAuthorName, V as removePackageKeyword, W as setPackageAuthorWebsite, X as documentModel, Y as setPackageNpmUrl, Z as VetraPackageAction, _ as AuthorSchema, _t as Keyword, a as useVetraPackageDocumentsInSelectedDrive, at as SetPackageGithubUrlAction, b as SetPackageAuthorInputSchema, bt as MakeOptional, c as VetraPackageDocumentHeaderSchema, ct as VetraPackageBaseOperationsAction, d as assertIsVetraPackageDocument, dt as VetraPackagePHState, et as SetPackageAuthorAction, f as assertIsVetraPackageState, ft as AddPackageKeywordInput, g as AddPackageKeywordInputSchema, gt as InputMaybe, h as vetraPackageDocumentType, ht as Incremental, i as useVetraPackageDocumentById, it as SetPackageDescriptionAction, j as reducer, jt as SetPackageNpmUrlInput, k as definedNonNullAnySchema, kt as SetPackageGithubUrlInput, l as VetraPackageDocumentSchema, lt as VetraPackageDocument, m as isVetraPackageState, mt as Exact, n as actions, nt as SetPackageAuthorWebsiteAction, o as useVetraPackageDocumentsInSelectedFolder, ot as SetPackageNameAction, p as isVetraPackageDocument, pt as Author, q as setPackageGithubUrl, r as useSelectedVetraPackageDocument, rt as SetPackageCategoryAction, s as VetraPackageBaseOperationsOperations, st as SetPackageNpmUrlAction, t as utils, tt as SetPackageAuthorNameAction, u as VetraPackagePHStateSchema, ut as VetraPackageLocalState, v as KeywordSchema, vt as MakeEmpty, w as SetPackageDescriptionInputSchema, wt as SetPackageAuthorInput, x as SetPackageAuthorNameInputSchema, xt as Maybe, y as RemovePackageKeywordInputSchema, yt as MakeMaybe, z as addPackageKeyword } from "../../index-
|
|
1
|
+
import { $ as RemovePackageKeywordAction, A as isDefinedNonNullAny, At as SetPackageNameInput, B as creators_d_exports, C as SetPackageCategoryInputSchema, Ct as Scalars, D as SetPackageNpmUrlInputSchema, Dt as SetPackageCategoryInput, E as SetPackageNameInputSchema, Et as SetPackageAuthorWebsiteInput, F as createVetraPackageDocument, G as setPackageCategory, H as setPackageAuthor, I as defaultGlobalState, J as setPackageName, K as setPackageDescription, L as defaultLocalState, M as initialGlobalState, Mt as VetraPackageState, N as initialLocalState, O as VetraPackageStateSchema, Ot as SetPackageDescriptionInput, P as createState, Q as AddPackageKeywordAction, R as defaultPHState, S as SetPackageAuthorWebsiteInputSchema, St as RemovePackageKeywordInput, T as SetPackageGithubUrlInputSchema, Tt as SetPackageAuthorNameInput, U as setPackageAuthorName, V as removePackageKeyword, W as setPackageAuthorWebsite, X as documentModel, Y as setPackageNpmUrl, Z as VetraPackageAction, _ as AuthorSchema, _t as Keyword, a as useVetraPackageDocumentsInSelectedDrive, at as SetPackageGithubUrlAction, b as SetPackageAuthorInputSchema, bt as MakeOptional, c as VetraPackageDocumentHeaderSchema, ct as VetraPackageBaseOperationsAction, d as assertIsVetraPackageDocument, dt as VetraPackagePHState, et as SetPackageAuthorAction, f as assertIsVetraPackageState, ft as AddPackageKeywordInput, g as AddPackageKeywordInputSchema, gt as InputMaybe, h as vetraPackageDocumentType, ht as Incremental, i as useVetraPackageDocumentById, it as SetPackageDescriptionAction, j as reducer, jt as SetPackageNpmUrlInput, k as definedNonNullAnySchema, kt as SetPackageGithubUrlInput, l as VetraPackageDocumentSchema, lt as VetraPackageDocument, m as isVetraPackageState, mt as Exact, n as actions, nt as SetPackageAuthorWebsiteAction, o as useVetraPackageDocumentsInSelectedFolder, ot as SetPackageNameAction, p as isVetraPackageDocument, pt as Author, q as setPackageGithubUrl, r as useSelectedVetraPackageDocument, rt as SetPackageCategoryAction, s as VetraPackageBaseOperationsOperations, st as SetPackageNpmUrlAction, t as utils, tt as SetPackageAuthorNameAction, u as VetraPackagePHStateSchema, ut as VetraPackageLocalState, v as KeywordSchema, vt as MakeEmpty, w as SetPackageDescriptionInputSchema, wt as SetPackageAuthorInput, x as SetPackageAuthorNameInputSchema, xt as Maybe, y as RemovePackageKeywordInputSchema, yt as MakeMaybe, z as addPackageKeyword } from "../../index-CHfOF-Et.js";
|
|
2
2
|
export { AddPackageKeywordAction, AddPackageKeywordInput, AddPackageKeywordInputSchema, Author, AuthorSchema, Exact, Incremental, InputMaybe, Keyword, KeywordSchema, MakeEmpty, MakeMaybe, MakeOptional, Maybe, RemovePackageKeywordAction, RemovePackageKeywordInput, RemovePackageKeywordInputSchema, Scalars, SetPackageAuthorAction, SetPackageAuthorInput, SetPackageAuthorInputSchema, SetPackageAuthorNameAction, SetPackageAuthorNameInput, SetPackageAuthorNameInputSchema, SetPackageAuthorWebsiteAction, SetPackageAuthorWebsiteInput, SetPackageAuthorWebsiteInputSchema, SetPackageCategoryAction, SetPackageCategoryInput, SetPackageCategoryInputSchema, SetPackageDescriptionAction, SetPackageDescriptionInput, SetPackageDescriptionInputSchema, SetPackageGithubUrlAction, SetPackageGithubUrlInput, SetPackageGithubUrlInputSchema, SetPackageNameAction, SetPackageNameInput, SetPackageNameInputSchema, SetPackageNpmUrlAction, SetPackageNpmUrlInput, SetPackageNpmUrlInputSchema, VetraPackageAction, VetraPackageBaseOperationsAction, VetraPackageBaseOperationsOperations, VetraPackageDocument, VetraPackageDocumentHeaderSchema, VetraPackageDocumentSchema, VetraPackageState as VetraPackageGlobalState, VetraPackageState, VetraPackageLocalState, VetraPackagePHState, VetraPackagePHStateSchema, VetraPackageStateSchema, actions, addPackageKeyword, assertIsVetraPackageDocument, assertIsVetraPackageState, creators_d_exports as baseOperationsActions, createState, createVetraPackageDocument, defaultGlobalState, defaultLocalState, defaultPHState, definedNonNullAnySchema, documentModel, initialGlobalState, initialLocalState, isDefinedNonNullAny, isVetraPackageDocument, isVetraPackageState, reducer, removePackageKeyword, setPackageAuthor, setPackageAuthorName, setPackageAuthorWebsite, setPackageCategory, setPackageDescription, setPackageGithubUrl, setPackageName, setPackageNpmUrl, useSelectedVetraPackageDocument, useVetraPackageDocumentById, useVetraPackageDocumentsInSelectedDrive, useVetraPackageDocumentsInSelectedFolder, utils, vetraPackageDocumentType };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Action, Actions, DocumentModelGlobalState, DocumentModelUtils, PHAuthState, PHBaseState, PHDocument, PHDocumentState, Reducer, SignalDispatch } from "@powerhousedao/shared/document-model";
|
|
1
|
+
import { Action, Actions, DocumentModelGlobalState, DocumentModelUtils, PHAuthState, PHBaseState, PHDocument as PHDocument$1, PHDocumentState, Reducer, SignalDispatch } from "@powerhousedao/shared/document-model";
|
|
2
2
|
import * as z$1 from "zod";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { DocumentDispatch } from "@powerhousedao/reactor-browser";
|
|
@@ -198,7 +198,7 @@ type VetraPackagePHState = PHBaseState & {
|
|
|
198
198
|
global: VetraPackageState;
|
|
199
199
|
local: VetraPackageLocalState;
|
|
200
200
|
};
|
|
201
|
-
type VetraPackageDocument = PHDocument<VetraPackagePHState>;
|
|
201
|
+
type VetraPackageDocument = PHDocument$1<VetraPackagePHState>;
|
|
202
202
|
//#endregion
|
|
203
203
|
//#region document-models/vetra-package/gen/base-operations/actions.d.ts
|
|
204
204
|
type SetPackageNameAction = Action & {
|
|
@@ -251,16 +251,16 @@ declare const documentModel: DocumentModelGlobalState;
|
|
|
251
251
|
declare namespace creators_d_exports {
|
|
252
252
|
export { addPackageKeyword, removePackageKeyword, setPackageAuthor, setPackageAuthorName, setPackageAuthorWebsite, setPackageCategory, setPackageDescription, setPackageGithubUrl, setPackageName, setPackageNpmUrl };
|
|
253
253
|
}
|
|
254
|
-
declare const setPackageName: (input: SetPackageNameInput) =>
|
|
255
|
-
declare const setPackageDescription: (input: SetPackageDescriptionInput) =>
|
|
256
|
-
declare const setPackageCategory: (input: SetPackageCategoryInput) =>
|
|
257
|
-
declare const setPackageAuthor: (input: SetPackageAuthorInput) =>
|
|
258
|
-
declare const setPackageAuthorName: (input: SetPackageAuthorNameInput) =>
|
|
259
|
-
declare const setPackageAuthorWebsite: (input: SetPackageAuthorWebsiteInput) =>
|
|
260
|
-
declare const addPackageKeyword: (input: AddPackageKeywordInput) =>
|
|
261
|
-
declare const removePackageKeyword: (input: RemovePackageKeywordInput) =>
|
|
262
|
-
declare const setPackageGithubUrl: (input: SetPackageGithubUrlInput) =>
|
|
263
|
-
declare const setPackageNpmUrl: (input: SetPackageNpmUrlInput) =>
|
|
254
|
+
declare const setPackageName: (input: SetPackageNameInput) => any;
|
|
255
|
+
declare const setPackageDescription: (input: SetPackageDescriptionInput) => any;
|
|
256
|
+
declare const setPackageCategory: (input: SetPackageCategoryInput) => any;
|
|
257
|
+
declare const setPackageAuthor: (input: SetPackageAuthorInput) => any;
|
|
258
|
+
declare const setPackageAuthorName: (input: SetPackageAuthorNameInput) => any;
|
|
259
|
+
declare const setPackageAuthorWebsite: (input: SetPackageAuthorWebsiteInput) => any;
|
|
260
|
+
declare const addPackageKeyword: (input: AddPackageKeywordInput) => any;
|
|
261
|
+
declare const removePackageKeyword: (input: RemovePackageKeywordInput) => any;
|
|
262
|
+
declare const setPackageGithubUrl: (input: SetPackageGithubUrlInput) => any;
|
|
263
|
+
declare const setPackageNpmUrl: (input: SetPackageNpmUrlInput) => any;
|
|
264
264
|
//#endregion
|
|
265
265
|
//#region document-models/vetra-package/gen/ph-factories.d.ts
|
|
266
266
|
declare function defaultGlobalState(): VetraPackageState;
|
|
@@ -310,55 +310,13 @@ declare const vetraPackageDocumentType = "powerhouse/package";
|
|
|
310
310
|
//#endregion
|
|
311
311
|
//#region document-models/vetra-package/gen/document-schema.d.ts
|
|
312
312
|
/** Schema for validating the header object of a VetraPackage document */
|
|
313
|
-
declare const VetraPackageDocumentHeaderSchema:
|
|
314
|
-
id: z.ZodString;
|
|
315
|
-
name: z.ZodString;
|
|
316
|
-
createdAtUtcIso: z.ZodString;
|
|
317
|
-
lastModifiedAtUtcIso: z.ZodString;
|
|
318
|
-
documentType: z.ZodLiteral<"powerhouse/package">;
|
|
319
|
-
}, z.core.$strip>;
|
|
313
|
+
declare const VetraPackageDocumentHeaderSchema: any;
|
|
320
314
|
/** Schema for validating the state object of a VetraPackage document */
|
|
321
|
-
declare const VetraPackagePHStateSchema:
|
|
322
|
-
global: z.ZodObject<Required<{
|
|
323
|
-
author: z.ZodType<Author, unknown, z.core.$ZodTypeInternals<Author, unknown>>;
|
|
324
|
-
category: z.ZodType<Maybe<string>, unknown, z.core.$ZodTypeInternals<Maybe<string>, unknown>>;
|
|
325
|
-
description: z.ZodType<Maybe<string>, unknown, z.core.$ZodTypeInternals<Maybe<string>, unknown>>;
|
|
326
|
-
githubUrl: z.ZodType<Maybe<string>, unknown, z.core.$ZodTypeInternals<Maybe<string>, unknown>>;
|
|
327
|
-
keywords: z.ZodType<Keyword[], unknown, z.core.$ZodTypeInternals<Keyword[], unknown>>;
|
|
328
|
-
name: z.ZodType<Maybe<string>, unknown, z.core.$ZodTypeInternals<Maybe<string>, unknown>>;
|
|
329
|
-
npmUrl: z.ZodType<Maybe<string>, unknown, z.core.$ZodTypeInternals<Maybe<string>, unknown>>;
|
|
330
|
-
}>, z.core.$strip>;
|
|
331
|
-
}, z.core.$strip>;
|
|
315
|
+
declare const VetraPackagePHStateSchema: any;
|
|
332
316
|
declare const VetraPackageDocumentSchema: z.ZodObject<{
|
|
333
|
-
header:
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
createdAtUtcIso: z.ZodString;
|
|
337
|
-
lastModifiedAtUtcIso: z.ZodString;
|
|
338
|
-
documentType: z.ZodLiteral<"powerhouse/package">;
|
|
339
|
-
}, z.core.$strip>;
|
|
340
|
-
state: z.ZodObject<{
|
|
341
|
-
global: z.ZodObject<Required<{
|
|
342
|
-
author: z.ZodType<Author, unknown, z.core.$ZodTypeInternals<Author, unknown>>;
|
|
343
|
-
category: z.ZodType<Maybe<string>, unknown, z.core.$ZodTypeInternals<Maybe<string>, unknown>>;
|
|
344
|
-
description: z.ZodType<Maybe<string>, unknown, z.core.$ZodTypeInternals<Maybe<string>, unknown>>;
|
|
345
|
-
githubUrl: z.ZodType<Maybe<string>, unknown, z.core.$ZodTypeInternals<Maybe<string>, unknown>>;
|
|
346
|
-
keywords: z.ZodType<Keyword[], unknown, z.core.$ZodTypeInternals<Keyword[], unknown>>;
|
|
347
|
-
name: z.ZodType<Maybe<string>, unknown, z.core.$ZodTypeInternals<Maybe<string>, unknown>>;
|
|
348
|
-
npmUrl: z.ZodType<Maybe<string>, unknown, z.core.$ZodTypeInternals<Maybe<string>, unknown>>;
|
|
349
|
-
}>, z.core.$strip>;
|
|
350
|
-
}, z.core.$strip>;
|
|
351
|
-
initialState: z.ZodObject<{
|
|
352
|
-
global: z.ZodObject<Required<{
|
|
353
|
-
author: z.ZodType<Author, unknown, z.core.$ZodTypeInternals<Author, unknown>>;
|
|
354
|
-
category: z.ZodType<Maybe<string>, unknown, z.core.$ZodTypeInternals<Maybe<string>, unknown>>;
|
|
355
|
-
description: z.ZodType<Maybe<string>, unknown, z.core.$ZodTypeInternals<Maybe<string>, unknown>>;
|
|
356
|
-
githubUrl: z.ZodType<Maybe<string>, unknown, z.core.$ZodTypeInternals<Maybe<string>, unknown>>;
|
|
357
|
-
keywords: z.ZodType<Keyword[], unknown, z.core.$ZodTypeInternals<Keyword[], unknown>>;
|
|
358
|
-
name: z.ZodType<Maybe<string>, unknown, z.core.$ZodTypeInternals<Maybe<string>, unknown>>;
|
|
359
|
-
npmUrl: z.ZodType<Maybe<string>, unknown, z.core.$ZodTypeInternals<Maybe<string>, unknown>>;
|
|
360
|
-
}>, z.core.$strip>;
|
|
361
|
-
}, z.core.$strip>;
|
|
317
|
+
header: any;
|
|
318
|
+
state: any;
|
|
319
|
+
initialState: any;
|
|
362
320
|
}, z.core.$strip>;
|
|
363
321
|
/** Simple helper function to check if a state object is a VetraPackage document state object */
|
|
364
322
|
declare function isVetraPackageState(state: unknown): state is VetraPackagePHState;
|
|
@@ -389,9 +347,9 @@ declare function useVetraPackageDocumentById(documentId: string | null | undefin
|
|
|
389
347
|
/** Hook to get the selected VetraPackage document */
|
|
390
348
|
declare function useSelectedVetraPackageDocument(): [VetraPackageDocument, DocumentDispatch<VetraPackageAction>];
|
|
391
349
|
/** Hook to get all VetraPackage documents in the selected drive */
|
|
392
|
-
declare function useVetraPackageDocumentsInSelectedDrive():
|
|
350
|
+
declare function useVetraPackageDocumentsInSelectedDrive(): PHDocument<any>[] | undefined;
|
|
393
351
|
/** Hook to get all VetraPackage documents in the selected folder */
|
|
394
|
-
declare function useVetraPackageDocumentsInSelectedFolder():
|
|
352
|
+
declare function useVetraPackageDocumentsInSelectedFolder(): PHDocument<any>[] | undefined;
|
|
395
353
|
//#endregion
|
|
396
354
|
//#region document-models/vetra-package/actions.d.ts
|
|
397
355
|
/** Actions for the VetraPackage document model */
|
|
@@ -402,4 +360,4 @@ declare const actions: Actions;
|
|
|
402
360
|
declare const utils: DocumentModelUtils<VetraPackagePHState>;
|
|
403
361
|
//#endregion
|
|
404
362
|
export { RemovePackageKeywordAction as $, isDefinedNonNullAny as A, SetPackageNameInput as At, creators_d_exports as B, SetPackageCategoryInputSchema as C, Scalars as Ct, SetPackageNpmUrlInputSchema as D, SetPackageCategoryInput as Dt, SetPackageNameInputSchema as E, SetPackageAuthorWebsiteInput as Et, createVetraPackageDocument as F, setPackageCategory as G, setPackageAuthor as H, defaultGlobalState as I, setPackageName as J, setPackageDescription as K, defaultLocalState as L, initialGlobalState as M, VetraPackageState as Mt, initialLocalState as N, VetraPackageStateSchema as O, SetPackageDescriptionInput as Ot, createState$1 as P, AddPackageKeywordAction as Q, defaultPHState as R, SetPackageAuthorWebsiteInputSchema as S, RemovePackageKeywordInput as St, SetPackageGithubUrlInputSchema as T, SetPackageAuthorNameInput as Tt, setPackageAuthorName as U, removePackageKeyword as V, setPackageAuthorWebsite as W, documentModel as X, setPackageNpmUrl as Y, VetraPackageAction as Z, AuthorSchema as _, Keyword as _t, useVetraPackageDocumentsInSelectedDrive as a, SetPackageGithubUrlAction as at, SetPackageAuthorInputSchema as b, MakeOptional as bt, VetraPackageDocumentHeaderSchema as c, VetraPackageBaseOperationsAction as ct, assertIsVetraPackageDocument as d, VetraPackagePHState as dt, SetPackageAuthorAction as et, assertIsVetraPackageState as f, AddPackageKeywordInput as ft, AddPackageKeywordInputSchema as g, InputMaybe as gt, vetraPackageDocumentType as h, Incremental as ht, useVetraPackageDocumentById as i, SetPackageDescriptionAction as it, reducer as j, SetPackageNpmUrlInput as jt, definedNonNullAnySchema as k, SetPackageGithubUrlInput as kt, VetraPackageDocumentSchema as l, VetraPackageDocument as lt, isVetraPackageState as m, Exact as mt, actions as n, SetPackageAuthorWebsiteAction as nt, useVetraPackageDocumentsInSelectedFolder as o, SetPackageNameAction as ot, isVetraPackageDocument as p, Author as pt, setPackageGithubUrl as q, useSelectedVetraPackageDocument as r, SetPackageCategoryAction as rt, VetraPackageBaseOperationsOperations as s, SetPackageNpmUrlAction as st, utils as t, SetPackageAuthorNameAction as tt, VetraPackagePHStateSchema as u, VetraPackageLocalState as ut, KeywordSchema as v, MakeEmpty as vt, SetPackageDescriptionInputSchema as w, SetPackageAuthorInput as wt, SetPackageAuthorNameInputSchema as x, Maybe as xt, RemovePackageKeywordInputSchema as y, MakeMaybe as yt, addPackageKeyword as z };
|
|
405
|
-
//# sourceMappingURL=index-
|
|
363
|
+
//# sourceMappingURL=index-CHfOF-Et.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-CHfOF-Et.d.ts","names":[],"sources":["../document-models/vetra-package/gen/schema/types.ts","../document-models/vetra-package/gen/types.ts","../document-models/vetra-package/gen/base-operations/actions.ts","../document-models/vetra-package/gen/actions.ts","../document-models/vetra-package/gen/document-model.ts","../document-models/vetra-package/gen/base-operations/creators.ts","../document-models/vetra-package/gen/ph-factories.ts","../document-models/vetra-package/gen/utils.ts","../document-models/vetra-package/gen/reducer.ts","../document-models/vetra-package/gen/schema/zod.ts","../document-models/vetra-package/gen/document-type.ts","../document-models/vetra-package/gen/document-schema.ts","../document-models/vetra-package/gen/base-operations/operations.ts","../document-models/vetra-package/hooks.ts","../document-models/vetra-package/actions.ts","../document-models/vetra-package/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;E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AAA,EACR,QAAA,GAAW,cAAA;EAEb,6BAAA,GACE,KAAA,EAAO,iBAAA,EACP,MAAA,EAAQ,0BAAA,EACR,QAAA,GAAW,cAAA;EAEb,gCAAA,GACE,KAAA,EAAO,iBAAA,EACP,MAAA,EAAQ,6BAAA,EACR,QAAA,GAAW,cAAA;EAEb,0BAAA,GACE,KAAA,EAAO,iBAAA,EACP,MAAA,EAAQ,uBAAA,EACR,QAAA,GAAW,cAAA;EAEb,6BAAA,GACE,KAAA,EAAO,iBAAA,EACP,MAAA,EAAQ,0BAAA,EACR,QAAA,GAAW,cAAA;EAEb,4BAAA,GACE,KAAA,EAAO,iBAAA,EACP,MAAA,EAAQ,yBAAA,EACR,QAAA,GAAW,cAAA;EAEb,yBAAA,GACE,KAAA,EAAO,iBAAA,EACP,MAAA,EAAQ,sBAAA,EACR,QAAA,GAAW,cAAA;AAAA;;;;iBC/CC,2BAAA,CACd,UAAA,+BAEG,oBAAA,EAAsB,gBAAA,CAAiB,kBAAA;;iBAQ5B,+BAAA,CAAA,IACd,oBAAA,EACA,gBAAA,CAAiB,kBAAA;;iBASH,uCAAA,CAAA,GAAuC,UAAA;;iBAMvC,wCAAA,CAAA,GAAwC,UAAA;;;;cCrC3C,OAAA,EAAS,OAAA;;;;cCFT,KAAA,EAAO,kBAAA,CAAmB,mBAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Action, Actions, DocumentModelGlobalState, DocumentModelUtils, PHAuthState, PHBaseState, PHDocument, PHDocumentState, Reducer, SignalDispatch } from "@powerhousedao/shared/document-model";
|
|
1
|
+
import { Action, Actions, DocumentModelGlobalState, DocumentModelUtils, PHAuthState, PHBaseState, PHDocument as PHDocument$1, PHDocumentState, Reducer, SignalDispatch } from "@powerhousedao/shared/document-model";
|
|
2
2
|
import * as z$1 from "zod";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { DocumentDispatch } from "@powerhousedao/reactor-browser";
|
|
@@ -183,7 +183,7 @@ type ProcessorModulePHState = PHBaseState & {
|
|
|
183
183
|
global: ProcessorModuleState;
|
|
184
184
|
local: ProcessorModuleLocalState;
|
|
185
185
|
};
|
|
186
|
-
type ProcessorModuleDocument = PHDocument<ProcessorModulePHState>;
|
|
186
|
+
type ProcessorModuleDocument = PHDocument$1<ProcessorModulePHState>;
|
|
187
187
|
//#endregion
|
|
188
188
|
//#region document-models/processor-module/gen/base-operations/actions.d.ts
|
|
189
189
|
type SetProcessorNameAction = Action & {
|
|
@@ -224,13 +224,13 @@ declare const documentModel: DocumentModelGlobalState;
|
|
|
224
224
|
declare namespace creators_d_exports {
|
|
225
225
|
export { addDocumentType, addProcessorApp, removeDocumentType, removeProcessorApp, setProcessorName, setProcessorStatus, setProcessorType };
|
|
226
226
|
}
|
|
227
|
-
declare const setProcessorName: (input: SetProcessorNameInput) =>
|
|
228
|
-
declare const setProcessorType: (input: SetProcessorTypeInput) =>
|
|
229
|
-
declare const addDocumentType: (input: AddDocumentTypeInput) =>
|
|
230
|
-
declare const removeDocumentType: (input: RemoveDocumentTypeInput) =>
|
|
231
|
-
declare const addProcessorApp: (input: AddProcessorAppInput) =>
|
|
232
|
-
declare const removeProcessorApp: (input: RemoveProcessorAppInput) =>
|
|
233
|
-
declare const setProcessorStatus: (input: SetProcessorStatusInput) =>
|
|
227
|
+
declare const setProcessorName: (input: SetProcessorNameInput) => any;
|
|
228
|
+
declare const setProcessorType: (input: SetProcessorTypeInput) => any;
|
|
229
|
+
declare const addDocumentType: (input: AddDocumentTypeInput) => any;
|
|
230
|
+
declare const removeDocumentType: (input: RemoveDocumentTypeInput) => any;
|
|
231
|
+
declare const addProcessorApp: (input: AddProcessorAppInput) => any;
|
|
232
|
+
declare const removeProcessorApp: (input: RemoveProcessorAppInput) => any;
|
|
233
|
+
declare const setProcessorStatus: (input: SetProcessorStatusInput) => any;
|
|
234
234
|
//#endregion
|
|
235
235
|
//#region document-models/processor-module/gen/ph-factories.d.ts
|
|
236
236
|
declare function defaultGlobalState(): ProcessorModuleState;
|
|
@@ -280,49 +280,13 @@ declare const processorModuleDocumentType = "powerhouse/processor";
|
|
|
280
280
|
//#endregion
|
|
281
281
|
//#region document-models/processor-module/gen/document-schema.d.ts
|
|
282
282
|
/** Schema for validating the header object of a ProcessorModule document */
|
|
283
|
-
declare const ProcessorModuleDocumentHeaderSchema:
|
|
284
|
-
id: z.ZodString;
|
|
285
|
-
name: z.ZodString;
|
|
286
|
-
createdAtUtcIso: z.ZodString;
|
|
287
|
-
lastModifiedAtUtcIso: z.ZodString;
|
|
288
|
-
documentType: z.ZodLiteral<"powerhouse/processor">;
|
|
289
|
-
}, z.core.$strip>;
|
|
283
|
+
declare const ProcessorModuleDocumentHeaderSchema: any;
|
|
290
284
|
/** Schema for validating the state object of a ProcessorModule document */
|
|
291
|
-
declare const ProcessorModulePHStateSchema:
|
|
292
|
-
global: z.ZodObject<Required<{
|
|
293
|
-
documentTypes: z.ZodType<DocumentTypeItem[], unknown, z.core.$ZodTypeInternals<DocumentTypeItem[], unknown>>;
|
|
294
|
-
name: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
295
|
-
processorApps: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
296
|
-
status: z.ZodType<StatusType, unknown, z.core.$ZodTypeInternals<StatusType, unknown>>;
|
|
297
|
-
type: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
298
|
-
}>, z.core.$strip>;
|
|
299
|
-
}, z.core.$strip>;
|
|
285
|
+
declare const ProcessorModulePHStateSchema: any;
|
|
300
286
|
declare const ProcessorModuleDocumentSchema: z.ZodObject<{
|
|
301
|
-
header:
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
createdAtUtcIso: z.ZodString;
|
|
305
|
-
lastModifiedAtUtcIso: z.ZodString;
|
|
306
|
-
documentType: z.ZodLiteral<"powerhouse/processor">;
|
|
307
|
-
}, z.core.$strip>;
|
|
308
|
-
state: z.ZodObject<{
|
|
309
|
-
global: z.ZodObject<Required<{
|
|
310
|
-
documentTypes: z.ZodType<DocumentTypeItem[], unknown, z.core.$ZodTypeInternals<DocumentTypeItem[], unknown>>;
|
|
311
|
-
name: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
312
|
-
processorApps: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
313
|
-
status: z.ZodType<StatusType, unknown, z.core.$ZodTypeInternals<StatusType, unknown>>;
|
|
314
|
-
type: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
315
|
-
}>, z.core.$strip>;
|
|
316
|
-
}, z.core.$strip>;
|
|
317
|
-
initialState: z.ZodObject<{
|
|
318
|
-
global: z.ZodObject<Required<{
|
|
319
|
-
documentTypes: z.ZodType<DocumentTypeItem[], unknown, z.core.$ZodTypeInternals<DocumentTypeItem[], unknown>>;
|
|
320
|
-
name: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
321
|
-
processorApps: z.ZodType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>;
|
|
322
|
-
status: z.ZodType<StatusType, unknown, z.core.$ZodTypeInternals<StatusType, unknown>>;
|
|
323
|
-
type: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
324
|
-
}>, z.core.$strip>;
|
|
325
|
-
}, z.core.$strip>;
|
|
287
|
+
header: any;
|
|
288
|
+
state: any;
|
|
289
|
+
initialState: any;
|
|
326
290
|
}, z.core.$strip>;
|
|
327
291
|
/** Simple helper function to check if a state object is a ProcessorModule document state object */
|
|
328
292
|
declare function isProcessorModuleState(state: unknown): state is ProcessorModulePHState;
|
|
@@ -350,9 +314,9 @@ declare function useProcessorModuleDocumentById(documentId: string | null | unde
|
|
|
350
314
|
/** Hook to get the selected ProcessorModule document */
|
|
351
315
|
declare function useSelectedProcessorModuleDocument(): [ProcessorModuleDocument, DocumentDispatch<ProcessorModuleAction>];
|
|
352
316
|
/** Hook to get all ProcessorModule documents in the selected drive */
|
|
353
|
-
declare function useProcessorModuleDocumentsInSelectedDrive():
|
|
317
|
+
declare function useProcessorModuleDocumentsInSelectedDrive(): PHDocument<any>[] | undefined;
|
|
354
318
|
/** Hook to get all ProcessorModule documents in the selected folder */
|
|
355
|
-
declare function useProcessorModuleDocumentsInSelectedFolder():
|
|
319
|
+
declare function useProcessorModuleDocumentsInSelectedFolder(): PHDocument<any>[] | undefined;
|
|
356
320
|
//#endregion
|
|
357
321
|
//#region document-models/processor-module/actions.d.ts
|
|
358
322
|
/** Actions for the ProcessorModule document model */
|
|
@@ -363,4 +327,4 @@ declare const actions: Actions;
|
|
|
363
327
|
declare const utils: DocumentModelUtils<ProcessorModulePHState>;
|
|
364
328
|
//#endregion
|
|
365
329
|
export { SetProcessorTypeAction as $, initialLocalState as A, removeProcessorApp as B, SetProcessorStatusInputSchema as C, isDefinedNonNullAny as D, definedNonNullAnySchema as E, defaultPHState as F, ProcessorModuleAction as G, setProcessorStatus as H, addDocumentType as I, ProcessorModuleBaseOperationsAction as J, AddDocumentTypeAction as K, addProcessorApp as L, createState$1 as M, defaultGlobalState as N, reducer as O, defaultLocalState as P, SetProcessorStatusAction as Q, creators_d_exports as R, SetProcessorNameInputSchema as S, StatusTypeSchema as T, setProcessorType as U, setProcessorName as V, documentModel as W, RemoveProcessorAppAction as X, RemoveDocumentTypeAction as Y, SetProcessorNameAction as Z, AddProcessorAppInputSchema as _, SetProcessorNameInput as _t, useProcessorModuleDocumentsInSelectedFolder as a, DocumentTypeItem as at, RemoveDocumentTypeInputSchema as b, StatusType as bt, ProcessorModuleDocumentHeaderSchema as c, InputMaybe as ct, assertIsProcessorModuleDocument as d, MakeOptional as dt, ProcessorModuleDocument as et, assertIsProcessorModuleState as f, Maybe as ft, AddDocumentTypeInputSchema as g, Scalars as gt, processorModuleDocumentType as h, RemoveProcessorAppInput as ht, useProcessorModuleDocumentsInSelectedDrive as i, AddProcessorAppInput as it, createProcessorModuleDocument as j, initialGlobalState as k, ProcessorModuleDocumentSchema as l, MakeEmpty as lt, isProcessorModuleState as m, RemoveDocumentTypeInput as mt, actions as n, ProcessorModulePHState as nt, useSelectedProcessorModuleDocument as o, Exact as ot, isProcessorModuleDocument as p, ProcessorModuleState as pt, AddProcessorAppAction as q, useProcessorModuleDocumentById as r, AddDocumentTypeInput as rt, ProcessorModuleBaseOperationsOperations as s, Incremental as st, utils as t, ProcessorModuleLocalState as tt, ProcessorModulePHStateSchema as u, MakeMaybe as ut, DocumentTypeItemSchema as v, SetProcessorStatusInput as vt, SetProcessorTypeInputSchema as w, RemoveProcessorAppInputSchema as x, ProcessorModuleStateSchema as y, SetProcessorTypeInput as yt, removeDocumentType as z };
|
|
366
|
-
//# sourceMappingURL=index-
|
|
330
|
+
//# sourceMappingURL=index-CL_CHW_Z.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-CL_CHW_Z.d.ts","names":[],"sources":["../document-models/processor-module/gen/schema/types.ts","../document-models/processor-module/gen/types.ts","../document-models/processor-module/gen/base-operations/actions.ts","../document-models/processor-module/gen/actions.ts","../document-models/processor-module/gen/document-model.ts","../document-models/processor-module/gen/base-operations/creators.ts","../document-models/processor-module/gen/ph-factories.ts","../document-models/processor-module/gen/utils.ts","../document-models/processor-module/gen/reducer.ts","../document-models/processor-module/gen/schema/zod.ts","../document-models/processor-module/gen/document-type.ts","../document-models/processor-module/gen/document-schema.ts","../document-models/processor-module/gen/base-operations/operations.ts","../document-models/processor-module/hooks.ts","../document-models/processor-module/actions.ts","../document-models/processor-module/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,i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B,gBAAA,CAAiB,qBAAA;;iBAQ/B,kCAAA,CAAA,IACd,uBAAA,EACA,gBAAA,CAAiB,qBAAA;;iBASH,0CAAA,CAAA,GAA0C,UAAA;;iBAM1C,2CAAA,CAAA,GAA2C,UAAA;;;;cCrC9C,OAAA,EAAS,OAAA;;;;cCFT,KAAA,EAAO,kBAAA,CAAmB,sBAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Action, Actions, DocumentModelGlobalState, DocumentModelUtils, PHAuthState, PHBaseState, PHDocument, PHDocumentState, Reducer, SignalDispatch } from "@powerhousedao/shared/document-model";
|
|
1
|
+
import { Action, Actions, DocumentModelGlobalState, DocumentModelUtils, PHAuthState, PHBaseState, PHDocument as PHDocument$1, PHDocumentState, Reducer, SignalDispatch } from "@powerhousedao/shared/document-model";
|
|
2
2
|
import * as z$1 from "zod";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { DocumentDispatch } from "@powerhousedao/reactor-browser";
|
|
@@ -172,7 +172,7 @@ type DocumentEditorPHState = PHBaseState & {
|
|
|
172
172
|
global: DocumentEditorState;
|
|
173
173
|
local: DocumentEditorLocalState;
|
|
174
174
|
};
|
|
175
|
-
type DocumentEditorDocument = PHDocument<DocumentEditorPHState>;
|
|
175
|
+
type DocumentEditorDocument = PHDocument$1<DocumentEditorPHState>;
|
|
176
176
|
//#endregion
|
|
177
177
|
//#region document-models/document-editor/gen/base-operations/actions.d.ts
|
|
178
178
|
type SetEditorNameAction = Action & {
|
|
@@ -201,10 +201,10 @@ declare const documentModel: DocumentModelGlobalState;
|
|
|
201
201
|
declare namespace creators_d_exports {
|
|
202
202
|
export { addDocumentType, removeDocumentType, setEditorName, setEditorStatus };
|
|
203
203
|
}
|
|
204
|
-
declare const setEditorName: (input: SetEditorNameInput) =>
|
|
205
|
-
declare const addDocumentType: (input: AddDocumentTypeInput) =>
|
|
206
|
-
declare const removeDocumentType: (input: RemoveDocumentTypeInput) =>
|
|
207
|
-
declare const setEditorStatus: (input: SetEditorStatusInput) =>
|
|
204
|
+
declare const setEditorName: (input: SetEditorNameInput) => any;
|
|
205
|
+
declare const addDocumentType: (input: AddDocumentTypeInput) => any;
|
|
206
|
+
declare const removeDocumentType: (input: RemoveDocumentTypeInput) => any;
|
|
207
|
+
declare const setEditorStatus: (input: SetEditorStatusInput) => any;
|
|
208
208
|
//#endregion
|
|
209
209
|
//#region document-models/document-editor/gen/ph-factories.d.ts
|
|
210
210
|
declare function defaultGlobalState(): DocumentEditorState;
|
|
@@ -251,43 +251,13 @@ declare const documentEditorDocumentType = "powerhouse/document-editor";
|
|
|
251
251
|
//#endregion
|
|
252
252
|
//#region document-models/document-editor/gen/document-schema.d.ts
|
|
253
253
|
/** Schema for validating the header object of a DocumentEditor document */
|
|
254
|
-
declare const DocumentEditorDocumentHeaderSchema:
|
|
255
|
-
id: z.ZodString;
|
|
256
|
-
name: z.ZodString;
|
|
257
|
-
createdAtUtcIso: z.ZodString;
|
|
258
|
-
lastModifiedAtUtcIso: z.ZodString;
|
|
259
|
-
documentType: z.ZodLiteral<"powerhouse/document-editor">;
|
|
260
|
-
}, z.core.$strip>;
|
|
254
|
+
declare const DocumentEditorDocumentHeaderSchema: any;
|
|
261
255
|
/** Schema for validating the state object of a DocumentEditor document */
|
|
262
|
-
declare const DocumentEditorPHStateSchema:
|
|
263
|
-
global: z.ZodObject<Required<{
|
|
264
|
-
documentTypes: z.ZodType<DocumentTypeItem[], unknown, z.core.$ZodTypeInternals<DocumentTypeItem[], unknown>>;
|
|
265
|
-
name: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
266
|
-
status: z.ZodType<StatusType, unknown, z.core.$ZodTypeInternals<StatusType, unknown>>;
|
|
267
|
-
}>, z.core.$strip>;
|
|
268
|
-
}, z.core.$strip>;
|
|
256
|
+
declare const DocumentEditorPHStateSchema: any;
|
|
269
257
|
declare const DocumentEditorDocumentSchema: z.ZodObject<{
|
|
270
|
-
header:
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
createdAtUtcIso: z.ZodString;
|
|
274
|
-
lastModifiedAtUtcIso: z.ZodString;
|
|
275
|
-
documentType: z.ZodLiteral<"powerhouse/document-editor">;
|
|
276
|
-
}, z.core.$strip>;
|
|
277
|
-
state: z.ZodObject<{
|
|
278
|
-
global: z.ZodObject<Required<{
|
|
279
|
-
documentTypes: z.ZodType<DocumentTypeItem[], unknown, z.core.$ZodTypeInternals<DocumentTypeItem[], unknown>>;
|
|
280
|
-
name: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
281
|
-
status: z.ZodType<StatusType, unknown, z.core.$ZodTypeInternals<StatusType, unknown>>;
|
|
282
|
-
}>, z.core.$strip>;
|
|
283
|
-
}, z.core.$strip>;
|
|
284
|
-
initialState: z.ZodObject<{
|
|
285
|
-
global: z.ZodObject<Required<{
|
|
286
|
-
documentTypes: z.ZodType<DocumentTypeItem[], unknown, z.core.$ZodTypeInternals<DocumentTypeItem[], unknown>>;
|
|
287
|
-
name: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
288
|
-
status: z.ZodType<StatusType, unknown, z.core.$ZodTypeInternals<StatusType, unknown>>;
|
|
289
|
-
}>, z.core.$strip>;
|
|
290
|
-
}, z.core.$strip>;
|
|
258
|
+
header: any;
|
|
259
|
+
state: any;
|
|
260
|
+
initialState: any;
|
|
291
261
|
}, z.core.$strip>;
|
|
292
262
|
/** Simple helper function to check if a state object is a DocumentEditor document state object */
|
|
293
263
|
declare function isDocumentEditorState(state: unknown): state is DocumentEditorPHState;
|
|
@@ -312,9 +282,9 @@ declare function useDocumentEditorDocumentById(documentId: string | null | undef
|
|
|
312
282
|
/** Hook to get the selected DocumentEditor document */
|
|
313
283
|
declare function useSelectedDocumentEditorDocument(): [DocumentEditorDocument, DocumentDispatch<DocumentEditorAction>];
|
|
314
284
|
/** Hook to get all DocumentEditor documents in the selected drive */
|
|
315
|
-
declare function useDocumentEditorDocumentsInSelectedDrive():
|
|
285
|
+
declare function useDocumentEditorDocumentsInSelectedDrive(): PHDocument<any>[] | undefined;
|
|
316
286
|
/** Hook to get all DocumentEditor documents in the selected folder */
|
|
317
|
-
declare function useDocumentEditorDocumentsInSelectedFolder():
|
|
287
|
+
declare function useDocumentEditorDocumentsInSelectedFolder(): PHDocument<any>[] | undefined;
|
|
318
288
|
//#endregion
|
|
319
289
|
//#region document-models/document-editor/actions.d.ts
|
|
320
290
|
/** Actions for the DocumentEditor document model */
|
|
@@ -325,4 +295,4 @@ declare const actions: Actions;
|
|
|
325
295
|
declare const utils: DocumentModelUtils<DocumentEditorPHState>;
|
|
326
296
|
//#endregion
|
|
327
297
|
export { InputMaybe as $, defaultGlobalState as A, AddDocumentTypeAction as B, definedNonNullAnySchema as C, initialLocalState as D, initialGlobalState as E, removeDocumentType as F, DocumentEditorDocument as G, RemoveDocumentTypeAction as H, setEditorName as I, AddDocumentTypeInput as J, DocumentEditorLocalState as K, setEditorStatus as L, defaultPHState as M, addDocumentType as N, createDocumentEditorDocument as O, creators_d_exports as P, Incremental as Q, documentModel as R, StatusTypeSchema as S, reducer as T, SetEditorNameAction as U, DocumentEditorBaseOperationsAction as V, SetEditorStatusAction as W, DocumentTypeItem as X, DocumentEditorState as Y, Exact as Z, DocumentEditorStateSchema as _, useDocumentEditorDocumentsInSelectedFolder as a, Scalars as at, SetEditorNameInputSchema as b, DocumentEditorDocumentHeaderSchema as c, StatusType as ct, assertIsDocumentEditorDocument as d, MakeEmpty as et, assertIsDocumentEditorState as f, AddDocumentTypeInputSchema as g, documentEditorDocumentType as h, useDocumentEditorDocumentsInSelectedDrive as i, RemoveDocumentTypeInput as it, defaultLocalState as j, createState$1 as k, DocumentEditorDocumentSchema as l, isDocumentEditorState as m, actions as n, MakeOptional as nt, useSelectedDocumentEditorDocument as o, SetEditorNameInput as ot, isDocumentEditorDocument as p, DocumentEditorPHState as q, useDocumentEditorDocumentById as r, Maybe as rt, DocumentEditorBaseOperationsOperations as s, SetEditorStatusInput as st, utils as t, MakeMaybe as tt, DocumentEditorPHStateSchema as u, DocumentTypeItemSchema as v, isDefinedNonNullAny as w, SetEditorStatusInputSchema as x, RemoveDocumentTypeInputSchema as y, DocumentEditorAction as z };
|
|
328
|
-
//# sourceMappingURL=index-
|
|
298
|
+
//# sourceMappingURL=index-C_kUPMNf.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-C_kUPMNf.d.ts","names":[],"sources":["../document-models/document-editor/gen/schema/types.ts","../document-models/document-editor/gen/types.ts","../document-models/document-editor/gen/base-operations/actions.ts","../document-models/document-editor/gen/actions.ts","../document-models/document-editor/gen/document-model.ts","../document-models/document-editor/gen/base-operations/creators.ts","../document-models/document-editor/gen/ph-factories.ts","../document-models/document-editor/gen/utils.ts","../document-models/document-editor/gen/reducer.ts","../document-models/document-editor/gen/schema/zod.ts","../document-models/document-editor/gen/document-type.ts","../document-models/document-editor/gen/document-schema.ts","../document-models/document-editor/gen/base-operations/operations.ts","../document-models/document-editor/hooks.ts","../document-models/document-editor/actions.ts","../document-models/document-editor/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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,EAAS,OAAA;;;;cCFT,KAAA,EAAO,kBAAA,CAAmB,qBAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Action, Actions, DocumentModelGlobalState, DocumentModelUtils, PHAuthState, PHBaseState, PHDocument, PHDocumentState, Reducer, SignalDispatch } from "@powerhousedao/shared/document-model";
|
|
1
|
+
import { Action, Actions, DocumentModelGlobalState, DocumentModelUtils, PHAuthState, PHBaseState, PHDocument as PHDocument$1, PHDocumentState, Reducer, SignalDispatch } from "@powerhousedao/shared/document-model";
|
|
2
2
|
import * as z$1 from "zod";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { DocumentDispatch } from "@powerhousedao/reactor-browser";
|
|
@@ -160,7 +160,7 @@ type SubgraphModulePHState = PHBaseState & {
|
|
|
160
160
|
global: SubgraphModuleState;
|
|
161
161
|
local: SubgraphModuleLocalState;
|
|
162
162
|
};
|
|
163
|
-
type SubgraphModuleDocument = PHDocument<SubgraphModulePHState>;
|
|
163
|
+
type SubgraphModuleDocument = PHDocument$1<SubgraphModulePHState>;
|
|
164
164
|
//#endregion
|
|
165
165
|
//#region document-models/subgraph-module/gen/base-operations/actions.d.ts
|
|
166
166
|
type SetSubgraphNameAction = Action & {
|
|
@@ -181,8 +181,8 @@ declare const documentModel: DocumentModelGlobalState;
|
|
|
181
181
|
declare namespace creators_d_exports {
|
|
182
182
|
export { setSubgraphName, setSubgraphStatus };
|
|
183
183
|
}
|
|
184
|
-
declare const setSubgraphName: (input: SetSubgraphNameInput) =>
|
|
185
|
-
declare const setSubgraphStatus: (input: SetSubgraphStatusInput) =>
|
|
184
|
+
declare const setSubgraphName: (input: SetSubgraphNameInput) => any;
|
|
185
|
+
declare const setSubgraphStatus: (input: SetSubgraphStatusInput) => any;
|
|
186
186
|
//#endregion
|
|
187
187
|
//#region document-models/subgraph-module/gen/ph-factories.d.ts
|
|
188
188
|
declare function defaultGlobalState(): SubgraphModuleState;
|
|
@@ -226,40 +226,13 @@ declare const subgraphModuleDocumentType = "powerhouse/subgraph";
|
|
|
226
226
|
//#endregion
|
|
227
227
|
//#region document-models/subgraph-module/gen/document-schema.d.ts
|
|
228
228
|
/** Schema for validating the header object of a SubgraphModule document */
|
|
229
|
-
declare const SubgraphModuleDocumentHeaderSchema:
|
|
230
|
-
id: z.ZodString;
|
|
231
|
-
name: z.ZodString;
|
|
232
|
-
createdAtUtcIso: z.ZodString;
|
|
233
|
-
lastModifiedAtUtcIso: z.ZodString;
|
|
234
|
-
documentType: z.ZodLiteral<"powerhouse/subgraph">;
|
|
235
|
-
}, z.core.$strip>;
|
|
229
|
+
declare const SubgraphModuleDocumentHeaderSchema: any;
|
|
236
230
|
/** Schema for validating the state object of a SubgraphModule document */
|
|
237
|
-
declare const SubgraphModulePHStateSchema:
|
|
238
|
-
global: z.ZodObject<Required<{
|
|
239
|
-
name: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
240
|
-
status: z.ZodType<StatusType, unknown, z.core.$ZodTypeInternals<StatusType, unknown>>;
|
|
241
|
-
}>, z.core.$strip>;
|
|
242
|
-
}, z.core.$strip>;
|
|
231
|
+
declare const SubgraphModulePHStateSchema: any;
|
|
243
232
|
declare const SubgraphModuleDocumentSchema: z.ZodObject<{
|
|
244
|
-
header:
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
createdAtUtcIso: z.ZodString;
|
|
248
|
-
lastModifiedAtUtcIso: z.ZodString;
|
|
249
|
-
documentType: z.ZodLiteral<"powerhouse/subgraph">;
|
|
250
|
-
}, z.core.$strip>;
|
|
251
|
-
state: z.ZodObject<{
|
|
252
|
-
global: z.ZodObject<Required<{
|
|
253
|
-
name: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
254
|
-
status: z.ZodType<StatusType, unknown, z.core.$ZodTypeInternals<StatusType, unknown>>;
|
|
255
|
-
}>, z.core.$strip>;
|
|
256
|
-
}, z.core.$strip>;
|
|
257
|
-
initialState: z.ZodObject<{
|
|
258
|
-
global: z.ZodObject<Required<{
|
|
259
|
-
name: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
260
|
-
status: z.ZodType<StatusType, unknown, z.core.$ZodTypeInternals<StatusType, unknown>>;
|
|
261
|
-
}>, z.core.$strip>;
|
|
262
|
-
}, z.core.$strip>;
|
|
233
|
+
header: any;
|
|
234
|
+
state: any;
|
|
235
|
+
initialState: any;
|
|
263
236
|
}, z.core.$strip>;
|
|
264
237
|
/** Simple helper function to check if a state object is a SubgraphModule document state object */
|
|
265
238
|
declare function isSubgraphModuleState(state: unknown): state is SubgraphModulePHState;
|
|
@@ -282,9 +255,9 @@ declare function useSubgraphModuleDocumentById(documentId: string | null | undef
|
|
|
282
255
|
/** Hook to get the selected SubgraphModule document */
|
|
283
256
|
declare function useSelectedSubgraphModuleDocument(): [SubgraphModuleDocument, DocumentDispatch<SubgraphModuleAction>];
|
|
284
257
|
/** Hook to get all SubgraphModule documents in the selected drive */
|
|
285
|
-
declare function useSubgraphModuleDocumentsInSelectedDrive():
|
|
258
|
+
declare function useSubgraphModuleDocumentsInSelectedDrive(): PHDocument<any>[] | undefined;
|
|
286
259
|
/** Hook to get all SubgraphModule documents in the selected folder */
|
|
287
|
-
declare function useSubgraphModuleDocumentsInSelectedFolder():
|
|
260
|
+
declare function useSubgraphModuleDocumentsInSelectedFolder(): PHDocument<any>[] | undefined;
|
|
288
261
|
//#endregion
|
|
289
262
|
//#region document-models/subgraph-module/actions.d.ts
|
|
290
263
|
/** Actions for the SubgraphModule document model */
|
|
@@ -295,4 +268,4 @@ declare const actions: Actions;
|
|
|
295
268
|
declare const utils: DocumentModelUtils<SubgraphModulePHState>;
|
|
296
269
|
//#endregion
|
|
297
270
|
export { creators_d_exports as A, SubgraphModulePHState as B, initialGlobalState as C, defaultGlobalState as D, createSubgraphModuleDocument as E, SetSubgraphNameAction as F, MakeMaybe as G, Incremental as H, SetSubgraphStatusAction as I, Scalars as J, MakeOptional as K, SubgraphModuleBaseOperationsAction as L, setSubgraphStatus as M, documentModel as N, defaultLocalState as O, SubgraphModuleAction as P, SubgraphModuleState as Q, SubgraphModuleDocument as R, reducer as S, createState$1 as T, InputMaybe as U, Exact as V, MakeEmpty as W, SetSubgraphStatusInput as X, SetSubgraphNameInput as Y, StatusType as Z, SetSubgraphStatusInputSchema as _, useSubgraphModuleDocumentsInSelectedDrive as a, definedNonNullAnySchema as b, SubgraphModuleDocumentHeaderSchema as c, assertIsSubgraphModuleDocument as d, assertIsSubgraphModuleState as f, SetSubgraphNameInputSchema as g, subgraphModuleDocumentType as h, useSubgraphModuleDocumentById as i, setSubgraphName as j, defaultPHState as k, SubgraphModuleDocumentSchema as l, isSubgraphModuleState as m, actions as n, useSubgraphModuleDocumentsInSelectedFolder as o, isSubgraphModuleDocument as p, Maybe as q, useSelectedSubgraphModuleDocument as r, SubgraphModuleBaseOperationsOperations as s, utils as t, SubgraphModulePHStateSchema as u, StatusTypeSchema as v, initialLocalState as w, isDefinedNonNullAny as x, SubgraphModuleStateSchema as y, SubgraphModuleLocalState as z };
|
|
298
|
-
//# sourceMappingURL=index-
|
|
271
|
+
//# sourceMappingURL=index-Qr_rU6VS.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-Qr_rU6VS.d.ts","names":[],"sources":["../document-models/subgraph-module/gen/schema/types.ts","../document-models/subgraph-module/gen/types.ts","../document-models/subgraph-module/gen/base-operations/actions.ts","../document-models/subgraph-module/gen/actions.ts","../document-models/subgraph-module/gen/document-model.ts","../document-models/subgraph-module/gen/base-operations/creators.ts","../document-models/subgraph-module/gen/ph-factories.ts","../document-models/subgraph-module/gen/utils.ts","../document-models/subgraph-module/gen/reducer.ts","../document-models/subgraph-module/gen/schema/zod.ts","../document-models/subgraph-module/gen/document-type.ts","../document-models/subgraph-module/gen/document-schema.ts","../document-models/subgraph-module/gen/base-operations/operations.ts","../document-models/subgraph-module/hooks.ts","../document-models/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C,GAAA,CAAE,SAAA,CAChD,UAAA,CAAW,sBAAA;AAAA,iBAOG,yBAAA,CAAA,GAA6B,GAAA,CAAE,SAAA,CAC7C,UAAA,CAAW,mBAAA;;;cCxCA,0BAAA;;;;cCUA,kCAAA;;cAMA,2BAAA;AAAA,cAIA,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;GAIvC,CAAA,CAAA,IAAA,CAAA,MAAA;;iBAGc,qBAAA,CACd,KAAA,YACC,KAAA,IAAS,qBAAA;;iBAKI,2BAAA,CACd,KAAA,oBACS,KAAA,IAAS,qBAAA;;iBAKJ,wBAAA,CACd,QAAA,YACC,QAAA,IAAY,sBAAA;AXzCf;AAAA,iBW8CgB,8BAAA,CACd,QAAA,oBACS,QAAA,IAAY,sBAAA;;;UC3CN,sCAAA;EACf,wBAAA,GACE,KAAA,EAAO,mBAAA,EACP,MAAA,EAAQ,qBAAA,EACR,QAAA,GAAW,cAAA;EAEb,0BAAA,GACE,KAAA,EAAO,mBAAA,EACP,MAAA,EAAQ,uBAAA,EACR,QAAA,GAAW,cAAA;AAAA;;;;iBCCC,6BAAA,CACd,UAAA,+BAEG,sBAAA,EAAwB,gBAAA,CAAiB,oBAAA;;iBAQ9B,iCAAA,CAAA,IACd,sBAAA,EACA,gBAAA,CAAiB,oBAAA;;iBASH,yCAAA,CAAA,GAAyC,UAAA;;iBAMzC,0CAAA,CAAA,GAA0C,UAAA;;;;cCrC7C,OAAA,EAAS,OAAA;;;;cCFT,KAAA,EAAO,kBAAA,CAAmB,qBAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Action, Actions, DocumentModelGlobalState, DocumentModelUtils, PHAuthState, PHBaseState, PHDocument, PHDocumentState, Reducer, SignalDispatch } from "@powerhousedao/shared/document-model";
|
|
1
|
+
import { Action, Actions, DocumentModelGlobalState, DocumentModelUtils, PHAuthState, PHBaseState, PHDocument as PHDocument$1, PHDocumentState, Reducer, SignalDispatch } from "@powerhousedao/shared/document-model";
|
|
2
2
|
import * as z$1 from "zod";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { DocumentDispatch } from "@powerhousedao/reactor-browser";
|
|
@@ -174,7 +174,7 @@ type AppModulePHState = PHBaseState & {
|
|
|
174
174
|
global: AppModuleState;
|
|
175
175
|
local: AppModuleLocalState;
|
|
176
176
|
};
|
|
177
|
-
type AppModuleDocument = PHDocument<AppModulePHState>;
|
|
177
|
+
type AppModuleDocument = PHDocument$1<AppModulePHState>;
|
|
178
178
|
//#endregion
|
|
179
179
|
//#region document-models/app-module/gen/base-operations/actions.d.ts
|
|
180
180
|
type SetAppNameAction = Action & {
|
|
@@ -214,15 +214,15 @@ declare const documentModel: DocumentModelGlobalState;
|
|
|
214
214
|
declare namespace creators_d_exports$1 {
|
|
215
215
|
export { addDocumentType, removeDocumentType, setAppName, setAppStatus, setDocumentTypes };
|
|
216
216
|
}
|
|
217
|
-
declare const setAppName: (input: SetAppNameInput) =>
|
|
218
|
-
declare const setAppStatus: (input: SetAppStatusInput) =>
|
|
219
|
-
declare const addDocumentType: (input: AddDocumentTypeInput) =>
|
|
220
|
-
declare const removeDocumentType: (input: RemoveDocumentTypeInput) =>
|
|
221
|
-
declare const setDocumentTypes: (input: SetDocumentTypesInput) =>
|
|
217
|
+
declare const setAppName: (input: SetAppNameInput) => any;
|
|
218
|
+
declare const setAppStatus: (input: SetAppStatusInput) => any;
|
|
219
|
+
declare const addDocumentType: (input: AddDocumentTypeInput) => any;
|
|
220
|
+
declare const removeDocumentType: (input: RemoveDocumentTypeInput) => any;
|
|
221
|
+
declare const setDocumentTypes: (input: SetDocumentTypesInput) => any;
|
|
222
222
|
declare namespace creators_d_exports {
|
|
223
223
|
export { setDragAndDropEnabled };
|
|
224
224
|
}
|
|
225
|
-
declare const setDragAndDropEnabled: (input: SetDragAndDropEnabledInput) =>
|
|
225
|
+
declare const setDragAndDropEnabled: (input: SetDragAndDropEnabledInput) => any;
|
|
226
226
|
//#endregion
|
|
227
227
|
//#region document-models/app-module/gen/ph-factories.d.ts
|
|
228
228
|
declare function defaultGlobalState(): AppModuleState;
|
|
@@ -270,46 +270,13 @@ declare const appModuleDocumentType = "powerhouse/app";
|
|
|
270
270
|
//#endregion
|
|
271
271
|
//#region document-models/app-module/gen/document-schema.d.ts
|
|
272
272
|
/** Schema for validating the header object of a AppModule document */
|
|
273
|
-
declare const AppModuleDocumentHeaderSchema:
|
|
274
|
-
id: z.ZodString;
|
|
275
|
-
name: z.ZodString;
|
|
276
|
-
createdAtUtcIso: z.ZodString;
|
|
277
|
-
lastModifiedAtUtcIso: z.ZodString;
|
|
278
|
-
documentType: z.ZodLiteral<"powerhouse/app">;
|
|
279
|
-
}, z.core.$strip>;
|
|
273
|
+
declare const AppModuleDocumentHeaderSchema: any;
|
|
280
274
|
/** Schema for validating the state object of a AppModule document */
|
|
281
|
-
declare const AppModulePHStateSchema:
|
|
282
|
-
global: z.ZodObject<Required<{
|
|
283
|
-
allowedDocumentTypes: z.ZodType<Maybe<string[]>, unknown, z.core.$ZodTypeInternals<Maybe<string[]>, unknown>>;
|
|
284
|
-
isDragAndDropEnabled: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
|
|
285
|
-
name: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
286
|
-
status: z.ZodType<StatusType, unknown, z.core.$ZodTypeInternals<StatusType, unknown>>;
|
|
287
|
-
}>, z.core.$strip>;
|
|
288
|
-
}, z.core.$strip>;
|
|
275
|
+
declare const AppModulePHStateSchema: any;
|
|
289
276
|
declare const AppModuleDocumentSchema: z.ZodObject<{
|
|
290
|
-
header:
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
createdAtUtcIso: z.ZodString;
|
|
294
|
-
lastModifiedAtUtcIso: z.ZodString;
|
|
295
|
-
documentType: z.ZodLiteral<"powerhouse/app">;
|
|
296
|
-
}, z.core.$strip>;
|
|
297
|
-
state: z.ZodObject<{
|
|
298
|
-
global: z.ZodObject<Required<{
|
|
299
|
-
allowedDocumentTypes: z.ZodType<Maybe<string[]>, unknown, z.core.$ZodTypeInternals<Maybe<string[]>, unknown>>;
|
|
300
|
-
isDragAndDropEnabled: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
|
|
301
|
-
name: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
302
|
-
status: z.ZodType<StatusType, unknown, z.core.$ZodTypeInternals<StatusType, unknown>>;
|
|
303
|
-
}>, z.core.$strip>;
|
|
304
|
-
}, z.core.$strip>;
|
|
305
|
-
initialState: z.ZodObject<{
|
|
306
|
-
global: z.ZodObject<Required<{
|
|
307
|
-
allowedDocumentTypes: z.ZodType<Maybe<string[]>, unknown, z.core.$ZodTypeInternals<Maybe<string[]>, unknown>>;
|
|
308
|
-
isDragAndDropEnabled: z.ZodType<boolean, unknown, z.core.$ZodTypeInternals<boolean, unknown>>;
|
|
309
|
-
name: z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>;
|
|
310
|
-
status: z.ZodType<StatusType, unknown, z.core.$ZodTypeInternals<StatusType, unknown>>;
|
|
311
|
-
}>, z.core.$strip>;
|
|
312
|
-
}, z.core.$strip>;
|
|
277
|
+
header: any;
|
|
278
|
+
state: any;
|
|
279
|
+
initialState: any;
|
|
313
280
|
}, z.core.$strip>;
|
|
314
281
|
/** Simple helper function to check if a state object is a AppModule document state object */
|
|
315
282
|
declare function isAppModuleState(state: unknown): state is AppModulePHState;
|
|
@@ -340,9 +307,9 @@ declare function useAppModuleDocumentById(documentId: string | null | undefined)
|
|
|
340
307
|
/** Hook to get the selected AppModule document */
|
|
341
308
|
declare function useSelectedAppModuleDocument(): [AppModuleDocument, DocumentDispatch<AppModuleAction>];
|
|
342
309
|
/** Hook to get all AppModule documents in the selected drive */
|
|
343
|
-
declare function useAppModuleDocumentsInSelectedDrive():
|
|
310
|
+
declare function useAppModuleDocumentsInSelectedDrive(): PHDocument<any>[] | undefined;
|
|
344
311
|
/** Hook to get all AppModule documents in the selected folder */
|
|
345
|
-
declare function useAppModuleDocumentsInSelectedFolder():
|
|
312
|
+
declare function useAppModuleDocumentsInSelectedFolder(): PHDocument<any>[] | undefined;
|
|
346
313
|
//#endregion
|
|
347
314
|
//#region document-models/app-module/actions.d.ts
|
|
348
315
|
/** Actions for the AppModule document model */
|
|
@@ -353,4 +320,4 @@ declare const actions: Actions;
|
|
|
353
320
|
declare const utils: DocumentModelUtils<AppModulePHState>;
|
|
354
321
|
//#endregion
|
|
355
322
|
export { AppModuleDocument as $, createAppModuleDocument as A, setAppName as B, SetDragAndDropEnabledInputSchema as C, reducer as D, isDefinedNonNullAny as E, creators_d_exports as F, AppModuleDndOperationsAction as G, setDocumentTypes as H, setDragAndDropEnabled as I, AppModuleBaseOperationsAction as J, SetDragAndDropEnabledAction as K, addDocumentType as L, defaultGlobalState as M, defaultLocalState as N, initialGlobalState as O, defaultPHState as P, SetDocumentTypesAction as Q, creators_d_exports$1 as R, SetDocumentTypesInputSchema as S, definedNonNullAnySchema as T, documentModel as U, setAppStatus as V, AppModuleAction as W, SetAppNameAction as X, RemoveDocumentTypeAction as Y, SetAppStatusAction as Z, AddDocumentTypeInputSchema as _, StatusType as _t, useAppModuleDocumentsInSelectedFolder as a, Incremental as at, SetAppNameInputSchema as b, AppModuleBaseOperationsOperations as c, MakeMaybe as ct, AppModulePHStateSchema as d, RemoveDocumentTypeInput as dt, AppModuleLocalState as et, assertIsAppModuleDocument as f, Scalars as ft, appModuleDocumentType as g, SetDragAndDropEnabledInput as gt, isAppModuleState as h, SetDocumentTypesInput as ht, useAppModuleDocumentsInSelectedDrive as i, Exact as it, createState$1 as j, initialLocalState as k, AppModuleDocumentHeaderSchema as l, MakeOptional as lt, isAppModuleDocument as m, SetAppStatusInput as mt, actions as n, AddDocumentTypeInput as nt, useSelectedAppModuleDocument as o, InputMaybe as ot, assertIsAppModuleState as p, SetAppNameInput as pt, AddDocumentTypeAction as q, useAppModuleDocumentById as r, AppModuleState as rt, AppModuleDndOperationsOperations as s, MakeEmpty as st, utils as t, AppModulePHState as tt, AppModuleDocumentSchema as u, Maybe as ut, AppModuleStateSchema as v, StatusTypeSchema as w, SetAppStatusInputSchema as x, RemoveDocumentTypeInputSchema as y, removeDocumentType as z };
|
|
356
|
-
//# sourceMappingURL=index-
|
|
323
|
+
//# sourceMappingURL=index-cBMMID-w.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-cBMMID-w.d.ts","names":[],"sources":["../document-models/app-module/gen/schema/types.ts","../document-models/app-module/gen/types.ts","../document-models/app-module/gen/base-operations/actions.ts","../document-models/app-module/gen/dnd-operations/actions.ts","../document-models/app-module/gen/actions.ts","../document-models/app-module/gen/document-model.ts","../document-models/app-module/gen/base-operations/creators.ts","../document-models/app-module/gen/dnd-operations/creators.ts","../document-models/app-module/gen/ph-factories.ts","../document-models/app-module/gen/utils.ts","../document-models/app-module/gen/reducer.ts","../document-models/app-module/gen/schema/zod.ts","../document-models/app-module/gen/document-type.ts","../document-models/app-module/gen/document-schema.ts","../document-models/app-module/gen/base-operations/operations.ts","../document-models/app-module/gen/dnd-operations/operations.ts","../document-models/app-module/hooks.ts","../document-models/app-module/actions.ts","../document-models/app-module/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,mB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AA,EACR,QAAA,GAAW,cAAA;EAEb,qBAAA,GACE,KAAA,EAAO,cAAA,EACP,MAAA,EAAQ,kBAAA,EACR,QAAA,GAAW,cAAA;EAEb,wBAAA,GACE,KAAA,EAAO,cAAA,EACP,MAAA,EAAQ,qBAAA,EACR,QAAA,GAAW,cAAA;EAEb,2BAAA,GACE,KAAA,EAAO,cAAA,EACP,MAAA,EAAQ,wBAAA,EACR,QAAA,GAAW,cAAA;EAEb,yBAAA,GACE,KAAA,EAAO,cAAA,EACP,MAAA,EAAQ,sBAAA,EACR,QAAA,GAAW,cAAA;AAAA;;;UC9BE,gCAAA;EACf,8BAAA,GACE,KAAA,EAAO,cAAA,EACP,MAAA,EAAQ,2BAAA,EACR,QAAA,GAAW,cAAA;AAAA;;;;iBCSC,wBAAA,CACd,UAAA,+BAEG,iBAAA,EAAmB,gBAAA,CAAiB,eAAA;;iBAQzB,4BAAA,CAAA,IACd,iBAAA,EACA,gBAAA,CAAiB,eAAA;;iBASH,oCAAA,CAAA,GAAoC,UAAA;;iBAMpC,qCAAA,CAAA,GAAqC,UAAA;;;;cCrCxC,OAAA,EAAS,OAAA;;;;cCFT,KAAA,EAAO,kBAAA,CAAmB,gBAAA"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { CodegenProcessor } from "./codegen/index.js";
|
|
2
2
|
import { t as VetraReadModelProcessor } from "../index-COsHJRmm.js";
|
|
3
3
|
import { PHDocumentHeader } from "@powerhousedao/shared/document-model";
|
|
4
|
-
import { IProcessorHostModule, ProcessorRecord } from "@powerhousedao/reactor-browser";
|
|
4
|
+
import { IProcessorHostModule, ProcessorRecord as ProcessorRecord$1 } from "@powerhousedao/reactor-browser";
|
|
5
5
|
|
|
6
6
|
//#region processors/codegen/factory.d.ts
|
|
7
|
-
declare const codegenProcessorFactory: (module: IProcessorHostModule) => (driveHeader: PHDocumentHeader) => ProcessorRecord[];
|
|
7
|
+
declare const codegenProcessorFactory: (module: IProcessorHostModule) => (driveHeader: PHDocumentHeader) => ProcessorRecord$1[];
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region processors/vetra-read-model/factory.d.ts
|
|
10
|
-
declare const vetraReadModelProcessorFactory: (module: IProcessorHostModule) => (driveHeader: PHDocumentHeader) => Promise<ProcessorRecord[]>;
|
|
10
|
+
declare const vetraReadModelProcessorFactory: (module: IProcessorHostModule) => (driveHeader: PHDocumentHeader) => Promise<ProcessorRecord$1[]>;
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region processors/factory.d.ts
|
|
13
13
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../processors/codegen/factory.ts","../../processors/vetra-read-model/factory.ts","../../processors/factory.ts"],"mappings":";;;;;;cAsCa,uBAAA,GACV,MAAA,EAAQ,oBAAA,MACR,WAAA,EAAa,gBAAA,KAAmB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../processors/codegen/factory.ts","../../processors/vetra-read-model/factory.ts","../../processors/factory.ts"],"mappings":";;;;;;cAsCa,uBAAA,GACV,MAAA,EAAQ,oBAAA,MACR,WAAA,EAAa,gBAAA,KAAmB,iBAAA;;;cC/BtB,8BAAA,GACV,MAAA,EAAQ,oBAAA,MACF,WAAA,EAAa,gBAAA,KAAmB,OAAA,CAAQ,iBAAA;;;;;;cCEpC,gBAAA,GAAoB,MAAA,EAAQ,oBAAA,MASzB,WAAA,EAAa,gBAAA,KAAgB,OAAA,CAAA,eAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerhousedao/vetra",
|
|
3
|
-
"version": "6.0.0-dev.
|
|
3
|
+
"version": "6.0.0-dev.132",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -52,14 +52,14 @@
|
|
|
52
52
|
"zod": "4.3.6",
|
|
53
53
|
"react": "19.2.4",
|
|
54
54
|
"react-dom": "19.2.4",
|
|
55
|
-
"@powerhousedao/
|
|
56
|
-
"@powerhousedao/
|
|
57
|
-
"@powerhousedao/design-system": "6.0.0-dev.
|
|
58
|
-
"@powerhousedao/
|
|
59
|
-
"@powerhousedao/
|
|
60
|
-
"@powerhousedao/builder-tools": "6.0.0-dev.
|
|
61
|
-
"document-model": "6.0.0-dev.
|
|
62
|
-
"@powerhousedao/codegen": "6.0.0-dev.
|
|
55
|
+
"@powerhousedao/reactor-browser": "6.0.0-dev.132",
|
|
56
|
+
"@powerhousedao/shared": "6.0.0-dev.132",
|
|
57
|
+
"@powerhousedao/design-system": "6.0.0-dev.132",
|
|
58
|
+
"@powerhousedao/config": "6.0.0-dev.132",
|
|
59
|
+
"@powerhousedao/common": "6.0.0-dev.132",
|
|
60
|
+
"@powerhousedao/builder-tools": "6.0.0-dev.132",
|
|
61
|
+
"document-model": "6.0.0-dev.132",
|
|
62
|
+
"@powerhousedao/codegen": "6.0.0-dev.132"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@tailwindcss/cli": "4.2.2",
|