@powerhousedao/vetra 6.0.0-dev.252 → 6.0.0-dev.254
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 +3 -339
- package/dist/document-models/app-module/index.d.ts.map +1 -1
- package/dist/document-models/document-editor/index.d.ts +3 -315
- package/dist/document-models/document-editor/index.d.ts.map +1 -1
- package/dist/document-models/index.d.ts +5 -5
- package/dist/document-models/processor-module/index.d.ts +3 -347
- package/dist/document-models/processor-module/index.d.ts.map +1 -1
- package/dist/document-models/subgraph-module/index.d.ts +3 -286
- package/dist/document-models/subgraph-module/index.d.ts.map +1 -1
- package/dist/document-models/vetra-package/index.d.ts +3 -376
- package/dist/document-models/vetra-package/index.d.ts.map +1 -1
- package/dist/index-BdmD5tsW.d.ts +393 -0
- package/dist/index-BdmD5tsW.d.ts.map +1 -0
- package/dist/index-BfK0fsx4.d.ts +424 -0
- package/dist/index-BfK0fsx4.d.ts.map +1 -0
- package/dist/index.d.ts +136 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/module-BYEvqA47.d.ts +357 -0
- package/dist/module-BYEvqA47.d.ts.map +1 -0
- package/dist/module-CCqD26Hf.d.ts +478 -0
- package/dist/module-CCqD26Hf.d.ts.map +1 -0
- package/dist/module-CpP8D2Hl.d.ts +437 -0
- package/dist/module-CpP8D2Hl.d.ts.map +1 -0
- package/package.json +8 -8
- package/dist/module-BoX1rWiq.d.ts +0 -6
- package/dist/module-BoX1rWiq.d.ts.map +0 -1
- package/dist/module-CG6K37P8.d.ts +0 -6
- package/dist/module-CG6K37P8.d.ts.map +0 -1
- package/dist/module-Cr-9knz_.d.ts +0 -6
- package/dist/module-Cr-9knz_.d.ts.map +0 -1
- package/dist/module-DhhQLYnQ.d.ts +0 -6
- package/dist/module-DhhQLYnQ.d.ts.map +0 -1
- package/dist/module-J-kGIl1E.d.ts +0 -6
- package/dist/module-J-kGIl1E.d.ts.map +0 -1
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import * as z$1 from "zod";
|
|
4
|
-
import { z } from "zod";
|
|
5
|
-
import { DocumentDispatch } from "@powerhousedao/reactor-browser";
|
|
1
|
+
import { $ as SetDocumentTypesAction, A as assertIsAppModuleState, B as setAppName, C as defaultLocalState, D as AppModuleDocumentSchema, E as AppModuleDocumentHeaderSchema, F as creators_d_exports$1, G as AppModuleAction, H as setDocumentTypes, I as setDragAndDropEnabled, J as AddDocumentTypeAction, K as AppModuleDndOperationsAction, L as addDocumentType, M as isAppModuleState, N as documentModel, O as AppModulePHStateSchema, P as AppModuleDndOperationsOperations, Q as SetAppStatusAction, R as creators_d_exports, S as defaultGlobalState, T as appModuleDocumentType, U as AppModuleController, V as setAppStatus, W as AppModuleBaseOperationsOperations, X as RemoveDocumentTypeAction, Y as AppModuleBaseOperationsAction, Z as SetAppNameAction, _ as definedNonNullAnySchema, _t as SetDragAndDropEnabledInput, a as useAppModuleDocumentsInSelectedFolder, at as Exact, b as createAppModuleDocument, c as initialLocalState, ct as MakeEmpty, d as RemoveDocumentTypeInputSchema, dt as Maybe, et as AppModuleDocument, f as SetAppNameInputSchema, ft as RemoveDocumentTypeInput, g as StatusTypeSchema, gt as SetDocumentTypesInput, h as SetDragAndDropEnabledInputSchema, ht as SetAppStatusInput, i as useAppModuleDocumentsInSelectedDrive, it as AppModuleState, j as isAppModuleDocument, k as assertIsAppModuleDocument, l as AddDocumentTypeInputSchema, lt as MakeMaybe, m as SetDocumentTypesInputSchema, mt as SetAppNameInput, n as AppModule, nt as AppModulePHState, o as useSelectedAppModuleDocument, ot as Incremental, p as SetAppStatusInputSchema, pt as Scalars, q as SetDragAndDropEnabledAction, r as useAppModuleDocumentById, rt as AddDocumentTypeInput, s as initialGlobalState, st as InputMaybe, t as utils, tt as AppModuleLocalState, u as AppModuleStateSchema, ut as MakeOptional, v as isDefinedNonNullAny, vt as StatusType, w as defaultPHState, x as createState, y as reducer, yt as actions, z as removeDocumentType } from "../../index-BfK0fsx4.js";
|
|
2
|
+
import { UpgradeManifest } from "document-model";
|
|
6
3
|
|
|
7
4
|
//#region document-models/app-module/upgrades/versions.d.ts
|
|
8
5
|
declare const supportedVersions: readonly [1];
|
|
@@ -11,338 +8,5 @@ declare const latestVersion: 1;
|
|
|
11
8
|
//#region document-models/app-module/upgrades/upgrade-manifest.d.ts
|
|
12
9
|
declare const appModuleUpgradeManifest: UpgradeManifest<typeof supportedVersions>;
|
|
13
10
|
//#endregion
|
|
14
|
-
|
|
15
|
-
/** Actions for the AppModule document model */
|
|
16
|
-
declare const actions: any;
|
|
17
|
-
//#endregion
|
|
18
|
-
//#region document-models/app-module/v1/gen/schema/types.d.ts
|
|
19
|
-
type Maybe<T> = T | null | undefined;
|
|
20
|
-
type InputMaybe<T> = T | null | undefined;
|
|
21
|
-
type Exact<T extends {
|
|
22
|
-
[key: string]: unknown;
|
|
23
|
-
}> = { [K in keyof T]: T[K] };
|
|
24
|
-
type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
|
|
25
|
-
type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
|
|
26
|
-
type MakeEmpty<T extends {
|
|
27
|
-
[key: string]: unknown;
|
|
28
|
-
}, K extends keyof T> = { [_ in K]?: never };
|
|
29
|
-
type Incremental<T> = T | { [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never };
|
|
30
|
-
/** All built-in and custom scalars, mapped to their actual values */
|
|
31
|
-
type Scalars = {
|
|
32
|
-
ID: {
|
|
33
|
-
input: string;
|
|
34
|
-
output: string;
|
|
35
|
-
};
|
|
36
|
-
String: {
|
|
37
|
-
input: string;
|
|
38
|
-
output: string;
|
|
39
|
-
};
|
|
40
|
-
Boolean: {
|
|
41
|
-
input: boolean;
|
|
42
|
-
output: boolean;
|
|
43
|
-
};
|
|
44
|
-
Int: {
|
|
45
|
-
input: number;
|
|
46
|
-
output: number;
|
|
47
|
-
};
|
|
48
|
-
Float: {
|
|
49
|
-
input: number;
|
|
50
|
-
output: number;
|
|
51
|
-
};
|
|
52
|
-
Address: {
|
|
53
|
-
input: `${string}:0x${string}`;
|
|
54
|
-
output: `${string}:0x${string}`;
|
|
55
|
-
};
|
|
56
|
-
Amount: {
|
|
57
|
-
input: {
|
|
58
|
-
unit?: string;
|
|
59
|
-
value?: number;
|
|
60
|
-
};
|
|
61
|
-
output: {
|
|
62
|
-
unit?: string;
|
|
63
|
-
value?: number;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
Amount_Crypto: {
|
|
67
|
-
input: {
|
|
68
|
-
unit: string;
|
|
69
|
-
value: string;
|
|
70
|
-
};
|
|
71
|
-
output: {
|
|
72
|
-
unit: string;
|
|
73
|
-
value: string;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
Amount_Currency: {
|
|
77
|
-
input: {
|
|
78
|
-
unit: string;
|
|
79
|
-
value: string;
|
|
80
|
-
};
|
|
81
|
-
output: {
|
|
82
|
-
unit: string;
|
|
83
|
-
value: string;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
Amount_Fiat: {
|
|
87
|
-
input: {
|
|
88
|
-
unit: string;
|
|
89
|
-
value: number;
|
|
90
|
-
};
|
|
91
|
-
output: {
|
|
92
|
-
unit: string;
|
|
93
|
-
value: number;
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
Amount_Money: {
|
|
97
|
-
input: number;
|
|
98
|
-
output: number;
|
|
99
|
-
};
|
|
100
|
-
Amount_Percentage: {
|
|
101
|
-
input: number;
|
|
102
|
-
output: number;
|
|
103
|
-
};
|
|
104
|
-
Amount_Tokens: {
|
|
105
|
-
input: number;
|
|
106
|
-
output: number;
|
|
107
|
-
};
|
|
108
|
-
Attachment: {
|
|
109
|
-
input: string;
|
|
110
|
-
output: string;
|
|
111
|
-
};
|
|
112
|
-
Currency: {
|
|
113
|
-
input: string;
|
|
114
|
-
output: string;
|
|
115
|
-
};
|
|
116
|
-
Date: {
|
|
117
|
-
input: string;
|
|
118
|
-
output: string;
|
|
119
|
-
};
|
|
120
|
-
DateTime: {
|
|
121
|
-
input: string;
|
|
122
|
-
output: string;
|
|
123
|
-
};
|
|
124
|
-
EmailAddress: {
|
|
125
|
-
input: string;
|
|
126
|
-
output: string;
|
|
127
|
-
};
|
|
128
|
-
EthereumAddress: {
|
|
129
|
-
input: string;
|
|
130
|
-
output: string;
|
|
131
|
-
};
|
|
132
|
-
OID: {
|
|
133
|
-
input: string;
|
|
134
|
-
output: string;
|
|
135
|
-
};
|
|
136
|
-
OLabel: {
|
|
137
|
-
input: string;
|
|
138
|
-
output: string;
|
|
139
|
-
};
|
|
140
|
-
PHID: {
|
|
141
|
-
input: string;
|
|
142
|
-
output: string;
|
|
143
|
-
};
|
|
144
|
-
URL: {
|
|
145
|
-
input: string;
|
|
146
|
-
output: string;
|
|
147
|
-
};
|
|
148
|
-
Unknown: {
|
|
149
|
-
input: unknown;
|
|
150
|
-
output: unknown;
|
|
151
|
-
};
|
|
152
|
-
Upload: {
|
|
153
|
-
input: File;
|
|
154
|
-
output: File;
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
type AddDocumentTypeInput = {
|
|
158
|
-
documentType: Scalars["String"]["input"];
|
|
159
|
-
};
|
|
160
|
-
/**
|
|
161
|
-
* Configuration for a Drive App contributed by the package. Drive apps render a
|
|
162
|
-
* custom view at the drive level (instead of, or alongside, the document file
|
|
163
|
-
* tree) and can opt into which document types they accept.
|
|
164
|
-
*/
|
|
165
|
-
type AppModuleState = {
|
|
166
|
-
/** Document type ids this app handles. `null` means the app accepts any document type; an empty list means it accepts none. */allowedDocumentTypes: Maybe<Array<Scalars["String"]["output"]>>; /** Whether the app surface accepts dropped files from the user. Defaults to true. */
|
|
167
|
-
isDragAndDropEnabled: Scalars["Boolean"]["output"]; /** Display name of the drive app. Also used as the source for the generated folder name under `apps/`. */
|
|
168
|
-
name: Scalars["String"]["output"]; /** Lifecycle status. While DRAFT the app definition is editable and codegen is skipped; switching to CONFIRMED triggers app scaffold generation. */
|
|
169
|
-
status: StatusType;
|
|
170
|
-
};
|
|
171
|
-
type RemoveDocumentTypeInput = {
|
|
172
|
-
documentType: Scalars["String"]["input"];
|
|
173
|
-
};
|
|
174
|
-
type SetAppNameInput = {
|
|
175
|
-
name: Scalars["String"]["input"];
|
|
176
|
-
};
|
|
177
|
-
type SetAppStatusInput = {
|
|
178
|
-
status: StatusType;
|
|
179
|
-
};
|
|
180
|
-
type SetDocumentTypesInput = {
|
|
181
|
-
documentTypes: Array<Scalars["String"]["input"]>;
|
|
182
|
-
};
|
|
183
|
-
type SetDragAndDropEnabledInput = {
|
|
184
|
-
enabled: Scalars["Boolean"]["input"];
|
|
185
|
-
};
|
|
186
|
-
/**
|
|
187
|
-
* Lifecycle status of a module definition.
|
|
188
|
-
* - DRAFT: still being edited; codegen does not run.
|
|
189
|
-
* - CONFIRMED: locked in; codegen produces the corresponding scaffold.
|
|
190
|
-
*/
|
|
191
|
-
type StatusType = "CONFIRMED" | "DRAFT";
|
|
192
|
-
//#endregion
|
|
193
|
-
//#region document-models/app-module/v1/gen/types.d.ts
|
|
194
|
-
type AppModuleLocalState = Record<PropertyKey, never>;
|
|
195
|
-
type AppModulePHState = PHBaseState & {
|
|
196
|
-
global: AppModuleState;
|
|
197
|
-
local: AppModuleLocalState;
|
|
198
|
-
};
|
|
199
|
-
type AppModuleDocument = PHDocument<AppModulePHState>;
|
|
200
|
-
//#endregion
|
|
201
|
-
//#region document-models/app-module/v1/gen/base-operations/actions.d.ts
|
|
202
|
-
type SetAppNameAction = Action & {
|
|
203
|
-
type: "SET_APP_NAME";
|
|
204
|
-
input: SetAppNameInput;
|
|
205
|
-
};
|
|
206
|
-
type SetAppStatusAction = Action & {
|
|
207
|
-
type: "SET_APP_STATUS";
|
|
208
|
-
input: SetAppStatusInput;
|
|
209
|
-
};
|
|
210
|
-
type AddDocumentTypeAction = Action & {
|
|
211
|
-
type: "ADD_DOCUMENT_TYPE";
|
|
212
|
-
input: AddDocumentTypeInput;
|
|
213
|
-
};
|
|
214
|
-
type RemoveDocumentTypeAction = Action & {
|
|
215
|
-
type: "REMOVE_DOCUMENT_TYPE";
|
|
216
|
-
input: RemoveDocumentTypeInput;
|
|
217
|
-
};
|
|
218
|
-
type SetDocumentTypesAction = Action & {
|
|
219
|
-
type: "SET_DOCUMENT_TYPES";
|
|
220
|
-
input: SetDocumentTypesInput;
|
|
221
|
-
};
|
|
222
|
-
type AppModuleBaseOperationsAction = SetAppNameAction | SetAppStatusAction | AddDocumentTypeAction | RemoveDocumentTypeAction | SetDocumentTypesAction;
|
|
223
|
-
//#endregion
|
|
224
|
-
//#region document-models/app-module/v1/gen/dnd-operations/actions.d.ts
|
|
225
|
-
type SetDragAndDropEnabledAction = Action & {
|
|
226
|
-
type: "SET_DRAG_AND_DROP_ENABLED";
|
|
227
|
-
input: SetDragAndDropEnabledInput;
|
|
228
|
-
};
|
|
229
|
-
type AppModuleDndOperationsAction = SetDragAndDropEnabledAction;
|
|
230
|
-
//#endregion
|
|
231
|
-
//#region document-models/app-module/v1/gen/actions.d.ts
|
|
232
|
-
type AppModuleAction = AppModuleBaseOperationsAction | AppModuleDndOperationsAction;
|
|
233
|
-
//#endregion
|
|
234
|
-
//#region document-models/app-module/v1/gen/base-operations/operations.d.ts
|
|
235
|
-
interface AppModuleBaseOperationsOperations {
|
|
236
|
-
setAppNameOperation: (state: AppModuleState, action: SetAppNameAction, dispatch?: SignalDispatch) => void;
|
|
237
|
-
setAppStatusOperation: (state: AppModuleState, action: SetAppStatusAction, dispatch?: SignalDispatch) => void;
|
|
238
|
-
addDocumentTypeOperation: (state: AppModuleState, action: AddDocumentTypeAction, dispatch?: SignalDispatch) => void;
|
|
239
|
-
removeDocumentTypeOperation: (state: AppModuleState, action: RemoveDocumentTypeAction, dispatch?: SignalDispatch) => void;
|
|
240
|
-
setDocumentTypesOperation: (state: AppModuleState, action: SetDocumentTypesAction, dispatch?: SignalDispatch) => void;
|
|
241
|
-
}
|
|
242
|
-
//#endregion
|
|
243
|
-
//#region document-models/app-module/v1/gen/controller.d.ts
|
|
244
|
-
declare const AppModuleController: any;
|
|
245
|
-
declare namespace creators_d_exports {
|
|
246
|
-
export { addDocumentType, removeDocumentType, setAppName, setAppStatus, setDocumentTypes };
|
|
247
|
-
}
|
|
248
|
-
declare const setAppName: (input: SetAppNameInput) => any;
|
|
249
|
-
declare const setAppStatus: (input: SetAppStatusInput) => any;
|
|
250
|
-
declare const addDocumentType: (input: AddDocumentTypeInput) => any;
|
|
251
|
-
declare const removeDocumentType: (input: RemoveDocumentTypeInput) => any;
|
|
252
|
-
declare const setDocumentTypes: (input: SetDocumentTypesInput) => any;
|
|
253
|
-
declare namespace creators_d_exports$1 {
|
|
254
|
-
export { setDragAndDropEnabled };
|
|
255
|
-
}
|
|
256
|
-
declare const setDragAndDropEnabled: (input: SetDragAndDropEnabledInput) => any;
|
|
257
|
-
//#endregion
|
|
258
|
-
//#region document-models/app-module/v1/gen/dnd-operations/operations.d.ts
|
|
259
|
-
interface AppModuleDndOperationsOperations {
|
|
260
|
-
setDragAndDropEnabledOperation: (state: AppModuleState, action: SetDragAndDropEnabledAction, dispatch?: SignalDispatch) => void;
|
|
261
|
-
}
|
|
262
|
-
//#endregion
|
|
263
|
-
//#region document-models/app-module/v1/gen/document-model.d.ts
|
|
264
|
-
declare const documentModel: DocumentModelGlobalState;
|
|
265
|
-
//#endregion
|
|
266
|
-
//#region document-models/app-module/v1/gen/document-schema.d.ts
|
|
267
|
-
/** Schema for validating the header object of a AppModule document */
|
|
268
|
-
declare const AppModuleDocumentHeaderSchema: any;
|
|
269
|
-
/** Schema for validating the state object of a AppModule document */
|
|
270
|
-
declare const AppModulePHStateSchema: any;
|
|
271
|
-
declare const AppModuleDocumentSchema: z.ZodObject<{
|
|
272
|
-
header: any;
|
|
273
|
-
state: any;
|
|
274
|
-
initialState: any;
|
|
275
|
-
}, z.core.$strip>;
|
|
276
|
-
/** Simple helper function to check if a state object is a AppModule document state object */
|
|
277
|
-
declare function isAppModuleState(state: unknown): state is AppModulePHState;
|
|
278
|
-
/** Simple helper function to assert that a document state object is a AppModule document state object */
|
|
279
|
-
declare function assertIsAppModuleState(state: unknown): asserts state is AppModulePHState;
|
|
280
|
-
/** Simple helper function to check if a document is a AppModule document */
|
|
281
|
-
declare function isAppModuleDocument(document: unknown): document is AppModuleDocument;
|
|
282
|
-
/** Simple helper function to assert that a document is a AppModule document */
|
|
283
|
-
declare function assertIsAppModuleDocument(document: unknown): asserts document is AppModuleDocument;
|
|
284
|
-
//#endregion
|
|
285
|
-
//#region document-models/app-module/v1/gen/document-type.d.ts
|
|
286
|
-
/**
|
|
287
|
-
* WARNING: DO NOT EDIT
|
|
288
|
-
* This file is auto-generated and updated by codegen
|
|
289
|
-
*/
|
|
290
|
-
declare const appModuleDocumentType = "powerhouse/app";
|
|
291
|
-
//#endregion
|
|
292
|
-
//#region document-models/app-module/v1/gen/ph-factories.d.ts
|
|
293
|
-
declare function defaultGlobalState(): AppModuleState;
|
|
294
|
-
declare function defaultLocalState(): AppModuleLocalState;
|
|
295
|
-
declare function defaultPHState(): AppModulePHState;
|
|
296
|
-
declare function createState(baseState?: Partial<PHBaseState>, globalState?: Partial<AppModuleState>, localState?: Partial<AppModuleLocalState>): AppModulePHState;
|
|
297
|
-
/**
|
|
298
|
-
* Creates a AppModuleDocument with custom global and local state
|
|
299
|
-
* This properly handles the PHBaseState requirements while allowing
|
|
300
|
-
* document-specific state to be set.
|
|
301
|
-
*/
|
|
302
|
-
declare function createAppModuleDocument(state?: Partial<{
|
|
303
|
-
auth?: Partial<PHAuthState>;
|
|
304
|
-
document?: Partial<PHDocumentState>;
|
|
305
|
-
global?: Partial<AppModuleState>;
|
|
306
|
-
local?: Partial<AppModuleLocalState>;
|
|
307
|
-
}>): AppModuleDocument;
|
|
308
|
-
//#endregion
|
|
309
|
-
//#region document-models/app-module/v1/gen/reducer.d.ts
|
|
310
|
-
declare const reducer: Reducer<AppModulePHState>;
|
|
311
|
-
//#endregion
|
|
312
|
-
//#region document-models/app-module/v1/gen/schema/zod.d.ts
|
|
313
|
-
type Properties<T> = Required<{ [K in keyof T]: z$1.ZodType<T[K]> }>;
|
|
314
|
-
type definedNonNullAny = {};
|
|
315
|
-
declare const isDefinedNonNullAny: (v: any) => v is definedNonNullAny;
|
|
316
|
-
declare const definedNonNullAnySchema: z$1.ZodAny & z$1.ZodType<definedNonNullAny, any, z$1.core.$ZodTypeInternals<definedNonNullAny, any>>;
|
|
317
|
-
declare const StatusTypeSchema: z$1.ZodEnum<{
|
|
318
|
-
CONFIRMED: "CONFIRMED";
|
|
319
|
-
DRAFT: "DRAFT";
|
|
320
|
-
}>;
|
|
321
|
-
declare function AddDocumentTypeInputSchema(): z$1.ZodObject<Properties<AddDocumentTypeInput>>;
|
|
322
|
-
declare function AppModuleStateSchema(): z$1.ZodObject<Properties<AppModuleState>>;
|
|
323
|
-
declare function RemoveDocumentTypeInputSchema(): z$1.ZodObject<Properties<RemoveDocumentTypeInput>>;
|
|
324
|
-
declare function SetAppNameInputSchema(): z$1.ZodObject<Properties<SetAppNameInput>>;
|
|
325
|
-
declare function SetAppStatusInputSchema(): z$1.ZodObject<Properties<SetAppStatusInput>>;
|
|
326
|
-
declare function SetDocumentTypesInputSchema(): z$1.ZodObject<Properties<SetDocumentTypesInput>>;
|
|
327
|
-
declare function SetDragAndDropEnabledInputSchema(): z$1.ZodObject<Properties<SetDragAndDropEnabledInput>>;
|
|
328
|
-
//#endregion
|
|
329
|
-
//#region document-models/app-module/v1/gen/utils.d.ts
|
|
330
|
-
declare const initialGlobalState: AppModuleState;
|
|
331
|
-
declare const initialLocalState: AppModuleLocalState;
|
|
332
|
-
//#endregion
|
|
333
|
-
//#region document-models/app-module/v1/hooks.d.ts
|
|
334
|
-
/** Hook to get a AppModule document by its id */
|
|
335
|
-
declare function useAppModuleDocumentById(documentId: string | null | undefined): [AppModuleDocument, DocumentDispatch<AppModuleAction>] | [undefined, undefined];
|
|
336
|
-
/** Hook to get the selected AppModule document */
|
|
337
|
-
declare function useSelectedAppModuleDocument(): [AppModuleDocument, DocumentDispatch<AppModuleAction>];
|
|
338
|
-
/** Hook to get all AppModule documents in the selected drive */
|
|
339
|
-
declare function useAppModuleDocumentsInSelectedDrive(): any;
|
|
340
|
-
/** Hook to get all AppModule documents in the selected folder */
|
|
341
|
-
declare function useAppModuleDocumentsInSelectedFolder(): any;
|
|
342
|
-
//#endregion
|
|
343
|
-
//#region document-models/app-module/v1/utils.d.ts
|
|
344
|
-
/** Utils for the AppModule document model */
|
|
345
|
-
declare const utils: DocumentModelUtils<AppModulePHState>;
|
|
346
|
-
//#endregion
|
|
347
|
-
export { AddDocumentTypeAction, AddDocumentTypeInput, AddDocumentTypeInputSchema, AppModule, type AppModuleAction, AppModuleBaseOperationsAction, AppModuleBaseOperationsOperations, AppModuleController, AppModuleDndOperationsAction, AppModuleDndOperationsOperations, type AppModuleDocument, AppModuleDocumentHeaderSchema, AppModuleDocumentSchema, type AppModuleState as AppModuleGlobalState, AppModuleState, type AppModuleLocalState, type 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, creators_d_exports as appModuleBaseOperationsActions, creators_d_exports$1 as appModuleDndOperationsActions, appModuleDocumentType, appModuleUpgradeManifest, assertIsAppModuleDocument, assertIsAppModuleState, createAppModuleDocument, createState, defaultGlobalState, defaultLocalState, defaultPHState, definedNonNullAnySchema, documentModel, initialGlobalState, initialLocalState, isAppModuleDocument, isAppModuleState, isDefinedNonNullAny, latestVersion, reducer, removeDocumentType, setAppName, setAppStatus, setDocumentTypes, setDragAndDropEnabled, supportedVersions, useAppModuleDocumentById, useAppModuleDocumentsInSelectedDrive, useAppModuleDocumentsInSelectedFolder, useSelectedAppModuleDocument, utils };
|
|
11
|
+
export { AddDocumentTypeAction, AddDocumentTypeInput, AddDocumentTypeInputSchema, AppModule, AppModuleAction, AppModuleBaseOperationsAction, AppModuleBaseOperationsOperations, AppModuleController, 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, creators_d_exports as appModuleBaseOperationsActions, creators_d_exports$1 as appModuleDndOperationsActions, appModuleDocumentType, appModuleUpgradeManifest, assertIsAppModuleDocument, assertIsAppModuleState, createAppModuleDocument, createState, defaultGlobalState, defaultLocalState, defaultPHState, definedNonNullAnySchema, documentModel, initialGlobalState, initialLocalState, isAppModuleDocument, isAppModuleState, isDefinedNonNullAny, latestVersion, reducer, removeDocumentType, setAppName, setAppStatus, setDocumentTypes, setDragAndDropEnabled, supportedVersions, useAppModuleDocumentById, useAppModuleDocumentsInSelectedDrive, useAppModuleDocumentsInSelectedFolder, useSelectedAppModuleDocument, utils };
|
|
348
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../document-models/app-module/upgrades/versions.ts","../../../document-models/app-module/upgrades/upgrade-manifest.ts"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../document-models/app-module/upgrades/versions.ts","../../../document-models/app-module/upgrades/upgrade-manifest.ts"],"mappings":";;;;cAAa,iBAAA;AAAA,cAEA,aAAA;;;cCKA,wBAAA,EAA0B,eAAA,QAC9B,iBAAA"}
|