@powerhousedao/vetra 6.0.0-dev.249 → 6.0.0-dev.250
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app-module-Bbj7PI-S.js +94 -0
- package/dist/app-module-Bbj7PI-S.js.map +1 -0
- package/dist/connect-CTIucT0o.js +6 -0
- package/dist/connect-CTIucT0o.js.map +1 -0
- package/dist/document-editor-DS-bZMKx.js +93 -0
- package/dist/document-editor-DS-bZMKx.js.map +1 -0
- package/dist/document-models/app-module/index.d.ts +349 -2
- package/dist/document-models/app-module/index.d.ts.map +1 -0
- package/dist/document-models/app-module/index.js +3 -2
- package/dist/document-models/document-editor/index.d.ts +325 -2
- package/dist/document-models/document-editor/index.d.ts.map +1 -0
- package/dist/document-models/document-editor/index.js +3 -2
- package/dist/document-models/index.d.ts +6 -29
- package/dist/document-models/index.js +6 -2
- package/dist/document-models/processor-module/index.d.ts +357 -2
- package/dist/document-models/processor-module/index.d.ts.map +1 -0
- package/dist/document-models/processor-module/index.js +3 -2
- package/dist/document-models/subgraph-module/index.d.ts +296 -2
- package/dist/document-models/subgraph-module/index.d.ts.map +1 -0
- package/dist/document-models/subgraph-module/index.js +3 -2
- package/dist/document-models/vetra-package/index.d.ts +386 -2
- package/dist/document-models/vetra-package/index.d.ts.map +1 -0
- package/dist/document-models/vetra-package/index.js +3 -2
- package/dist/{editor-DqkJ0B4G.js → editor-BSQfwcdz.js} +5 -4
- package/dist/{editor-DqkJ0B4G.js.map → editor-BSQfwcdz.js.map} +1 -1
- package/dist/{editor-CGNcK2z0.js → editor-Bku8e2dr.js} +5 -5
- package/dist/{editor-CGNcK2z0.js.map → editor-Bku8e2dr.js.map} +1 -1
- package/dist/{editor-ddcGG42r.js → editor-CbtrPBTP.js} +5 -4
- package/dist/{editor-ddcGG42r.js.map → editor-CbtrPBTP.js.map} +1 -1
- package/dist/{editor-D4FHn5u4.js → editor-D70FYIwV.js} +2 -2
- package/dist/{editor-D4FHn5u4.js.map → editor-D70FYIwV.js.map} +1 -1
- package/dist/{editor-CdzYJozI.js → editor-Dtg8STyT.js} +5 -5
- package/dist/{editor-CdzYJozI.js.map → editor-Dtg8STyT.js.map} +1 -1
- package/dist/{editor-CgkzQJ4g.js → editor-SfVorwsP.js} +6 -6
- package/dist/{editor-CgkzQJ4g.js.map → editor-SfVorwsP.js.map} +1 -1
- package/dist/editors/hooks/index.js +1 -1
- package/dist/editors/index.d.ts +13 -12
- package/dist/editors/index.d.ts.map +1 -1
- package/dist/editors/index.js +2 -2
- package/dist/{codegen-PnsnCMkw.js → factory-CweZppg6.js} +51 -3
- package/dist/factory-CweZppg6.js.map +1 -0
- package/dist/factory-D8ZDOMP3.js +79 -0
- package/dist/factory-D8ZDOMP3.js.map +1 -0
- package/dist/{hooks-Vx4YtE1e.js → hooks-Xexr33XS.js} +1 -1
- package/dist/{hooks-Vx4YtE1e.js.map → hooks-Xexr33XS.js.map} +1 -1
- package/dist/index.d.ts +7 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -5
- package/dist/index.js.map +1 -1
- package/dist/{processor-module-CkuQiq7B.js → module-BWlCj_0C.js} +159 -204
- package/dist/module-BWlCj_0C.js.map +1 -0
- package/dist/{subgraph-module-CU_-umq2.js → module-BoGgbKmO.js} +111 -153
- package/dist/module-BoGgbKmO.js.map +1 -0
- package/dist/module-BoX1rWiq.d.ts +6 -0
- package/dist/module-BoX1rWiq.d.ts.map +1 -0
- package/dist/module-CG6K37P8.d.ts +6 -0
- package/dist/module-CG6K37P8.d.ts.map +1 -0
- package/dist/{app-module-BbhoykB5.js → module-CTPfENDU.js} +149 -189
- package/dist/module-CTPfENDU.js.map +1 -0
- package/dist/{module-BW12i5H3.js → module-CXIFrq-R.js} +15 -11
- package/dist/module-CXIFrq-R.js.map +1 -0
- package/dist/{vetra-package-VqptqKzx.js → module-CZLiUtDI.js} +186 -236
- package/dist/module-CZLiUtDI.js.map +1 -0
- package/dist/module-Cr-9knz_.d.ts +6 -0
- package/dist/module-Cr-9knz_.d.ts.map +1 -0
- package/dist/{document-editor-CHM7Pu4m.js → module-D0SK3Nds.js} +137 -180
- package/dist/module-D0SK3Nds.js.map +1 -0
- package/dist/module-DhhQLYnQ.d.ts +6 -0
- package/dist/module-DhhQLYnQ.d.ts.map +1 -0
- package/dist/module-J-kGIl1E.d.ts +6 -0
- package/dist/module-J-kGIl1E.d.ts.map +1 -0
- package/dist/powerhouse.manifest.d.ts +8 -5
- package/dist/powerhouse.manifest.d.ts.map +1 -1
- package/dist/powerhouse.manifest.js +19 -12
- package/dist/processor-module-D0lRrrpW.js +95 -0
- package/dist/processor-module-D0lRrrpW.js.map +1 -0
- package/dist/processors/codegen/index.d.ts +21322 -2
- package/dist/processors/codegen/index.d.ts.map +1 -0
- package/dist/processors/codegen/index.js +2 -2
- package/dist/processors/index.d.ts +4 -15
- package/dist/processors/index.d.ts.map +1 -1
- package/dist/processors/index.js +8 -81
- package/dist/processors/index.js.map +1 -1
- package/dist/processors/vetra-read-model/index.d.ts +18599 -2
- package/dist/processors/vetra-read-model/index.d.ts.map +1 -0
- package/dist/processors/vetra-read-model/index.js +2 -54
- package/dist/subgraph-module-B3ipwOza.js +92 -0
- package/dist/subgraph-module-B3ipwOza.js.map +1 -0
- package/dist/switchboard-JOTFVXuj.js +8 -0
- package/dist/switchboard-JOTFVXuj.js.map +1 -0
- package/dist/{useVetraDocument-DF0teXXM.js → useVetraDocument-DoAwvHVi.js} +1 -1
- package/dist/{useVetraDocument-DF0teXXM.js.map → useVetraDocument-DoAwvHVi.js.map} +1 -1
- package/dist/vetra-package-YNLxEA-U.js +100 -0
- package/dist/vetra-package-YNLxEA-U.js.map +1 -0
- package/package.json +9 -8
- package/dist/app-module-BbhoykB5.js.map +0 -1
- package/dist/codegen-PnsnCMkw.js.map +0 -1
- package/dist/document-editor-CHM7Pu4m.js.map +0 -1
- package/dist/document-models/index.d.ts.map +0 -1
- package/dist/editor-Bsu4yikl.js +0 -2
- package/dist/index-CHfOF-Et.d.ts +0 -363
- package/dist/index-CHfOF-Et.d.ts.map +0 -1
- package/dist/index-CL_CHW_Z.d.ts +0 -330
- package/dist/index-CL_CHW_Z.d.ts.map +0 -1
- package/dist/index-C_kUPMNf.d.ts +0 -298
- package/dist/index-C_kUPMNf.d.ts.map +0 -1
- package/dist/index-CxWUNzph.d.ts +0 -21319
- package/dist/index-CxWUNzph.d.ts.map +0 -1
- package/dist/index-Ofk3NYAC.d.ts +0 -18596
- package/dist/index-Ofk3NYAC.d.ts.map +0 -1
- package/dist/index-Qr_rU6VS.d.ts +0 -271
- package/dist/index-Qr_rU6VS.d.ts.map +0 -1
- package/dist/index-cBMMID-w.d.ts +0 -323
- package/dist/index-cBMMID-w.d.ts.map +0 -1
- package/dist/module-BW12i5H3.js.map +0 -1
- package/dist/module-XCoMwFat.js +0 -59
- package/dist/module-XCoMwFat.js.map +0 -1
- package/dist/processor-module-CkuQiq7B.js.map +0 -1
- package/dist/processors/vetra-read-model/index.js.map +0 -1
- package/dist/subgraph-module-CU_-umq2.js.map +0 -1
- package/dist/vetra-package-VqptqKzx.js.map +0 -1
package/dist/index-Qr_rU6VS.d.ts
DELETED
|
@@ -1,271 +0,0 @@
|
|
|
1
|
-
import { Action, Actions, DocumentModelGlobalState, DocumentModelUtils, PHAuthState, PHBaseState, PHDocument as PHDocument$1, PHDocumentState, Reducer, SignalDispatch } from "@powerhousedao/shared/document-model";
|
|
2
|
-
import * as z$1 from "zod";
|
|
3
|
-
import { z } from "zod";
|
|
4
|
-
import { DocumentDispatch } from "@powerhousedao/reactor-browser";
|
|
5
|
-
|
|
6
|
-
//#region document-models/subgraph-module/gen/schema/types.d.ts
|
|
7
|
-
type Maybe<T> = T | null | undefined;
|
|
8
|
-
type InputMaybe<T> = T | null | undefined;
|
|
9
|
-
type Exact<T extends {
|
|
10
|
-
[key: string]: unknown;
|
|
11
|
-
}> = { [K in keyof T]: T[K] };
|
|
12
|
-
type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
|
|
13
|
-
type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
|
|
14
|
-
type MakeEmpty<T extends {
|
|
15
|
-
[key: string]: unknown;
|
|
16
|
-
}, K extends keyof T> = { [_ in K]?: never };
|
|
17
|
-
type Incremental<T> = T | { [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never };
|
|
18
|
-
/** All built-in and custom scalars, mapped to their actual values */
|
|
19
|
-
type Scalars = {
|
|
20
|
-
ID: {
|
|
21
|
-
input: string;
|
|
22
|
-
output: string;
|
|
23
|
-
};
|
|
24
|
-
String: {
|
|
25
|
-
input: string;
|
|
26
|
-
output: string;
|
|
27
|
-
};
|
|
28
|
-
Boolean: {
|
|
29
|
-
input: boolean;
|
|
30
|
-
output: boolean;
|
|
31
|
-
};
|
|
32
|
-
Int: {
|
|
33
|
-
input: number;
|
|
34
|
-
output: number;
|
|
35
|
-
};
|
|
36
|
-
Float: {
|
|
37
|
-
input: number;
|
|
38
|
-
output: number;
|
|
39
|
-
};
|
|
40
|
-
Address: {
|
|
41
|
-
input: `${string}:0x${string}`;
|
|
42
|
-
output: `${string}:0x${string}`;
|
|
43
|
-
};
|
|
44
|
-
Amount: {
|
|
45
|
-
input: {
|
|
46
|
-
unit?: string;
|
|
47
|
-
value?: number;
|
|
48
|
-
};
|
|
49
|
-
output: {
|
|
50
|
-
unit?: string;
|
|
51
|
-
value?: number;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
Amount_Crypto: {
|
|
55
|
-
input: {
|
|
56
|
-
unit: string;
|
|
57
|
-
value: string;
|
|
58
|
-
};
|
|
59
|
-
output: {
|
|
60
|
-
unit: string;
|
|
61
|
-
value: string;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
Amount_Currency: {
|
|
65
|
-
input: {
|
|
66
|
-
unit: string;
|
|
67
|
-
value: string;
|
|
68
|
-
};
|
|
69
|
-
output: {
|
|
70
|
-
unit: string;
|
|
71
|
-
value: string;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
Amount_Fiat: {
|
|
75
|
-
input: {
|
|
76
|
-
unit: string;
|
|
77
|
-
value: number;
|
|
78
|
-
};
|
|
79
|
-
output: {
|
|
80
|
-
unit: string;
|
|
81
|
-
value: number;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
Amount_Money: {
|
|
85
|
-
input: number;
|
|
86
|
-
output: number;
|
|
87
|
-
};
|
|
88
|
-
Amount_Percentage: {
|
|
89
|
-
input: number;
|
|
90
|
-
output: number;
|
|
91
|
-
};
|
|
92
|
-
Amount_Tokens: {
|
|
93
|
-
input: number;
|
|
94
|
-
output: number;
|
|
95
|
-
};
|
|
96
|
-
Attachment: {
|
|
97
|
-
input: string;
|
|
98
|
-
output: string;
|
|
99
|
-
};
|
|
100
|
-
Currency: {
|
|
101
|
-
input: string;
|
|
102
|
-
output: string;
|
|
103
|
-
};
|
|
104
|
-
Date: {
|
|
105
|
-
input: string;
|
|
106
|
-
output: string;
|
|
107
|
-
};
|
|
108
|
-
DateTime: {
|
|
109
|
-
input: string;
|
|
110
|
-
output: string;
|
|
111
|
-
};
|
|
112
|
-
EmailAddress: {
|
|
113
|
-
input: string;
|
|
114
|
-
output: string;
|
|
115
|
-
};
|
|
116
|
-
EthereumAddress: {
|
|
117
|
-
input: string;
|
|
118
|
-
output: string;
|
|
119
|
-
};
|
|
120
|
-
OID: {
|
|
121
|
-
input: string;
|
|
122
|
-
output: string;
|
|
123
|
-
};
|
|
124
|
-
OLabel: {
|
|
125
|
-
input: string;
|
|
126
|
-
output: string;
|
|
127
|
-
};
|
|
128
|
-
PHID: {
|
|
129
|
-
input: string;
|
|
130
|
-
output: string;
|
|
131
|
-
};
|
|
132
|
-
URL: {
|
|
133
|
-
input: string;
|
|
134
|
-
output: string;
|
|
135
|
-
};
|
|
136
|
-
Unknown: {
|
|
137
|
-
input: unknown;
|
|
138
|
-
output: unknown;
|
|
139
|
-
};
|
|
140
|
-
Upload: {
|
|
141
|
-
input: File;
|
|
142
|
-
output: File;
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
type SetSubgraphNameInput = {
|
|
146
|
-
name: Scalars["String"]["input"];
|
|
147
|
-
};
|
|
148
|
-
type SetSubgraphStatusInput = {
|
|
149
|
-
status: StatusType;
|
|
150
|
-
};
|
|
151
|
-
type StatusType = "CONFIRMED" | "DRAFT";
|
|
152
|
-
type SubgraphModuleState = {
|
|
153
|
-
name: Scalars["String"]["output"];
|
|
154
|
-
status: StatusType;
|
|
155
|
-
};
|
|
156
|
-
//#endregion
|
|
157
|
-
//#region document-models/subgraph-module/gen/types.d.ts
|
|
158
|
-
type SubgraphModuleLocalState = Record<PropertyKey, never>;
|
|
159
|
-
type SubgraphModulePHState = PHBaseState & {
|
|
160
|
-
global: SubgraphModuleState;
|
|
161
|
-
local: SubgraphModuleLocalState;
|
|
162
|
-
};
|
|
163
|
-
type SubgraphModuleDocument = PHDocument$1<SubgraphModulePHState>;
|
|
164
|
-
//#endregion
|
|
165
|
-
//#region document-models/subgraph-module/gen/base-operations/actions.d.ts
|
|
166
|
-
type SetSubgraphNameAction = Action & {
|
|
167
|
-
type: "SET_SUBGRAPH_NAME";
|
|
168
|
-
input: SetSubgraphNameInput;
|
|
169
|
-
};
|
|
170
|
-
type SetSubgraphStatusAction = Action & {
|
|
171
|
-
type: "SET_SUBGRAPH_STATUS";
|
|
172
|
-
input: SetSubgraphStatusInput;
|
|
173
|
-
};
|
|
174
|
-
type SubgraphModuleBaseOperationsAction = SetSubgraphNameAction | SetSubgraphStatusAction;
|
|
175
|
-
//#endregion
|
|
176
|
-
//#region document-models/subgraph-module/gen/actions.d.ts
|
|
177
|
-
type SubgraphModuleAction = SubgraphModuleBaseOperationsAction;
|
|
178
|
-
//#endregion
|
|
179
|
-
//#region document-models/subgraph-module/gen/document-model.d.ts
|
|
180
|
-
declare const documentModel: DocumentModelGlobalState;
|
|
181
|
-
declare namespace creators_d_exports {
|
|
182
|
-
export { setSubgraphName, setSubgraphStatus };
|
|
183
|
-
}
|
|
184
|
-
declare const setSubgraphName: (input: SetSubgraphNameInput) => any;
|
|
185
|
-
declare const setSubgraphStatus: (input: SetSubgraphStatusInput) => any;
|
|
186
|
-
//#endregion
|
|
187
|
-
//#region document-models/subgraph-module/gen/ph-factories.d.ts
|
|
188
|
-
declare function defaultGlobalState(): SubgraphModuleState;
|
|
189
|
-
declare function defaultLocalState(): SubgraphModuleLocalState;
|
|
190
|
-
declare function defaultPHState(): SubgraphModulePHState;
|
|
191
|
-
declare function createState$1(baseState?: Partial<PHBaseState>, globalState?: Partial<SubgraphModuleState>, localState?: Partial<SubgraphModuleLocalState>): SubgraphModulePHState;
|
|
192
|
-
/**
|
|
193
|
-
* Creates a SubgraphModuleDocument with custom global and local state
|
|
194
|
-
* This properly handles the PHBaseState requirements while allowing
|
|
195
|
-
* document-specific state to be set.
|
|
196
|
-
*/
|
|
197
|
-
declare function createSubgraphModuleDocument(state?: Partial<{
|
|
198
|
-
auth?: Partial<PHAuthState>;
|
|
199
|
-
document?: Partial<PHDocumentState>;
|
|
200
|
-
global?: Partial<SubgraphModuleState>;
|
|
201
|
-
local?: Partial<SubgraphModuleLocalState>;
|
|
202
|
-
}>): SubgraphModuleDocument;
|
|
203
|
-
//#endregion
|
|
204
|
-
//#region document-models/subgraph-module/gen/utils.d.ts
|
|
205
|
-
declare const initialGlobalState: SubgraphModuleState;
|
|
206
|
-
declare const initialLocalState: SubgraphModuleLocalState;
|
|
207
|
-
//#endregion
|
|
208
|
-
//#region document-models/subgraph-module/gen/reducer.d.ts
|
|
209
|
-
declare const reducer: Reducer<SubgraphModulePHState>;
|
|
210
|
-
//#endregion
|
|
211
|
-
//#region document-models/subgraph-module/gen/schema/zod.d.ts
|
|
212
|
-
type Properties<T> = Required<{ [K in keyof T]: z$1.ZodType<T[K]> }>;
|
|
213
|
-
type definedNonNullAny = {};
|
|
214
|
-
declare const isDefinedNonNullAny: (v: any) => v is definedNonNullAny;
|
|
215
|
-
declare const definedNonNullAnySchema: z$1.ZodAny & z$1.ZodType<definedNonNullAny, any, z$1.core.$ZodTypeInternals<definedNonNullAny, any>>;
|
|
216
|
-
declare const StatusTypeSchema: z$1.ZodEnum<{
|
|
217
|
-
CONFIRMED: "CONFIRMED";
|
|
218
|
-
DRAFT: "DRAFT";
|
|
219
|
-
}>;
|
|
220
|
-
declare function SetSubgraphNameInputSchema(): z$1.ZodObject<Properties<SetSubgraphNameInput>>;
|
|
221
|
-
declare function SetSubgraphStatusInputSchema(): z$1.ZodObject<Properties<SetSubgraphStatusInput>>;
|
|
222
|
-
declare function SubgraphModuleStateSchema(): z$1.ZodObject<Properties<SubgraphModuleState>>;
|
|
223
|
-
//#endregion
|
|
224
|
-
//#region document-models/subgraph-module/gen/document-type.d.ts
|
|
225
|
-
declare const subgraphModuleDocumentType = "powerhouse/subgraph";
|
|
226
|
-
//#endregion
|
|
227
|
-
//#region document-models/subgraph-module/gen/document-schema.d.ts
|
|
228
|
-
/** Schema for validating the header object of a SubgraphModule document */
|
|
229
|
-
declare const SubgraphModuleDocumentHeaderSchema: any;
|
|
230
|
-
/** Schema for validating the state object of a SubgraphModule document */
|
|
231
|
-
declare const SubgraphModulePHStateSchema: any;
|
|
232
|
-
declare const SubgraphModuleDocumentSchema: z.ZodObject<{
|
|
233
|
-
header: any;
|
|
234
|
-
state: any;
|
|
235
|
-
initialState: any;
|
|
236
|
-
}, z.core.$strip>;
|
|
237
|
-
/** Simple helper function to check if a state object is a SubgraphModule document state object */
|
|
238
|
-
declare function isSubgraphModuleState(state: unknown): state is SubgraphModulePHState;
|
|
239
|
-
/** Simple helper function to assert that a document state object is a SubgraphModule document state object */
|
|
240
|
-
declare function assertIsSubgraphModuleState(state: unknown): asserts state is SubgraphModulePHState;
|
|
241
|
-
/** Simple helper function to check if a document is a SubgraphModule document */
|
|
242
|
-
declare function isSubgraphModuleDocument(document: unknown): document is SubgraphModuleDocument;
|
|
243
|
-
/** Simple helper function to assert that a document is a SubgraphModule document */
|
|
244
|
-
declare function assertIsSubgraphModuleDocument(document: unknown): asserts document is SubgraphModuleDocument;
|
|
245
|
-
//#endregion
|
|
246
|
-
//#region document-models/subgraph-module/gen/base-operations/operations.d.ts
|
|
247
|
-
interface SubgraphModuleBaseOperationsOperations {
|
|
248
|
-
setSubgraphNameOperation: (state: SubgraphModuleState, action: SetSubgraphNameAction, dispatch?: SignalDispatch) => void;
|
|
249
|
-
setSubgraphStatusOperation: (state: SubgraphModuleState, action: SetSubgraphStatusAction, dispatch?: SignalDispatch) => void;
|
|
250
|
-
}
|
|
251
|
-
//#endregion
|
|
252
|
-
//#region document-models/subgraph-module/hooks.d.ts
|
|
253
|
-
/** Hook to get a SubgraphModule document by its id */
|
|
254
|
-
declare function useSubgraphModuleDocumentById(documentId: string | null | undefined): [SubgraphModuleDocument, DocumentDispatch<SubgraphModuleAction>] | [undefined, undefined];
|
|
255
|
-
/** Hook to get the selected SubgraphModule document */
|
|
256
|
-
declare function useSelectedSubgraphModuleDocument(): [SubgraphModuleDocument, DocumentDispatch<SubgraphModuleAction>];
|
|
257
|
-
/** Hook to get all SubgraphModule documents in the selected drive */
|
|
258
|
-
declare function useSubgraphModuleDocumentsInSelectedDrive(): PHDocument<any>[] | undefined;
|
|
259
|
-
/** Hook to get all SubgraphModule documents in the selected folder */
|
|
260
|
-
declare function useSubgraphModuleDocumentsInSelectedFolder(): PHDocument<any>[] | undefined;
|
|
261
|
-
//#endregion
|
|
262
|
-
//#region document-models/subgraph-module/actions.d.ts
|
|
263
|
-
/** Actions for the SubgraphModule document model */
|
|
264
|
-
declare const actions: Actions;
|
|
265
|
-
//#endregion
|
|
266
|
-
//#region document-models/subgraph-module/utils.d.ts
|
|
267
|
-
/** Utils for the SubgraphModule document model */
|
|
268
|
-
declare const utils: DocumentModelUtils<SubgraphModulePHState>;
|
|
269
|
-
//#endregion
|
|
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 };
|
|
271
|
-
//# sourceMappingURL=index-Qr_rU6VS.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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/subgraph-module/actions.ts","../document-models/subgraph-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,mBACG,CAAA,YACN,CAAA;AAAA,KACA,WAAA,MACR,CAAA,iBAEc,CAAA,IAAK,CAAA,2CAA4C,CAAA,CAAE,CAAA;;KAGzD,OAAA;EACV,EAAA;IAAM,KAAA;IAAe,MAAA;EAAA;EACrB,MAAA;IAAU,KAAA;IAAe,MAAA;EAAA;EACzB,OAAA;IAAW,KAAA;IAAgB,MAAA;EAAA;EAC3B,GAAA;IAAO,KAAA;IAAe,MAAA;EAAA;EACtB,KAAA;IAAS,KAAA;IAAe,MAAA;EAAA;EACxB,OAAA;IAAW,KAAA;IAAgC,MAAA;EAAA;EAC3C,MAAA;IACE,KAAA;MAAS,IAAA;MAAe,KAAA;IAAA;IACxB,MAAA;MAAU,IAAA;MAAe,KAAA;IAAA;EAAA;EAE3B,aAAA;IACE,KAAA;MAAS,IAAA;MAAc,KAAA;IAAA;IACvB,MAAA;MAAU,IAAA;MAAc,KAAA;IAAA;EAAA;EAE1B,eAAA;IACE,KAAA;MAAS,IAAA;MAAc,KAAA;IAAA;IACvB,MAAA;MAAU,IAAA;MAAc,KAAA;IAA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b,0BAAA,CAAA,GAA8B,GAAA,CAAE,SAAA,CAC9C,UAAA,CAAW,oBAAA;AAAA,iBAOG,4BAAA,CAAA,GAAgC,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"}
|
package/dist/index-cBMMID-w.d.ts
DELETED
|
@@ -1,323 +0,0 @@
|
|
|
1
|
-
import { Action, Actions, DocumentModelGlobalState, DocumentModelUtils, PHAuthState, PHBaseState, PHDocument as PHDocument$1, PHDocumentState, Reducer, SignalDispatch } from "@powerhousedao/shared/document-model";
|
|
2
|
-
import * as z$1 from "zod";
|
|
3
|
-
import { z } from "zod";
|
|
4
|
-
import { DocumentDispatch } from "@powerhousedao/reactor-browser";
|
|
5
|
-
|
|
6
|
-
//#region document-models/app-module/gen/schema/types.d.ts
|
|
7
|
-
type Maybe<T> = T | null | undefined;
|
|
8
|
-
type InputMaybe<T> = T | null | undefined;
|
|
9
|
-
type Exact<T extends {
|
|
10
|
-
[key: string]: unknown;
|
|
11
|
-
}> = { [K in keyof T]: T[K] };
|
|
12
|
-
type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
|
|
13
|
-
type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
|
|
14
|
-
type MakeEmpty<T extends {
|
|
15
|
-
[key: string]: unknown;
|
|
16
|
-
}, K extends keyof T> = { [_ in K]?: never };
|
|
17
|
-
type Incremental<T> = T | { [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never };
|
|
18
|
-
/** All built-in and custom scalars, mapped to their actual values */
|
|
19
|
-
type Scalars = {
|
|
20
|
-
ID: {
|
|
21
|
-
input: string;
|
|
22
|
-
output: string;
|
|
23
|
-
};
|
|
24
|
-
String: {
|
|
25
|
-
input: string;
|
|
26
|
-
output: string;
|
|
27
|
-
};
|
|
28
|
-
Boolean: {
|
|
29
|
-
input: boolean;
|
|
30
|
-
output: boolean;
|
|
31
|
-
};
|
|
32
|
-
Int: {
|
|
33
|
-
input: number;
|
|
34
|
-
output: number;
|
|
35
|
-
};
|
|
36
|
-
Float: {
|
|
37
|
-
input: number;
|
|
38
|
-
output: number;
|
|
39
|
-
};
|
|
40
|
-
Address: {
|
|
41
|
-
input: `${string}:0x${string}`;
|
|
42
|
-
output: `${string}:0x${string}`;
|
|
43
|
-
};
|
|
44
|
-
Amount: {
|
|
45
|
-
input: {
|
|
46
|
-
unit?: string;
|
|
47
|
-
value?: number;
|
|
48
|
-
};
|
|
49
|
-
output: {
|
|
50
|
-
unit?: string;
|
|
51
|
-
value?: number;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
Amount_Crypto: {
|
|
55
|
-
input: {
|
|
56
|
-
unit: string;
|
|
57
|
-
value: string;
|
|
58
|
-
};
|
|
59
|
-
output: {
|
|
60
|
-
unit: string;
|
|
61
|
-
value: string;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
Amount_Currency: {
|
|
65
|
-
input: {
|
|
66
|
-
unit: string;
|
|
67
|
-
value: string;
|
|
68
|
-
};
|
|
69
|
-
output: {
|
|
70
|
-
unit: string;
|
|
71
|
-
value: string;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
Amount_Fiat: {
|
|
75
|
-
input: {
|
|
76
|
-
unit: string;
|
|
77
|
-
value: number;
|
|
78
|
-
};
|
|
79
|
-
output: {
|
|
80
|
-
unit: string;
|
|
81
|
-
value: number;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
Amount_Money: {
|
|
85
|
-
input: number;
|
|
86
|
-
output: number;
|
|
87
|
-
};
|
|
88
|
-
Amount_Percentage: {
|
|
89
|
-
input: number;
|
|
90
|
-
output: number;
|
|
91
|
-
};
|
|
92
|
-
Amount_Tokens: {
|
|
93
|
-
input: number;
|
|
94
|
-
output: number;
|
|
95
|
-
};
|
|
96
|
-
Attachment: {
|
|
97
|
-
input: string;
|
|
98
|
-
output: string;
|
|
99
|
-
};
|
|
100
|
-
Currency: {
|
|
101
|
-
input: string;
|
|
102
|
-
output: string;
|
|
103
|
-
};
|
|
104
|
-
Date: {
|
|
105
|
-
input: string;
|
|
106
|
-
output: string;
|
|
107
|
-
};
|
|
108
|
-
DateTime: {
|
|
109
|
-
input: string;
|
|
110
|
-
output: string;
|
|
111
|
-
};
|
|
112
|
-
EmailAddress: {
|
|
113
|
-
input: string;
|
|
114
|
-
output: string;
|
|
115
|
-
};
|
|
116
|
-
EthereumAddress: {
|
|
117
|
-
input: string;
|
|
118
|
-
output: string;
|
|
119
|
-
};
|
|
120
|
-
OID: {
|
|
121
|
-
input: string;
|
|
122
|
-
output: string;
|
|
123
|
-
};
|
|
124
|
-
OLabel: {
|
|
125
|
-
input: string;
|
|
126
|
-
output: string;
|
|
127
|
-
};
|
|
128
|
-
PHID: {
|
|
129
|
-
input: string;
|
|
130
|
-
output: string;
|
|
131
|
-
};
|
|
132
|
-
URL: {
|
|
133
|
-
input: string;
|
|
134
|
-
output: string;
|
|
135
|
-
};
|
|
136
|
-
Unknown: {
|
|
137
|
-
input: unknown;
|
|
138
|
-
output: unknown;
|
|
139
|
-
};
|
|
140
|
-
Upload: {
|
|
141
|
-
input: File;
|
|
142
|
-
output: File;
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
type AddDocumentTypeInput = {
|
|
146
|
-
documentType: Scalars["String"]["input"];
|
|
147
|
-
};
|
|
148
|
-
type AppModuleState = {
|
|
149
|
-
allowedDocumentTypes: Maybe<Array<Scalars["String"]["output"]>>;
|
|
150
|
-
isDragAndDropEnabled: Scalars["Boolean"]["output"];
|
|
151
|
-
name: Scalars["String"]["output"];
|
|
152
|
-
status: StatusType;
|
|
153
|
-
};
|
|
154
|
-
type RemoveDocumentTypeInput = {
|
|
155
|
-
documentType: Scalars["String"]["input"];
|
|
156
|
-
};
|
|
157
|
-
type SetAppNameInput = {
|
|
158
|
-
name: Scalars["String"]["input"];
|
|
159
|
-
};
|
|
160
|
-
type SetAppStatusInput = {
|
|
161
|
-
status: StatusType;
|
|
162
|
-
};
|
|
163
|
-
type SetDocumentTypesInput = {
|
|
164
|
-
documentTypes: Array<Scalars["String"]["input"]>;
|
|
165
|
-
};
|
|
166
|
-
type SetDragAndDropEnabledInput = {
|
|
167
|
-
enabled: Scalars["Boolean"]["input"];
|
|
168
|
-
};
|
|
169
|
-
type StatusType = "CONFIRMED" | "DRAFT";
|
|
170
|
-
//#endregion
|
|
171
|
-
//#region document-models/app-module/gen/types.d.ts
|
|
172
|
-
type AppModuleLocalState = Record<PropertyKey, never>;
|
|
173
|
-
type AppModulePHState = PHBaseState & {
|
|
174
|
-
global: AppModuleState;
|
|
175
|
-
local: AppModuleLocalState;
|
|
176
|
-
};
|
|
177
|
-
type AppModuleDocument = PHDocument$1<AppModulePHState>;
|
|
178
|
-
//#endregion
|
|
179
|
-
//#region document-models/app-module/gen/base-operations/actions.d.ts
|
|
180
|
-
type SetAppNameAction = Action & {
|
|
181
|
-
type: "SET_APP_NAME";
|
|
182
|
-
input: SetAppNameInput;
|
|
183
|
-
};
|
|
184
|
-
type SetAppStatusAction = Action & {
|
|
185
|
-
type: "SET_APP_STATUS";
|
|
186
|
-
input: SetAppStatusInput;
|
|
187
|
-
};
|
|
188
|
-
type AddDocumentTypeAction = Action & {
|
|
189
|
-
type: "ADD_DOCUMENT_TYPE";
|
|
190
|
-
input: AddDocumentTypeInput;
|
|
191
|
-
};
|
|
192
|
-
type RemoveDocumentTypeAction = Action & {
|
|
193
|
-
type: "REMOVE_DOCUMENT_TYPE";
|
|
194
|
-
input: RemoveDocumentTypeInput;
|
|
195
|
-
};
|
|
196
|
-
type SetDocumentTypesAction = Action & {
|
|
197
|
-
type: "SET_DOCUMENT_TYPES";
|
|
198
|
-
input: SetDocumentTypesInput;
|
|
199
|
-
};
|
|
200
|
-
type AppModuleBaseOperationsAction = SetAppNameAction | SetAppStatusAction | AddDocumentTypeAction | RemoveDocumentTypeAction | SetDocumentTypesAction;
|
|
201
|
-
//#endregion
|
|
202
|
-
//#region document-models/app-module/gen/dnd-operations/actions.d.ts
|
|
203
|
-
type SetDragAndDropEnabledAction = Action & {
|
|
204
|
-
type: "SET_DRAG_AND_DROP_ENABLED";
|
|
205
|
-
input: SetDragAndDropEnabledInput;
|
|
206
|
-
};
|
|
207
|
-
type AppModuleDndOperationsAction = SetDragAndDropEnabledAction;
|
|
208
|
-
//#endregion
|
|
209
|
-
//#region document-models/app-module/gen/actions.d.ts
|
|
210
|
-
type AppModuleAction = AppModuleBaseOperationsAction | AppModuleDndOperationsAction;
|
|
211
|
-
//#endregion
|
|
212
|
-
//#region document-models/app-module/gen/document-model.d.ts
|
|
213
|
-
declare const documentModel: DocumentModelGlobalState;
|
|
214
|
-
declare namespace creators_d_exports$1 {
|
|
215
|
-
export { addDocumentType, removeDocumentType, setAppName, setAppStatus, setDocumentTypes };
|
|
216
|
-
}
|
|
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
|
-
declare namespace creators_d_exports {
|
|
223
|
-
export { setDragAndDropEnabled };
|
|
224
|
-
}
|
|
225
|
-
declare const setDragAndDropEnabled: (input: SetDragAndDropEnabledInput) => any;
|
|
226
|
-
//#endregion
|
|
227
|
-
//#region document-models/app-module/gen/ph-factories.d.ts
|
|
228
|
-
declare function defaultGlobalState(): AppModuleState;
|
|
229
|
-
declare function defaultLocalState(): AppModuleLocalState;
|
|
230
|
-
declare function defaultPHState(): AppModulePHState;
|
|
231
|
-
declare function createState$1(baseState?: Partial<PHBaseState>, globalState?: Partial<AppModuleState>, localState?: Partial<AppModuleLocalState>): AppModulePHState;
|
|
232
|
-
/**
|
|
233
|
-
* Creates a AppModuleDocument with custom global and local state
|
|
234
|
-
* This properly handles the PHBaseState requirements while allowing
|
|
235
|
-
* document-specific state to be set.
|
|
236
|
-
*/
|
|
237
|
-
declare function createAppModuleDocument(state?: Partial<{
|
|
238
|
-
auth?: Partial<PHAuthState>;
|
|
239
|
-
document?: Partial<PHDocumentState>;
|
|
240
|
-
global?: Partial<AppModuleState>;
|
|
241
|
-
local?: Partial<AppModuleLocalState>;
|
|
242
|
-
}>): AppModuleDocument;
|
|
243
|
-
//#endregion
|
|
244
|
-
//#region document-models/app-module/gen/utils.d.ts
|
|
245
|
-
declare const initialGlobalState: AppModuleState;
|
|
246
|
-
declare const initialLocalState: AppModuleLocalState;
|
|
247
|
-
//#endregion
|
|
248
|
-
//#region document-models/app-module/gen/reducer.d.ts
|
|
249
|
-
declare const reducer: Reducer<AppModulePHState>;
|
|
250
|
-
//#endregion
|
|
251
|
-
//#region document-models/app-module/gen/schema/zod.d.ts
|
|
252
|
-
type Properties<T> = Required<{ [K in keyof T]: z$1.ZodType<T[K]> }>;
|
|
253
|
-
type definedNonNullAny = {};
|
|
254
|
-
declare const isDefinedNonNullAny: (v: any) => v is definedNonNullAny;
|
|
255
|
-
declare const definedNonNullAnySchema: z$1.ZodAny & z$1.ZodType<definedNonNullAny, any, z$1.core.$ZodTypeInternals<definedNonNullAny, any>>;
|
|
256
|
-
declare const StatusTypeSchema: z$1.ZodEnum<{
|
|
257
|
-
CONFIRMED: "CONFIRMED";
|
|
258
|
-
DRAFT: "DRAFT";
|
|
259
|
-
}>;
|
|
260
|
-
declare function AddDocumentTypeInputSchema(): z$1.ZodObject<Properties<AddDocumentTypeInput>>;
|
|
261
|
-
declare function AppModuleStateSchema(): z$1.ZodObject<Properties<AppModuleState>>;
|
|
262
|
-
declare function RemoveDocumentTypeInputSchema(): z$1.ZodObject<Properties<RemoveDocumentTypeInput>>;
|
|
263
|
-
declare function SetAppNameInputSchema(): z$1.ZodObject<Properties<SetAppNameInput>>;
|
|
264
|
-
declare function SetAppStatusInputSchema(): z$1.ZodObject<Properties<SetAppStatusInput>>;
|
|
265
|
-
declare function SetDocumentTypesInputSchema(): z$1.ZodObject<Properties<SetDocumentTypesInput>>;
|
|
266
|
-
declare function SetDragAndDropEnabledInputSchema(): z$1.ZodObject<Properties<SetDragAndDropEnabledInput>>;
|
|
267
|
-
//#endregion
|
|
268
|
-
//#region document-models/app-module/gen/document-type.d.ts
|
|
269
|
-
declare const appModuleDocumentType = "powerhouse/app";
|
|
270
|
-
//#endregion
|
|
271
|
-
//#region document-models/app-module/gen/document-schema.d.ts
|
|
272
|
-
/** Schema for validating the header object of a AppModule document */
|
|
273
|
-
declare const AppModuleDocumentHeaderSchema: any;
|
|
274
|
-
/** Schema for validating the state object of a AppModule document */
|
|
275
|
-
declare const AppModulePHStateSchema: any;
|
|
276
|
-
declare const AppModuleDocumentSchema: z.ZodObject<{
|
|
277
|
-
header: any;
|
|
278
|
-
state: any;
|
|
279
|
-
initialState: any;
|
|
280
|
-
}, z.core.$strip>;
|
|
281
|
-
/** Simple helper function to check if a state object is a AppModule document state object */
|
|
282
|
-
declare function isAppModuleState(state: unknown): state is AppModulePHState;
|
|
283
|
-
/** Simple helper function to assert that a document state object is a AppModule document state object */
|
|
284
|
-
declare function assertIsAppModuleState(state: unknown): asserts state is AppModulePHState;
|
|
285
|
-
/** Simple helper function to check if a document is a AppModule document */
|
|
286
|
-
declare function isAppModuleDocument(document: unknown): document is AppModuleDocument;
|
|
287
|
-
/** Simple helper function to assert that a document is a AppModule document */
|
|
288
|
-
declare function assertIsAppModuleDocument(document: unknown): asserts document is AppModuleDocument;
|
|
289
|
-
//#endregion
|
|
290
|
-
//#region document-models/app-module/gen/base-operations/operations.d.ts
|
|
291
|
-
interface AppModuleBaseOperationsOperations {
|
|
292
|
-
setAppNameOperation: (state: AppModuleState, action: SetAppNameAction, dispatch?: SignalDispatch) => void;
|
|
293
|
-
setAppStatusOperation: (state: AppModuleState, action: SetAppStatusAction, dispatch?: SignalDispatch) => void;
|
|
294
|
-
addDocumentTypeOperation: (state: AppModuleState, action: AddDocumentTypeAction, dispatch?: SignalDispatch) => void;
|
|
295
|
-
removeDocumentTypeOperation: (state: AppModuleState, action: RemoveDocumentTypeAction, dispatch?: SignalDispatch) => void;
|
|
296
|
-
setDocumentTypesOperation: (state: AppModuleState, action: SetDocumentTypesAction, dispatch?: SignalDispatch) => void;
|
|
297
|
-
}
|
|
298
|
-
//#endregion
|
|
299
|
-
//#region document-models/app-module/gen/dnd-operations/operations.d.ts
|
|
300
|
-
interface AppModuleDndOperationsOperations {
|
|
301
|
-
setDragAndDropEnabledOperation: (state: AppModuleState, action: SetDragAndDropEnabledAction, dispatch?: SignalDispatch) => void;
|
|
302
|
-
}
|
|
303
|
-
//#endregion
|
|
304
|
-
//#region document-models/app-module/hooks.d.ts
|
|
305
|
-
/** Hook to get a AppModule document by its id */
|
|
306
|
-
declare function useAppModuleDocumentById(documentId: string | null | undefined): [AppModuleDocument, DocumentDispatch<AppModuleAction>] | [undefined, undefined];
|
|
307
|
-
/** Hook to get the selected AppModule document */
|
|
308
|
-
declare function useSelectedAppModuleDocument(): [AppModuleDocument, DocumentDispatch<AppModuleAction>];
|
|
309
|
-
/** Hook to get all AppModule documents in the selected drive */
|
|
310
|
-
declare function useAppModuleDocumentsInSelectedDrive(): PHDocument<any>[] | undefined;
|
|
311
|
-
/** Hook to get all AppModule documents in the selected folder */
|
|
312
|
-
declare function useAppModuleDocumentsInSelectedFolder(): PHDocument<any>[] | undefined;
|
|
313
|
-
//#endregion
|
|
314
|
-
//#region document-models/app-module/actions.d.ts
|
|
315
|
-
/** Actions for the AppModule document model */
|
|
316
|
-
declare const actions: Actions;
|
|
317
|
-
//#endregion
|
|
318
|
-
//#region document-models/app-module/utils.d.ts
|
|
319
|
-
/** Utils for the AppModule document model */
|
|
320
|
-
declare const utils: DocumentModelUtils<AppModulePHState>;
|
|
321
|
-
//#endregion
|
|
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 };
|
|
323
|
-
//# sourceMappingURL=index-cBMMID-w.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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/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 -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"module-BW12i5H3.js","names":[],"sources":["../editors/app-editor/module.ts","../editors/document-editor/module.ts","../editors/processor-editor/module.ts","../editors/subgraph-editor/module.ts","../editors/vetra-drive-app/module.ts","../editors/vetra-package/module.ts"],"sourcesContent":["import type { EditorModule } from \"@powerhousedao/shared/document-model\";\nimport { lazy } from \"react\";\n\n/** Document editor module for the \"powerhouse/app\" document type */\nexport const AppEditor: EditorModule = {\n Component: lazy(() => import(\"./editor.js\")),\n documentTypes: [\"powerhouse/app\"],\n config: {\n id: \"app-editor\",\n name: \"AppEditor\",\n },\n};\n","import type { EditorModule } from \"@powerhousedao/shared/document-model\";\nimport { lazy } from \"react\";\n\nexport const DocumentEditor: EditorModule = {\n Component: lazy(() => import(\"./editor.js\")),\n documentTypes: [\"powerhouse/document-editor\"],\n config: {\n id: \"document-editor-editor\",\n name: \"Document Editor Editor\",\n },\n};\n","import type { EditorModule } from \"@powerhousedao/shared/document-model\";\nimport { lazy } from \"react\";\n\nexport const ProcessorEditor: EditorModule = {\n Component: lazy(() => import(\"./editor.js\")),\n documentTypes: [\"powerhouse/processor\"],\n config: {\n id: \"processor-module-editor\",\n name: \"Processor Module Editor\",\n },\n};\n","import type { EditorModule } from \"@powerhousedao/shared/document-model\";\nimport { lazy } from \"react\";\n\nexport const SubgraphEditor: EditorModule = {\n Component: lazy(() => import(\"./editor.js\")),\n documentTypes: [\"powerhouse/subgraph\"],\n config: {\n id: \"subgraph-module-editor\",\n name: \"Subgraph Module Editor\",\n },\n};\n","import type { EditorModule } from \"@powerhousedao/shared/document-model\";\nimport { lazy } from \"react\";\n\nexport const VetraDriveApp: EditorModule = {\n Component: lazy(() => import(\"./editor.js\")),\n documentTypes: [\"powerhouse/document-drive\"],\n config: {\n id: \"vetra-drive-app\",\n name: \"Vetra Drive App\",\n },\n};\n","import type { EditorModule } from \"@powerhousedao/shared/document-model\";\nimport { lazy } from \"react\";\nimport { type EditorProps } from \"./editor.js\";\n\nexport const VetraPackageEditor: EditorModule<EditorProps> = {\n Component: lazy(() => import(\"./editor.js\")),\n documentTypes: [\"powerhouse/package\"],\n config: {\n id: \"vetra-package-editor\",\n name: \"Vetra Package Editor\",\n },\n};\n"],"mappings":";;;AAIA,MAAa,YAA0B;CACrC,WAAW,WAAW,OAAO,wBAAe;CAC5C,eAAe,CAAC,iBAAiB;CACjC,QAAQ;EACN,IAAI;EACJ,MAAM;EACP;CACF;;;ACRD,MAAa,iBAA+B;CAC1C,WAAW,WAAW,OAAO,wBAAe;CAC5C,eAAe,CAAC,6BAA6B;CAC7C,QAAQ;EACN,IAAI;EACJ,MAAM;EACP;CACF;;;ACPD,MAAa,kBAAgC;CAC3C,WAAW,WAAW,OAAO,wBAAe;CAC5C,eAAe,CAAC,uBAAuB;CACvC,QAAQ;EACN,IAAI;EACJ,MAAM;EACP;CACF;;;ACPD,MAAa,iBAA+B;CAC1C,WAAW,WAAW,OAAO,wBAAe;CAC5C,eAAe,CAAC,sBAAsB;CACtC,QAAQ;EACN,IAAI;EACJ,MAAM;EACP;CACF;;;ACPD,MAAa,gBAA8B;CACzC,WAAW,WAAW,OAAO,wBAAe;CAC5C,eAAe,CAAC,4BAA4B;CAC5C,QAAQ;EACN,IAAI;EACJ,MAAM;EACP;CACF;;;ACND,MAAa,qBAAgD;CAC3D,WAAW,WAAW,OAAO,wBAAe;CAC5C,eAAe,CAAC,qBAAqB;CACrC,QAAQ;EACN,IAAI;EACJ,MAAM;EACP;CACF"}
|