@powerhousedao/reactor-api 4.1.0-dev.50 → 4.1.0-dev.51
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/README.md +16 -10
- package/dist/src/graphql/analytics/index.d.ts +3 -3
- package/dist/src/graphql/analytics/index.d.ts.map +1 -1
- package/dist/src/graphql/analytics/index.js +1 -1
- package/dist/src/graphql/analytics/index.js.map +1 -1
- package/dist/src/graphql/base/index.d.ts +5 -5
- package/dist/src/graphql/base/index.d.ts.map +1 -1
- package/dist/src/graphql/drive/index.d.ts +2 -2
- package/dist/src/graphql/drive/index.d.ts.map +1 -1
- package/dist/src/graphql/drive/index.js +2 -2
- package/dist/src/graphql/drive/index.js.map +1 -1
- package/dist/src/graphql/graphql-manager.d.ts +4 -4
- package/dist/src/graphql/graphql-manager.d.ts.map +1 -1
- package/dist/src/graphql/graphql-manager.js.map +1 -1
- package/dist/src/graphql/reactor/dtos.d.ts +512 -0
- package/dist/src/graphql/reactor/dtos.d.ts.map +1 -0
- package/dist/src/graphql/reactor/dtos.js +135 -0
- package/dist/src/graphql/reactor/dtos.js.map +1 -0
- package/dist/src/graphql/reactor/export.d.ts +6 -0
- package/dist/src/graphql/reactor/export.d.ts.map +1 -0
- package/dist/src/graphql/reactor/export.js +9 -0
- package/dist/src/graphql/reactor/export.js.map +1 -0
- package/dist/src/graphql/reactor/generated/graphql.d.ts +870 -0
- package/dist/src/graphql/reactor/generated/graphql.d.ts.map +1 -0
- package/dist/src/graphql/reactor/generated/graphql.js +16 -0
- package/dist/src/graphql/reactor/generated/graphql.js.map +1 -0
- package/dist/src/graphql/reactor/generated/sdk.d.ts +714 -0
- package/dist/src/graphql/reactor/generated/sdk.d.ts.map +1 -0
- package/dist/src/graphql/reactor/generated/sdk.js +1948 -0
- package/dist/src/graphql/reactor/generated/sdk.js.map +1 -0
- package/dist/src/graphql/reactor/generated/typed-document-nodes.d.ts +630 -0
- package/dist/src/graphql/reactor/generated/typed-document-nodes.d.ts.map +1 -0
- package/dist/src/graphql/reactor/generated/typed-document-nodes.js +1890 -0
- package/dist/src/graphql/reactor/generated/typed-document-nodes.js.map +1 -0
- package/dist/src/graphql/reactor/generated/zod-schemas.d.ts +15 -0
- package/dist/src/graphql/reactor/generated/zod-schemas.d.ts.map +1 -0
- package/dist/src/graphql/reactor/generated/zod-schemas.js +30 -0
- package/dist/src/graphql/reactor/generated/zod-schemas.js.map +1 -0
- package/dist/src/graphql/reactor/index.d.ts +9 -1
- package/dist/src/graphql/reactor/index.d.ts.map +1 -1
- package/dist/src/graphql/reactor/index.js +160 -1
- package/dist/src/graphql/reactor/index.js.map +1 -1
- package/dist/src/graphql/reactor/operations.d.ts +10 -0
- package/dist/src/graphql/reactor/operations.d.ts.map +1 -0
- package/dist/src/graphql/reactor/operations.js +13 -0
- package/dist/src/graphql/reactor/operations.js.map +1 -0
- package/dist/src/graphql/reactor/requester.d.ts +4 -0
- package/dist/src/graphql/reactor/requester.d.ts.map +1 -0
- package/dist/src/graphql/reactor/requester.js +22 -0
- package/dist/src/graphql/reactor/requester.js.map +1 -0
- package/dist/src/graphql/reactor/requester.with-zod.d.ts +4 -0
- package/dist/src/graphql/reactor/requester.with-zod.d.ts.map +1 -0
- package/dist/src/graphql/reactor/requester.with-zod.js +53 -0
- package/dist/src/graphql/reactor/requester.with-zod.js.map +1 -0
- package/dist/src/graphql/reactor/sdk.factory.d.ts +84 -0
- package/dist/src/graphql/reactor/sdk.factory.d.ts.map +1 -0
- package/dist/src/graphql/reactor/sdk.factory.js +7 -0
- package/dist/src/graphql/reactor/sdk.factory.js.map +1 -0
- package/dist/src/graphql/system/index.d.ts +1 -1
- package/dist/src/graphql/system/index.d.ts.map +1 -1
- package/dist/src/graphql/system/types.d.ts +1 -1
- package/dist/src/graphql/system/types.d.ts.map +1 -1
- package/dist/src/graphql/types.d.ts +5 -5
- package/dist/src/graphql/types.d.ts.map +1 -1
- package/dist/src/packages/import-loader.d.ts +4 -4
- package/dist/src/packages/import-loader.d.ts.map +1 -1
- package/dist/src/packages/package-manager.d.ts +3 -3
- package/dist/src/packages/package-manager.d.ts.map +1 -1
- package/dist/src/packages/package-manager.js +1 -1
- package/dist/src/packages/package-manager.js.map +1 -1
- package/dist/src/packages/types.d.ts +3 -3
- package/dist/src/packages/types.d.ts.map +1 -1
- package/dist/src/packages/util.d.ts +3 -3
- package/dist/src/packages/util.d.ts.map +1 -1
- package/dist/src/packages/vite-loader.d.ts +5 -5
- package/dist/src/packages/vite-loader.d.ts.map +1 -1
- package/dist/src/packages/vite-loader.js +1 -1
- package/dist/src/packages/vite-loader.js.map +1 -1
- package/dist/src/server.d.ts +6 -6
- package/dist/src/server.d.ts.map +1 -1
- package/dist/src/server.js +2 -2
- package/dist/src/server.js.map +1 -1
- package/dist/src/services/auth.service.d.ts +1 -1
- package/dist/src/services/auth.service.d.ts.map +1 -1
- package/dist/src/sync/utils.d.ts +2 -2
- package/dist/src/sync/utils.d.ts.map +1 -1
- package/dist/src/types.d.ts +5 -5
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/utils/create-schema.d.ts +4 -4
- package/dist/src/utils/create-schema.d.ts.map +1 -1
- package/dist/src/utils/db.d.ts +1 -1
- package/dist/src/utils/db.d.ts.map +1 -1
- package/dist/src/utils/db.js.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +22 -8
|
@@ -0,0 +1,512 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { DocumentChangeEvent, DocumentModelResultPage, DocumentWithChildren, JobInfo, MoveChildrenResult, PhDocument as PHDocument, PhDocumentResultPage as PHDocumentResultPage } from "./generated/graphql.js";
|
|
3
|
+
export declare const JSONObjectDTO: z.ZodUnknown;
|
|
4
|
+
export declare const DateTimeDTO: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
5
|
+
export declare const PagingInputDTO: z.ZodObject<{
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
limit?: number | undefined;
|
|
11
|
+
offset?: number | undefined;
|
|
12
|
+
cursor?: string | undefined;
|
|
13
|
+
}, {
|
|
14
|
+
limit?: number | undefined;
|
|
15
|
+
offset?: number | undefined;
|
|
16
|
+
cursor?: string | undefined;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const ViewFilterInputDTO: z.ZodObject<{
|
|
19
|
+
branch: z.ZodOptional<z.ZodString>;
|
|
20
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
branch?: string | undefined;
|
|
23
|
+
scopes?: string[] | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
branch?: string | undefined;
|
|
26
|
+
scopes?: string[] | undefined;
|
|
27
|
+
}>;
|
|
28
|
+
export declare const SearchFilterInputDTO: z.ZodObject<{
|
|
29
|
+
type: z.ZodOptional<z.ZodString>;
|
|
30
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
31
|
+
identifiers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
|
33
|
+
type?: string | undefined;
|
|
34
|
+
identifiers?: string[] | undefined;
|
|
35
|
+
parentId?: string | undefined;
|
|
36
|
+
}, {
|
|
37
|
+
type?: string | undefined;
|
|
38
|
+
identifiers?: string[] | undefined;
|
|
39
|
+
parentId?: string | undefined;
|
|
40
|
+
}>;
|
|
41
|
+
export declare const PropagationModeDTO: z.ZodEnum<["CASCADE", "ORPHAN"]>;
|
|
42
|
+
export declare const DocumentChangeTypeDTO: z.ZodEnum<["CREATED", "DELETED", "UPDATED", "PARENT_ADDED", "PARENT_REMOVED", "CHILD_ADDED", "CHILD_REMOVED"]>;
|
|
43
|
+
export declare const DocumentModelStateDTO: z.ZodObject<{
|
|
44
|
+
id: z.ZodString;
|
|
45
|
+
name: z.ZodString;
|
|
46
|
+
namespace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
specification: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
id: string;
|
|
51
|
+
name: string;
|
|
52
|
+
version?: string | null | undefined;
|
|
53
|
+
namespace?: string | null | undefined;
|
|
54
|
+
specification?: unknown;
|
|
55
|
+
}, {
|
|
56
|
+
id: string;
|
|
57
|
+
name: string;
|
|
58
|
+
version?: string | null | undefined;
|
|
59
|
+
namespace?: string | null | undefined;
|
|
60
|
+
specification?: unknown;
|
|
61
|
+
}>;
|
|
62
|
+
export declare const DocumentModelResultPageDTO: z.ZodObject<{
|
|
63
|
+
items: z.ZodArray<z.ZodObject<{
|
|
64
|
+
id: z.ZodString;
|
|
65
|
+
name: z.ZodString;
|
|
66
|
+
namespace: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
+
specification: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
|
70
|
+
id: string;
|
|
71
|
+
name: string;
|
|
72
|
+
version?: string | null | undefined;
|
|
73
|
+
namespace?: string | null | undefined;
|
|
74
|
+
specification?: unknown;
|
|
75
|
+
}, {
|
|
76
|
+
id: string;
|
|
77
|
+
name: string;
|
|
78
|
+
version?: string | null | undefined;
|
|
79
|
+
namespace?: string | null | undefined;
|
|
80
|
+
specification?: unknown;
|
|
81
|
+
}>, "many">;
|
|
82
|
+
totalCount: z.ZodNumber;
|
|
83
|
+
hasNextPage: z.ZodBoolean;
|
|
84
|
+
hasPreviousPage: z.ZodBoolean;
|
|
85
|
+
cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
86
|
+
}, "strip", z.ZodTypeAny, {
|
|
87
|
+
items: {
|
|
88
|
+
id: string;
|
|
89
|
+
name: string;
|
|
90
|
+
version?: string | null | undefined;
|
|
91
|
+
namespace?: string | null | undefined;
|
|
92
|
+
specification?: unknown;
|
|
93
|
+
}[];
|
|
94
|
+
totalCount: number;
|
|
95
|
+
hasNextPage: boolean;
|
|
96
|
+
hasPreviousPage: boolean;
|
|
97
|
+
cursor?: string | null | undefined;
|
|
98
|
+
}, {
|
|
99
|
+
items: {
|
|
100
|
+
id: string;
|
|
101
|
+
name: string;
|
|
102
|
+
version?: string | null | undefined;
|
|
103
|
+
namespace?: string | null | undefined;
|
|
104
|
+
specification?: unknown;
|
|
105
|
+
}[];
|
|
106
|
+
totalCount: number;
|
|
107
|
+
hasNextPage: boolean;
|
|
108
|
+
hasPreviousPage: boolean;
|
|
109
|
+
cursor?: string | null | undefined;
|
|
110
|
+
}>;
|
|
111
|
+
export declare const PHDocumentDTO: z.ZodObject<{
|
|
112
|
+
id: z.ZodString;
|
|
113
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
114
|
+
name: z.ZodString;
|
|
115
|
+
documentType: z.ZodString;
|
|
116
|
+
state: z.ZodUnknown;
|
|
117
|
+
revision: z.ZodNumber;
|
|
118
|
+
created: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
119
|
+
lastModified: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
120
|
+
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
121
|
+
}, "strip", z.ZodTypeAny, {
|
|
122
|
+
documentType: string;
|
|
123
|
+
revision: number;
|
|
124
|
+
id: string;
|
|
125
|
+
name: string;
|
|
126
|
+
created: string | Date;
|
|
127
|
+
lastModified: string | Date;
|
|
128
|
+
slug?: string | null | undefined;
|
|
129
|
+
parentId?: string | null | undefined;
|
|
130
|
+
state?: unknown;
|
|
131
|
+
}, {
|
|
132
|
+
documentType: string;
|
|
133
|
+
revision: number;
|
|
134
|
+
id: string;
|
|
135
|
+
name: string;
|
|
136
|
+
created: string | Date;
|
|
137
|
+
lastModified: string | Date;
|
|
138
|
+
slug?: string | null | undefined;
|
|
139
|
+
parentId?: string | null | undefined;
|
|
140
|
+
state?: unknown;
|
|
141
|
+
}>;
|
|
142
|
+
export declare const PHDocumentResultPageDTO: z.ZodObject<{
|
|
143
|
+
items: z.ZodArray<z.ZodObject<{
|
|
144
|
+
id: z.ZodString;
|
|
145
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
146
|
+
name: z.ZodString;
|
|
147
|
+
documentType: z.ZodString;
|
|
148
|
+
state: z.ZodUnknown;
|
|
149
|
+
revision: z.ZodNumber;
|
|
150
|
+
created: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
151
|
+
lastModified: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
152
|
+
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
153
|
+
}, "strip", z.ZodTypeAny, {
|
|
154
|
+
documentType: string;
|
|
155
|
+
revision: number;
|
|
156
|
+
id: string;
|
|
157
|
+
name: string;
|
|
158
|
+
created: string | Date;
|
|
159
|
+
lastModified: string | Date;
|
|
160
|
+
slug?: string | null | undefined;
|
|
161
|
+
parentId?: string | null | undefined;
|
|
162
|
+
state?: unknown;
|
|
163
|
+
}, {
|
|
164
|
+
documentType: string;
|
|
165
|
+
revision: number;
|
|
166
|
+
id: string;
|
|
167
|
+
name: string;
|
|
168
|
+
created: string | Date;
|
|
169
|
+
lastModified: string | Date;
|
|
170
|
+
slug?: string | null | undefined;
|
|
171
|
+
parentId?: string | null | undefined;
|
|
172
|
+
state?: unknown;
|
|
173
|
+
}>, "many">;
|
|
174
|
+
totalCount: z.ZodNumber;
|
|
175
|
+
hasNextPage: z.ZodBoolean;
|
|
176
|
+
hasPreviousPage: z.ZodBoolean;
|
|
177
|
+
cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
178
|
+
}, "strip", z.ZodTypeAny, {
|
|
179
|
+
items: {
|
|
180
|
+
documentType: string;
|
|
181
|
+
revision: number;
|
|
182
|
+
id: string;
|
|
183
|
+
name: string;
|
|
184
|
+
created: string | Date;
|
|
185
|
+
lastModified: string | Date;
|
|
186
|
+
slug?: string | null | undefined;
|
|
187
|
+
parentId?: string | null | undefined;
|
|
188
|
+
state?: unknown;
|
|
189
|
+
}[];
|
|
190
|
+
totalCount: number;
|
|
191
|
+
hasNextPage: boolean;
|
|
192
|
+
hasPreviousPage: boolean;
|
|
193
|
+
cursor?: string | null | undefined;
|
|
194
|
+
}, {
|
|
195
|
+
items: {
|
|
196
|
+
documentType: string;
|
|
197
|
+
revision: number;
|
|
198
|
+
id: string;
|
|
199
|
+
name: string;
|
|
200
|
+
created: string | Date;
|
|
201
|
+
lastModified: string | Date;
|
|
202
|
+
slug?: string | null | undefined;
|
|
203
|
+
parentId?: string | null | undefined;
|
|
204
|
+
state?: unknown;
|
|
205
|
+
}[];
|
|
206
|
+
totalCount: number;
|
|
207
|
+
hasNextPage: boolean;
|
|
208
|
+
hasPreviousPage: boolean;
|
|
209
|
+
cursor?: string | null | undefined;
|
|
210
|
+
}>;
|
|
211
|
+
export declare const DocumentWithChildrenDTO: z.ZodObject<{
|
|
212
|
+
document: z.ZodObject<{
|
|
213
|
+
id: z.ZodString;
|
|
214
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
215
|
+
name: z.ZodString;
|
|
216
|
+
documentType: z.ZodString;
|
|
217
|
+
state: z.ZodUnknown;
|
|
218
|
+
revision: z.ZodNumber;
|
|
219
|
+
created: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
220
|
+
lastModified: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
221
|
+
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
222
|
+
}, "strip", z.ZodTypeAny, {
|
|
223
|
+
documentType: string;
|
|
224
|
+
revision: number;
|
|
225
|
+
id: string;
|
|
226
|
+
name: string;
|
|
227
|
+
created: string | Date;
|
|
228
|
+
lastModified: string | Date;
|
|
229
|
+
slug?: string | null | undefined;
|
|
230
|
+
parentId?: string | null | undefined;
|
|
231
|
+
state?: unknown;
|
|
232
|
+
}, {
|
|
233
|
+
documentType: string;
|
|
234
|
+
revision: number;
|
|
235
|
+
id: string;
|
|
236
|
+
name: string;
|
|
237
|
+
created: string | Date;
|
|
238
|
+
lastModified: string | Date;
|
|
239
|
+
slug?: string | null | undefined;
|
|
240
|
+
parentId?: string | null | undefined;
|
|
241
|
+
state?: unknown;
|
|
242
|
+
}>;
|
|
243
|
+
childIds: z.ZodArray<z.ZodString, "many">;
|
|
244
|
+
}, "strip", z.ZodTypeAny, {
|
|
245
|
+
document: {
|
|
246
|
+
documentType: string;
|
|
247
|
+
revision: number;
|
|
248
|
+
id: string;
|
|
249
|
+
name: string;
|
|
250
|
+
created: string | Date;
|
|
251
|
+
lastModified: string | Date;
|
|
252
|
+
slug?: string | null | undefined;
|
|
253
|
+
parentId?: string | null | undefined;
|
|
254
|
+
state?: unknown;
|
|
255
|
+
};
|
|
256
|
+
childIds: string[];
|
|
257
|
+
}, {
|
|
258
|
+
document: {
|
|
259
|
+
documentType: string;
|
|
260
|
+
revision: number;
|
|
261
|
+
id: string;
|
|
262
|
+
name: string;
|
|
263
|
+
created: string | Date;
|
|
264
|
+
lastModified: string | Date;
|
|
265
|
+
slug?: string | null | undefined;
|
|
266
|
+
parentId?: string | null | undefined;
|
|
267
|
+
state?: unknown;
|
|
268
|
+
};
|
|
269
|
+
childIds: string[];
|
|
270
|
+
}>;
|
|
271
|
+
export declare const MoveChildrenResultDTO: z.ZodObject<{
|
|
272
|
+
source: z.ZodObject<{
|
|
273
|
+
id: z.ZodString;
|
|
274
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
275
|
+
name: z.ZodString;
|
|
276
|
+
documentType: z.ZodString;
|
|
277
|
+
state: z.ZodUnknown;
|
|
278
|
+
revision: z.ZodNumber;
|
|
279
|
+
created: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
280
|
+
lastModified: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
281
|
+
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
282
|
+
}, "strip", z.ZodTypeAny, {
|
|
283
|
+
documentType: string;
|
|
284
|
+
revision: number;
|
|
285
|
+
id: string;
|
|
286
|
+
name: string;
|
|
287
|
+
created: string | Date;
|
|
288
|
+
lastModified: string | Date;
|
|
289
|
+
slug?: string | null | undefined;
|
|
290
|
+
parentId?: string | null | undefined;
|
|
291
|
+
state?: unknown;
|
|
292
|
+
}, {
|
|
293
|
+
documentType: string;
|
|
294
|
+
revision: number;
|
|
295
|
+
id: string;
|
|
296
|
+
name: string;
|
|
297
|
+
created: string | Date;
|
|
298
|
+
lastModified: string | Date;
|
|
299
|
+
slug?: string | null | undefined;
|
|
300
|
+
parentId?: string | null | undefined;
|
|
301
|
+
state?: unknown;
|
|
302
|
+
}>;
|
|
303
|
+
target: z.ZodObject<{
|
|
304
|
+
id: z.ZodString;
|
|
305
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
306
|
+
name: z.ZodString;
|
|
307
|
+
documentType: z.ZodString;
|
|
308
|
+
state: z.ZodUnknown;
|
|
309
|
+
revision: z.ZodNumber;
|
|
310
|
+
created: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
311
|
+
lastModified: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
312
|
+
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
313
|
+
}, "strip", z.ZodTypeAny, {
|
|
314
|
+
documentType: string;
|
|
315
|
+
revision: number;
|
|
316
|
+
id: string;
|
|
317
|
+
name: string;
|
|
318
|
+
created: string | Date;
|
|
319
|
+
lastModified: string | Date;
|
|
320
|
+
slug?: string | null | undefined;
|
|
321
|
+
parentId?: string | null | undefined;
|
|
322
|
+
state?: unknown;
|
|
323
|
+
}, {
|
|
324
|
+
documentType: string;
|
|
325
|
+
revision: number;
|
|
326
|
+
id: string;
|
|
327
|
+
name: string;
|
|
328
|
+
created: string | Date;
|
|
329
|
+
lastModified: string | Date;
|
|
330
|
+
slug?: string | null | undefined;
|
|
331
|
+
parentId?: string | null | undefined;
|
|
332
|
+
state?: unknown;
|
|
333
|
+
}>;
|
|
334
|
+
}, "strip", z.ZodTypeAny, {
|
|
335
|
+
source: {
|
|
336
|
+
documentType: string;
|
|
337
|
+
revision: number;
|
|
338
|
+
id: string;
|
|
339
|
+
name: string;
|
|
340
|
+
created: string | Date;
|
|
341
|
+
lastModified: string | Date;
|
|
342
|
+
slug?: string | null | undefined;
|
|
343
|
+
parentId?: string | null | undefined;
|
|
344
|
+
state?: unknown;
|
|
345
|
+
};
|
|
346
|
+
target: {
|
|
347
|
+
documentType: string;
|
|
348
|
+
revision: number;
|
|
349
|
+
id: string;
|
|
350
|
+
name: string;
|
|
351
|
+
created: string | Date;
|
|
352
|
+
lastModified: string | Date;
|
|
353
|
+
slug?: string | null | undefined;
|
|
354
|
+
parentId?: string | null | undefined;
|
|
355
|
+
state?: unknown;
|
|
356
|
+
};
|
|
357
|
+
}, {
|
|
358
|
+
source: {
|
|
359
|
+
documentType: string;
|
|
360
|
+
revision: number;
|
|
361
|
+
id: string;
|
|
362
|
+
name: string;
|
|
363
|
+
created: string | Date;
|
|
364
|
+
lastModified: string | Date;
|
|
365
|
+
slug?: string | null | undefined;
|
|
366
|
+
parentId?: string | null | undefined;
|
|
367
|
+
state?: unknown;
|
|
368
|
+
};
|
|
369
|
+
target: {
|
|
370
|
+
documentType: string;
|
|
371
|
+
revision: number;
|
|
372
|
+
id: string;
|
|
373
|
+
name: string;
|
|
374
|
+
created: string | Date;
|
|
375
|
+
lastModified: string | Date;
|
|
376
|
+
slug?: string | null | undefined;
|
|
377
|
+
parentId?: string | null | undefined;
|
|
378
|
+
state?: unknown;
|
|
379
|
+
};
|
|
380
|
+
}>;
|
|
381
|
+
export declare const JobInfoDTO: z.ZodObject<{
|
|
382
|
+
id: z.ZodString;
|
|
383
|
+
status: z.ZodString;
|
|
384
|
+
result: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
385
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
386
|
+
createdAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
387
|
+
completedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
|
|
388
|
+
}, "strip", z.ZodTypeAny, {
|
|
389
|
+
status: string;
|
|
390
|
+
id: string;
|
|
391
|
+
createdAt: string | Date;
|
|
392
|
+
error?: string | null | undefined;
|
|
393
|
+
result?: unknown;
|
|
394
|
+
completedAt?: string | Date | null | undefined;
|
|
395
|
+
}, {
|
|
396
|
+
status: string;
|
|
397
|
+
id: string;
|
|
398
|
+
createdAt: string | Date;
|
|
399
|
+
error?: string | null | undefined;
|
|
400
|
+
result?: unknown;
|
|
401
|
+
completedAt?: string | Date | null | undefined;
|
|
402
|
+
}>;
|
|
403
|
+
export declare const DocumentChangeContextDTO: z.ZodObject<{
|
|
404
|
+
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
405
|
+
childId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
406
|
+
}, "strip", z.ZodTypeAny, {
|
|
407
|
+
parentId?: string | null | undefined;
|
|
408
|
+
childId?: string | null | undefined;
|
|
409
|
+
}, {
|
|
410
|
+
parentId?: string | null | undefined;
|
|
411
|
+
childId?: string | null | undefined;
|
|
412
|
+
}>;
|
|
413
|
+
export declare const DocumentChangeEventDTO: z.ZodObject<{
|
|
414
|
+
type: z.ZodEnum<["CREATED", "DELETED", "UPDATED", "PARENT_ADDED", "PARENT_REMOVED", "CHILD_ADDED", "CHILD_REMOVED"]>;
|
|
415
|
+
documents: z.ZodArray<z.ZodObject<{
|
|
416
|
+
id: z.ZodString;
|
|
417
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
418
|
+
name: z.ZodString;
|
|
419
|
+
documentType: z.ZodString;
|
|
420
|
+
state: z.ZodUnknown;
|
|
421
|
+
revision: z.ZodNumber;
|
|
422
|
+
created: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
423
|
+
lastModified: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
424
|
+
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
425
|
+
}, "strip", z.ZodTypeAny, {
|
|
426
|
+
documentType: string;
|
|
427
|
+
revision: number;
|
|
428
|
+
id: string;
|
|
429
|
+
name: string;
|
|
430
|
+
created: string | Date;
|
|
431
|
+
lastModified: string | Date;
|
|
432
|
+
slug?: string | null | undefined;
|
|
433
|
+
parentId?: string | null | undefined;
|
|
434
|
+
state?: unknown;
|
|
435
|
+
}, {
|
|
436
|
+
documentType: string;
|
|
437
|
+
revision: number;
|
|
438
|
+
id: string;
|
|
439
|
+
name: string;
|
|
440
|
+
created: string | Date;
|
|
441
|
+
lastModified: string | Date;
|
|
442
|
+
slug?: string | null | undefined;
|
|
443
|
+
parentId?: string | null | undefined;
|
|
444
|
+
state?: unknown;
|
|
445
|
+
}>, "many">;
|
|
446
|
+
context: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
447
|
+
parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
448
|
+
childId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
449
|
+
}, "strip", z.ZodTypeAny, {
|
|
450
|
+
parentId?: string | null | undefined;
|
|
451
|
+
childId?: string | null | undefined;
|
|
452
|
+
}, {
|
|
453
|
+
parentId?: string | null | undefined;
|
|
454
|
+
childId?: string | null | undefined;
|
|
455
|
+
}>>>;
|
|
456
|
+
}, "strip", z.ZodTypeAny, {
|
|
457
|
+
documents: {
|
|
458
|
+
documentType: string;
|
|
459
|
+
revision: number;
|
|
460
|
+
id: string;
|
|
461
|
+
name: string;
|
|
462
|
+
created: string | Date;
|
|
463
|
+
lastModified: string | Date;
|
|
464
|
+
slug?: string | null | undefined;
|
|
465
|
+
parentId?: string | null | undefined;
|
|
466
|
+
state?: unknown;
|
|
467
|
+
}[];
|
|
468
|
+
type: "CHILD_ADDED" | "CHILD_REMOVED" | "CREATED" | "DELETED" | "PARENT_ADDED" | "PARENT_REMOVED" | "UPDATED";
|
|
469
|
+
context?: {
|
|
470
|
+
parentId?: string | null | undefined;
|
|
471
|
+
childId?: string | null | undefined;
|
|
472
|
+
} | null | undefined;
|
|
473
|
+
}, {
|
|
474
|
+
documents: {
|
|
475
|
+
documentType: string;
|
|
476
|
+
revision: number;
|
|
477
|
+
id: string;
|
|
478
|
+
name: string;
|
|
479
|
+
created: string | Date;
|
|
480
|
+
lastModified: string | Date;
|
|
481
|
+
slug?: string | null | undefined;
|
|
482
|
+
parentId?: string | null | undefined;
|
|
483
|
+
state?: unknown;
|
|
484
|
+
}[];
|
|
485
|
+
type: "CHILD_ADDED" | "CHILD_REMOVED" | "CREATED" | "DELETED" | "PARENT_ADDED" | "PARENT_REMOVED" | "UPDATED";
|
|
486
|
+
context?: {
|
|
487
|
+
parentId?: string | null | undefined;
|
|
488
|
+
childId?: string | null | undefined;
|
|
489
|
+
} | null | undefined;
|
|
490
|
+
}>;
|
|
491
|
+
export type TPagingInput = z.infer<typeof PagingInputDTO>;
|
|
492
|
+
export type TViewFilterInput = z.infer<typeof ViewFilterInputDTO>;
|
|
493
|
+
export type TSearchFilterInput = z.infer<typeof SearchFilterInputDTO>;
|
|
494
|
+
export type TPropagationMode = z.infer<typeof PropagationModeDTO>;
|
|
495
|
+
export type TDocumentChangeType = z.infer<typeof DocumentChangeTypeDTO>;
|
|
496
|
+
export type TDocumentModelState = z.infer<typeof DocumentModelStateDTO>;
|
|
497
|
+
export type TDocumentModelResultPage = z.infer<typeof DocumentModelResultPageDTO>;
|
|
498
|
+
export type TPHDocument = z.infer<typeof PHDocumentDTO>;
|
|
499
|
+
export type TPHDocumentResultPage = z.infer<typeof PHDocumentResultPageDTO>;
|
|
500
|
+
export type TDocumentWithChildren = z.infer<typeof DocumentWithChildrenDTO>;
|
|
501
|
+
export type TMoveChildrenResult = z.infer<typeof MoveChildrenResultDTO>;
|
|
502
|
+
export type TJobInfo = z.infer<typeof JobInfoDTO>;
|
|
503
|
+
export type TDocumentChangeContext = z.infer<typeof DocumentChangeContextDTO>;
|
|
504
|
+
export type TDocumentChangeEvent = z.infer<typeof DocumentChangeEventDTO>;
|
|
505
|
+
export declare function toDocumentModelResultPageDTO(data: DocumentModelResultPage): TDocumentModelResultPage;
|
|
506
|
+
export declare function toPHDocumentDTO(data: PHDocument): TPHDocument;
|
|
507
|
+
export declare function toPHDocumentResultPageDTO(data: PHDocumentResultPage): TPHDocumentResultPage;
|
|
508
|
+
export declare function toDocumentWithChildrenDTO(data: DocumentWithChildren): TDocumentWithChildren;
|
|
509
|
+
export declare function toMoveChildrenResultDTO(data: MoveChildrenResult): TMoveChildrenResult;
|
|
510
|
+
export declare function toJobInfoDTO(data: JobInfo): TJobInfo;
|
|
511
|
+
export declare function toDocumentChangeEventDTO(data: DocumentChangeEvent): TDocumentChangeEvent;
|
|
512
|
+
//# sourceMappingURL=dtos.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dtos.d.ts","sourceRoot":"","sources":["../../../../src/graphql/reactor/dtos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EACV,mBAAmB,EACnB,uBAAuB,EACvB,oBAAoB,EACpB,OAAO,EACP,kBAAkB,EAClB,UAAU,IAAI,UAAU,EACxB,oBAAoB,IAAI,oBAAoB,EAC7C,MAAM,wBAAwB,CAAC;AAGhC,eAAO,MAAM,aAAa,cAAc,CAAC;AACzC,eAAO,MAAM,WAAW,sCAAkC,CAAC;AAG3D,eAAO,MAAM,cAAc;;;;;;;;;;;;EAMjB,CAAC;AAEX,eAAO,MA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CAEvB;AAED,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,kBAAkB,GACvB,mBAAmB,CAErB;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,OAAO,GAAG,QAAQ,CAEpD;AAED,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,mBAAmB,GACxB,oBAAoB,CAEtB"}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
// Scalar DTOs
|
|
3
|
+
export const JSONObjectDTO = z.unknown();
|
|
4
|
+
export const DateTimeDTO = z.union([z.string(), z.date()]);
|
|
5
|
+
// Input DTOs
|
|
6
|
+
export const PagingInputDTO = z
|
|
7
|
+
.object({
|
|
8
|
+
limit: z.number().int().optional(),
|
|
9
|
+
offset: z.number().int().optional(),
|
|
10
|
+
cursor: z.string().optional(),
|
|
11
|
+
})
|
|
12
|
+
.strip();
|
|
13
|
+
export const ViewFilterInputDTO = z
|
|
14
|
+
.object({
|
|
15
|
+
branch: z.string().optional(),
|
|
16
|
+
scopes: z.array(z.string()).optional(),
|
|
17
|
+
})
|
|
18
|
+
.strip();
|
|
19
|
+
export const SearchFilterInputDTO = z
|
|
20
|
+
.object({
|
|
21
|
+
type: z.string().optional(),
|
|
22
|
+
parentId: z.string().optional(),
|
|
23
|
+
identifiers: z.array(z.string()).optional(),
|
|
24
|
+
})
|
|
25
|
+
.strip();
|
|
26
|
+
// Enum DTOs
|
|
27
|
+
export const PropagationModeDTO = z.enum(["CASCADE", "ORPHAN"]);
|
|
28
|
+
export const DocumentChangeTypeDTO = z.enum([
|
|
29
|
+
"CREATED",
|
|
30
|
+
"DELETED",
|
|
31
|
+
"UPDATED",
|
|
32
|
+
"PARENT_ADDED",
|
|
33
|
+
"PARENT_REMOVED",
|
|
34
|
+
"CHILD_ADDED",
|
|
35
|
+
"CHILD_REMOVED",
|
|
36
|
+
]);
|
|
37
|
+
// Object type DTOs
|
|
38
|
+
export const DocumentModelStateDTO = z
|
|
39
|
+
.object({
|
|
40
|
+
id: z.string(),
|
|
41
|
+
name: z.string(),
|
|
42
|
+
namespace: z.string().nullable().optional(),
|
|
43
|
+
version: z.string().nullable().optional(),
|
|
44
|
+
specification: JSONObjectDTO.nullable().optional(),
|
|
45
|
+
})
|
|
46
|
+
.strip();
|
|
47
|
+
export const DocumentModelResultPageDTO = z
|
|
48
|
+
.object({
|
|
49
|
+
items: z.array(DocumentModelStateDTO),
|
|
50
|
+
totalCount: z.number().int(),
|
|
51
|
+
hasNextPage: z.boolean(),
|
|
52
|
+
hasPreviousPage: z.boolean(),
|
|
53
|
+
cursor: z.string().nullable().optional(),
|
|
54
|
+
})
|
|
55
|
+
.strip();
|
|
56
|
+
export const PHDocumentDTO = z
|
|
57
|
+
.object({
|
|
58
|
+
id: z.string(),
|
|
59
|
+
slug: z.string().nullable().optional(),
|
|
60
|
+
name: z.string(),
|
|
61
|
+
documentType: z.string(),
|
|
62
|
+
state: JSONObjectDTO,
|
|
63
|
+
revision: z.number().int(),
|
|
64
|
+
created: DateTimeDTO,
|
|
65
|
+
lastModified: DateTimeDTO,
|
|
66
|
+
parentId: z.string().nullable().optional(),
|
|
67
|
+
})
|
|
68
|
+
.strip();
|
|
69
|
+
export const PHDocumentResultPageDTO = z
|
|
70
|
+
.object({
|
|
71
|
+
items: z.array(PHDocumentDTO),
|
|
72
|
+
totalCount: z.number().int(),
|
|
73
|
+
hasNextPage: z.boolean(),
|
|
74
|
+
hasPreviousPage: z.boolean(),
|
|
75
|
+
cursor: z.string().nullable().optional(),
|
|
76
|
+
})
|
|
77
|
+
.strip();
|
|
78
|
+
export const DocumentWithChildrenDTO = z
|
|
79
|
+
.object({
|
|
80
|
+
document: PHDocumentDTO,
|
|
81
|
+
childIds: z.array(z.string()),
|
|
82
|
+
})
|
|
83
|
+
.strip();
|
|
84
|
+
export const MoveChildrenResultDTO = z
|
|
85
|
+
.object({
|
|
86
|
+
source: PHDocumentDTO,
|
|
87
|
+
target: PHDocumentDTO,
|
|
88
|
+
})
|
|
89
|
+
.strip();
|
|
90
|
+
export const JobInfoDTO = z
|
|
91
|
+
.object({
|
|
92
|
+
id: z.string(),
|
|
93
|
+
status: z.string(),
|
|
94
|
+
result: JSONObjectDTO.nullable().optional(),
|
|
95
|
+
error: z.string().nullable().optional(),
|
|
96
|
+
createdAt: DateTimeDTO,
|
|
97
|
+
completedAt: DateTimeDTO.nullable().optional(),
|
|
98
|
+
})
|
|
99
|
+
.strip();
|
|
100
|
+
export const DocumentChangeContextDTO = z
|
|
101
|
+
.object({
|
|
102
|
+
parentId: z.string().nullable().optional(),
|
|
103
|
+
childId: z.string().nullable().optional(),
|
|
104
|
+
})
|
|
105
|
+
.strip();
|
|
106
|
+
export const DocumentChangeEventDTO = z
|
|
107
|
+
.object({
|
|
108
|
+
type: DocumentChangeTypeDTO,
|
|
109
|
+
documents: z.array(PHDocumentDTO),
|
|
110
|
+
context: DocumentChangeContextDTO.nullable().optional(),
|
|
111
|
+
})
|
|
112
|
+
.strip();
|
|
113
|
+
// Conversion functions
|
|
114
|
+
export function toDocumentModelResultPageDTO(data) {
|
|
115
|
+
return DocumentModelResultPageDTO.parse(data);
|
|
116
|
+
}
|
|
117
|
+
export function toPHDocumentDTO(data) {
|
|
118
|
+
return PHDocumentDTO.parse(data);
|
|
119
|
+
}
|
|
120
|
+
export function toPHDocumentResultPageDTO(data) {
|
|
121
|
+
return PHDocumentResultPageDTO.parse(data);
|
|
122
|
+
}
|
|
123
|
+
export function toDocumentWithChildrenDTO(data) {
|
|
124
|
+
return DocumentWithChildrenDTO.parse(data);
|
|
125
|
+
}
|
|
126
|
+
export function toMoveChildrenResultDTO(data) {
|
|
127
|
+
return MoveChildrenResultDTO.parse(data);
|
|
128
|
+
}
|
|
129
|
+
export function toJobInfoDTO(data) {
|
|
130
|
+
return JobInfoDTO.parse(data);
|
|
131
|
+
}
|
|
132
|
+
export function toDocumentChangeEventDTO(data) {
|
|
133
|
+
return DocumentChangeEventDTO.parse(data);
|
|
134
|
+
}
|
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AuB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAC7C,CAAC;AAED,MAAM,UAAU,uBAAuB,CACrC,IAAwB;IAExB,OAAO,qBAAqB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAC3C,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,IAAa;IACxC,OAAO,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;AAED,MAAM,UAAU,wBAAwB,CACtC,IAAyB;IAEzB,OAAO,sBAAsB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAC5C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../../../src/graphql/reactor/export.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAG7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAGpD,cAAc,WAAW,CAAC;AAG1B,cAAc,iBAAiB,CAAC;AAGhC,mBAAmB,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Main subgraph export
|
|
2
|
+
export { ReactorSubgraph } from "./index.js";
|
|
3
|
+
// SDK factory export
|
|
4
|
+
export { createReactorSdk } from "./sdk.factory.js";
|
|
5
|
+
// DTO exports
|
|
6
|
+
export * from "./dtos.js";
|
|
7
|
+
// Operation exports
|
|
8
|
+
export * from "./operations.js";
|
|
9
|
+
//# sourceMappingURL=export.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export.js","sourceRoot":"","sources":["../../../../src/graphql/reactor/export.ts"],"names":[],"mappings":"AAAA,uBAAuB;AACvB,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,qBAAqB;AACrB,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,cAAc;AACd,cAAc,WAAW,CAAC;AAE1B,oBAAoB;AACpB,cAAc,iBAAiB,CAAC"}
|