@powerhousedao/powerhouse-vetra-packages 6.2.3-dev.1 → 6.2.3-dev.11
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/browser/assets/{entry-5_Eh4a2Z.js → entry-4ObkElbc.js} +2 -2
- package/dist/browser/assets/{projection-entry-5PVbP10h.js → projection-entry-DRGRQCSu.js} +8 -8
- package/dist/browser/{button-CuO8Gh3v.js → button-sZQCXeCo.js} +131 -24
- package/dist/browser/button-sZQCXeCo.js.map +1 -0
- package/dist/browser/chunk-CRPLlQ3x.js +28 -0
- package/dist/browser/{dist-BAJ5nRDl.js → dist-D3_ER0Dn.js} +2 -399
- package/dist/browser/dist-D3_ER0Dn.js.map +1 -0
- package/dist/browser/document-models/index.js +2 -1
- package/dist/browser/{documents-J_l59mSV.js → documents-C-lAnv6o.js} +604 -735
- package/dist/browser/documents-C-lAnv6o.js.map +1 -0
- package/dist/browser/editor-BO_s5gTQ.js +3679 -0
- package/dist/browser/editor-BO_s5gTQ.js.map +1 -0
- package/dist/browser/{editor-DZP1WlYy.js → editor-DNV-46lY.js} +5 -5
- package/dist/browser/{editor-DZP1WlYy.js.map → editor-DNV-46lY.js.map} +1 -1
- package/dist/browser/editors/document-model-editor/module.js +1 -1
- package/dist/browser/editors/generic-drive-explorer/index.js +4 -5
- package/dist/browser/editors/generic-drive-explorer/index.js.map +1 -1
- package/dist/browser/editors/generic-drive-explorer/module.js +1 -1
- package/dist/browser/folder-view-CzItU0hn.js +957 -0
- package/dist/browser/folder-view-CzItU0hn.js.map +1 -0
- package/dist/browser/{graphql-editor-Cbkb5KRZ.js → graphql-editor-BMhHl2XP.js} +7 -9
- package/dist/browser/{graphql-editor-Cbkb5KRZ.js.map → graphql-editor-BMhHl2XP.js.map} +1 -1
- package/dist/{node/hooks-D0DcS3MV.mjs → browser/hooks-Bh1JCohS.js} +2 -2
- package/dist/browser/{hooks-KKcNp2X0.js.map → hooks-Bh1JCohS.js.map} +1 -1
- package/dist/browser/index.js +120 -20
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/{json-editor-CN6kPtl1.js → json-editor-DBhkG5TF.js} +3 -4
- package/dist/browser/{json-editor-CN6kPtl1.js.map → json-editor-DBhkG5TF.js.map} +1 -1
- package/dist/browser/{parser-CkF6Qt8V.js → parser-BBzK7bLd.js} +1 -1
- package/dist/browser/{parser-CkF6Qt8V.js.map → parser-BBzK7bLd.js.map} +1 -1
- package/dist/browser/{schema-context-ZyeclQwy.js → schema-context-p2bhyog_.js} +3 -3
- package/dist/browser/{schema-context-ZyeclQwy.js.map → schema-context-p2bhyog_.js.map} +1 -1
- package/dist/browser/src-CVV6HzQZ-D-OQvEkh.js +5151 -0
- package/dist/browser/src-CVV6HzQZ-D-OQvEkh.js.map +1 -0
- package/dist/browser/state-schemas-DuA5rB1e.js +694 -0
- package/dist/browser/state-schemas-DuA5rB1e.js.map +1 -0
- package/dist/browser/tslib.es6-CeIASJ2O.js +32 -0
- package/dist/browser/tslib.es6-CeIASJ2O.js.map +1 -0
- package/dist/node/{button-Da7CxMn7.mjs → button-5bnYEAVq.mjs} +130 -23
- package/dist/node/button-5bnYEAVq.mjs.map +1 -0
- package/dist/node/chunk-17FXJ3dL.mjs +31 -0
- package/dist/node/{dist-CzYOpeXN.mjs → dist-Bf_PIbO7.mjs} +2 -399
- package/dist/node/dist-Bf_PIbO7.mjs.map +1 -0
- package/dist/node/document-models/index.mjs +2 -1
- package/dist/node/documents-XAQfHX5Q.mjs +17 -0
- package/dist/node/documents-XAQfHX5Q.mjs.map +1 -0
- package/dist/node/editor-BiiLqEe9.mjs +3679 -0
- package/dist/node/editor-BiiLqEe9.mjs.map +1 -0
- package/dist/node/{editor-Dg2OZEJu.mjs → editor-Cp2TC5MJ.mjs} +5 -5
- package/dist/node/{editor-Dg2OZEJu.mjs.map → editor-Cp2TC5MJ.mjs.map} +1 -1
- package/dist/node/editors/document-model-editor/module.mjs +1 -1
- package/dist/node/editors/generic-drive-explorer/index.mjs +4 -5
- package/dist/node/editors/generic-drive-explorer/index.mjs.map +1 -1
- package/dist/node/editors/generic-drive-explorer/module.mjs +1 -1
- package/dist/node/folder-view-m_rH84Nz.mjs +962 -0
- package/dist/node/folder-view-m_rH84Nz.mjs.map +1 -0
- package/dist/node/{graphql-BfAoPeWM.mjs → graphql-BvV3tC1U.mjs} +2 -2
- package/dist/node/{graphql-BfAoPeWM.mjs.map → graphql-BvV3tC1U.mjs.map} +1 -1
- package/dist/node/{graphql-editor-DNxebuTn.mjs → graphql-editor-BhF6KN6y.mjs} +6 -7
- package/dist/node/{graphql-editor-DNxebuTn.mjs.map → graphql-editor-BhF6KN6y.mjs.map} +1 -1
- package/dist/{browser/hooks-KKcNp2X0.js → node/hooks-Di3FASx-.mjs} +2 -2
- package/dist/node/{hooks-D0DcS3MV.mjs.map → hooks-Di3FASx-.mjs.map} +1 -1
- package/dist/node/index.mjs +142 -21
- package/dist/node/index.mjs.map +1 -1
- package/dist/node/{json-editor-BpnEn9AS.mjs → json-editor-Cqc0zuz0.mjs} +3 -4
- package/dist/node/{json-editor-BpnEn9AS.mjs.map → json-editor-Cqc0zuz0.mjs.map} +1 -1
- package/dist/node/{schema-context-DL8jhi_d.mjs → schema-context-mHmP3Cl6.mjs} +3 -3
- package/dist/node/{schema-context-DL8jhi_d.mjs.map → schema-context-mHmP3Cl6.mjs.map} +1 -1
- package/dist/node/{connect-CeLh6yfj.mjs → src-CVV6HzQZ-CvqjXbXk.mjs} +1829 -11016
- package/dist/node/src-CVV6HzQZ-CvqjXbXk.mjs.map +1 -0
- package/dist/node/state-schemas-DXG02fMh.mjs +695 -0
- package/dist/node/state-schemas-DXG02fMh.mjs.map +1 -0
- package/dist/node/{main-B1tRsYOp.mjs → tslib.es6-DdiHgz9e.mjs} +3 -203
- package/dist/node/tslib.es6-DdiHgz9e.mjs.map +1 -0
- package/package.json +7 -7
- package/dist/browser/button-CuO8Gh3v.js.map +0 -1
- package/dist/browser/connect-BqgnsniX.js +0 -14322
- package/dist/browser/connect-BqgnsniX.js.map +0 -1
- package/dist/browser/dist-B4FWbuEM.js +0 -4148
- package/dist/browser/dist-B4FWbuEM.js.map +0 -1
- package/dist/browser/dist-BAJ5nRDl.js.map +0 -1
- package/dist/browser/dist-C-xkNfyD.js +0 -4641
- package/dist/browser/dist-C-xkNfyD.js.map +0 -1
- package/dist/browser/document-drive-ZQzPQfEL.js +0 -8237
- package/dist/browser/document-drive-ZQzPQfEL.js.map +0 -1
- package/dist/browser/documents-J_l59mSV.js.map +0 -1
- package/dist/browser/editor-BNgF9-uX.js +0 -1809
- package/dist/browser/editor-BNgF9-uX.js.map +0 -1
- package/dist/browser/folder-view-tx0A96ZI.js +0 -232
- package/dist/browser/folder-view-tx0A96ZI.js.map +0 -1
- package/dist/browser/lib-ewnRj2dJ.js +0 -209
- package/dist/browser/lib-ewnRj2dJ.js.map +0 -1
- package/dist/browser/printer-CEYr4JOg.js +0 -604
- package/dist/browser/printer-CEYr4JOg.js.map +0 -1
- package/dist/browser/state-schemas-CKh98ehP.js +0 -298
- package/dist/browser/state-schemas-CKh98ehP.js.map +0 -1
- package/dist/node/button-Da7CxMn7.mjs.map +0 -1
- package/dist/node/connect-CeLh6yfj.mjs.map +0 -1
- package/dist/node/dist-CUFTZwfc.mjs +0 -4649
- package/dist/node/dist-CUFTZwfc.mjs.map +0 -1
- package/dist/node/dist-CzYOpeXN.mjs.map +0 -1
- package/dist/node/dist-DT7jI9ol.mjs +0 -4148
- package/dist/node/dist-DT7jI9ol.mjs.map +0 -1
- package/dist/node/document-drive-D1NMjQQc.mjs +0 -8254
- package/dist/node/document-drive-D1NMjQQc.mjs.map +0 -1
- package/dist/node/documents-DCf53bzO.mjs +0 -747
- package/dist/node/documents-DCf53bzO.mjs.map +0 -1
- package/dist/node/editor-CXQOsbup.mjs +0 -1809
- package/dist/node/editor-CXQOsbup.mjs.map +0 -1
- package/dist/node/folder-view-DZ0o2-Ef.mjs +0 -232
- package/dist/node/folder-view-DZ0o2-Ef.mjs.map +0 -1
- package/dist/node/main-B1tRsYOp.mjs.map +0 -1
- package/dist/node/state-schemas-CuSHxrn6.mjs +0 -299
- package/dist/node/state-schemas-CuSHxrn6.mjs.map +0 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { a as visitInParallel, i as visit, r as getEnterLeaveForKind, t as print } from "./printer-CEYr4JOg.js";
|
|
1
|
+
import { a as printBlockString, c as Kind, d as QueryDocumentKeys, f as isNode, g as devAssert, h as isObjectLike, i as isPrintableAsBlockString, l as DirectiveLocation, m as invariant, n as instanceOf, o as isNameContinue, p as GraphQLError, r as inspect, s as isNameStart, t as parse, u as OperationTypeNode } from "./parser-BBzK7bLd.js";
|
|
2
|
+
import { typeDefs } from "@powerhousedao/document-engineering/graphql";
|
|
4
3
|
//#region ../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/jsutils/didYouMean.mjs
|
|
5
4
|
const MAX_SUGGESTIONS = 5;
|
|
6
5
|
/**
|
|
@@ -237,6 +236,606 @@ function toObjMap(obj) {
|
|
|
237
236
|
return map;
|
|
238
237
|
}
|
|
239
238
|
//#endregion
|
|
239
|
+
//#region ../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/language/printString.mjs
|
|
240
|
+
/**
|
|
241
|
+
* Prints a string as a GraphQL StringValue literal. Replaces control characters
|
|
242
|
+
* and excluded characters (" U+0022 and \\ U+005C) with escape sequences.
|
|
243
|
+
*/
|
|
244
|
+
function printString(str) {
|
|
245
|
+
return `"${str.replace(escapedRegExp, escapedReplacer)}"`;
|
|
246
|
+
}
|
|
247
|
+
const escapedRegExp = /[\x00-\x1f\x22\x5c\x7f-\x9f]/g;
|
|
248
|
+
function escapedReplacer(str) {
|
|
249
|
+
return escapeSequences[str.charCodeAt(0)];
|
|
250
|
+
}
|
|
251
|
+
const escapeSequences = [
|
|
252
|
+
"\\u0000",
|
|
253
|
+
"\\u0001",
|
|
254
|
+
"\\u0002",
|
|
255
|
+
"\\u0003",
|
|
256
|
+
"\\u0004",
|
|
257
|
+
"\\u0005",
|
|
258
|
+
"\\u0006",
|
|
259
|
+
"\\u0007",
|
|
260
|
+
"\\b",
|
|
261
|
+
"\\t",
|
|
262
|
+
"\\n",
|
|
263
|
+
"\\u000B",
|
|
264
|
+
"\\f",
|
|
265
|
+
"\\r",
|
|
266
|
+
"\\u000E",
|
|
267
|
+
"\\u000F",
|
|
268
|
+
"\\u0010",
|
|
269
|
+
"\\u0011",
|
|
270
|
+
"\\u0012",
|
|
271
|
+
"\\u0013",
|
|
272
|
+
"\\u0014",
|
|
273
|
+
"\\u0015",
|
|
274
|
+
"\\u0016",
|
|
275
|
+
"\\u0017",
|
|
276
|
+
"\\u0018",
|
|
277
|
+
"\\u0019",
|
|
278
|
+
"\\u001A",
|
|
279
|
+
"\\u001B",
|
|
280
|
+
"\\u001C",
|
|
281
|
+
"\\u001D",
|
|
282
|
+
"\\u001E",
|
|
283
|
+
"\\u001F",
|
|
284
|
+
"",
|
|
285
|
+
"",
|
|
286
|
+
"\\\"",
|
|
287
|
+
"",
|
|
288
|
+
"",
|
|
289
|
+
"",
|
|
290
|
+
"",
|
|
291
|
+
"",
|
|
292
|
+
"",
|
|
293
|
+
"",
|
|
294
|
+
"",
|
|
295
|
+
"",
|
|
296
|
+
"",
|
|
297
|
+
"",
|
|
298
|
+
"",
|
|
299
|
+
"",
|
|
300
|
+
"",
|
|
301
|
+
"",
|
|
302
|
+
"",
|
|
303
|
+
"",
|
|
304
|
+
"",
|
|
305
|
+
"",
|
|
306
|
+
"",
|
|
307
|
+
"",
|
|
308
|
+
"",
|
|
309
|
+
"",
|
|
310
|
+
"",
|
|
311
|
+
"",
|
|
312
|
+
"",
|
|
313
|
+
"",
|
|
314
|
+
"",
|
|
315
|
+
"",
|
|
316
|
+
"",
|
|
317
|
+
"",
|
|
318
|
+
"",
|
|
319
|
+
"",
|
|
320
|
+
"",
|
|
321
|
+
"",
|
|
322
|
+
"",
|
|
323
|
+
"",
|
|
324
|
+
"",
|
|
325
|
+
"",
|
|
326
|
+
"",
|
|
327
|
+
"",
|
|
328
|
+
"",
|
|
329
|
+
"",
|
|
330
|
+
"",
|
|
331
|
+
"",
|
|
332
|
+
"",
|
|
333
|
+
"",
|
|
334
|
+
"",
|
|
335
|
+
"",
|
|
336
|
+
"",
|
|
337
|
+
"",
|
|
338
|
+
"",
|
|
339
|
+
"",
|
|
340
|
+
"",
|
|
341
|
+
"",
|
|
342
|
+
"",
|
|
343
|
+
"",
|
|
344
|
+
"\\\\",
|
|
345
|
+
"",
|
|
346
|
+
"",
|
|
347
|
+
"",
|
|
348
|
+
"",
|
|
349
|
+
"",
|
|
350
|
+
"",
|
|
351
|
+
"",
|
|
352
|
+
"",
|
|
353
|
+
"",
|
|
354
|
+
"",
|
|
355
|
+
"",
|
|
356
|
+
"",
|
|
357
|
+
"",
|
|
358
|
+
"",
|
|
359
|
+
"",
|
|
360
|
+
"",
|
|
361
|
+
"",
|
|
362
|
+
"",
|
|
363
|
+
"",
|
|
364
|
+
"",
|
|
365
|
+
"",
|
|
366
|
+
"",
|
|
367
|
+
"",
|
|
368
|
+
"",
|
|
369
|
+
"",
|
|
370
|
+
"",
|
|
371
|
+
"",
|
|
372
|
+
"",
|
|
373
|
+
"",
|
|
374
|
+
"",
|
|
375
|
+
"",
|
|
376
|
+
"",
|
|
377
|
+
"",
|
|
378
|
+
"",
|
|
379
|
+
"\\u007F",
|
|
380
|
+
"\\u0080",
|
|
381
|
+
"\\u0081",
|
|
382
|
+
"\\u0082",
|
|
383
|
+
"\\u0083",
|
|
384
|
+
"\\u0084",
|
|
385
|
+
"\\u0085",
|
|
386
|
+
"\\u0086",
|
|
387
|
+
"\\u0087",
|
|
388
|
+
"\\u0088",
|
|
389
|
+
"\\u0089",
|
|
390
|
+
"\\u008A",
|
|
391
|
+
"\\u008B",
|
|
392
|
+
"\\u008C",
|
|
393
|
+
"\\u008D",
|
|
394
|
+
"\\u008E",
|
|
395
|
+
"\\u008F",
|
|
396
|
+
"\\u0090",
|
|
397
|
+
"\\u0091",
|
|
398
|
+
"\\u0092",
|
|
399
|
+
"\\u0093",
|
|
400
|
+
"\\u0094",
|
|
401
|
+
"\\u0095",
|
|
402
|
+
"\\u0096",
|
|
403
|
+
"\\u0097",
|
|
404
|
+
"\\u0098",
|
|
405
|
+
"\\u0099",
|
|
406
|
+
"\\u009A",
|
|
407
|
+
"\\u009B",
|
|
408
|
+
"\\u009C",
|
|
409
|
+
"\\u009D",
|
|
410
|
+
"\\u009E",
|
|
411
|
+
"\\u009F"
|
|
412
|
+
];
|
|
413
|
+
//#endregion
|
|
414
|
+
//#region ../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/language/visitor.mjs
|
|
415
|
+
/**
|
|
416
|
+
* A visitor is provided to visit, it contains the collection of
|
|
417
|
+
* relevant functions to be called during the visitor's traversal.
|
|
418
|
+
*/
|
|
419
|
+
const BREAK = Object.freeze({});
|
|
420
|
+
/**
|
|
421
|
+
* visit() will walk through an AST using a depth-first traversal, calling
|
|
422
|
+
* the visitor's enter function at each node in the traversal, and calling the
|
|
423
|
+
* leave function after visiting that node and all of its child nodes.
|
|
424
|
+
*
|
|
425
|
+
* By returning different values from the enter and leave functions, the
|
|
426
|
+
* behavior of the visitor can be altered, including skipping over a sub-tree of
|
|
427
|
+
* the AST (by returning false), editing the AST by returning a value or null
|
|
428
|
+
* to remove the value, or to stop the whole traversal by returning BREAK.
|
|
429
|
+
*
|
|
430
|
+
* When using visit() to edit an AST, the original AST will not be modified, and
|
|
431
|
+
* a new version of the AST with the changes applied will be returned from the
|
|
432
|
+
* visit function.
|
|
433
|
+
*
|
|
434
|
+
* ```ts
|
|
435
|
+
* const editedAST = visit(ast, {
|
|
436
|
+
* enter(node, key, parent, path, ancestors) {
|
|
437
|
+
* // @return
|
|
438
|
+
* // undefined: no action
|
|
439
|
+
* // false: skip visiting this node
|
|
440
|
+
* // visitor.BREAK: stop visiting altogether
|
|
441
|
+
* // null: delete this node
|
|
442
|
+
* // any value: replace this node with the returned value
|
|
443
|
+
* },
|
|
444
|
+
* leave(node, key, parent, path, ancestors) {
|
|
445
|
+
* // @return
|
|
446
|
+
* // undefined: no action
|
|
447
|
+
* // false: no action
|
|
448
|
+
* // visitor.BREAK: stop visiting altogether
|
|
449
|
+
* // null: delete this node
|
|
450
|
+
* // any value: replace this node with the returned value
|
|
451
|
+
* }
|
|
452
|
+
* });
|
|
453
|
+
* ```
|
|
454
|
+
*
|
|
455
|
+
* Alternatively to providing enter() and leave() functions, a visitor can
|
|
456
|
+
* instead provide functions named the same as the kinds of AST nodes, or
|
|
457
|
+
* enter/leave visitors at a named key, leading to three permutations of the
|
|
458
|
+
* visitor API:
|
|
459
|
+
*
|
|
460
|
+
* 1) Named visitors triggered when entering a node of a specific kind.
|
|
461
|
+
*
|
|
462
|
+
* ```ts
|
|
463
|
+
* visit(ast, {
|
|
464
|
+
* Kind(node) {
|
|
465
|
+
* // enter the "Kind" node
|
|
466
|
+
* }
|
|
467
|
+
* })
|
|
468
|
+
* ```
|
|
469
|
+
*
|
|
470
|
+
* 2) Named visitors that trigger upon entering and leaving a node of a specific kind.
|
|
471
|
+
*
|
|
472
|
+
* ```ts
|
|
473
|
+
* visit(ast, {
|
|
474
|
+
* Kind: {
|
|
475
|
+
* enter(node) {
|
|
476
|
+
* // enter the "Kind" node
|
|
477
|
+
* }
|
|
478
|
+
* leave(node) {
|
|
479
|
+
* // leave the "Kind" node
|
|
480
|
+
* }
|
|
481
|
+
* }
|
|
482
|
+
* })
|
|
483
|
+
* ```
|
|
484
|
+
*
|
|
485
|
+
* 3) Generic visitors that trigger upon entering and leaving any node.
|
|
486
|
+
*
|
|
487
|
+
* ```ts
|
|
488
|
+
* visit(ast, {
|
|
489
|
+
* enter(node) {
|
|
490
|
+
* // enter any node
|
|
491
|
+
* },
|
|
492
|
+
* leave(node) {
|
|
493
|
+
* // leave any node
|
|
494
|
+
* }
|
|
495
|
+
* })
|
|
496
|
+
* ```
|
|
497
|
+
*/
|
|
498
|
+
function visit(root, visitor, visitorKeys = QueryDocumentKeys) {
|
|
499
|
+
const enterLeaveMap = /* @__PURE__ */ new Map();
|
|
500
|
+
for (const kind of Object.values(Kind)) enterLeaveMap.set(kind, getEnterLeaveForKind(visitor, kind));
|
|
501
|
+
let stack = void 0;
|
|
502
|
+
let inArray = Array.isArray(root);
|
|
503
|
+
let keys = [root];
|
|
504
|
+
let index = -1;
|
|
505
|
+
let edits = [];
|
|
506
|
+
let node = root;
|
|
507
|
+
let key = void 0;
|
|
508
|
+
let parent = void 0;
|
|
509
|
+
const path = [];
|
|
510
|
+
const ancestors = [];
|
|
511
|
+
do {
|
|
512
|
+
index++;
|
|
513
|
+
const isLeaving = index === keys.length;
|
|
514
|
+
const isEdited = isLeaving && edits.length !== 0;
|
|
515
|
+
if (isLeaving) {
|
|
516
|
+
key = ancestors.length === 0 ? void 0 : path[path.length - 1];
|
|
517
|
+
node = parent;
|
|
518
|
+
parent = ancestors.pop();
|
|
519
|
+
if (isEdited) if (inArray) {
|
|
520
|
+
node = node.slice();
|
|
521
|
+
let editOffset = 0;
|
|
522
|
+
for (const [editKey, editValue] of edits) {
|
|
523
|
+
const arrayKey = editKey - editOffset;
|
|
524
|
+
if (editValue === null) {
|
|
525
|
+
node.splice(arrayKey, 1);
|
|
526
|
+
editOffset++;
|
|
527
|
+
} else node[arrayKey] = editValue;
|
|
528
|
+
}
|
|
529
|
+
} else {
|
|
530
|
+
node = { ...node };
|
|
531
|
+
for (const [editKey, editValue] of edits) node[editKey] = editValue;
|
|
532
|
+
}
|
|
533
|
+
index = stack.index;
|
|
534
|
+
keys = stack.keys;
|
|
535
|
+
edits = stack.edits;
|
|
536
|
+
inArray = stack.inArray;
|
|
537
|
+
stack = stack.prev;
|
|
538
|
+
} else if (parent) {
|
|
539
|
+
key = inArray ? index : keys[index];
|
|
540
|
+
node = parent[key];
|
|
541
|
+
if (node === null || node === void 0) continue;
|
|
542
|
+
path.push(key);
|
|
543
|
+
}
|
|
544
|
+
let result;
|
|
545
|
+
if (!Array.isArray(node)) {
|
|
546
|
+
var _enterLeaveMap$get, _enterLeaveMap$get2;
|
|
547
|
+
isNode(node) || devAssert(false, `Invalid AST Node: ${inspect(node)}.`);
|
|
548
|
+
const visitFn = isLeaving ? (_enterLeaveMap$get = enterLeaveMap.get(node.kind)) === null || _enterLeaveMap$get === void 0 ? void 0 : _enterLeaveMap$get.leave : (_enterLeaveMap$get2 = enterLeaveMap.get(node.kind)) === null || _enterLeaveMap$get2 === void 0 ? void 0 : _enterLeaveMap$get2.enter;
|
|
549
|
+
result = visitFn === null || visitFn === void 0 ? void 0 : visitFn.call(visitor, node, key, parent, path, ancestors);
|
|
550
|
+
if (result === BREAK) break;
|
|
551
|
+
if (result === false) {
|
|
552
|
+
if (!isLeaving) {
|
|
553
|
+
path.pop();
|
|
554
|
+
continue;
|
|
555
|
+
}
|
|
556
|
+
} else if (result !== void 0) {
|
|
557
|
+
edits.push([key, result]);
|
|
558
|
+
if (!isLeaving) if (isNode(result)) node = result;
|
|
559
|
+
else {
|
|
560
|
+
path.pop();
|
|
561
|
+
continue;
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
if (result === void 0 && isEdited) edits.push([key, node]);
|
|
566
|
+
if (isLeaving) path.pop();
|
|
567
|
+
else {
|
|
568
|
+
var _node$kind;
|
|
569
|
+
stack = {
|
|
570
|
+
inArray,
|
|
571
|
+
index,
|
|
572
|
+
keys,
|
|
573
|
+
edits,
|
|
574
|
+
prev: stack
|
|
575
|
+
};
|
|
576
|
+
inArray = Array.isArray(node);
|
|
577
|
+
keys = inArray ? node : (_node$kind = visitorKeys[node.kind]) !== null && _node$kind !== void 0 ? _node$kind : [];
|
|
578
|
+
index = -1;
|
|
579
|
+
edits = [];
|
|
580
|
+
if (parent) ancestors.push(parent);
|
|
581
|
+
parent = node;
|
|
582
|
+
}
|
|
583
|
+
} while (stack !== void 0);
|
|
584
|
+
if (edits.length !== 0) return edits[edits.length - 1][1];
|
|
585
|
+
return root;
|
|
586
|
+
}
|
|
587
|
+
/**
|
|
588
|
+
* Creates a new visitor instance which delegates to many visitors to run in
|
|
589
|
+
* parallel. Each visitor will be visited for each node before moving on.
|
|
590
|
+
*
|
|
591
|
+
* If a prior visitor edits a node, no following visitors will see that node.
|
|
592
|
+
*/
|
|
593
|
+
function visitInParallel(visitors) {
|
|
594
|
+
const skipping = new Array(visitors.length).fill(null);
|
|
595
|
+
const mergedVisitor = Object.create(null);
|
|
596
|
+
for (const kind of Object.values(Kind)) {
|
|
597
|
+
let hasVisitor = false;
|
|
598
|
+
const enterList = new Array(visitors.length).fill(void 0);
|
|
599
|
+
const leaveList = new Array(visitors.length).fill(void 0);
|
|
600
|
+
for (let i = 0; i < visitors.length; ++i) {
|
|
601
|
+
const { enter, leave } = getEnterLeaveForKind(visitors[i], kind);
|
|
602
|
+
hasVisitor || (hasVisitor = enter != null || leave != null);
|
|
603
|
+
enterList[i] = enter;
|
|
604
|
+
leaveList[i] = leave;
|
|
605
|
+
}
|
|
606
|
+
if (!hasVisitor) continue;
|
|
607
|
+
mergedVisitor[kind] = {
|
|
608
|
+
enter(...args) {
|
|
609
|
+
const node = args[0];
|
|
610
|
+
for (let i = 0; i < visitors.length; i++) if (skipping[i] === null) {
|
|
611
|
+
var _enterList$i;
|
|
612
|
+
const result = (_enterList$i = enterList[i]) === null || _enterList$i === void 0 ? void 0 : _enterList$i.apply(visitors[i], args);
|
|
613
|
+
if (result === false) skipping[i] = node;
|
|
614
|
+
else if (result === BREAK) skipping[i] = BREAK;
|
|
615
|
+
else if (result !== void 0) return result;
|
|
616
|
+
}
|
|
617
|
+
},
|
|
618
|
+
leave(...args) {
|
|
619
|
+
const node = args[0];
|
|
620
|
+
for (let i = 0; i < visitors.length; i++) if (skipping[i] === null) {
|
|
621
|
+
var _leaveList$i;
|
|
622
|
+
const result = (_leaveList$i = leaveList[i]) === null || _leaveList$i === void 0 ? void 0 : _leaveList$i.apply(visitors[i], args);
|
|
623
|
+
if (result === BREAK) skipping[i] = BREAK;
|
|
624
|
+
else if (result !== void 0 && result !== false) return result;
|
|
625
|
+
} else if (skipping[i] === node) skipping[i] = null;
|
|
626
|
+
}
|
|
627
|
+
};
|
|
628
|
+
}
|
|
629
|
+
return mergedVisitor;
|
|
630
|
+
}
|
|
631
|
+
/**
|
|
632
|
+
* Given a visitor instance and a node kind, return EnterLeaveVisitor for that kind.
|
|
633
|
+
*/
|
|
634
|
+
function getEnterLeaveForKind(visitor, kind) {
|
|
635
|
+
const kindVisitor = visitor[kind];
|
|
636
|
+
if (typeof kindVisitor === "object") return kindVisitor;
|
|
637
|
+
else if (typeof kindVisitor === "function") return {
|
|
638
|
+
enter: kindVisitor,
|
|
639
|
+
leave: void 0
|
|
640
|
+
};
|
|
641
|
+
return {
|
|
642
|
+
enter: visitor.enter,
|
|
643
|
+
leave: visitor.leave
|
|
644
|
+
};
|
|
645
|
+
}
|
|
646
|
+
//#endregion
|
|
647
|
+
//#region ../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/language/printer.mjs
|
|
648
|
+
/**
|
|
649
|
+
* Converts an AST into a string, using one set of reasonable
|
|
650
|
+
* formatting rules.
|
|
651
|
+
*/
|
|
652
|
+
function print(ast) {
|
|
653
|
+
return visit(ast, printDocASTReducer);
|
|
654
|
+
}
|
|
655
|
+
const MAX_LINE_LENGTH = 80;
|
|
656
|
+
const printDocASTReducer = {
|
|
657
|
+
Name: { leave: (node) => node.value },
|
|
658
|
+
Variable: { leave: (node) => "$" + node.name },
|
|
659
|
+
Document: { leave: (node) => join(node.definitions, "\n\n") },
|
|
660
|
+
OperationDefinition: { leave(node) {
|
|
661
|
+
const varDefs = hasMultilineItems(node.variableDefinitions) ? wrap("(\n", join(node.variableDefinitions, "\n"), "\n)") : wrap("(", join(node.variableDefinitions, ", "), ")");
|
|
662
|
+
const prefix = wrap("", node.description, "\n") + join([
|
|
663
|
+
node.operation,
|
|
664
|
+
join([node.name, varDefs]),
|
|
665
|
+
join(node.directives, " ")
|
|
666
|
+
], " ");
|
|
667
|
+
return (prefix === "query" ? "" : prefix + " ") + node.selectionSet;
|
|
668
|
+
} },
|
|
669
|
+
VariableDefinition: { leave: ({ variable, type, defaultValue, directives, description }) => wrap("", description, "\n") + variable + ": " + type + wrap(" = ", defaultValue) + wrap(" ", join(directives, " ")) },
|
|
670
|
+
SelectionSet: { leave: ({ selections }) => block(selections) },
|
|
671
|
+
Field: { leave({ alias, name, arguments: args, directives, selectionSet }) {
|
|
672
|
+
const prefix = wrap("", alias, ": ") + name;
|
|
673
|
+
let argsLine = prefix + wrap("(", join(args, ", "), ")");
|
|
674
|
+
if (argsLine.length > MAX_LINE_LENGTH) argsLine = prefix + wrap("(\n", indent(join(args, "\n")), "\n)");
|
|
675
|
+
return join([
|
|
676
|
+
argsLine,
|
|
677
|
+
join(directives, " "),
|
|
678
|
+
selectionSet
|
|
679
|
+
], " ");
|
|
680
|
+
} },
|
|
681
|
+
Argument: { leave: ({ name, value }) => name + ": " + value },
|
|
682
|
+
FragmentSpread: { leave: ({ name, directives }) => "..." + name + wrap(" ", join(directives, " ")) },
|
|
683
|
+
InlineFragment: { leave: ({ typeCondition, directives, selectionSet }) => join([
|
|
684
|
+
"...",
|
|
685
|
+
wrap("on ", typeCondition),
|
|
686
|
+
join(directives, " "),
|
|
687
|
+
selectionSet
|
|
688
|
+
], " ") },
|
|
689
|
+
FragmentDefinition: { leave: ({ name, typeCondition, variableDefinitions, directives, selectionSet, description }) => wrap("", description, "\n") + `fragment ${name}${wrap("(", join(variableDefinitions, ", "), ")")} on ${typeCondition} ${wrap("", join(directives, " "), " ")}` + selectionSet },
|
|
690
|
+
IntValue: { leave: ({ value }) => value },
|
|
691
|
+
FloatValue: { leave: ({ value }) => value },
|
|
692
|
+
StringValue: { leave: ({ value, block: isBlockString }) => isBlockString ? printBlockString(value) : printString(value) },
|
|
693
|
+
BooleanValue: { leave: ({ value }) => value ? "true" : "false" },
|
|
694
|
+
NullValue: { leave: () => "null" },
|
|
695
|
+
EnumValue: { leave: ({ value }) => value },
|
|
696
|
+
ListValue: { leave: ({ values }) => "[" + join(values, ", ") + "]" },
|
|
697
|
+
ObjectValue: { leave: ({ fields }) => "{" + join(fields, ", ") + "}" },
|
|
698
|
+
ObjectField: { leave: ({ name, value }) => name + ": " + value },
|
|
699
|
+
Directive: { leave: ({ name, arguments: args }) => "@" + name + wrap("(", join(args, ", "), ")") },
|
|
700
|
+
NamedType: { leave: ({ name }) => name },
|
|
701
|
+
ListType: { leave: ({ type }) => "[" + type + "]" },
|
|
702
|
+
NonNullType: { leave: ({ type }) => type + "!" },
|
|
703
|
+
SchemaDefinition: { leave: ({ description, directives, operationTypes }) => wrap("", description, "\n") + join([
|
|
704
|
+
"schema",
|
|
705
|
+
join(directives, " "),
|
|
706
|
+
block(operationTypes)
|
|
707
|
+
], " ") },
|
|
708
|
+
OperationTypeDefinition: { leave: ({ operation, type }) => operation + ": " + type },
|
|
709
|
+
ScalarTypeDefinition: { leave: ({ description, name, directives }) => wrap("", description, "\n") + join([
|
|
710
|
+
"scalar",
|
|
711
|
+
name,
|
|
712
|
+
join(directives, " ")
|
|
713
|
+
], " ") },
|
|
714
|
+
ObjectTypeDefinition: { leave: ({ description, name, interfaces, directives, fields }) => wrap("", description, "\n") + join([
|
|
715
|
+
"type",
|
|
716
|
+
name,
|
|
717
|
+
wrap("implements ", join(interfaces, " & ")),
|
|
718
|
+
join(directives, " "),
|
|
719
|
+
block(fields)
|
|
720
|
+
], " ") },
|
|
721
|
+
FieldDefinition: { leave: ({ description, name, arguments: args, type, directives }) => wrap("", description, "\n") + name + (hasMultilineItems(args) ? wrap("(\n", indent(join(args, "\n")), "\n)") : wrap("(", join(args, ", "), ")")) + ": " + type + wrap(" ", join(directives, " ")) },
|
|
722
|
+
InputValueDefinition: { leave: ({ description, name, type, defaultValue, directives }) => wrap("", description, "\n") + join([
|
|
723
|
+
name + ": " + type,
|
|
724
|
+
wrap("= ", defaultValue),
|
|
725
|
+
join(directives, " ")
|
|
726
|
+
], " ") },
|
|
727
|
+
InterfaceTypeDefinition: { leave: ({ description, name, interfaces, directives, fields }) => wrap("", description, "\n") + join([
|
|
728
|
+
"interface",
|
|
729
|
+
name,
|
|
730
|
+
wrap("implements ", join(interfaces, " & ")),
|
|
731
|
+
join(directives, " "),
|
|
732
|
+
block(fields)
|
|
733
|
+
], " ") },
|
|
734
|
+
UnionTypeDefinition: { leave: ({ description, name, directives, types }) => wrap("", description, "\n") + join([
|
|
735
|
+
"union",
|
|
736
|
+
name,
|
|
737
|
+
join(directives, " "),
|
|
738
|
+
wrap("= ", join(types, " | "))
|
|
739
|
+
], " ") },
|
|
740
|
+
EnumTypeDefinition: { leave: ({ description, name, directives, values }) => wrap("", description, "\n") + join([
|
|
741
|
+
"enum",
|
|
742
|
+
name,
|
|
743
|
+
join(directives, " "),
|
|
744
|
+
block(values)
|
|
745
|
+
], " ") },
|
|
746
|
+
EnumValueDefinition: { leave: ({ description, name, directives }) => wrap("", description, "\n") + join([name, join(directives, " ")], " ") },
|
|
747
|
+
InputObjectTypeDefinition: { leave: ({ description, name, directives, fields }) => wrap("", description, "\n") + join([
|
|
748
|
+
"input",
|
|
749
|
+
name,
|
|
750
|
+
join(directives, " "),
|
|
751
|
+
block(fields)
|
|
752
|
+
], " ") },
|
|
753
|
+
DirectiveDefinition: { leave: ({ description, name, arguments: args, repeatable, locations }) => wrap("", description, "\n") + "directive @" + name + (hasMultilineItems(args) ? wrap("(\n", indent(join(args, "\n")), "\n)") : wrap("(", join(args, ", "), ")")) + (repeatable ? " repeatable" : "") + " on " + join(locations, " | ") },
|
|
754
|
+
SchemaExtension: { leave: ({ directives, operationTypes }) => join([
|
|
755
|
+
"extend schema",
|
|
756
|
+
join(directives, " "),
|
|
757
|
+
block(operationTypes)
|
|
758
|
+
], " ") },
|
|
759
|
+
ScalarTypeExtension: { leave: ({ name, directives }) => join([
|
|
760
|
+
"extend scalar",
|
|
761
|
+
name,
|
|
762
|
+
join(directives, " ")
|
|
763
|
+
], " ") },
|
|
764
|
+
ObjectTypeExtension: { leave: ({ name, interfaces, directives, fields }) => join([
|
|
765
|
+
"extend type",
|
|
766
|
+
name,
|
|
767
|
+
wrap("implements ", join(interfaces, " & ")),
|
|
768
|
+
join(directives, " "),
|
|
769
|
+
block(fields)
|
|
770
|
+
], " ") },
|
|
771
|
+
InterfaceTypeExtension: { leave: ({ name, interfaces, directives, fields }) => join([
|
|
772
|
+
"extend interface",
|
|
773
|
+
name,
|
|
774
|
+
wrap("implements ", join(interfaces, " & ")),
|
|
775
|
+
join(directives, " "),
|
|
776
|
+
block(fields)
|
|
777
|
+
], " ") },
|
|
778
|
+
UnionTypeExtension: { leave: ({ name, directives, types }) => join([
|
|
779
|
+
"extend union",
|
|
780
|
+
name,
|
|
781
|
+
join(directives, " "),
|
|
782
|
+
wrap("= ", join(types, " | "))
|
|
783
|
+
], " ") },
|
|
784
|
+
EnumTypeExtension: { leave: ({ name, directives, values }) => join([
|
|
785
|
+
"extend enum",
|
|
786
|
+
name,
|
|
787
|
+
join(directives, " "),
|
|
788
|
+
block(values)
|
|
789
|
+
], " ") },
|
|
790
|
+
InputObjectTypeExtension: { leave: ({ name, directives, fields }) => join([
|
|
791
|
+
"extend input",
|
|
792
|
+
name,
|
|
793
|
+
join(directives, " "),
|
|
794
|
+
block(fields)
|
|
795
|
+
], " ") },
|
|
796
|
+
TypeCoordinate: { leave: ({ name }) => name },
|
|
797
|
+
MemberCoordinate: { leave: ({ name, memberName }) => join([name, wrap(".", memberName)]) },
|
|
798
|
+
ArgumentCoordinate: { leave: ({ name, fieldName, argumentName }) => join([
|
|
799
|
+
name,
|
|
800
|
+
wrap(".", fieldName),
|
|
801
|
+
wrap("(", argumentName, ":)")
|
|
802
|
+
]) },
|
|
803
|
+
DirectiveCoordinate: { leave: ({ name }) => join(["@", name]) },
|
|
804
|
+
DirectiveArgumentCoordinate: { leave: ({ name, argumentName }) => join([
|
|
805
|
+
"@",
|
|
806
|
+
name,
|
|
807
|
+
wrap("(", argumentName, ":)")
|
|
808
|
+
]) }
|
|
809
|
+
};
|
|
810
|
+
/**
|
|
811
|
+
* Given maybeArray, print an empty string if it is null or empty, otherwise
|
|
812
|
+
* print all items together separated by separator if provided
|
|
813
|
+
*/
|
|
814
|
+
function join(maybeArray, separator = "") {
|
|
815
|
+
var _maybeArray$filter$jo;
|
|
816
|
+
return (_maybeArray$filter$jo = maybeArray === null || maybeArray === void 0 ? void 0 : maybeArray.filter((x) => x).join(separator)) !== null && _maybeArray$filter$jo !== void 0 ? _maybeArray$filter$jo : "";
|
|
817
|
+
}
|
|
818
|
+
/**
|
|
819
|
+
* Given array, print each item on its own line, wrapped in an indented `{ }` block.
|
|
820
|
+
*/
|
|
821
|
+
function block(array) {
|
|
822
|
+
return wrap("{\n", indent(join(array, "\n")), "\n}");
|
|
823
|
+
}
|
|
824
|
+
/**
|
|
825
|
+
* If maybeString is not null or empty, then wrap with start and end, otherwise print an empty string.
|
|
826
|
+
*/
|
|
827
|
+
function wrap(start, maybeString, end = "") {
|
|
828
|
+
return maybeString != null && maybeString !== "" ? start + maybeString + end : "";
|
|
829
|
+
}
|
|
830
|
+
function indent(str) {
|
|
831
|
+
return wrap(" ", str.replace(/\n/g, "\n "));
|
|
832
|
+
}
|
|
833
|
+
function hasMultilineItems(maybeArray) {
|
|
834
|
+
var _maybeArray$some;
|
|
835
|
+
/* c8 ignore next */
|
|
836
|
+
return (_maybeArray$some = maybeArray === null || maybeArray === void 0 ? void 0 : maybeArray.some((str) => str.includes("\n"))) !== null && _maybeArray$some !== void 0 ? _maybeArray$some : false;
|
|
837
|
+
}
|
|
838
|
+
//#endregion
|
|
240
839
|
//#region ../../node_modules/.pnpm/graphql@16.12.0/node_modules/graphql/utilities/valueFromASTUntyped.mjs
|
|
241
840
|
/**
|
|
242
841
|
* Produces a JavaScript value given a GraphQL Value AST.
|
|
@@ -5444,736 +6043,6 @@ function printDescription(def, indentation = "", firstInBlock = true) {
|
|
|
5444
6043
|
return (indentation && !firstInBlock ? "\n" + indentation : indentation) + blockString.replace(/\n/g, "\n" + indentation) + "\n";
|
|
5445
6044
|
}
|
|
5446
6045
|
//#endregion
|
|
5447
|
-
//#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_75e28b6ec666f63b132a491ff3a6fdf7/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/Amount.js
|
|
5448
|
-
var Amount_exports = /* @__PURE__ */ __exportAll({
|
|
5449
|
-
config: () => config$16,
|
|
5450
|
-
scalar: () => scalar$16,
|
|
5451
|
-
schema: () => schema$15,
|
|
5452
|
-
stringSchema: () => stringSchema$16,
|
|
5453
|
-
type: () => type$16,
|
|
5454
|
-
typedef: () => typedef$16
|
|
5455
|
-
});
|
|
5456
|
-
const type$16 = "{ unit?: string, value?: number }";
|
|
5457
|
-
const typedef$16 = "scalar Amount";
|
|
5458
|
-
const schema$15 = object({
|
|
5459
|
-
unit: string().optional(),
|
|
5460
|
-
value: number().finite()
|
|
5461
|
-
});
|
|
5462
|
-
const stringSchema$16 = "z.object({ unit: z.string().optional(), value: z.number().finite() })";
|
|
5463
|
-
const amountValidation = (value) => {
|
|
5464
|
-
if (typeof value !== "object" || !value) throw new GraphQLError(`Invalid Amount value: ${JSON.stringify(value)}`);
|
|
5465
|
-
const result = schema$15.safeParse(value);
|
|
5466
|
-
if (result.success) return result.data;
|
|
5467
|
-
throw new GraphQLError(result.error.message);
|
|
5468
|
-
};
|
|
5469
|
-
const config$16 = {
|
|
5470
|
-
name: "Amount",
|
|
5471
|
-
description: "A custom scalar that represents a currency amount with its currency type",
|
|
5472
|
-
serialize: amountValidation,
|
|
5473
|
-
parseValue: amountValidation,
|
|
5474
|
-
parseLiteral: (ast) => {
|
|
5475
|
-
if (ast.kind !== Kind.OBJECT) throw new GraphQLError("Value must be an object", { nodes: ast });
|
|
5476
|
-
const unitField = ast.fields.find((f) => f.name.value === "unit");
|
|
5477
|
-
const valueField = ast.fields.find((f) => f.name.value === "value");
|
|
5478
|
-
if (unitField && unitField.value.kind !== Kind.STRING) throw new GraphQLError("unit must be a valid string value", { nodes: ast });
|
|
5479
|
-
if (!valueField || valueField.value.kind !== Kind.FLOAT) throw new GraphQLError("value must be a valid float value", { nodes: ast });
|
|
5480
|
-
return amountValidation({
|
|
5481
|
-
unit: unitField?.value?.value,
|
|
5482
|
-
value: parseFloat(valueField.value.value)
|
|
5483
|
-
});
|
|
5484
|
-
}
|
|
5485
|
-
};
|
|
5486
|
-
const scalar$16 = new GraphQLScalarType(config$16);
|
|
5487
|
-
//#endregion
|
|
5488
|
-
//#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_75e28b6ec666f63b132a491ff3a6fdf7/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/AmountCrypto.js
|
|
5489
|
-
var AmountCrypto_exports = /* @__PURE__ */ __exportAll({
|
|
5490
|
-
NUMERIC_VALUE_REGEX: () => NUMERIC_VALUE_REGEX$1,
|
|
5491
|
-
config: () => config$15,
|
|
5492
|
-
scalar: () => scalar$15,
|
|
5493
|
-
schema: () => schema$14,
|
|
5494
|
-
stringSchema: () => stringSchema$15,
|
|
5495
|
-
type: () => type$15,
|
|
5496
|
-
typedef: () => typedef$15
|
|
5497
|
-
});
|
|
5498
|
-
const NUMERIC_VALUE_REGEX$1 = /^\d+(\.\d+)?$/;
|
|
5499
|
-
const type$15 = "{ unit: string, value: string }";
|
|
5500
|
-
const typedef$15 = "scalar Amount_Crypto";
|
|
5501
|
-
const schema$14 = object({
|
|
5502
|
-
unit: string(),
|
|
5503
|
-
value: string()
|
|
5504
|
-
});
|
|
5505
|
-
const stringSchema$15 = "z.object({ unit: z.string(), value: z.string() })";
|
|
5506
|
-
const amountCryptoValidation = (value) => {
|
|
5507
|
-
if (typeof value !== "object" || !value) throw new GraphQLError(`Invalid Amount Crypto value: ${JSON.stringify(value)}`);
|
|
5508
|
-
const result = schema$14.safeParse(value);
|
|
5509
|
-
if (result.success) return result.data;
|
|
5510
|
-
throw new GraphQLError(result.error.message);
|
|
5511
|
-
};
|
|
5512
|
-
const config$15 = {
|
|
5513
|
-
name: "Amount_Crypto",
|
|
5514
|
-
description: "A custom scalar that represents a cryptocurrency amount with its currency type",
|
|
5515
|
-
serialize: amountCryptoValidation,
|
|
5516
|
-
parseValue: amountCryptoValidation,
|
|
5517
|
-
parseLiteral: (ast) => {
|
|
5518
|
-
if (ast.kind !== Kind.OBJECT) throw new GraphQLError("Value must be an object", { nodes: ast });
|
|
5519
|
-
const unitField = ast.fields.find((f) => f.name.value === "unit");
|
|
5520
|
-
const valueField = ast.fields.find((f) => f.name.value === "value");
|
|
5521
|
-
if (!unitField || unitField.value.kind !== Kind.STRING) throw new GraphQLError("unit must be a valid string value", { nodes: ast });
|
|
5522
|
-
if (!valueField || valueField.value.kind !== Kind.STRING) throw new GraphQLError("value must be a valid string value", { nodes: ast });
|
|
5523
|
-
if (!NUMERIC_VALUE_REGEX$1.test(valueField.value.value)) throw new GraphQLError("value must be a valid numeric string (e.g., \"123\" or \"123.45\")", { nodes: ast });
|
|
5524
|
-
return amountCryptoValidation({
|
|
5525
|
-
unit: unitField.value.value,
|
|
5526
|
-
value: valueField.value.value
|
|
5527
|
-
});
|
|
5528
|
-
}
|
|
5529
|
-
};
|
|
5530
|
-
const scalar$15 = new GraphQLScalarType(config$15);
|
|
5531
|
-
//#endregion
|
|
5532
|
-
//#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_75e28b6ec666f63b132a491ff3a6fdf7/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/AmountCurrency.js
|
|
5533
|
-
var AmountCurrency_exports = /* @__PURE__ */ __exportAll({
|
|
5534
|
-
NUMERIC_VALUE_REGEX: () => NUMERIC_VALUE_REGEX,
|
|
5535
|
-
config: () => config$14,
|
|
5536
|
-
scalar: () => scalar$14,
|
|
5537
|
-
schema: () => schema$13,
|
|
5538
|
-
stringSchema: () => stringSchema$14,
|
|
5539
|
-
type: () => type$14,
|
|
5540
|
-
typedef: () => typedef$14
|
|
5541
|
-
});
|
|
5542
|
-
const NUMERIC_VALUE_REGEX = /^\d+(\.\d+)?$/;
|
|
5543
|
-
const type$14 = "{ unit: string, value: string }";
|
|
5544
|
-
const typedef$14 = "scalar Amount_Currency";
|
|
5545
|
-
const schema$13 = object({
|
|
5546
|
-
unit: string(),
|
|
5547
|
-
value: string()
|
|
5548
|
-
});
|
|
5549
|
-
const stringSchema$14 = "z.object({ unit: z.string(), value: z.string()})";
|
|
5550
|
-
const amountCurrencyValidation = (value) => {
|
|
5551
|
-
if (typeof value !== "object" || !value) throw new GraphQLError(`Invalid Amount Currency value: ${JSON.stringify(value)}`);
|
|
5552
|
-
const result = schema$13.safeParse(value);
|
|
5553
|
-
if (result.success) return result.data;
|
|
5554
|
-
throw new GraphQLError(result.error.message);
|
|
5555
|
-
};
|
|
5556
|
-
const config$14 = {
|
|
5557
|
-
name: "Amount_Currency",
|
|
5558
|
-
description: "A custom scalar that represents a currency amount with its currency type",
|
|
5559
|
-
serialize: amountCurrencyValidation,
|
|
5560
|
-
parseValue: amountCurrencyValidation,
|
|
5561
|
-
parseLiteral: (ast) => {
|
|
5562
|
-
if (ast.kind !== Kind.OBJECT) throw new GraphQLError("Value must be an object", { nodes: ast });
|
|
5563
|
-
const unitField = ast.fields.find((f) => f.name.value === "unit");
|
|
5564
|
-
const valueField = ast.fields.find((f) => f.name.value === "value");
|
|
5565
|
-
if (!unitField || unitField.value.kind !== Kind.STRING) throw new GraphQLError("unit must be a valid string value", { nodes: ast });
|
|
5566
|
-
if (!valueField || valueField.value.kind !== Kind.STRING) throw new GraphQLError("value must be a valid string value", { nodes: ast });
|
|
5567
|
-
if (!NUMERIC_VALUE_REGEX.test(valueField.value.value)) throw new GraphQLError("value must be a valid numeric string (e.g., \"123\" or \"123.45\")", { nodes: ast });
|
|
5568
|
-
return amountCurrencyValidation({
|
|
5569
|
-
unit: unitField.value.value,
|
|
5570
|
-
value: valueField.value.value
|
|
5571
|
-
});
|
|
5572
|
-
}
|
|
5573
|
-
};
|
|
5574
|
-
const scalar$14 = new GraphQLScalarType(config$14);
|
|
5575
|
-
//#endregion
|
|
5576
|
-
//#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_75e28b6ec666f63b132a491ff3a6fdf7/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/AmountFiat.js
|
|
5577
|
-
var AmountFiat_exports = /* @__PURE__ */ __exportAll({
|
|
5578
|
-
config: () => config$13,
|
|
5579
|
-
scalar: () => scalar$13,
|
|
5580
|
-
schema: () => schema$12,
|
|
5581
|
-
stringSchema: () => stringSchema$13,
|
|
5582
|
-
type: () => type$13,
|
|
5583
|
-
typedef: () => typedef$13
|
|
5584
|
-
});
|
|
5585
|
-
const type$13 = "{ unit: string, value: number }";
|
|
5586
|
-
const typedef$13 = "scalar Amount_Fiat";
|
|
5587
|
-
const schema$12 = object({
|
|
5588
|
-
unit: string(),
|
|
5589
|
-
value: number().finite()
|
|
5590
|
-
});
|
|
5591
|
-
const stringSchema$13 = "z.object({ unit: z.string(), value: z.number().finite() })";
|
|
5592
|
-
const amountFiatValidation = (value) => {
|
|
5593
|
-
if (typeof value !== "object" || !value) throw new GraphQLError(`Invalid Amount Fiat value: ${JSON.stringify(value)}`);
|
|
5594
|
-
const result = schema$12.safeParse(value);
|
|
5595
|
-
if (result.success) return result.data;
|
|
5596
|
-
throw new GraphQLError(result.error.message);
|
|
5597
|
-
};
|
|
5598
|
-
const config$13 = {
|
|
5599
|
-
name: "Amount_Fiat",
|
|
5600
|
-
description: "A custom scalar that represents a currency amount with its currency type",
|
|
5601
|
-
serialize: amountFiatValidation,
|
|
5602
|
-
parseValue: amountFiatValidation,
|
|
5603
|
-
parseLiteral: (ast) => {
|
|
5604
|
-
if (ast.kind !== Kind.OBJECT) throw new GraphQLError("Value must be an object", { nodes: ast });
|
|
5605
|
-
const unitField = ast.fields.find((f) => f.name.value === "unit");
|
|
5606
|
-
const valueField = ast.fields.find((f) => f.name.value === "value");
|
|
5607
|
-
if (!unitField || unitField.value.kind !== Kind.STRING) throw new GraphQLError("unit must be a valid string value", { nodes: ast });
|
|
5608
|
-
if (!valueField || valueField.value.kind !== Kind.FLOAT) throw new GraphQLError("value must be a valid float value", { nodes: ast });
|
|
5609
|
-
return amountFiatValidation({
|
|
5610
|
-
unit: unitField.value.value,
|
|
5611
|
-
value: parseFloat(valueField.value.value)
|
|
5612
|
-
});
|
|
5613
|
-
}
|
|
5614
|
-
};
|
|
5615
|
-
const scalar$13 = new GraphQLScalarType(config$13);
|
|
5616
|
-
//#endregion
|
|
5617
|
-
//#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_75e28b6ec666f63b132a491ff3a6fdf7/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/AmountMoney.js
|
|
5618
|
-
var AmountMoney_exports = /* @__PURE__ */ __exportAll({
|
|
5619
|
-
config: () => config$12,
|
|
5620
|
-
scalar: () => scalar$12,
|
|
5621
|
-
schema: () => schema$11,
|
|
5622
|
-
stringSchema: () => stringSchema$12,
|
|
5623
|
-
type: () => type$12,
|
|
5624
|
-
typedef: () => typedef$12
|
|
5625
|
-
});
|
|
5626
|
-
const type$12 = "number";
|
|
5627
|
-
const typedef$12 = "scalar Amount_Money";
|
|
5628
|
-
const schema$11 = number();
|
|
5629
|
-
const stringSchema$12 = "z.number()";
|
|
5630
|
-
const amountMoneyValidation = (value) => {
|
|
5631
|
-
if (typeof value !== "number") throw new GraphQLError(`Value is not number: ${JSON.stringify(value)}`);
|
|
5632
|
-
if (!Number.isFinite(value)) throw new GraphQLError(`Value is not a finite number: ${value}`);
|
|
5633
|
-
const result = schema$11.safeParse(value);
|
|
5634
|
-
if (result.success) return result.data;
|
|
5635
|
-
throw new GraphQLError(result.error.message);
|
|
5636
|
-
};
|
|
5637
|
-
const config$12 = {
|
|
5638
|
-
name: "Amount_Money",
|
|
5639
|
-
description: "A custom scalar that represents a monetary amount in a currency",
|
|
5640
|
-
serialize: amountMoneyValidation,
|
|
5641
|
-
parseValue: amountMoneyValidation,
|
|
5642
|
-
parseLiteral: (value) => {
|
|
5643
|
-
if (value.kind !== Kind.FLOAT) throw new GraphQLError("Value is not a float type", { nodes: value });
|
|
5644
|
-
return amountMoneyValidation(parseFloat(value.value));
|
|
5645
|
-
}
|
|
5646
|
-
};
|
|
5647
|
-
const scalar$12 = new GraphQLScalarType(config$12);
|
|
5648
|
-
//#endregion
|
|
5649
|
-
//#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_75e28b6ec666f63b132a491ff3a6fdf7/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/AmountPercentage.js
|
|
5650
|
-
var AmountPercentage_exports = /* @__PURE__ */ __exportAll({
|
|
5651
|
-
config: () => config$11,
|
|
5652
|
-
scalar: () => scalar$11,
|
|
5653
|
-
schema: () => schema$10,
|
|
5654
|
-
stringSchema: () => stringSchema$11,
|
|
5655
|
-
type: () => type$11,
|
|
5656
|
-
typedef: () => typedef$11
|
|
5657
|
-
});
|
|
5658
|
-
const type$11 = "number";
|
|
5659
|
-
const typedef$11 = "scalar Amount_Percentage";
|
|
5660
|
-
const schema$10 = number();
|
|
5661
|
-
const stringSchema$11 = "z.number()";
|
|
5662
|
-
const amountPercentageValidation = (value) => {
|
|
5663
|
-
if (typeof value !== "number") throw new GraphQLError(`Value is not number: ${JSON.stringify(value)}`);
|
|
5664
|
-
if (!Number.isFinite(value)) throw new GraphQLError(`Value is not a finite number: ${value}`);
|
|
5665
|
-
const result = schema$10.safeParse(value);
|
|
5666
|
-
if (result.success) return result.data;
|
|
5667
|
-
throw new GraphQLError(result.error.message);
|
|
5668
|
-
};
|
|
5669
|
-
const config$11 = {
|
|
5670
|
-
name: "Amount_Percentage",
|
|
5671
|
-
description: "",
|
|
5672
|
-
serialize: amountPercentageValidation,
|
|
5673
|
-
parseValue: amountPercentageValidation,
|
|
5674
|
-
parseLiteral: (value) => {
|
|
5675
|
-
if (value.kind !== Kind.FLOAT) throw new GraphQLError("some error message", { nodes: value });
|
|
5676
|
-
return amountPercentageValidation(parseFloat(value.value));
|
|
5677
|
-
}
|
|
5678
|
-
};
|
|
5679
|
-
const scalar$11 = new GraphQLScalarType(config$11);
|
|
5680
|
-
//#endregion
|
|
5681
|
-
//#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_75e28b6ec666f63b132a491ff3a6fdf7/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/AmountTokens.js
|
|
5682
|
-
var AmountTokens_exports = /* @__PURE__ */ __exportAll({
|
|
5683
|
-
config: () => config$10,
|
|
5684
|
-
scalar: () => scalar$10,
|
|
5685
|
-
schema: () => schema$9,
|
|
5686
|
-
stringSchema: () => stringSchema$10,
|
|
5687
|
-
type: () => type$10,
|
|
5688
|
-
typedef: () => typedef$10
|
|
5689
|
-
});
|
|
5690
|
-
const type$10 = "number";
|
|
5691
|
-
const typedef$10 = "scalar Amount_Tokens";
|
|
5692
|
-
const schema$9 = number();
|
|
5693
|
-
const stringSchema$10 = "z.number()";
|
|
5694
|
-
const amountTokensValidation = (value) => {
|
|
5695
|
-
if (typeof value !== "number") throw new GraphQLError(`Value is not number: ${JSON.stringify(value)}`);
|
|
5696
|
-
if (!Number.isFinite(value)) throw new GraphQLError(`Value is not a finite number: ${value}`);
|
|
5697
|
-
const result = schema$9.safeParse(value);
|
|
5698
|
-
if (result.success) return result.data;
|
|
5699
|
-
throw new GraphQLError(result.error.message);
|
|
5700
|
-
};
|
|
5701
|
-
const config$10 = {
|
|
5702
|
-
name: "Amount_Tokens",
|
|
5703
|
-
description: "A custom scalar that represents an amount of tokens",
|
|
5704
|
-
serialize: amountTokensValidation,
|
|
5705
|
-
parseValue: amountTokensValidation,
|
|
5706
|
-
parseLiteral: (value) => {
|
|
5707
|
-
if (value.kind !== Kind.FLOAT) throw new GraphQLError("some error message", { nodes: value });
|
|
5708
|
-
return amountTokensValidation(parseFloat(value.value));
|
|
5709
|
-
}
|
|
5710
|
-
};
|
|
5711
|
-
const scalar$10 = new GraphQLScalarType(config$10);
|
|
5712
|
-
//#endregion
|
|
5713
|
-
//#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_75e28b6ec666f63b132a491ff3a6fdf7/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/Currency.js
|
|
5714
|
-
var Currency_exports = /* @__PURE__ */ __exportAll({
|
|
5715
|
-
config: () => config$9,
|
|
5716
|
-
scalar: () => scalar$9,
|
|
5717
|
-
schema: () => schema$8,
|
|
5718
|
-
stringSchema: () => stringSchema$9,
|
|
5719
|
-
type: () => type$9,
|
|
5720
|
-
typedef: () => typedef$9
|
|
5721
|
-
});
|
|
5722
|
-
const type$9 = "string";
|
|
5723
|
-
const typedef$9 = "scalar Currency";
|
|
5724
|
-
const schema$8 = string();
|
|
5725
|
-
const stringSchema$9 = "z.string()";
|
|
5726
|
-
const currencyValidation = (value) => {
|
|
5727
|
-
if (typeof value !== "string") throw new GraphQLError(`Value is not string: ${JSON.stringify(value)}`);
|
|
5728
|
-
const result = schema$8.safeParse(value);
|
|
5729
|
-
if (result.success) return result.data;
|
|
5730
|
-
throw new GraphQLError(result.error.message);
|
|
5731
|
-
};
|
|
5732
|
-
const config$9 = {
|
|
5733
|
-
name: "Currency",
|
|
5734
|
-
description: "A custom scalar that represents a Currency Code string",
|
|
5735
|
-
serialize: currencyValidation,
|
|
5736
|
-
parseValue: currencyValidation,
|
|
5737
|
-
parseLiteral: (value) => {
|
|
5738
|
-
if (value.kind !== Kind.STRING) throw new GraphQLError(`Value is not a valid string: ${value.kind}`, { nodes: value });
|
|
5739
|
-
return currencyValidation(value.value);
|
|
5740
|
-
}
|
|
5741
|
-
};
|
|
5742
|
-
const scalar$9 = new GraphQLScalarType(config$9);
|
|
5743
|
-
//#endregion
|
|
5744
|
-
//#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_75e28b6ec666f63b132a491ff3a6fdf7/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/Date.js
|
|
5745
|
-
var Date_exports = /* @__PURE__ */ __exportAll({
|
|
5746
|
-
config: () => config$8,
|
|
5747
|
-
scalar: () => scalar$8,
|
|
5748
|
-
schema: () => schema$7,
|
|
5749
|
-
stringSchema: () => stringSchema$8,
|
|
5750
|
-
type: () => type$8,
|
|
5751
|
-
typedef: () => typedef$8
|
|
5752
|
-
});
|
|
5753
|
-
const type$8 = "string";
|
|
5754
|
-
const typedef$8 = "scalar Date";
|
|
5755
|
-
const schema$7 = datetime();
|
|
5756
|
-
const stringSchema$8 = "z.iso.datetime()";
|
|
5757
|
-
const datetimeValidation$1 = (value) => {
|
|
5758
|
-
if (typeof value !== "string") throw new GraphQLError(`Value is not iso string: ${JSON.stringify(value)}`);
|
|
5759
|
-
const result = schema$7.safeParse(value);
|
|
5760
|
-
if (result.success) return result.data;
|
|
5761
|
-
throw new GraphQLError(result.error.message);
|
|
5762
|
-
};
|
|
5763
|
-
const config$8 = {
|
|
5764
|
-
name: "Date",
|
|
5765
|
-
description: "A custom scalar that represents a datetime in ISO 8601 format (Time: 00:00:00)",
|
|
5766
|
-
serialize: datetimeValidation$1,
|
|
5767
|
-
parseValue: datetimeValidation$1,
|
|
5768
|
-
parseLiteral: (value) => {
|
|
5769
|
-
if (value.kind !== Kind.STRING) throw new GraphQLError("Value is not an string", { nodes: value });
|
|
5770
|
-
return datetimeValidation$1(value.value);
|
|
5771
|
-
}
|
|
5772
|
-
};
|
|
5773
|
-
const scalar$8 = new GraphQLScalarType(config$8);
|
|
5774
|
-
//#endregion
|
|
5775
|
-
//#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_75e28b6ec666f63b132a491ff3a6fdf7/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/DateTime.js
|
|
5776
|
-
var DateTime_exports = /* @__PURE__ */ __exportAll({
|
|
5777
|
-
config: () => config$7,
|
|
5778
|
-
scalar: () => scalar$7,
|
|
5779
|
-
schema: () => schema$6,
|
|
5780
|
-
stringSchema: () => stringSchema$7,
|
|
5781
|
-
type: () => type$7,
|
|
5782
|
-
typedef: () => typedef$7
|
|
5783
|
-
});
|
|
5784
|
-
const type$7 = "string";
|
|
5785
|
-
const typedef$7 = "scalar DateTime";
|
|
5786
|
-
const schema$6 = datetime();
|
|
5787
|
-
const stringSchema$7 = "z.iso.datetime()";
|
|
5788
|
-
const datetimeValidation = (value) => {
|
|
5789
|
-
if (typeof value !== "string") throw new GraphQLError(`Value is not iso string: ${JSON.stringify(value)}`);
|
|
5790
|
-
const result = schema$6.safeParse(value);
|
|
5791
|
-
if (result.success) return result.data;
|
|
5792
|
-
throw new GraphQLError(result.error.message);
|
|
5793
|
-
};
|
|
5794
|
-
const config$7 = {
|
|
5795
|
-
name: "DateTime",
|
|
5796
|
-
description: "A custom scalar that represents a datetime in ISO 8601 format",
|
|
5797
|
-
serialize: datetimeValidation,
|
|
5798
|
-
parseValue: datetimeValidation,
|
|
5799
|
-
parseLiteral: (value) => {
|
|
5800
|
-
if (value.kind !== Kind.STRING) throw new GraphQLError("Value is not an string", { nodes: value });
|
|
5801
|
-
return datetimeValidation(value.value);
|
|
5802
|
-
}
|
|
5803
|
-
};
|
|
5804
|
-
const scalar$7 = new GraphQLScalarType(config$7);
|
|
5805
|
-
//#endregion
|
|
5806
|
-
//#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_75e28b6ec666f63b132a491ff3a6fdf7/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/EmailAddress.js
|
|
5807
|
-
var EmailAddress_exports = /* @__PURE__ */ __exportAll({
|
|
5808
|
-
config: () => config$6,
|
|
5809
|
-
scalar: () => scalar$6,
|
|
5810
|
-
schema: () => schema$5,
|
|
5811
|
-
stringSchema: () => stringSchema$6,
|
|
5812
|
-
type: () => type$6,
|
|
5813
|
-
typedef: () => typedef$6
|
|
5814
|
-
});
|
|
5815
|
-
const type$6 = "string";
|
|
5816
|
-
const typedef$6 = "scalar EmailAddress";
|
|
5817
|
-
const schema$5 = email();
|
|
5818
|
-
const stringSchema$6 = "z.email()";
|
|
5819
|
-
const emailValidation = (value) => {
|
|
5820
|
-
if (typeof value !== "string") throw new GraphQLError(`Value is not string: ${JSON.stringify(value)}`);
|
|
5821
|
-
const result = schema$5.safeParse(value);
|
|
5822
|
-
if (result.success) return result.data;
|
|
5823
|
-
throw new GraphQLError(result.error.message);
|
|
5824
|
-
};
|
|
5825
|
-
const config$6 = {
|
|
5826
|
-
name: "EmailAddress",
|
|
5827
|
-
description: "A field whose value conforms to the standard internet email address format as specified in RFC822: https://www.w3.org/Protocols/rfc822/.",
|
|
5828
|
-
serialize: emailValidation,
|
|
5829
|
-
parseValue: emailValidation,
|
|
5830
|
-
parseLiteral: (value) => {
|
|
5831
|
-
if (value.kind !== Kind.STRING) throw new GraphQLError(`Can only validate strings as email addresses but got a: ${value.kind}`, { nodes: value });
|
|
5832
|
-
return emailValidation(value.value);
|
|
5833
|
-
}
|
|
5834
|
-
};
|
|
5835
|
-
const scalar$6 = new GraphQLScalarType(config$6);
|
|
5836
|
-
//#endregion
|
|
5837
|
-
//#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_75e28b6ec666f63b132a491ff3a6fdf7/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/EthereumAddress.js
|
|
5838
|
-
var EthereumAddress_exports = /* @__PURE__ */ __exportAll({
|
|
5839
|
-
config: () => config$5,
|
|
5840
|
-
scalar: () => scalar$5,
|
|
5841
|
-
schema: () => schema$4,
|
|
5842
|
-
stringSchema: () => stringSchema$5,
|
|
5843
|
-
type: () => type$5,
|
|
5844
|
-
typedef: () => typedef$5
|
|
5845
|
-
});
|
|
5846
|
-
const type$5 = "string";
|
|
5847
|
-
const typedef$5 = "scalar EthereumAddress";
|
|
5848
|
-
const schema$4 = string().regex(/^0x[a-fA-F0-9]{40}$/, { message: "Invalid Ethereum address format" });
|
|
5849
|
-
const stringSchema$5 = "z.string().regex(/^0x[a-fA-F0-9]{40}$/, { message: 'Invalid Ethereum address format' })";
|
|
5850
|
-
const addressValidation = (value) => {
|
|
5851
|
-
if (typeof value !== "string") throw new GraphQLError(`Value is not string: ${JSON.stringify(value)}`);
|
|
5852
|
-
const result = schema$4.safeParse(value);
|
|
5853
|
-
if (result.success) return result.data;
|
|
5854
|
-
throw new GraphQLError(result.error.message);
|
|
5855
|
-
};
|
|
5856
|
-
const config$5 = {
|
|
5857
|
-
name: "EthereumAddress",
|
|
5858
|
-
description: "A custom scalar representing an Ethereum address, validated as a 42-character hexadecimal string prefixed with \"0x\"",
|
|
5859
|
-
serialize: addressValidation,
|
|
5860
|
-
parseValue: addressValidation,
|
|
5861
|
-
parseLiteral: (value) => {
|
|
5862
|
-
if (value.kind !== Kind.STRING) throw new GraphQLError("some error message", { nodes: value });
|
|
5863
|
-
return addressValidation(value.value);
|
|
5864
|
-
}
|
|
5865
|
-
};
|
|
5866
|
-
const scalar$5 = new GraphQLScalarType(config$5);
|
|
5867
|
-
//#endregion
|
|
5868
|
-
//#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_75e28b6ec666f63b132a491ff3a6fdf7/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/OID.js
|
|
5869
|
-
var OID_exports = /* @__PURE__ */ __exportAll({
|
|
5870
|
-
config: () => config$4,
|
|
5871
|
-
scalar: () => scalar$4,
|
|
5872
|
-
schema: () => schema$3,
|
|
5873
|
-
stringSchema: () => stringSchema$4,
|
|
5874
|
-
type: () => type$4,
|
|
5875
|
-
typedef: () => typedef$4
|
|
5876
|
-
});
|
|
5877
|
-
const type$4 = "string";
|
|
5878
|
-
const typedef$4 = "scalar OID";
|
|
5879
|
-
const schema$3 = string();
|
|
5880
|
-
const stringSchema$4 = "z.string()";
|
|
5881
|
-
const oIdValidation = (value) => {
|
|
5882
|
-
if (typeof value !== "string") throw new GraphQLError(`Value is not string: ${JSON.stringify(value)}`);
|
|
5883
|
-
const result = schema$3.safeParse(value);
|
|
5884
|
-
if (result.success) return result.data;
|
|
5885
|
-
throw new GraphQLError(result.error.message);
|
|
5886
|
-
};
|
|
5887
|
-
const config$4 = {
|
|
5888
|
-
name: "OID",
|
|
5889
|
-
description: "A custom scalar that represents a OID string",
|
|
5890
|
-
serialize: oIdValidation,
|
|
5891
|
-
parseValue: oIdValidation,
|
|
5892
|
-
parseLiteral: (value) => {
|
|
5893
|
-
if (value.kind !== Kind.STRING) throw new GraphQLError(`Value is not a valid string: ${value.kind}`, { nodes: value });
|
|
5894
|
-
return oIdValidation(value.value);
|
|
5895
|
-
}
|
|
5896
|
-
};
|
|
5897
|
-
const scalar$4 = new GraphQLScalarType(config$4);
|
|
5898
|
-
//#endregion
|
|
5899
|
-
//#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_75e28b6ec666f63b132a491ff3a6fdf7/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/OLabel.js
|
|
5900
|
-
var OLabel_exports = /* @__PURE__ */ __exportAll({
|
|
5901
|
-
config: () => config$3,
|
|
5902
|
-
scalar: () => scalar$3,
|
|
5903
|
-
schema: () => schema$2,
|
|
5904
|
-
stringSchema: () => stringSchema$3,
|
|
5905
|
-
type: () => type$3,
|
|
5906
|
-
typedef: () => typedef$3
|
|
5907
|
-
});
|
|
5908
|
-
const type$3 = "string";
|
|
5909
|
-
const typedef$3 = "scalar OLabel";
|
|
5910
|
-
const schema$2 = string();
|
|
5911
|
-
const stringSchema$3 = "z.string()";
|
|
5912
|
-
const oLabelValidation = (value) => {
|
|
5913
|
-
if (typeof value !== "string") throw new GraphQLError(`Value is not string: ${JSON.stringify(value)}`);
|
|
5914
|
-
const result = schema$2.safeParse(value);
|
|
5915
|
-
if (result.success) return result.data;
|
|
5916
|
-
throw new GraphQLError(result.error.message);
|
|
5917
|
-
};
|
|
5918
|
-
const config$3 = {
|
|
5919
|
-
name: "OLabel",
|
|
5920
|
-
description: "A custom scalar that represents a OLabel string",
|
|
5921
|
-
serialize: oLabelValidation,
|
|
5922
|
-
parseValue: oLabelValidation,
|
|
5923
|
-
parseLiteral: (value) => {
|
|
5924
|
-
if (value.kind !== Kind.STRING) throw new GraphQLError(`Value is not a valid string: ${value.kind}`, { nodes: value });
|
|
5925
|
-
return oLabelValidation(value.value);
|
|
5926
|
-
}
|
|
5927
|
-
};
|
|
5928
|
-
const scalar$3 = new GraphQLScalarType(config$3);
|
|
5929
|
-
//#endregion
|
|
5930
|
-
//#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_75e28b6ec666f63b132a491ff3a6fdf7/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/PHID.js
|
|
5931
|
-
var PHID_exports = /* @__PURE__ */ __exportAll({
|
|
5932
|
-
config: () => config$2,
|
|
5933
|
-
scalar: () => scalar$2,
|
|
5934
|
-
schema: () => schema$1,
|
|
5935
|
-
stringSchema: () => stringSchema$2,
|
|
5936
|
-
type: () => type$2,
|
|
5937
|
-
typedef: () => typedef$2
|
|
5938
|
-
});
|
|
5939
|
-
const type$2 = "string";
|
|
5940
|
-
const typedef$2 = "scalar PHID";
|
|
5941
|
-
const schema$1 = string();
|
|
5942
|
-
const stringSchema$2 = "z.string()";
|
|
5943
|
-
const phidlValidation = (value) => {
|
|
5944
|
-
if (typeof value !== "string") throw new GraphQLError(`Value is not string: ${JSON.stringify(value)}`);
|
|
5945
|
-
const result = schema$1.safeParse(value);
|
|
5946
|
-
if (result.success) return result.data;
|
|
5947
|
-
throw new GraphQLError(result.error.message);
|
|
5948
|
-
};
|
|
5949
|
-
const config$2 = {
|
|
5950
|
-
name: "PHID",
|
|
5951
|
-
description: "A custom scalar that represents a PowerhouseID string",
|
|
5952
|
-
serialize: phidlValidation,
|
|
5953
|
-
parseValue: phidlValidation,
|
|
5954
|
-
parseLiteral: (value) => {
|
|
5955
|
-
if (value.kind !== Kind.STRING) throw new GraphQLError(`Value is not a valid string: ${value.kind}`, { nodes: value });
|
|
5956
|
-
return phidlValidation(value.value);
|
|
5957
|
-
}
|
|
5958
|
-
};
|
|
5959
|
-
const scalar$2 = new GraphQLScalarType(config$2);
|
|
5960
|
-
//#endregion
|
|
5961
|
-
//#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_75e28b6ec666f63b132a491ff3a6fdf7/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/URL.js
|
|
5962
|
-
var URL_exports = /* @__PURE__ */ __exportAll({
|
|
5963
|
-
config: () => config$1,
|
|
5964
|
-
scalar: () => scalar$1,
|
|
5965
|
-
schema: () => schema,
|
|
5966
|
-
stringSchema: () => stringSchema$1,
|
|
5967
|
-
type: () => type$1,
|
|
5968
|
-
typedef: () => typedef$1
|
|
5969
|
-
});
|
|
5970
|
-
const type$1 = "string";
|
|
5971
|
-
const typedef$1 = "scalar URL";
|
|
5972
|
-
const schema = url();
|
|
5973
|
-
const stringSchema$1 = "z.url()";
|
|
5974
|
-
const urlValidation = (value) => {
|
|
5975
|
-
if (typeof value !== "string") throw new GraphQLError(`Value is not iso string: ${JSON.stringify(value)}`);
|
|
5976
|
-
const result = schema.safeParse(value);
|
|
5977
|
-
if (result.success) return result.data;
|
|
5978
|
-
throw new GraphQLError(result.error.message);
|
|
5979
|
-
};
|
|
5980
|
-
const config$1 = {
|
|
5981
|
-
name: "URL",
|
|
5982
|
-
description: "A custom scalar that represents a URL string",
|
|
5983
|
-
serialize: urlValidation,
|
|
5984
|
-
parseValue: urlValidation,
|
|
5985
|
-
parseLiteral: (value) => {
|
|
5986
|
-
if (value.kind !== Kind.STRING) throw new GraphQLError("Value is not an string", { nodes: value });
|
|
5987
|
-
return urlValidation(value.value);
|
|
5988
|
-
}
|
|
5989
|
-
};
|
|
5990
|
-
const scalar$1 = new GraphQLScalarType(config$1);
|
|
5991
|
-
//#endregion
|
|
5992
|
-
//#region ../../node_modules/.pnpm/graphql-upload@17.0.0_@types+express@4.17.25_graphql@16.12.0/node_modules/graphql-upload/Upload.mjs
|
|
5993
|
-
/**
|
|
5994
|
-
* @import GraphQLUpload from "./GraphQLUpload.mjs"
|
|
5995
|
-
* @import processRequest, { FileUpload } from "./processRequest.mjs"
|
|
5996
|
-
*/
|
|
5997
|
-
/**
|
|
5998
|
-
* A file expected to be uploaded as it was declared in the `map` field of a
|
|
5999
|
-
* [GraphQL multipart request](https://github.com/jaydenseric/graphql-multipart-request-spec).
|
|
6000
|
-
* The {@linkcode processRequest} function places references to an instance of
|
|
6001
|
-
* this class wherever the file is expected in the GraphQL operation. The scalar
|
|
6002
|
-
* {@linkcode GraphQLUpload} derives it’s value from {@linkcode Upload.promise}.
|
|
6003
|
-
*/
|
|
6004
|
-
var Upload = class {
|
|
6005
|
-
constructor() {
|
|
6006
|
-
/**
|
|
6007
|
-
* Promise that resolves file upload details. This should only be utilized
|
|
6008
|
-
* by {@linkcode GraphQLUpload}.
|
|
6009
|
-
* @type {Promise<FileUpload>}
|
|
6010
|
-
*/
|
|
6011
|
-
this.promise = new Promise((resolve, reject) => {
|
|
6012
|
-
/**
|
|
6013
|
-
* Resolves the upload promise with the file upload details. This should
|
|
6014
|
-
* only be utilized by {@linkcode processRequest}.
|
|
6015
|
-
* @param {FileUpload} file File upload details.
|
|
6016
|
-
*/
|
|
6017
|
-
this.resolve = (file) => {
|
|
6018
|
-
/**
|
|
6019
|
-
* The file upload details, available when the
|
|
6020
|
-
* {@linkcode Upload.promise} resolves. This should only be utilized by
|
|
6021
|
-
* {@linkcode processRequest}.
|
|
6022
|
-
* @type {FileUpload | undefined}
|
|
6023
|
-
*/
|
|
6024
|
-
this.file = file;
|
|
6025
|
-
resolve(file);
|
|
6026
|
-
};
|
|
6027
|
-
/**
|
|
6028
|
-
* Rejects the upload promise with an error. This should only be
|
|
6029
|
-
* utilized by {@linkcode processRequest}.
|
|
6030
|
-
* @param {Error} error Error instance.
|
|
6031
|
-
*/
|
|
6032
|
-
this.reject = reject;
|
|
6033
|
-
});
|
|
6034
|
-
this.promise.catch(() => {});
|
|
6035
|
-
}
|
|
6036
|
-
};
|
|
6037
|
-
//#endregion
|
|
6038
|
-
//#region ../../node_modules/.pnpm/graphql-upload@17.0.0_@types+express@4.17.25_graphql@16.12.0/node_modules/graphql-upload/GraphQLUpload.mjs
|
|
6039
|
-
/** @typedef {import("./processRequest.mjs").FileUpload} FileUpload */
|
|
6040
|
-
/**
|
|
6041
|
-
* A GraphQL scalar `Upload` that can be used in a
|
|
6042
|
-
* [`GraphQLSchema`](https://graphql.org/graphql-js/type/#graphqlschema). It’s
|
|
6043
|
-
* value in resolvers is a promise that resolves
|
|
6044
|
-
* {@link FileUpload file upload details} for processing and storage.
|
|
6045
|
-
* @example
|
|
6046
|
-
* A schema built using the function
|
|
6047
|
-
* [`makeExecutableSchema`](https://www.graphql-tools.com/docs/api/modules/schema_src#makeexecutableschema)
|
|
6048
|
-
* from [`@graphql-tools/schema`](https://npm.im/@graphql-tools/schema):
|
|
6049
|
-
*
|
|
6050
|
-
* ```js
|
|
6051
|
-
* import { makeExecutableSchema } from "@graphql-tools/schema/makeExecutableSchema";
|
|
6052
|
-
* import GraphQLUpload from "graphql-upload/GraphQLUpload.mjs";
|
|
6053
|
-
*
|
|
6054
|
-
* const schema = makeExecutableSchema({
|
|
6055
|
-
* typeDefs: `
|
|
6056
|
-
* scalar Upload
|
|
6057
|
-
* `,
|
|
6058
|
-
* resolvers: {
|
|
6059
|
-
* Upload: GraphQLUpload,
|
|
6060
|
-
* },
|
|
6061
|
-
* });
|
|
6062
|
-
* ```
|
|
6063
|
-
* @example
|
|
6064
|
-
* A manually constructed schema with an image upload mutation:
|
|
6065
|
-
*
|
|
6066
|
-
* ```js
|
|
6067
|
-
* import { GraphQLBoolean, GraphQLObjectType, GraphQLSchema } from "graphql";
|
|
6068
|
-
* import GraphQLUpload from "graphql-upload/GraphQLUpload.mjs";
|
|
6069
|
-
*
|
|
6070
|
-
* const schema = new GraphQLSchema({
|
|
6071
|
-
* mutation: new GraphQLObjectType({
|
|
6072
|
-
* name: "Mutation",
|
|
6073
|
-
* fields: {
|
|
6074
|
-
* uploadImage: {
|
|
6075
|
-
* description: "Uploads an image.",
|
|
6076
|
-
* type: GraphQLBoolean,
|
|
6077
|
-
* args: {
|
|
6078
|
-
* image: {
|
|
6079
|
-
* description: "Image file.",
|
|
6080
|
-
* type: GraphQLUpload,
|
|
6081
|
-
* },
|
|
6082
|
-
* },
|
|
6083
|
-
* async resolve(parent, { image }) {
|
|
6084
|
-
* const { filename, mimetype, createReadStream } = await image;
|
|
6085
|
-
* const stream = createReadStream();
|
|
6086
|
-
* // Promisify the stream and store the file, then…
|
|
6087
|
-
* return true;
|
|
6088
|
-
* },
|
|
6089
|
-
* },
|
|
6090
|
-
* },
|
|
6091
|
-
* }),
|
|
6092
|
-
* });
|
|
6093
|
-
* ```
|
|
6094
|
-
* @example
|
|
6095
|
-
* In a [TypeScript](https://typescriptlang.org) module, how to import the type
|
|
6096
|
-
* for the {@link FileUpload file upload details} that the
|
|
6097
|
-
* {@linkcode GraphQLUpload} scalar resolver value promise resolves:
|
|
6098
|
-
*
|
|
6099
|
-
* ```ts
|
|
6100
|
-
* import type { FileUpload } from "graphql-upload/processRequest.mjs";
|
|
6101
|
-
* ```
|
|
6102
|
-
*/
|
|
6103
|
-
const GraphQLUpload = new GraphQLScalarType({
|
|
6104
|
-
name: "Upload",
|
|
6105
|
-
description: "The `Upload` scalar type represents a file upload.",
|
|
6106
|
-
parseValue(value) {
|
|
6107
|
-
if (value instanceof Upload) return value.promise;
|
|
6108
|
-
throw new GraphQLError("Upload value invalid.");
|
|
6109
|
-
},
|
|
6110
|
-
parseLiteral(node) {
|
|
6111
|
-
throw new GraphQLError("Upload literal unsupported.", { nodes: node });
|
|
6112
|
-
},
|
|
6113
|
-
serialize() {
|
|
6114
|
-
throw new GraphQLError("Upload serialization unsupported.");
|
|
6115
|
-
}
|
|
6116
|
-
});
|
|
6117
|
-
//#endregion
|
|
6118
|
-
//#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_75e28b6ec666f63b132a491ff3a6fdf7/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/File.js
|
|
6119
|
-
var File_exports = /* @__PURE__ */ __exportAll({
|
|
6120
|
-
config: () => config,
|
|
6121
|
-
scalar: () => scalar,
|
|
6122
|
-
stringSchema: () => stringSchema,
|
|
6123
|
-
type: () => type,
|
|
6124
|
-
typedef: () => typedef
|
|
6125
|
-
});
|
|
6126
|
-
const type = "File";
|
|
6127
|
-
const typedef = "scalar Upload";
|
|
6128
|
-
const config = {
|
|
6129
|
-
name: "Upload",
|
|
6130
|
-
description: "A custom scalar that represents a file upload"
|
|
6131
|
-
};
|
|
6132
|
-
const stringSchema = "z.any()";
|
|
6133
|
-
const scalar = GraphQLUpload;
|
|
6134
|
-
//#endregion
|
|
6135
|
-
//#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_75e28b6ec666f63b132a491ff3a6fdf7/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/scalars.js
|
|
6136
|
-
const customScalars = {
|
|
6137
|
-
Amount: Amount_exports,
|
|
6138
|
-
AmountCrypto: AmountCrypto_exports,
|
|
6139
|
-
AmountCurrency: AmountCurrency_exports,
|
|
6140
|
-
AmountFiat: AmountFiat_exports,
|
|
6141
|
-
AmountMoney: AmountMoney_exports,
|
|
6142
|
-
AmountPercentage: AmountPercentage_exports,
|
|
6143
|
-
AmountTokens: AmountTokens_exports,
|
|
6144
|
-
Currency: Currency_exports,
|
|
6145
|
-
DateScalar: Date_exports,
|
|
6146
|
-
DateTime: DateTime_exports,
|
|
6147
|
-
EmailAddress: EmailAddress_exports,
|
|
6148
|
-
EthereumAddress: EthereumAddress_exports,
|
|
6149
|
-
File: File_exports,
|
|
6150
|
-
OID: OID_exports,
|
|
6151
|
-
OLabel: OLabel_exports,
|
|
6152
|
-
PHID: PHID_exports,
|
|
6153
|
-
URLScalar: URL_exports
|
|
6154
|
-
};
|
|
6155
|
-
const typeDefs = [
|
|
6156
|
-
typedef$10,
|
|
6157
|
-
typedef$5,
|
|
6158
|
-
typedef$11,
|
|
6159
|
-
typedef$6,
|
|
6160
|
-
typedef$8,
|
|
6161
|
-
typedef$7,
|
|
6162
|
-
typedef$1,
|
|
6163
|
-
typedef$12,
|
|
6164
|
-
typedef$3,
|
|
6165
|
-
typedef$9,
|
|
6166
|
-
typedef$2,
|
|
6167
|
-
typedef$4,
|
|
6168
|
-
typedef$13,
|
|
6169
|
-
typedef$14,
|
|
6170
|
-
typedef$15,
|
|
6171
|
-
typedef$16,
|
|
6172
|
-
typedef
|
|
6173
|
-
];
|
|
6174
|
-
config$10.name, config$5.name, config$6.name, config$11.name, config$8.name, config$7.name, config$1.name, config$12.name, config$3.name, config$9.name, config$2.name, config$4.name, config$13.name, config$14.name, config$15.name, config$16.name, config.name;
|
|
6175
|
-
config$10.name, config$5.name, config$6.name, config$11.name, config$8.name, config$7.name, config$1.name, config$12.name, config$3.name, config$9.name, config$2.name, config$4.name, config$13.name, config$14.name, config$15.name, config$16.name, config.name;
|
|
6176
|
-
//#endregion
|
|
6177
6046
|
//#region editors/document-model-editor/constants/documents.ts
|
|
6178
6047
|
const hiddenQueryTypeDefDoc = `type Query {
|
|
6179
6048
|
_hidden: String
|
|
@@ -6183,6 +6052,6 @@ const typeDefsDoc = typeDefs.join("\n");
|
|
|
6183
6052
|
const initialSchemaStr = printSchema(buildSchema(`${hiddenQueryTypeDefDoc}\n${typeDefsDoc}`));
|
|
6184
6053
|
const updateTimeout = 5e3;
|
|
6185
6054
|
//#endregion
|
|
6186
|
-
export {
|
|
6055
|
+
export { getNullableType as $, GraphQLSchema as A, GraphQLString as B, LoneSchemaDefinitionRule as C, FragmentsOnCompositeTypesRule as D, KnownDirectivesRule as E, isSpecifiedDirective as F, GraphQLInterfaceType as G, doTypesOverlap as H, GraphQLBoolean as I, GraphQLObjectType as J, GraphQLList as K, GraphQLFloat as L, TypeMetaFieldDef as M, TypeNameMetaFieldDef as N, ExecutableDefinitionsRule as O, GraphQLDirective as P, getNamedType as Q, GraphQLID as R, NoUnusedFragmentsRule as S, KnownFragmentNamesRule as T, GraphQLEnumType as U, isSpecifiedScalarType as V, GraphQLInputObjectType as W, GraphQLUnionType as X, GraphQLScalarType as Y, assertAbstractType as Z, UniqueDirectiveNamesRule as _, printSchema as a, isInterfaceType as at, ProvidedRequiredArgumentsRule as b, validate as c, isNamedType as ct, UniqueTypeNamesRule as d, isOutputType as dt, isAbstractType as et, UniqueOperationTypesRule as f, isScalarType as ft, UniqueDirectivesPerLocationRule as g, visit as gt, UniqueEnumValueNamesRule as h, BREAK as ht, updateTimeout as i, isInputType as it, SchemaMetaFieldDef as j, validateSchema as k, specifiedRules as l, isNonNullType as lt, UniqueFieldDefinitionNamesRule as m, print as mt, initialSchemaStr as n, isEnumType as nt, buildASTSchema as o, isLeafType as ot, UniqueInputFieldNamesRule as p, isUnionType as pt, GraphQLNonNull as q, typeDefsDoc as r, isInputObjectType as rt, buildSchema as s, isListType as st, hiddenQueryTypeDefDoc as t, isCompositeType as tt, UniqueVariableNamesRule as u, isObjectType as ut, UniqueArgumentNamesRule as v, KnownTypeNamesRule as w, PossibleTypeExtensionsRule as x, getVariableValues as y, GraphQLInt as z };
|
|
6187
6056
|
|
|
6188
|
-
//# sourceMappingURL=documents-
|
|
6057
|
+
//# sourceMappingURL=documents-C-lAnv6o.js.map
|