@powerhousedao/powerhouse-vetra-packages 6.2.2-dev.37 → 6.2.2-dev.38

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.
Files changed (77) hide show
  1. package/dist/browser/assets/{entry-Ce0yKpq-.js → entry-Db_lIhQq.js} +2 -2
  2. package/dist/browser/assets/{projection-entry-DwOOK_h_.js → projection-entry-DqgHaUSy.js} +4 -4
  3. package/dist/browser/{connect-Bo9VhPiW.js → connect-BUnNjGUW.js} +4 -4
  4. package/dist/browser/{connect-Bo9VhPiW.js.map → connect-BUnNjGUW.js.map} +1 -1
  5. package/dist/browser/{dist-CjTPkGv0.js → dist-BatmWBzA.js} +10 -5
  6. package/dist/browser/dist-BatmWBzA.js.map +1 -0
  7. package/dist/browser/{document-drive-7ZETDjDW.js → document-drive-D3Z9vXTQ.js} +215 -15
  8. package/dist/browser/document-drive-D3Z9vXTQ.js.map +1 -0
  9. package/dist/browser/document-models/index.js +1 -1
  10. package/dist/browser/{documents-j_qy61X1.js → documents-J_l59mSV.js} +19 -19
  11. package/dist/browser/{documents-j_qy61X1.js.map → documents-J_l59mSV.js.map} +1 -1
  12. package/dist/browser/{editor-DdXTn8Bb.js → editor-BLeFoOh6.js} +5 -5
  13. package/dist/browser/{editor-DdXTn8Bb.js.map → editor-BLeFoOh6.js.map} +1 -1
  14. package/dist/browser/{editor-BMcvrau8.js → editor-Bn6uXvxG.js} +8 -8
  15. package/dist/browser/{editor-BMcvrau8.js.map → editor-Bn6uXvxG.js.map} +1 -1
  16. package/dist/browser/editors/document-model-editor/module.js +1 -1
  17. package/dist/browser/editors/generic-drive-explorer/index.js +10 -10
  18. package/dist/browser/editors/generic-drive-explorer/index.js.map +1 -1
  19. package/dist/browser/editors/generic-drive-explorer/module.js +1 -1
  20. package/dist/browser/{folder-view-NvF6blmO.js → folder-view-DNzFnfW2.js} +3 -3
  21. package/dist/browser/{folder-view-NvF6blmO.js.map → folder-view-DNzFnfW2.js.map} +1 -1
  22. package/dist/browser/{graphql-editor-DZ9dahN7.js → graphql-editor-DWo8N_z4.js} +6 -6
  23. package/dist/browser/{graphql-editor-DZ9dahN7.js.map → graphql-editor-DWo8N_z4.js.map} +1 -1
  24. package/dist/browser/{hooks-BgIeO-WG.js → hooks-KKcNp2X0.js} +2 -2
  25. package/dist/browser/{hooks-BgIeO-WG.js.map → hooks-KKcNp2X0.js.map} +1 -1
  26. package/dist/browser/index.js +2 -2
  27. package/dist/browser/{json-editor-CEONvejU.js → json-editor-CEugjpFj.js} +4 -4
  28. package/dist/browser/{json-editor-CEONvejU.js.map → json-editor-CEugjpFj.js.map} +1 -1
  29. package/dist/browser/{lib-7EHYE1Sh.js → lib-CiaHsAaR.js} +12 -2
  30. package/dist/browser/lib-CiaHsAaR.js.map +1 -0
  31. package/dist/browser/{linting-nOwKxGXw.js → linting-_AQWr8aE.js} +4 -4
  32. package/dist/browser/{linting-nOwKxGXw.js.map → linting-_AQWr8aE.js.map} +1 -1
  33. package/dist/browser/{schema-context-ClCYFYSx.js → schema-context-ZyeclQwy.js} +2 -2
  34. package/dist/browser/{schema-context-ClCYFYSx.js.map → schema-context-ZyeclQwy.js.map} +1 -1
  35. package/dist/browser/{state-schemas-B6pEyjjP.js → state-schemas-VrticHe4.js} +6 -6
  36. package/dist/browser/{state-schemas-B6pEyjjP.js.map → state-schemas-VrticHe4.js.map} +1 -1
  37. package/dist/node/{connect-DyNHqED-.mjs → connect-wMkkAckX.mjs} +4 -4
  38. package/dist/node/{connect-DyNHqED-.mjs.map → connect-wMkkAckX.mjs.map} +1 -1
  39. package/dist/node/{dist-CFNjGFP-.mjs → dist-CUHBOv3P.mjs} +10 -5
  40. package/dist/node/dist-CUHBOv3P.mjs.map +1 -0
  41. package/dist/node/{document-drive-BTZnoCCz.mjs → document-drive-CI0J7nMj.mjs} +215 -15
  42. package/dist/node/document-drive-CI0J7nMj.mjs.map +1 -0
  43. package/dist/node/document-models/index.mjs +1 -1
  44. package/dist/node/{documents-Bh_lxLTV.mjs → documents-DCf53bzO.mjs} +19 -19
  45. package/dist/node/{documents-Bh_lxLTV.mjs.map → documents-DCf53bzO.mjs.map} +1 -1
  46. package/dist/node/{editor-B21QNhzm.mjs → editor-Cr-mNQca.mjs} +8 -8
  47. package/dist/node/{editor-B21QNhzm.mjs.map → editor-Cr-mNQca.mjs.map} +1 -1
  48. package/dist/node/{editor-caNg0yOU.mjs → editor-aIeTo2EE.mjs} +5 -5
  49. package/dist/node/{editor-caNg0yOU.mjs.map → editor-aIeTo2EE.mjs.map} +1 -1
  50. package/dist/node/editors/document-model-editor/module.mjs +1 -1
  51. package/dist/node/editors/generic-drive-explorer/index.mjs +10 -10
  52. package/dist/node/editors/generic-drive-explorer/index.mjs.map +1 -1
  53. package/dist/node/editors/generic-drive-explorer/module.mjs +1 -1
  54. package/dist/node/{folder-view-C6auhJCh.mjs → folder-view-_x1OBYZN.mjs} +3 -3
  55. package/dist/node/{folder-view-C6auhJCh.mjs.map → folder-view-_x1OBYZN.mjs.map} +1 -1
  56. package/dist/node/{graphql-editor-De6sk7oj.mjs → graphql-editor-Dd2_z5QJ.mjs} +5 -5
  57. package/dist/node/{graphql-editor-De6sk7oj.mjs.map → graphql-editor-Dd2_z5QJ.mjs.map} +1 -1
  58. package/dist/node/{hooks-B7KF2A2g.mjs → hooks-D0DcS3MV.mjs} +2 -2
  59. package/dist/node/{hooks-B7KF2A2g.mjs.map → hooks-D0DcS3MV.mjs.map} +1 -1
  60. package/dist/node/index.mjs +2 -2
  61. package/dist/node/{json-editor-h2h_9Utl.mjs → json-editor-Dphg6ZeL.mjs} +4 -4
  62. package/dist/node/{json-editor-h2h_9Utl.mjs.map → json-editor-Dphg6ZeL.mjs.map} +1 -1
  63. package/dist/node/{linting-D6drcQHM.mjs → linting-BjvRPjCY.mjs} +4 -4
  64. package/dist/node/{linting-D6drcQHM.mjs.map → linting-BjvRPjCY.mjs.map} +1 -1
  65. package/dist/node/{main-CTGoYLka.mjs → main-Db0ei9wX.mjs} +12 -2
  66. package/dist/node/main-Db0ei9wX.mjs.map +1 -0
  67. package/dist/node/{schema-context-pefmG2VW.mjs → schema-context-DL8jhi_d.mjs} +2 -2
  68. package/dist/node/{schema-context-pefmG2VW.mjs.map → schema-context-DL8jhi_d.mjs.map} +1 -1
  69. package/dist/node/{state-schemas-CN2lpYg-.mjs → state-schemas-BSLgTw2O.mjs} +6 -6
  70. package/dist/node/{state-schemas-CN2lpYg-.mjs.map → state-schemas-BSLgTw2O.mjs.map} +1 -1
  71. package/package.json +6 -6
  72. package/dist/browser/dist-CjTPkGv0.js.map +0 -1
  73. package/dist/browser/document-drive-7ZETDjDW.js.map +0 -1
  74. package/dist/browser/lib-7EHYE1Sh.js.map +0 -1
  75. package/dist/node/dist-CFNjGFP-.mjs.map +0 -1
  76. package/dist/node/document-drive-BTZnoCCz.mjs.map +0 -1
  77. package/dist/node/main-CTGoYLka.mjs.map +0 -1
@@ -1,2 +1,2 @@
1
- import { d as documentModelDocumentModelModule, r as driveDocumentModelModule } from "../document-drive-BTZnoCCz.mjs";
1
+ import { d as documentModelDocumentModelModule, r as driveDocumentModelModule } from "../document-drive-CI0J7nMj.mjs";
2
2
  export { documentModelDocumentModelModule, driveDocumentModelModule };
@@ -1,6 +1,6 @@
1
1
  import { C as datetime, d as email, h as object, k as __exportAll, m as number, v as string, x as url } from "./dist-DT7jI9ol.mjs";
2
2
  import { t as require_graphql } from "./graphql-BfAoPeWM.mjs";
3
- //#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/Amount.js
3
+ //#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
4
4
  var Amount_exports = /* @__PURE__ */ __exportAll({
5
5
  config: () => config$16,
6
6
  scalar: () => scalar$16,
@@ -42,7 +42,7 @@ const config$16 = {
42
42
  };
43
43
  const scalar$16 = new import_graphql.GraphQLScalarType(config$16);
44
44
  //#endregion
45
- //#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/AmountCrypto.js
45
+ //#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
46
46
  var AmountCrypto_exports = /* @__PURE__ */ __exportAll({
47
47
  NUMERIC_VALUE_REGEX: () => NUMERIC_VALUE_REGEX$1,
48
48
  config: () => config$15,
@@ -86,7 +86,7 @@ const config$15 = {
86
86
  };
87
87
  const scalar$15 = new import_graphql.GraphQLScalarType(config$15);
88
88
  //#endregion
89
- //#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/AmountCurrency.js
89
+ //#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
90
90
  var AmountCurrency_exports = /* @__PURE__ */ __exportAll({
91
91
  NUMERIC_VALUE_REGEX: () => NUMERIC_VALUE_REGEX,
92
92
  config: () => config$14,
@@ -130,7 +130,7 @@ const config$14 = {
130
130
  };
131
131
  const scalar$14 = new import_graphql.GraphQLScalarType(config$14);
132
132
  //#endregion
133
- //#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/AmountFiat.js
133
+ //#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
134
134
  var AmountFiat_exports = /* @__PURE__ */ __exportAll({
135
135
  config: () => config$13,
136
136
  scalar: () => scalar$13,
@@ -171,7 +171,7 @@ const config$13 = {
171
171
  };
172
172
  const scalar$13 = new import_graphql.GraphQLScalarType(config$13);
173
173
  //#endregion
174
- //#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/AmountMoney.js
174
+ //#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
175
175
  var AmountMoney_exports = /* @__PURE__ */ __exportAll({
176
176
  config: () => config$12,
177
177
  scalar: () => scalar$12,
@@ -203,7 +203,7 @@ const config$12 = {
203
203
  };
204
204
  const scalar$12 = new import_graphql.GraphQLScalarType(config$12);
205
205
  //#endregion
206
- //#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/AmountPercentage.js
206
+ //#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
207
207
  var AmountPercentage_exports = /* @__PURE__ */ __exportAll({
208
208
  config: () => config$11,
209
209
  scalar: () => scalar$11,
@@ -235,7 +235,7 @@ const config$11 = {
235
235
  };
236
236
  const scalar$11 = new import_graphql.GraphQLScalarType(config$11);
237
237
  //#endregion
238
- //#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/AmountTokens.js
238
+ //#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
239
239
  var AmountTokens_exports = /* @__PURE__ */ __exportAll({
240
240
  config: () => config$10,
241
241
  scalar: () => scalar$10,
@@ -267,7 +267,7 @@ const config$10 = {
267
267
  };
268
268
  const scalar$10 = new import_graphql.GraphQLScalarType(config$10);
269
269
  //#endregion
270
- //#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/Currency.js
270
+ //#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
271
271
  var Currency_exports = /* @__PURE__ */ __exportAll({
272
272
  config: () => config$9,
273
273
  scalar: () => scalar$9,
@@ -298,7 +298,7 @@ const config$9 = {
298
298
  };
299
299
  const scalar$9 = new import_graphql.GraphQLScalarType(config$9);
300
300
  //#endregion
301
- //#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/Date.js
301
+ //#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
302
302
  var Date_exports = /* @__PURE__ */ __exportAll({
303
303
  config: () => config$8,
304
304
  scalar: () => scalar$8,
@@ -329,7 +329,7 @@ const config$8 = {
329
329
  };
330
330
  const scalar$8 = new import_graphql.GraphQLScalarType(config$8);
331
331
  //#endregion
332
- //#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/DateTime.js
332
+ //#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
333
333
  var DateTime_exports = /* @__PURE__ */ __exportAll({
334
334
  config: () => config$7,
335
335
  scalar: () => scalar$7,
@@ -360,7 +360,7 @@ const config$7 = {
360
360
  };
361
361
  const scalar$7 = new import_graphql.GraphQLScalarType(config$7);
362
362
  //#endregion
363
- //#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/EmailAddress.js
363
+ //#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
364
364
  var EmailAddress_exports = /* @__PURE__ */ __exportAll({
365
365
  config: () => config$6,
366
366
  scalar: () => scalar$6,
@@ -391,7 +391,7 @@ const config$6 = {
391
391
  };
392
392
  const scalar$6 = new import_graphql.GraphQLScalarType(config$6);
393
393
  //#endregion
394
- //#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/EthereumAddress.js
394
+ //#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
395
395
  var EthereumAddress_exports = /* @__PURE__ */ __exportAll({
396
396
  config: () => config$5,
397
397
  scalar: () => scalar$5,
@@ -422,7 +422,7 @@ const config$5 = {
422
422
  };
423
423
  const scalar$5 = new import_graphql.GraphQLScalarType(config$5);
424
424
  //#endregion
425
- //#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/OID.js
425
+ //#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
426
426
  var OID_exports = /* @__PURE__ */ __exportAll({
427
427
  config: () => config$4,
428
428
  scalar: () => scalar$4,
@@ -453,7 +453,7 @@ const config$4 = {
453
453
  };
454
454
  const scalar$4 = new import_graphql.GraphQLScalarType(config$4);
455
455
  //#endregion
456
- //#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/OLabel.js
456
+ //#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
457
457
  var OLabel_exports = /* @__PURE__ */ __exportAll({
458
458
  config: () => config$3,
459
459
  scalar: () => scalar$3,
@@ -484,7 +484,7 @@ const config$3 = {
484
484
  };
485
485
  const scalar$3 = new import_graphql.GraphQLScalarType(config$3);
486
486
  //#endregion
487
- //#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/PHID.js
487
+ //#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
488
488
  var PHID_exports = /* @__PURE__ */ __exportAll({
489
489
  config: () => config$2,
490
490
  scalar: () => scalar$2,
@@ -515,7 +515,7 @@ const config$2 = {
515
515
  };
516
516
  const scalar$2 = new import_graphql.GraphQLScalarType(config$2);
517
517
  //#endregion
518
- //#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/URL.js
518
+ //#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
519
519
  var URL_exports = /* @__PURE__ */ __exportAll({
520
520
  config: () => config$1,
521
521
  scalar: () => scalar$1,
@@ -672,7 +672,7 @@ const GraphQLUpload = new import_graphql.GraphQLScalarType({
672
672
  }
673
673
  });
674
674
  //#endregion
675
- //#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/File.js
675
+ //#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
676
676
  var File_exports = /* @__PURE__ */ __exportAll({
677
677
  config: () => config,
678
678
  scalar: () => scalar,
@@ -689,7 +689,7 @@ const config = {
689
689
  const stringSchema = "z.any()";
690
690
  const scalar = GraphQLUpload;
691
691
  //#endregion
692
- //#region ../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/scalars.js
692
+ //#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
693
693
  const customScalars = {
694
694
  Amount: Amount_exports,
695
695
  AmountCrypto: AmountCrypto_exports,
@@ -744,4 +744,4 @@ const updateTimeout = 5e3;
744
744
  //#endregion
745
745
  export { customScalars as a, updateTimeout as i, initialSchemaStr as n, typeDefsDoc as r, hiddenQueryTypeDefDoc as t };
746
746
 
747
- //# sourceMappingURL=documents-Bh_lxLTV.mjs.map
747
+ //# sourceMappingURL=documents-DCf53bzO.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"documents-Bh_lxLTV.mjs","names":["type","typedef","schema","z.object","z.string","z.number","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","NUMERIC_VALUE_REGEX","type","typedef","schema","z.object","z.string","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.object","z.string","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.object","z.string","z.number","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.number","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.number","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.number","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.string","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.iso.datetime","stringSchema","datetimeValidation","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.iso.datetime","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.email","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.string","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.string","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.string","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.string","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","z.url","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","GraphQLScalarType","GraphQLError","AmountTokens.scalar","EthereumAddress.scalar","AmountPercentage.scalar","EmailAddress.scalar","DateScalar.scalar","DateTime.scalar","URLScalar.scalar","AmountMoney.scalar","OLabel.scalar","Currency.scalar","PHID.scalar","OID.scalar","AmountFiat.scalar","AmountCurrency.scalar","AmountCrypto.scalar","Amount.scalar","File.scalar","AmountTokens.typedef","EthereumAddress.typedef","AmountPercentage.typedef","EmailAddress.typedef","DateScalar.typedef","DateTime.typedef","URLScalar.typedef","AmountMoney.typedef","OLabel.typedef","Currency.typedef","PHID.typedef","OID.typedef","AmountFiat.typedef","AmountCurrency.typedef","AmountCrypto.typedef","Amount.typedef","File.typedef","AmountTokens.type","EthereumAddress.type","EmailAddress.type","AmountPercentage.type","DateScalar.type","DateTime.type","URLScalar.type","AmountMoney.type","OLabel.type","Currency.type","PHID.type","OID.type","AmountFiat.type","AmountCurrency.type","AmountCrypto.type","Amount.type","File.type","AmountTokens.stringSchema","EthereumAddress.stringSchema","EmailAddress.stringSchema","AmountPercentage.stringSchema","DateScalar.stringSchema","DateTime.stringSchema","URLScalar.stringSchema","AmountMoney.stringSchema","OLabel.stringSchema","Currency.stringSchema","PHID.stringSchema","OID.stringSchema","AmountFiat.stringSchema","AmountCurrency.stringSchema","AmountCrypto.stringSchema","Amount.stringSchema","File.stringSchema"],"sources":["../../../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/Amount.js","../../../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/AmountCrypto.js","../../../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/AmountCurrency.js","../../../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/AmountFiat.js","../../../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/AmountMoney.js","../../../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/AmountPercentage.js","../../../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/AmountTokens.js","../../../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/Currency.js","../../../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/Date.js","../../../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/DateTime.js","../../../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/EmailAddress.js","../../../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/EthereumAddress.js","../../../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/OID.js","../../../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/OLabel.js","../../../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/PHID.js","../../../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/URL.js","../../../../node_modules/.pnpm/graphql-upload@17.0.0_@types+express@4.17.25_graphql@16.12.0/node_modules/graphql-upload/Upload.mjs","../../../../node_modules/.pnpm/graphql-upload@17.0.0_@types+express@4.17.25_graphql@16.12.0/node_modules/graphql-upload/GraphQLUpload.mjs","../../../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/File.js","../../../../node_modules/.pnpm/@powerhousedao+document-engineering@1.40.5_@types+express@4.17.25_@types+react-dom@19.2_965028faaf11bd5139d5bd8ec0711eff/node_modules/@powerhousedao/document-engineering/dist/src/scalars/graphql/scalars.js","../../editors/document-model-editor/constants/documents.ts"],"sourcesContent":["import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = '{ unit?: string, value?: number }';\nexport const typedef = 'scalar Amount';\nexport const schema = z.object({\n unit: z.string().optional(),\n value: z.number().finite(),\n});\nexport const stringSchema = 'z.object({ unit: z.string().optional(), value: z.number().finite() })';\nconst amountValidation = (value) => {\n if (typeof value !== 'object' || !value) {\n throw new GraphQLError(`Invalid Amount value: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'Amount',\n description: 'A custom scalar that represents a currency amount with its currency type',\n serialize: amountValidation,\n parseValue: amountValidation,\n parseLiteral: (ast) => {\n if (ast.kind !== Kind.OBJECT) {\n throw new GraphQLError('Value must be an object', { nodes: ast });\n }\n const unitField = ast.fields.find((f) => f.name.value === 'unit');\n const valueField = ast.fields.find((f) => f.name.value === 'value');\n if (unitField && unitField.value.kind !== Kind.STRING) {\n throw new GraphQLError('unit must be a valid string value', {\n nodes: ast,\n });\n }\n if (!valueField || valueField.value.kind !== Kind.FLOAT) {\n throw new GraphQLError('value must be a valid float value', {\n nodes: ast,\n });\n }\n const value = {\n unit: unitField?.value?.value,\n value: parseFloat(valueField.value.value),\n };\n return amountValidation(value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=Amount.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const NUMERIC_VALUE_REGEX = /^\\d+(\\.\\d+)?$/;\nexport const type = '{ unit: string, value: string }';\nexport const typedef = 'scalar Amount_Crypto';\nexport const schema = z.object({\n unit: z.string(),\n value: z.string(),\n});\nexport const stringSchema = 'z.object({ unit: z.string(), value: z.string() })';\nconst amountCryptoValidation = (value) => {\n if (typeof value !== 'object' || !value) {\n throw new GraphQLError(`Invalid Amount Crypto value: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'Amount_Crypto',\n description: 'A custom scalar that represents a cryptocurrency amount with its currency type',\n serialize: amountCryptoValidation,\n parseValue: amountCryptoValidation,\n parseLiteral: (ast) => {\n if (ast.kind !== Kind.OBJECT) {\n throw new GraphQLError('Value must be an object', { nodes: ast });\n }\n const unitField = ast.fields.find((f) => f.name.value === 'unit');\n const valueField = ast.fields.find((f) => f.name.value === 'value');\n if (!unitField || unitField.value.kind !== Kind.STRING) {\n throw new GraphQLError('unit must be a valid string value', {\n nodes: ast,\n });\n }\n if (!valueField || valueField.value.kind !== Kind.STRING) {\n throw new GraphQLError('value must be a valid string value', {\n nodes: ast,\n });\n }\n if (!NUMERIC_VALUE_REGEX.test(valueField.value.value)) {\n throw new GraphQLError('value must be a valid numeric string (e.g., \"123\" or \"123.45\")', {\n nodes: ast,\n });\n }\n const value = {\n unit: unitField.value.value,\n value: valueField.value.value,\n };\n return amountCryptoValidation(value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=AmountCrypto.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const NUMERIC_VALUE_REGEX = /^\\d+(\\.\\d+)?$/;\nexport const type = '{ unit: string, value: string }';\nexport const typedef = 'scalar Amount_Currency';\nexport const schema = z.object({\n unit: z.string(),\n value: z.string(),\n});\nexport const stringSchema = 'z.object({ unit: z.string(), value: z.string()})';\nconst amountCurrencyValidation = (value) => {\n if (typeof value !== 'object' || !value) {\n throw new GraphQLError(`Invalid Amount Currency value: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'Amount_Currency',\n description: 'A custom scalar that represents a currency amount with its currency type',\n serialize: amountCurrencyValidation,\n parseValue: amountCurrencyValidation,\n parseLiteral: (ast) => {\n if (ast.kind !== Kind.OBJECT) {\n throw new GraphQLError('Value must be an object', { nodes: ast });\n }\n const unitField = ast.fields.find((f) => f.name.value === 'unit');\n const valueField = ast.fields.find((f) => f.name.value === 'value');\n if (!unitField || unitField.value.kind !== Kind.STRING) {\n throw new GraphQLError('unit must be a valid string value', {\n nodes: ast,\n });\n }\n if (!valueField || valueField.value.kind !== Kind.STRING) {\n throw new GraphQLError('value must be a valid string value', {\n nodes: ast,\n });\n }\n if (!NUMERIC_VALUE_REGEX.test(valueField.value.value)) {\n throw new GraphQLError('value must be a valid numeric string (e.g., \"123\" or \"123.45\")', {\n nodes: ast,\n });\n }\n const value = {\n unit: unitField.value.value,\n value: valueField.value.value,\n };\n return amountCurrencyValidation(value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=AmountCurrency.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = '{ unit: string, value: number }';\nexport const typedef = 'scalar Amount_Fiat';\nexport const schema = z.object({\n unit: z.string(),\n value: z.number().finite(),\n});\nexport const stringSchema = 'z.object({ unit: z.string(), value: z.number().finite() })';\nconst amountFiatValidation = (value) => {\n if (typeof value !== 'object' || !value) {\n throw new GraphQLError(`Invalid Amount Fiat value: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'Amount_Fiat',\n description: 'A custom scalar that represents a currency amount with its currency type',\n serialize: amountFiatValidation,\n parseValue: amountFiatValidation,\n parseLiteral: (ast) => {\n if (ast.kind !== Kind.OBJECT) {\n throw new GraphQLError('Value must be an object', { nodes: ast });\n }\n const unitField = ast.fields.find((f) => f.name.value === 'unit');\n const valueField = ast.fields.find((f) => f.name.value === 'value');\n if (!unitField || unitField.value.kind !== Kind.STRING) {\n throw new GraphQLError('unit must be a valid string value', {\n nodes: ast,\n });\n }\n if (!valueField || valueField.value.kind !== Kind.FLOAT) {\n throw new GraphQLError('value must be a valid float value', {\n nodes: ast,\n });\n }\n const value = {\n unit: unitField.value.value,\n value: parseFloat(valueField.value.value),\n };\n return amountFiatValidation(value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=AmountFiat.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'number'; // TS type in string form, update this accordingly\nexport const typedef = 'scalar Amount_Money';\nexport const schema = z.number(); // Update this code accordingly\nexport const stringSchema = 'z.number()'; // Update this code accordingly\nconst amountMoneyValidation = (value) => {\n if (typeof value !== 'number') {\n throw new GraphQLError(`Value is not number: ${JSON.stringify(value)}`);\n }\n if (!Number.isFinite(value)) {\n throw new GraphQLError(`Value is not a finite number: ${value}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'Amount_Money',\n description: 'A custom scalar that represents a monetary amount in a currency',\n serialize: amountMoneyValidation,\n parseValue: amountMoneyValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.FLOAT) {\n throw new GraphQLError('Value is not a float type', {\n nodes: value,\n });\n }\n const parsedValue = parseFloat(value.value);\n return amountMoneyValidation(parsedValue);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=AmountMoney.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'number'; // TS type in string form, update this accordingly\nexport const typedef = 'scalar Amount_Percentage';\nexport const schema = z.number(); // Update this code accordingly\nexport const stringSchema = 'z.number()'; // Update this code accordingly\nconst amountPercentageValidation = (value) => {\n if (typeof value !== 'number') {\n throw new GraphQLError(`Value is not number: ${JSON.stringify(value)}`);\n }\n if (!Number.isFinite(value)) {\n throw new GraphQLError(`Value is not a finite number: ${value}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'Amount_Percentage',\n description: '',\n serialize: amountPercentageValidation,\n parseValue: amountPercentageValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.FLOAT) {\n throw new GraphQLError('some error message', { nodes: value });\n }\n const parsedValue = parseFloat(value.value);\n return amountPercentageValidation(parsedValue);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=AmountPercentage.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'number';\nexport const typedef = 'scalar Amount_Tokens';\nexport const schema = z.number();\nexport const stringSchema = 'z.number()';\nconst amountTokensValidation = (value) => {\n if (typeof value !== 'number') {\n throw new GraphQLError(`Value is not number: ${JSON.stringify(value)}`);\n }\n if (!Number.isFinite(value)) {\n throw new GraphQLError(`Value is not a finite number: ${value}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'Amount_Tokens',\n description: 'A custom scalar that represents an amount of tokens',\n serialize: amountTokensValidation,\n parseValue: amountTokensValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.FLOAT) {\n throw new GraphQLError('some error message', { nodes: value });\n }\n const parsedValue = parseFloat(value.value);\n return amountTokensValidation(parsedValue);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=AmountTokens.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'string';\nexport const typedef = 'scalar Currency';\nexport const schema = z.string();\nexport const stringSchema = 'z.string()';\nconst currencyValidation = (value) => {\n if (typeof value !== 'string') {\n throw new GraphQLError(`Value is not string: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'Currency',\n description: 'A custom scalar that represents a Currency Code string',\n serialize: currencyValidation,\n parseValue: currencyValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.STRING) {\n throw new GraphQLError(`Value is not a valid string: ${value.kind}`, {\n nodes: value,\n });\n }\n return currencyValidation(value.value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=Currency.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'string';\nexport const typedef = 'scalar Date';\nexport const schema = z.iso.datetime();\nexport const stringSchema = 'z.iso.datetime()';\nconst datetimeValidation = (value) => {\n if (typeof value !== 'string') {\n throw new GraphQLError(`Value is not iso string: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'Date',\n description: 'A custom scalar that represents a datetime in ISO 8601 format (Time: 00:00:00)',\n serialize: datetimeValidation,\n parseValue: datetimeValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.STRING) {\n throw new GraphQLError('Value is not an string', { nodes: value });\n }\n return datetimeValidation(value.value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=Date.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'string';\nexport const typedef = 'scalar DateTime';\nexport const schema = z.iso.datetime();\nexport const stringSchema = 'z.iso.datetime()';\nconst datetimeValidation = (value) => {\n if (typeof value !== 'string') {\n throw new GraphQLError(`Value is not iso string: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'DateTime',\n description: 'A custom scalar that represents a datetime in ISO 8601 format',\n serialize: datetimeValidation,\n parseValue: datetimeValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.STRING) {\n throw new GraphQLError('Value is not an string', { nodes: value });\n }\n return datetimeValidation(value.value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=DateTime.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'string'; // TS type in string form\nexport const typedef = 'scalar EmailAddress';\nexport const schema = z.email();\nexport const stringSchema = 'z.email()';\nconst emailValidation = (value) => {\n if (typeof value !== 'string') {\n throw new GraphQLError(`Value is not string: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'EmailAddress',\n description: 'A field whose value conforms to the standard internet email address format as specified in RFC822: https://www.w3.org/Protocols/rfc822/.',\n serialize: emailValidation,\n parseValue: emailValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.STRING) {\n throw new GraphQLError(`Can only validate strings as email addresses but got a: ${value.kind}`, { nodes: value });\n }\n return emailValidation(value.value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=EmailAddress.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'string';\nexport const typedef = 'scalar EthereumAddress';\nexport const schema = z.string().regex(/^0x[a-fA-F0-9]{40}$/, {\n message: 'Invalid Ethereum address format',\n});\nexport const stringSchema = \"z.string().regex(/^0x[a-fA-F0-9]{40}$/, { message: 'Invalid Ethereum address format' })\";\nconst addressValidation = (value) => {\n if (typeof value !== 'string') {\n throw new GraphQLError(`Value is not string: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'EthereumAddress',\n description: 'A custom scalar representing an Ethereum address, validated as a 42-character hexadecimal string prefixed with \"0x\"',\n serialize: addressValidation,\n parseValue: addressValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.STRING) {\n throw new GraphQLError('some error message', { nodes: value });\n }\n return addressValidation(value.value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=EthereumAddress.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'string';\nexport const typedef = 'scalar OID';\nexport const schema = z.string();\nexport const stringSchema = 'z.string()';\nconst oIdValidation = (value) => {\n if (typeof value !== 'string') {\n throw new GraphQLError(`Value is not string: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'OID',\n description: 'A custom scalar that represents a OID string',\n serialize: oIdValidation,\n parseValue: oIdValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.STRING) {\n throw new GraphQLError(`Value is not a valid string: ${value.kind}`, {\n nodes: value,\n });\n }\n return oIdValidation(value.value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=OID.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'string';\nexport const typedef = 'scalar OLabel';\nexport const schema = z.string();\nexport const stringSchema = 'z.string()';\nconst oLabelValidation = (value) => {\n if (typeof value !== 'string') {\n throw new GraphQLError(`Value is not string: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'OLabel',\n description: 'A custom scalar that represents a OLabel string',\n serialize: oLabelValidation,\n parseValue: oLabelValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.STRING) {\n throw new GraphQLError(`Value is not a valid string: ${value.kind}`, {\n nodes: value,\n });\n }\n return oLabelValidation(value.value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=OLabel.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'string';\nexport const typedef = 'scalar PHID';\nexport const schema = z.string();\nexport const stringSchema = 'z.string()';\nconst phidlValidation = (value) => {\n if (typeof value !== 'string') {\n throw new GraphQLError(`Value is not string: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'PHID',\n description: 'A custom scalar that represents a PowerhouseID string',\n serialize: phidlValidation,\n parseValue: phidlValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.STRING) {\n throw new GraphQLError(`Value is not a valid string: ${value.kind}`, {\n nodes: value,\n });\n }\n return phidlValidation(value.value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=PHID.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'string';\nexport const typedef = 'scalar URL';\nexport const schema = z.url();\nexport const stringSchema = 'z.url()';\nconst urlValidation = (value) => {\n if (typeof value !== 'string') {\n throw new GraphQLError(`Value is not iso string: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'URL',\n description: 'A custom scalar that represents a URL string',\n serialize: urlValidation,\n parseValue: urlValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.STRING) {\n throw new GraphQLError('Value is not an string', { nodes: value });\n }\n return urlValidation(value.value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=URL.js.map","// @ts-check\n\n/**\n * @import GraphQLUpload from \"./GraphQLUpload.mjs\"\n * @import processRequest, { FileUpload } from \"./processRequest.mjs\"\n */\n\n/**\n * A file expected to be uploaded as it was declared in the `map` field of a\n * [GraphQL multipart request](https://github.com/jaydenseric/graphql-multipart-request-spec).\n * The {@linkcode processRequest} function places references to an instance of\n * this class wherever the file is expected in the GraphQL operation. The scalar\n * {@linkcode GraphQLUpload} derives it’s value from {@linkcode Upload.promise}.\n */\nexport default class Upload {\n constructor() {\n /**\n * Promise that resolves file upload details. This should only be utilized\n * by {@linkcode GraphQLUpload}.\n * @type {Promise<FileUpload>}\n */\n this.promise = new Promise((resolve, reject) => {\n /**\n * Resolves the upload promise with the file upload details. This should\n * only be utilized by {@linkcode processRequest}.\n * @param {FileUpload} file File upload details.\n */\n this.resolve = (file) => {\n /**\n * The file upload details, available when the\n * {@linkcode Upload.promise} resolves. This should only be utilized by\n * {@linkcode processRequest}.\n * @type {FileUpload | undefined}\n */\n this.file = file;\n\n resolve(file);\n };\n\n /**\n * Rejects the upload promise with an error. This should only be\n * utilized by {@linkcode processRequest}.\n * @param {Error} error Error instance.\n */\n this.reject = reject;\n });\n\n // Prevent errors crashing Node.js, see:\n // https://github.com/nodejs/node/issues/20392\n this.promise.catch(() => {});\n }\n}\n","// @ts-check\n\nimport { GraphQLError, GraphQLScalarType } from \"graphql\";\n\nimport Upload from \"./Upload.mjs\";\n\n/** @typedef {import(\"./processRequest.mjs\").FileUpload} FileUpload */\n\n/**\n * A GraphQL scalar `Upload` that can be used in a\n * [`GraphQLSchema`](https://graphql.org/graphql-js/type/#graphqlschema). It’s\n * value in resolvers is a promise that resolves\n * {@link FileUpload file upload details} for processing and storage.\n * @example\n * A schema built using the function\n * [`makeExecutableSchema`](https://www.graphql-tools.com/docs/api/modules/schema_src#makeexecutableschema)\n * from [`@graphql-tools/schema`](https://npm.im/@graphql-tools/schema):\n *\n * ```js\n * import { makeExecutableSchema } from \"@graphql-tools/schema/makeExecutableSchema\";\n * import GraphQLUpload from \"graphql-upload/GraphQLUpload.mjs\";\n *\n * const schema = makeExecutableSchema({\n * typeDefs: `\n * scalar Upload\n * `,\n * resolvers: {\n * Upload: GraphQLUpload,\n * },\n * });\n * ```\n * @example\n * A manually constructed schema with an image upload mutation:\n *\n * ```js\n * import { GraphQLBoolean, GraphQLObjectType, GraphQLSchema } from \"graphql\";\n * import GraphQLUpload from \"graphql-upload/GraphQLUpload.mjs\";\n *\n * const schema = new GraphQLSchema({\n * mutation: new GraphQLObjectType({\n * name: \"Mutation\",\n * fields: {\n * uploadImage: {\n * description: \"Uploads an image.\",\n * type: GraphQLBoolean,\n * args: {\n * image: {\n * description: \"Image file.\",\n * type: GraphQLUpload,\n * },\n * },\n * async resolve(parent, { image }) {\n * const { filename, mimetype, createReadStream } = await image;\n * const stream = createReadStream();\n * // Promisify the stream and store the file, then…\n * return true;\n * },\n * },\n * },\n * }),\n * });\n * ```\n * @example\n * In a [TypeScript](https://typescriptlang.org) module, how to import the type\n * for the {@link FileUpload file upload details} that the\n * {@linkcode GraphQLUpload} scalar resolver value promise resolves:\n *\n * ```ts\n * import type { FileUpload } from \"graphql-upload/processRequest.mjs\";\n * ```\n */\nconst GraphQLUpload = new GraphQLScalarType({\n name: \"Upload\",\n description: \"The `Upload` scalar type represents a file upload.\",\n parseValue(value) {\n if (value instanceof Upload) return value.promise;\n throw new GraphQLError(\"Upload value invalid.\");\n },\n parseLiteral(node) {\n throw new GraphQLError(\"Upload literal unsupported.\", { nodes: node });\n },\n serialize() {\n throw new GraphQLError(\"Upload serialization unsupported.\");\n },\n});\n\nexport default GraphQLUpload;\n","import GraphQLUpload from 'graphql-upload/GraphQLUpload.mjs';\nexport const type = 'File';\nexport const typedef = 'scalar Upload';\nexport const config = {\n name: 'Upload',\n description: 'A custom scalar that represents a file upload',\n};\n// This export is required to satisfy the `validationSchema` generator\nexport const stringSchema = 'z.any()';\nexport const scalar = GraphQLUpload;\n//# sourceMappingURL=File.js.map","// namespace imports -- DO NOT REMOVE OR EDIT THIS COMMENT\nimport * as Amount from './Amount.js';\nimport * as AmountCrypto from './AmountCrypto.js';\nimport * as AmountCurrency from './AmountCurrency.js';\nimport * as AmountFiat from './AmountFiat.js';\nimport * as AmountMoney from './AmountMoney.js';\nimport * as AmountPercentage from './AmountPercentage.js';\nimport * as AmountTokens from './AmountTokens.js';\nimport * as Currency from './Currency.js';\nimport * as DateScalar from './Date.js';\nimport * as DateTime from './DateTime.js';\nimport * as EmailAddress from './EmailAddress.js';\nimport * as EthereumAddress from './EthereumAddress.js';\nimport * as OID from './OID.js';\nimport * as OLabel from './OLabel.js';\nimport * as PHID from './PHID.js';\nimport * as URLScalar from './URL.js';\nimport * as File from './File.js';\nexport { Amount, AmountCrypto, AmountCurrency, AmountFiat, AmountMoney, AmountPercentage, \n// export object -- DO NOT REMOVE OR EDIT THIS COMMENT\nAmountTokens, Currency, DateScalar, DateTime, EmailAddress, EthereumAddress, File, OID, OLabel, PHID, URLScalar, };\nexport const customScalars = {\n // @ts-expect-error - it works this way\n Amount,\n // @ts-expect-error - it works this way\n AmountCrypto,\n // @ts-expect-error - it works this way\n AmountCurrency,\n // @ts-expect-error - it works this way\n AmountFiat,\n AmountMoney,\n AmountPercentage,\n AmountTokens,\n Currency,\n DateScalar,\n DateTime,\n EmailAddress,\n EthereumAddress,\n // @ts-expect-error - it works this way\n File,\n OID,\n OLabel,\n PHID,\n URLScalar,\n};\nexport const resolvers = {\n // export resolvers -- DO NOT REMOVE OR EDIT THIS COMMENT\n AmountTokens: AmountTokens.scalar,\n EthereumAddress: EthereumAddress.scalar,\n AmountPercentage: AmountPercentage.scalar,\n EmailAddress: EmailAddress.scalar,\n Date: DateScalar.scalar,\n DateTime: DateTime.scalar,\n URL: URLScalar.scalar,\n AmountMoney: AmountMoney.scalar,\n OLabel: OLabel.scalar,\n Currency: Currency.scalar,\n PHID: PHID.scalar,\n OID: OID.scalar,\n AmountFiat: AmountFiat.scalar,\n AmountCurrency: AmountCurrency.scalar,\n AmountCrypto: AmountCrypto.scalar,\n Amount: Amount.scalar,\n Upload: File.scalar,\n};\nexport const typeDefs = [\n // export typedefs -- DO NOT REMOVE OR EDIT THIS COMMENT\n AmountTokens.typedef,\n EthereumAddress.typedef,\n AmountPercentage.typedef,\n EmailAddress.typedef,\n DateScalar.typedef,\n DateTime.typedef,\n URLScalar.typedef,\n AmountMoney.typedef,\n OLabel.typedef,\n Currency.typedef,\n PHID.typedef,\n OID.typedef,\n AmountFiat.typedef,\n AmountCurrency.typedef,\n AmountCrypto.typedef,\n Amount.typedef,\n File.typedef,\n];\nexport const generatorTypeDefs = {\n // export generator typedefs -- DO NOT REMOVE OR EDIT THIS COMMENT\n [AmountTokens.config.name]: AmountTokens.type,\n [EthereumAddress.config.name]: EthereumAddress.type,\n [EmailAddress.config.name]: EmailAddress.type,\n [AmountPercentage.config.name]: AmountPercentage.type,\n [DateScalar.config.name]: DateScalar.type,\n [DateTime.config.name]: DateTime.type,\n [URLScalar.config.name]: URLScalar.type,\n [AmountMoney.config.name]: AmountMoney.type,\n [OLabel.config.name]: OLabel.type,\n [Currency.config.name]: Currency.type,\n [PHID.config.name]: PHID.type,\n [OID.config.name]: OID.type,\n [AmountFiat.config.name]: AmountFiat.type,\n [AmountCurrency.config.name]: AmountCurrency.type,\n [AmountCrypto.config.name]: AmountCrypto.type,\n [Amount.config.name]: Amount.type,\n [File.config.name]: File.type,\n};\nexport const validationSchema = {\n // export validation schema -- DO NOT REMOVE OR EDIT THIS COMMENT\n [AmountTokens.config.name]: AmountTokens.stringSchema,\n [EthereumAddress.config.name]: EthereumAddress.stringSchema,\n [EmailAddress.config.name]: EmailAddress.stringSchema,\n [AmountPercentage.config.name]: AmountPercentage.stringSchema,\n [DateScalar.config.name]: DateScalar.stringSchema,\n [DateTime.config.name]: DateTime.stringSchema,\n [URLScalar.config.name]: URLScalar.stringSchema,\n [AmountMoney.config.name]: AmountMoney.stringSchema,\n [OLabel.config.name]: OLabel.stringSchema,\n [Currency.config.name]: Currency.stringSchema,\n [PHID.config.name]: PHID.stringSchema,\n [OID.config.name]: OID.stringSchema,\n [AmountFiat.config.name]: AmountFiat.stringSchema,\n [AmountCurrency.config.name]: AmountCurrency.stringSchema,\n [AmountCrypto.config.name]: AmountCrypto.stringSchema,\n [Amount.config.name]: Amount.stringSchema,\n [File.config.name]: File.stringSchema,\n};\n//# sourceMappingURL=scalars.js.map","import { typeDefs } from \"@powerhousedao/document-engineering/graphql\";\nimport { buildSchema, printSchema } from \"graphql\";\n\nexport const hiddenQueryTypeDefDoc = `type Query {\n _hidden: String\n}\n`;\n\nexport const typeDefsDoc = typeDefs.join(\"\\n\");\n\nexport const initialSchemaDoc = `${hiddenQueryTypeDefDoc}\\n${typeDefsDoc}`;\n\nexport const initialSchema = buildSchema(initialSchemaDoc);\nexport const initialSchemaStr = printSchema(initialSchema);\n\nexport const specialDocIds = {\n hiddenQueryTypeDef: \"hidden-query-type-defs\",\n standardLib: \"standard-lib\",\n global: \"global\",\n local: \"local\",\n} as const;\n\nexport const updateTimeout = 5000;\n"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19],"mappings":";;;;;;;;;;;;AAEA,MAAaA,UAAO;AACpB,MAAaC,aAAU;AACvB,MAAaC,YAASC,OAAS;CAC3B,MAAMC,QAAU,CAAC,UAAU;CAC3B,OAAOC,QAAU,CAAC,QAAQ;CAC7B,CAAC;AACF,MAAaC,kBAAe;AAC5B,MAAM,oBAAoB,UAAU;AAChC,KAAI,OAAO,UAAU,YAAY,CAAC,MAC9B,OAAM,IAAIC,eAAAA,aAAa,yBAAyB,KAAK,UAAU,MAAM,GAAG;CAE5E,MAAM,SAASL,UAAO,UAAU,MAAM;AACtC,KAAI,OAAO,QACP,QAAO,OAAO;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AAI;AAE7D,MAAa,iBAAA,GAAA,eAAA,aAA4B,iBAAiB;AAC1D,MAAa,oBAAA,GAAA,eAAA,aAA+B,cAAc;AAS1D,MAAa,gBAAgB"}
1
+ {"version":3,"file":"documents-DCf53bzO.mjs","names":["type","typedef","schema","z.object","z.string","z.number","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","NUMERIC_VALUE_REGEX","type","typedef","schema","z.object","z.string","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.object","z.string","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.object","z.string","z.number","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.number","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.number","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.number","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.string","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.iso.datetime","stringSchema","datetimeValidation","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.iso.datetime","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.email","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.string","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.string","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.string","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","schema","z.string","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","type","typedef","z.url","stringSchema","GraphQLError","config","Kind","scalar","GraphQLScalarType","GraphQLScalarType","GraphQLError","AmountTokens.scalar","EthereumAddress.scalar","AmountPercentage.scalar","EmailAddress.scalar","DateScalar.scalar","DateTime.scalar","URLScalar.scalar","AmountMoney.scalar","OLabel.scalar","Currency.scalar","PHID.scalar","OID.scalar","AmountFiat.scalar","AmountCurrency.scalar","AmountCrypto.scalar","Amount.scalar","File.scalar","AmountTokens.typedef","EthereumAddress.typedef","AmountPercentage.typedef","EmailAddress.typedef","DateScalar.typedef","DateTime.typedef","URLScalar.typedef","AmountMoney.typedef","OLabel.typedef","Currency.typedef","PHID.typedef","OID.typedef","AmountFiat.typedef","AmountCurrency.typedef","AmountCrypto.typedef","Amount.typedef","File.typedef","AmountTokens.type","EthereumAddress.type","EmailAddress.type","AmountPercentage.type","DateScalar.type","DateTime.type","URLScalar.type","AmountMoney.type","OLabel.type","Currency.type","PHID.type","OID.type","AmountFiat.type","AmountCurrency.type","AmountCrypto.type","Amount.type","File.type","AmountTokens.stringSchema","EthereumAddress.stringSchema","EmailAddress.stringSchema","AmountPercentage.stringSchema","DateScalar.stringSchema","DateTime.stringSchema","URLScalar.stringSchema","AmountMoney.stringSchema","OLabel.stringSchema","Currency.stringSchema","PHID.stringSchema","OID.stringSchema","AmountFiat.stringSchema","AmountCurrency.stringSchema","AmountCrypto.stringSchema","Amount.stringSchema","File.stringSchema"],"sources":["../../../../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","../../../../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","../../../../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","../../../../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","../../../../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","../../../../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","../../../../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","../../../../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","../../../../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","../../../../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","../../../../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","../../../../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","../../../../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","../../../../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","../../../../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","../../../../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","../../../../node_modules/.pnpm/graphql-upload@17.0.0_@types+express@4.17.25_graphql@16.12.0/node_modules/graphql-upload/Upload.mjs","../../../../node_modules/.pnpm/graphql-upload@17.0.0_@types+express@4.17.25_graphql@16.12.0/node_modules/graphql-upload/GraphQLUpload.mjs","../../../../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","../../../../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","../../editors/document-model-editor/constants/documents.ts"],"sourcesContent":["import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = '{ unit?: string, value?: number }';\nexport const typedef = 'scalar Amount';\nexport const schema = z.object({\n unit: z.string().optional(),\n value: z.number().finite(),\n});\nexport const stringSchema = 'z.object({ unit: z.string().optional(), value: z.number().finite() })';\nconst amountValidation = (value) => {\n if (typeof value !== 'object' || !value) {\n throw new GraphQLError(`Invalid Amount value: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'Amount',\n description: 'A custom scalar that represents a currency amount with its currency type',\n serialize: amountValidation,\n parseValue: amountValidation,\n parseLiteral: (ast) => {\n if (ast.kind !== Kind.OBJECT) {\n throw new GraphQLError('Value must be an object', { nodes: ast });\n }\n const unitField = ast.fields.find((f) => f.name.value === 'unit');\n const valueField = ast.fields.find((f) => f.name.value === 'value');\n if (unitField && unitField.value.kind !== Kind.STRING) {\n throw new GraphQLError('unit must be a valid string value', {\n nodes: ast,\n });\n }\n if (!valueField || valueField.value.kind !== Kind.FLOAT) {\n throw new GraphQLError('value must be a valid float value', {\n nodes: ast,\n });\n }\n const value = {\n unit: unitField?.value?.value,\n value: parseFloat(valueField.value.value),\n };\n return amountValidation(value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=Amount.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const NUMERIC_VALUE_REGEX = /^\\d+(\\.\\d+)?$/;\nexport const type = '{ unit: string, value: string }';\nexport const typedef = 'scalar Amount_Crypto';\nexport const schema = z.object({\n unit: z.string(),\n value: z.string(),\n});\nexport const stringSchema = 'z.object({ unit: z.string(), value: z.string() })';\nconst amountCryptoValidation = (value) => {\n if (typeof value !== 'object' || !value) {\n throw new GraphQLError(`Invalid Amount Crypto value: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'Amount_Crypto',\n description: 'A custom scalar that represents a cryptocurrency amount with its currency type',\n serialize: amountCryptoValidation,\n parseValue: amountCryptoValidation,\n parseLiteral: (ast) => {\n if (ast.kind !== Kind.OBJECT) {\n throw new GraphQLError('Value must be an object', { nodes: ast });\n }\n const unitField = ast.fields.find((f) => f.name.value === 'unit');\n const valueField = ast.fields.find((f) => f.name.value === 'value');\n if (!unitField || unitField.value.kind !== Kind.STRING) {\n throw new GraphQLError('unit must be a valid string value', {\n nodes: ast,\n });\n }\n if (!valueField || valueField.value.kind !== Kind.STRING) {\n throw new GraphQLError('value must be a valid string value', {\n nodes: ast,\n });\n }\n if (!NUMERIC_VALUE_REGEX.test(valueField.value.value)) {\n throw new GraphQLError('value must be a valid numeric string (e.g., \"123\" or \"123.45\")', {\n nodes: ast,\n });\n }\n const value = {\n unit: unitField.value.value,\n value: valueField.value.value,\n };\n return amountCryptoValidation(value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=AmountCrypto.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const NUMERIC_VALUE_REGEX = /^\\d+(\\.\\d+)?$/;\nexport const type = '{ unit: string, value: string }';\nexport const typedef = 'scalar Amount_Currency';\nexport const schema = z.object({\n unit: z.string(),\n value: z.string(),\n});\nexport const stringSchema = 'z.object({ unit: z.string(), value: z.string()})';\nconst amountCurrencyValidation = (value) => {\n if (typeof value !== 'object' || !value) {\n throw new GraphQLError(`Invalid Amount Currency value: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'Amount_Currency',\n description: 'A custom scalar that represents a currency amount with its currency type',\n serialize: amountCurrencyValidation,\n parseValue: amountCurrencyValidation,\n parseLiteral: (ast) => {\n if (ast.kind !== Kind.OBJECT) {\n throw new GraphQLError('Value must be an object', { nodes: ast });\n }\n const unitField = ast.fields.find((f) => f.name.value === 'unit');\n const valueField = ast.fields.find((f) => f.name.value === 'value');\n if (!unitField || unitField.value.kind !== Kind.STRING) {\n throw new GraphQLError('unit must be a valid string value', {\n nodes: ast,\n });\n }\n if (!valueField || valueField.value.kind !== Kind.STRING) {\n throw new GraphQLError('value must be a valid string value', {\n nodes: ast,\n });\n }\n if (!NUMERIC_VALUE_REGEX.test(valueField.value.value)) {\n throw new GraphQLError('value must be a valid numeric string (e.g., \"123\" or \"123.45\")', {\n nodes: ast,\n });\n }\n const value = {\n unit: unitField.value.value,\n value: valueField.value.value,\n };\n return amountCurrencyValidation(value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=AmountCurrency.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = '{ unit: string, value: number }';\nexport const typedef = 'scalar Amount_Fiat';\nexport const schema = z.object({\n unit: z.string(),\n value: z.number().finite(),\n});\nexport const stringSchema = 'z.object({ unit: z.string(), value: z.number().finite() })';\nconst amountFiatValidation = (value) => {\n if (typeof value !== 'object' || !value) {\n throw new GraphQLError(`Invalid Amount Fiat value: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'Amount_Fiat',\n description: 'A custom scalar that represents a currency amount with its currency type',\n serialize: amountFiatValidation,\n parseValue: amountFiatValidation,\n parseLiteral: (ast) => {\n if (ast.kind !== Kind.OBJECT) {\n throw new GraphQLError('Value must be an object', { nodes: ast });\n }\n const unitField = ast.fields.find((f) => f.name.value === 'unit');\n const valueField = ast.fields.find((f) => f.name.value === 'value');\n if (!unitField || unitField.value.kind !== Kind.STRING) {\n throw new GraphQLError('unit must be a valid string value', {\n nodes: ast,\n });\n }\n if (!valueField || valueField.value.kind !== Kind.FLOAT) {\n throw new GraphQLError('value must be a valid float value', {\n nodes: ast,\n });\n }\n const value = {\n unit: unitField.value.value,\n value: parseFloat(valueField.value.value),\n };\n return amountFiatValidation(value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=AmountFiat.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'number'; // TS type in string form, update this accordingly\nexport const typedef = 'scalar Amount_Money';\nexport const schema = z.number(); // Update this code accordingly\nexport const stringSchema = 'z.number()'; // Update this code accordingly\nconst amountMoneyValidation = (value) => {\n if (typeof value !== 'number') {\n throw new GraphQLError(`Value is not number: ${JSON.stringify(value)}`);\n }\n if (!Number.isFinite(value)) {\n throw new GraphQLError(`Value is not a finite number: ${value}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'Amount_Money',\n description: 'A custom scalar that represents a monetary amount in a currency',\n serialize: amountMoneyValidation,\n parseValue: amountMoneyValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.FLOAT) {\n throw new GraphQLError('Value is not a float type', {\n nodes: value,\n });\n }\n const parsedValue = parseFloat(value.value);\n return amountMoneyValidation(parsedValue);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=AmountMoney.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'number'; // TS type in string form, update this accordingly\nexport const typedef = 'scalar Amount_Percentage';\nexport const schema = z.number(); // Update this code accordingly\nexport const stringSchema = 'z.number()'; // Update this code accordingly\nconst amountPercentageValidation = (value) => {\n if (typeof value !== 'number') {\n throw new GraphQLError(`Value is not number: ${JSON.stringify(value)}`);\n }\n if (!Number.isFinite(value)) {\n throw new GraphQLError(`Value is not a finite number: ${value}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'Amount_Percentage',\n description: '',\n serialize: amountPercentageValidation,\n parseValue: amountPercentageValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.FLOAT) {\n throw new GraphQLError('some error message', { nodes: value });\n }\n const parsedValue = parseFloat(value.value);\n return amountPercentageValidation(parsedValue);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=AmountPercentage.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'number';\nexport const typedef = 'scalar Amount_Tokens';\nexport const schema = z.number();\nexport const stringSchema = 'z.number()';\nconst amountTokensValidation = (value) => {\n if (typeof value !== 'number') {\n throw new GraphQLError(`Value is not number: ${JSON.stringify(value)}`);\n }\n if (!Number.isFinite(value)) {\n throw new GraphQLError(`Value is not a finite number: ${value}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'Amount_Tokens',\n description: 'A custom scalar that represents an amount of tokens',\n serialize: amountTokensValidation,\n parseValue: amountTokensValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.FLOAT) {\n throw new GraphQLError('some error message', { nodes: value });\n }\n const parsedValue = parseFloat(value.value);\n return amountTokensValidation(parsedValue);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=AmountTokens.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'string';\nexport const typedef = 'scalar Currency';\nexport const schema = z.string();\nexport const stringSchema = 'z.string()';\nconst currencyValidation = (value) => {\n if (typeof value !== 'string') {\n throw new GraphQLError(`Value is not string: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'Currency',\n description: 'A custom scalar that represents a Currency Code string',\n serialize: currencyValidation,\n parseValue: currencyValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.STRING) {\n throw new GraphQLError(`Value is not a valid string: ${value.kind}`, {\n nodes: value,\n });\n }\n return currencyValidation(value.value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=Currency.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'string';\nexport const typedef = 'scalar Date';\nexport const schema = z.iso.datetime();\nexport const stringSchema = 'z.iso.datetime()';\nconst datetimeValidation = (value) => {\n if (typeof value !== 'string') {\n throw new GraphQLError(`Value is not iso string: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'Date',\n description: 'A custom scalar that represents a datetime in ISO 8601 format (Time: 00:00:00)',\n serialize: datetimeValidation,\n parseValue: datetimeValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.STRING) {\n throw new GraphQLError('Value is not an string', { nodes: value });\n }\n return datetimeValidation(value.value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=Date.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'string';\nexport const typedef = 'scalar DateTime';\nexport const schema = z.iso.datetime();\nexport const stringSchema = 'z.iso.datetime()';\nconst datetimeValidation = (value) => {\n if (typeof value !== 'string') {\n throw new GraphQLError(`Value is not iso string: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'DateTime',\n description: 'A custom scalar that represents a datetime in ISO 8601 format',\n serialize: datetimeValidation,\n parseValue: datetimeValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.STRING) {\n throw new GraphQLError('Value is not an string', { nodes: value });\n }\n return datetimeValidation(value.value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=DateTime.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'string'; // TS type in string form\nexport const typedef = 'scalar EmailAddress';\nexport const schema = z.email();\nexport const stringSchema = 'z.email()';\nconst emailValidation = (value) => {\n if (typeof value !== 'string') {\n throw new GraphQLError(`Value is not string: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'EmailAddress',\n description: 'A field whose value conforms to the standard internet email address format as specified in RFC822: https://www.w3.org/Protocols/rfc822/.',\n serialize: emailValidation,\n parseValue: emailValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.STRING) {\n throw new GraphQLError(`Can only validate strings as email addresses but got a: ${value.kind}`, { nodes: value });\n }\n return emailValidation(value.value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=EmailAddress.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'string';\nexport const typedef = 'scalar EthereumAddress';\nexport const schema = z.string().regex(/^0x[a-fA-F0-9]{40}$/, {\n message: 'Invalid Ethereum address format',\n});\nexport const stringSchema = \"z.string().regex(/^0x[a-fA-F0-9]{40}$/, { message: 'Invalid Ethereum address format' })\";\nconst addressValidation = (value) => {\n if (typeof value !== 'string') {\n throw new GraphQLError(`Value is not string: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'EthereumAddress',\n description: 'A custom scalar representing an Ethereum address, validated as a 42-character hexadecimal string prefixed with \"0x\"',\n serialize: addressValidation,\n parseValue: addressValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.STRING) {\n throw new GraphQLError('some error message', { nodes: value });\n }\n return addressValidation(value.value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=EthereumAddress.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'string';\nexport const typedef = 'scalar OID';\nexport const schema = z.string();\nexport const stringSchema = 'z.string()';\nconst oIdValidation = (value) => {\n if (typeof value !== 'string') {\n throw new GraphQLError(`Value is not string: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'OID',\n description: 'A custom scalar that represents a OID string',\n serialize: oIdValidation,\n parseValue: oIdValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.STRING) {\n throw new GraphQLError(`Value is not a valid string: ${value.kind}`, {\n nodes: value,\n });\n }\n return oIdValidation(value.value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=OID.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'string';\nexport const typedef = 'scalar OLabel';\nexport const schema = z.string();\nexport const stringSchema = 'z.string()';\nconst oLabelValidation = (value) => {\n if (typeof value !== 'string') {\n throw new GraphQLError(`Value is not string: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'OLabel',\n description: 'A custom scalar that represents a OLabel string',\n serialize: oLabelValidation,\n parseValue: oLabelValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.STRING) {\n throw new GraphQLError(`Value is not a valid string: ${value.kind}`, {\n nodes: value,\n });\n }\n return oLabelValidation(value.value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=OLabel.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'string';\nexport const typedef = 'scalar PHID';\nexport const schema = z.string();\nexport const stringSchema = 'z.string()';\nconst phidlValidation = (value) => {\n if (typeof value !== 'string') {\n throw new GraphQLError(`Value is not string: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'PHID',\n description: 'A custom scalar that represents a PowerhouseID string',\n serialize: phidlValidation,\n parseValue: phidlValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.STRING) {\n throw new GraphQLError(`Value is not a valid string: ${value.kind}`, {\n nodes: value,\n });\n }\n return phidlValidation(value.value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=PHID.js.map","import { GraphQLError, GraphQLScalarType, Kind } from 'graphql';\nimport { z } from 'zod';\nexport const type = 'string';\nexport const typedef = 'scalar URL';\nexport const schema = z.url();\nexport const stringSchema = 'z.url()';\nconst urlValidation = (value) => {\n if (typeof value !== 'string') {\n throw new GraphQLError(`Value is not iso string: ${JSON.stringify(value)}`);\n }\n const result = schema.safeParse(value);\n if (result.success)\n return result.data;\n throw new GraphQLError(result.error.message);\n};\nexport const config = {\n name: 'URL',\n description: 'A custom scalar that represents a URL string',\n serialize: urlValidation,\n parseValue: urlValidation,\n parseLiteral: (value) => {\n if (value.kind !== Kind.STRING) {\n throw new GraphQLError('Value is not an string', { nodes: value });\n }\n return urlValidation(value.value);\n },\n};\nexport const scalar = new GraphQLScalarType(config);\n//# sourceMappingURL=URL.js.map","// @ts-check\n\n/**\n * @import GraphQLUpload from \"./GraphQLUpload.mjs\"\n * @import processRequest, { FileUpload } from \"./processRequest.mjs\"\n */\n\n/**\n * A file expected to be uploaded as it was declared in the `map` field of a\n * [GraphQL multipart request](https://github.com/jaydenseric/graphql-multipart-request-spec).\n * The {@linkcode processRequest} function places references to an instance of\n * this class wherever the file is expected in the GraphQL operation. The scalar\n * {@linkcode GraphQLUpload} derives it’s value from {@linkcode Upload.promise}.\n */\nexport default class Upload {\n constructor() {\n /**\n * Promise that resolves file upload details. This should only be utilized\n * by {@linkcode GraphQLUpload}.\n * @type {Promise<FileUpload>}\n */\n this.promise = new Promise((resolve, reject) => {\n /**\n * Resolves the upload promise with the file upload details. This should\n * only be utilized by {@linkcode processRequest}.\n * @param {FileUpload} file File upload details.\n */\n this.resolve = (file) => {\n /**\n * The file upload details, available when the\n * {@linkcode Upload.promise} resolves. This should only be utilized by\n * {@linkcode processRequest}.\n * @type {FileUpload | undefined}\n */\n this.file = file;\n\n resolve(file);\n };\n\n /**\n * Rejects the upload promise with an error. This should only be\n * utilized by {@linkcode processRequest}.\n * @param {Error} error Error instance.\n */\n this.reject = reject;\n });\n\n // Prevent errors crashing Node.js, see:\n // https://github.com/nodejs/node/issues/20392\n this.promise.catch(() => {});\n }\n}\n","// @ts-check\n\nimport { GraphQLError, GraphQLScalarType } from \"graphql\";\n\nimport Upload from \"./Upload.mjs\";\n\n/** @typedef {import(\"./processRequest.mjs\").FileUpload} FileUpload */\n\n/**\n * A GraphQL scalar `Upload` that can be used in a\n * [`GraphQLSchema`](https://graphql.org/graphql-js/type/#graphqlschema). It’s\n * value in resolvers is a promise that resolves\n * {@link FileUpload file upload details} for processing and storage.\n * @example\n * A schema built using the function\n * [`makeExecutableSchema`](https://www.graphql-tools.com/docs/api/modules/schema_src#makeexecutableschema)\n * from [`@graphql-tools/schema`](https://npm.im/@graphql-tools/schema):\n *\n * ```js\n * import { makeExecutableSchema } from \"@graphql-tools/schema/makeExecutableSchema\";\n * import GraphQLUpload from \"graphql-upload/GraphQLUpload.mjs\";\n *\n * const schema = makeExecutableSchema({\n * typeDefs: `\n * scalar Upload\n * `,\n * resolvers: {\n * Upload: GraphQLUpload,\n * },\n * });\n * ```\n * @example\n * A manually constructed schema with an image upload mutation:\n *\n * ```js\n * import { GraphQLBoolean, GraphQLObjectType, GraphQLSchema } from \"graphql\";\n * import GraphQLUpload from \"graphql-upload/GraphQLUpload.mjs\";\n *\n * const schema = new GraphQLSchema({\n * mutation: new GraphQLObjectType({\n * name: \"Mutation\",\n * fields: {\n * uploadImage: {\n * description: \"Uploads an image.\",\n * type: GraphQLBoolean,\n * args: {\n * image: {\n * description: \"Image file.\",\n * type: GraphQLUpload,\n * },\n * },\n * async resolve(parent, { image }) {\n * const { filename, mimetype, createReadStream } = await image;\n * const stream = createReadStream();\n * // Promisify the stream and store the file, then…\n * return true;\n * },\n * },\n * },\n * }),\n * });\n * ```\n * @example\n * In a [TypeScript](https://typescriptlang.org) module, how to import the type\n * for the {@link FileUpload file upload details} that the\n * {@linkcode GraphQLUpload} scalar resolver value promise resolves:\n *\n * ```ts\n * import type { FileUpload } from \"graphql-upload/processRequest.mjs\";\n * ```\n */\nconst GraphQLUpload = new GraphQLScalarType({\n name: \"Upload\",\n description: \"The `Upload` scalar type represents a file upload.\",\n parseValue(value) {\n if (value instanceof Upload) return value.promise;\n throw new GraphQLError(\"Upload value invalid.\");\n },\n parseLiteral(node) {\n throw new GraphQLError(\"Upload literal unsupported.\", { nodes: node });\n },\n serialize() {\n throw new GraphQLError(\"Upload serialization unsupported.\");\n },\n});\n\nexport default GraphQLUpload;\n","import GraphQLUpload from 'graphql-upload/GraphQLUpload.mjs';\nexport const type = 'File';\nexport const typedef = 'scalar Upload';\nexport const config = {\n name: 'Upload',\n description: 'A custom scalar that represents a file upload',\n};\n// This export is required to satisfy the `validationSchema` generator\nexport const stringSchema = 'z.any()';\nexport const scalar = GraphQLUpload;\n//# sourceMappingURL=File.js.map","// namespace imports -- DO NOT REMOVE OR EDIT THIS COMMENT\nimport * as Amount from './Amount.js';\nimport * as AmountCrypto from './AmountCrypto.js';\nimport * as AmountCurrency from './AmountCurrency.js';\nimport * as AmountFiat from './AmountFiat.js';\nimport * as AmountMoney from './AmountMoney.js';\nimport * as AmountPercentage from './AmountPercentage.js';\nimport * as AmountTokens from './AmountTokens.js';\nimport * as Currency from './Currency.js';\nimport * as DateScalar from './Date.js';\nimport * as DateTime from './DateTime.js';\nimport * as EmailAddress from './EmailAddress.js';\nimport * as EthereumAddress from './EthereumAddress.js';\nimport * as OID from './OID.js';\nimport * as OLabel from './OLabel.js';\nimport * as PHID from './PHID.js';\nimport * as URLScalar from './URL.js';\nimport * as File from './File.js';\nexport { Amount, AmountCrypto, AmountCurrency, AmountFiat, AmountMoney, AmountPercentage, \n// export object -- DO NOT REMOVE OR EDIT THIS COMMENT\nAmountTokens, Currency, DateScalar, DateTime, EmailAddress, EthereumAddress, File, OID, OLabel, PHID, URLScalar, };\nexport const customScalars = {\n // @ts-expect-error - it works this way\n Amount,\n // @ts-expect-error - it works this way\n AmountCrypto,\n // @ts-expect-error - it works this way\n AmountCurrency,\n // @ts-expect-error - it works this way\n AmountFiat,\n AmountMoney,\n AmountPercentage,\n AmountTokens,\n Currency,\n DateScalar,\n DateTime,\n EmailAddress,\n EthereumAddress,\n // @ts-expect-error - it works this way\n File,\n OID,\n OLabel,\n PHID,\n URLScalar,\n};\nexport const resolvers = {\n // export resolvers -- DO NOT REMOVE OR EDIT THIS COMMENT\n AmountTokens: AmountTokens.scalar,\n EthereumAddress: EthereumAddress.scalar,\n AmountPercentage: AmountPercentage.scalar,\n EmailAddress: EmailAddress.scalar,\n Date: DateScalar.scalar,\n DateTime: DateTime.scalar,\n URL: URLScalar.scalar,\n AmountMoney: AmountMoney.scalar,\n OLabel: OLabel.scalar,\n Currency: Currency.scalar,\n PHID: PHID.scalar,\n OID: OID.scalar,\n AmountFiat: AmountFiat.scalar,\n AmountCurrency: AmountCurrency.scalar,\n AmountCrypto: AmountCrypto.scalar,\n Amount: Amount.scalar,\n Upload: File.scalar,\n};\nexport const typeDefs = [\n // export typedefs -- DO NOT REMOVE OR EDIT THIS COMMENT\n AmountTokens.typedef,\n EthereumAddress.typedef,\n AmountPercentage.typedef,\n EmailAddress.typedef,\n DateScalar.typedef,\n DateTime.typedef,\n URLScalar.typedef,\n AmountMoney.typedef,\n OLabel.typedef,\n Currency.typedef,\n PHID.typedef,\n OID.typedef,\n AmountFiat.typedef,\n AmountCurrency.typedef,\n AmountCrypto.typedef,\n Amount.typedef,\n File.typedef,\n];\nexport const generatorTypeDefs = {\n // export generator typedefs -- DO NOT REMOVE OR EDIT THIS COMMENT\n [AmountTokens.config.name]: AmountTokens.type,\n [EthereumAddress.config.name]: EthereumAddress.type,\n [EmailAddress.config.name]: EmailAddress.type,\n [AmountPercentage.config.name]: AmountPercentage.type,\n [DateScalar.config.name]: DateScalar.type,\n [DateTime.config.name]: DateTime.type,\n [URLScalar.config.name]: URLScalar.type,\n [AmountMoney.config.name]: AmountMoney.type,\n [OLabel.config.name]: OLabel.type,\n [Currency.config.name]: Currency.type,\n [PHID.config.name]: PHID.type,\n [OID.config.name]: OID.type,\n [AmountFiat.config.name]: AmountFiat.type,\n [AmountCurrency.config.name]: AmountCurrency.type,\n [AmountCrypto.config.name]: AmountCrypto.type,\n [Amount.config.name]: Amount.type,\n [File.config.name]: File.type,\n};\nexport const validationSchema = {\n // export validation schema -- DO NOT REMOVE OR EDIT THIS COMMENT\n [AmountTokens.config.name]: AmountTokens.stringSchema,\n [EthereumAddress.config.name]: EthereumAddress.stringSchema,\n [EmailAddress.config.name]: EmailAddress.stringSchema,\n [AmountPercentage.config.name]: AmountPercentage.stringSchema,\n [DateScalar.config.name]: DateScalar.stringSchema,\n [DateTime.config.name]: DateTime.stringSchema,\n [URLScalar.config.name]: URLScalar.stringSchema,\n [AmountMoney.config.name]: AmountMoney.stringSchema,\n [OLabel.config.name]: OLabel.stringSchema,\n [Currency.config.name]: Currency.stringSchema,\n [PHID.config.name]: PHID.stringSchema,\n [OID.config.name]: OID.stringSchema,\n [AmountFiat.config.name]: AmountFiat.stringSchema,\n [AmountCurrency.config.name]: AmountCurrency.stringSchema,\n [AmountCrypto.config.name]: AmountCrypto.stringSchema,\n [Amount.config.name]: Amount.stringSchema,\n [File.config.name]: File.stringSchema,\n};\n//# sourceMappingURL=scalars.js.map","import { typeDefs } from \"@powerhousedao/document-engineering/graphql\";\nimport { buildSchema, printSchema } from \"graphql\";\n\nexport const hiddenQueryTypeDefDoc = `type Query {\n _hidden: String\n}\n`;\n\nexport const typeDefsDoc = typeDefs.join(\"\\n\");\n\nexport const initialSchemaDoc = `${hiddenQueryTypeDefDoc}\\n${typeDefsDoc}`;\n\nexport const initialSchema = buildSchema(initialSchemaDoc);\nexport const initialSchemaStr = printSchema(initialSchema);\n\nexport const specialDocIds = {\n hiddenQueryTypeDef: \"hidden-query-type-defs\",\n standardLib: \"standard-lib\",\n global: \"global\",\n local: \"local\",\n} as const;\n\nexport const updateTimeout = 5000;\n"],"x_google_ignoreList":[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ACA,WAAA;CACH;AAqBD,MAAa,WAAW;CAEpBkB;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACAC;CACH;UAGwB,eACG,eACH,gBACI,eACN,eACF,eACC,gBACE,eACL,eACE,eACJ,eACD,gBACO,gBACI,gBACF,gBACN,aACF;UAIQ,eACG,eACH,gBACI,eACN,eACF,eACC,gBACE,eACL,eACE,eACJ,eACD,gBACO,gBACI,gBACF,gBACN,aACF;;;ACxHjB,MAAa,wBAAwB;;;;AAKrC,MAAa,cAAc,SAAS,KAAK,KAAK;AAE9C,MAAa,mBAAmB,GAAG,sBAAsB,IAAI;AAE7D,MAAa,iBAAA,GAAA,eAAA,aAA4B,iBAAiB;AAC1D,MAAa,oBAAA,GAAA,eAAA,aAA+B,cAAc;AAS1D,MAAa,gBAAgB"}
@@ -1,10 +1,10 @@
1
1
  import { E as $ZodError, T as parseAsync, a as snakeCase, h as object, n as constantCase, p as literal, r as pascalCase, v as string, w as parse, x as url, y as union } from "./dist-DT7jI9ol.mjs";
2
- import { $ as generateId, B as setModelId, D as deleteModule, F as setAuthorName, G as setOperationErrorName, H as setModuleName, I as setAuthorWebsite, J as setStateSchema, K as setOperationName, L as setInitialState, O as deleteOperation, R as setModelDescription, V as setModelName, W as setOperationDescription, h as addOperationError, k as deleteOperationError, m as addOperation, p as addModule, q as setOperationSchema, z as setModelExtension } from "./document-drive-BTZnoCCz.mjs";
3
- import { _ as Primitive, c as Controller, d as get, f as set, i as DocumentToolbar, l as FormProvider, m as useFormContext, p as useForm, u as appendErrors, v as Slot } from "./connect-DyNHqED-.mjs";
2
+ import { $ as generateId, B as setModelId, D as deleteModule, F as setAuthorName, G as setOperationErrorName, H as setModuleName, I as setAuthorWebsite, J as setStateSchema, K as setOperationName, L as setInitialState, O as deleteOperation, R as setModelDescription, V as setModelName, W as setOperationDescription, h as addOperationError, k as deleteOperationError, m as addOperation, p as addModule, q as setOperationSchema, z as setModelExtension } from "./document-drive-CI0J7nMj.mjs";
3
+ import { _ as Primitive, c as Controller, d as get, f as set, i as DocumentToolbar, l as FormProvider, m as useFormContext, p as useForm, u as appendErrors, v as Slot } from "./connect-wMkkAckX.mjs";
4
4
  import { w as twMerge } from "./dist-CzYOpeXN.mjs";
5
- import { M as usePHToast, p as useSelectedDocumentOfType, v as useSetPHDocumentEditorConfig } from "./dist-CFNjGFP-.mjs";
6
- import { a as handleModelNameChange, c as makeEmptyOperationSchema, d as makeOperationInitialDoc, i as compareStringsWithoutWhitespace, l as makeInitialSchemaDoc, o as initializeModelSchema, p as renameSchemaType, s as isEmptyOperationSchema, t as ensureValidOperationSchemaInputName } from "./linting-D6drcQHM.mjs";
7
- import { t as SchemaContextProvider } from "./schema-context-pefmG2VW.mjs";
5
+ import { M as usePHToast, p as useSelectedDocumentOfType, v as useSetPHDocumentEditorConfig } from "./dist-CUHBOv3P.mjs";
6
+ import { a as handleModelNameChange, c as makeEmptyOperationSchema, d as makeOperationInitialDoc, i as compareStringsWithoutWhitespace, l as makeInitialSchemaDoc, o as initializeModelSchema, p as renameSchemaType, s as isEmptyOperationSchema, t as ensureValidOperationSchemaInputName } from "./linting-BjvRPjCY.mjs";
7
+ import { t as SchemaContextProvider } from "./schema-context-DL8jhi_d.mjs";
8
8
  import * as React$1 from "react";
9
9
  import React, { Suspense, forwardRef, lazy, useCallback, useEffect, useId, useImperativeHandle, useRef, useState } from "react";
10
10
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -756,7 +756,7 @@ function OperationErrors({ operation, addOperationError, deleteOperationError, s
756
756
  }
757
757
  //#endregion
758
758
  //#region editors/document-model-editor/components/operation.tsx
759
- const GraphqlEditor = lazy(() => import("./graphql-editor-De6sk7oj.mjs"));
759
+ const GraphqlEditor = lazy(() => import("./graphql-editor-Dd2_z5QJ.mjs"));
760
760
  function Operation(props) {
761
761
  const { operation, module, allOperationNames, lastCreatedOperationId, onAddOperationAndInitialSchema, updateOperationName, deleteOperation, updateOperationSchema, setOperationDescription, addOperationError, deleteOperationError, setOperationErrorName, toggleNoInputRequired } = props;
762
762
  const noInputRequired = isEmptyOperationSchema(operation.schema);
@@ -978,7 +978,7 @@ function useSelectedDocumentModelDocument() {
978
978
  }
979
979
  //#endregion
980
980
  //#region editors/document-model-editor/editor.tsx
981
- const StateSchemas = lazy(() => import("./state-schemas-CN2lpYg-.mjs"));
981
+ const StateSchemas = lazy(() => import("./state-schemas-BSLgTw2O.mjs"));
982
982
  function Editor() {
983
983
  useSetPHDocumentEditorConfig(editorConfig);
984
984
  const toast = usePHToast();
@@ -1239,4 +1239,4 @@ function Editor() {
1239
1239
  //#endregion
1240
1240
  export { Editor as default };
1241
1241
 
1242
- //# sourceMappingURL=editor-B21QNhzm.mjs.map
1242
+ //# sourceMappingURL=editor-Cr-mNQca.mjs.map