@powerhousedao/powerhouse-vetra-packages 6.2.2-dev.10 → 6.2.2-dev.12

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 (75) hide show
  1. package/dist/browser/{connect-KEU-HR3o.js → connect-CubAewhb.js} +4 -4
  2. package/dist/browser/{connect-KEU-HR3o.js.map → connect-CubAewhb.js.map} +1 -1
  3. package/dist/browser/{dist-CXoKspdx.js → dist-B4FWbuEM.js} +10 -2
  4. package/dist/browser/{dist-CXoKspdx.js.map → dist-B4FWbuEM.js.map} +1 -1
  5. package/dist/browser/{dist-D5ra2aRj.js → dist-o9QkWzuP.js} +3 -3
  6. package/dist/browser/dist-o9QkWzuP.js.map +1 -0
  7. package/dist/browser/{document-drive-IdFV1QXL.js → document-drive-NlJkTEhq.js} +86 -3
  8. package/dist/browser/document-drive-NlJkTEhq.js.map +1 -0
  9. package/dist/browser/document-models/index.js +1 -1
  10. package/dist/browser/{documents-D4ek7Ubv.js → documents-tEyvFm5w.js} +2 -2
  11. package/dist/browser/{documents-D4ek7Ubv.js.map → documents-tEyvFm5w.js.map} +1 -1
  12. package/dist/browser/{editor-DiZF3ao3.js → editor-CRBHpXYK.js} +9 -9
  13. package/dist/browser/{editor-DiZF3ao3.js.map → editor-CRBHpXYK.js.map} +1 -1
  14. package/dist/browser/{editor-SqNULDP-.js → editor-DYv-C6f6.js} +5 -5
  15. package/dist/browser/{editor-SqNULDP-.js.map → editor-DYv-C6f6.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 +5 -5
  18. package/dist/browser/editors/generic-drive-explorer/module.js +1 -1
  19. package/dist/browser/{folder-view-DMFqcJhc.js → folder-view-F2Ago_xz.js} +3 -3
  20. package/dist/browser/{folder-view-DMFqcJhc.js.map → folder-view-F2Ago_xz.js.map} +1 -1
  21. package/dist/browser/{graphql-editor-ZLRO_8Ce.js → graphql-editor-Ce4NFN40.js} +7 -7
  22. package/dist/browser/{graphql-editor-ZLRO_8Ce.js.map → graphql-editor-Ce4NFN40.js.map} +1 -1
  23. package/dist/{node/hooks-DJrjfVaS.mjs → browser/hooks-BWFXCdBN.js} +2 -2
  24. package/dist/browser/{hooks-CORHBNHb.js.map → hooks-BWFXCdBN.js.map} +1 -1
  25. package/dist/browser/index.js +1 -1
  26. package/dist/browser/{json-editor-DBuZ6gN7.js → json-editor-B3bXvLLy.js} +4 -4
  27. package/dist/browser/{json-editor-DBuZ6gN7.js.map → json-editor-B3bXvLLy.js.map} +1 -1
  28. package/dist/browser/{linting-Dn6pXRkK.js → linting-DCToEa_x.js} +4 -4
  29. package/dist/browser/{linting-Dn6pXRkK.js.map → linting-DCToEa_x.js.map} +1 -1
  30. package/dist/browser/{schema-context-DY-GEGnY.js → schema-context-CM52_Uom.js} +2 -2
  31. package/dist/browser/{schema-context-DY-GEGnY.js.map → schema-context-CM52_Uom.js.map} +1 -1
  32. package/dist/browser/{state-schemas-BjQKM498.js → state-schemas-BFpc3C11.js} +6 -6
  33. package/dist/browser/{state-schemas-BjQKM498.js.map → state-schemas-BFpc3C11.js.map} +1 -1
  34. package/dist/node/{connect-KcYZcy_Z.mjs → connect-CtrQ4ee5.mjs} +5 -5
  35. package/dist/node/{connect-KcYZcy_Z.mjs.map → connect-CtrQ4ee5.mjs.map} +1 -1
  36. package/dist/node/{dist-fA4EItr0.mjs → dist-DT7jI9ol.mjs} +10 -2
  37. package/dist/node/{dist-fA4EItr0.mjs.map → dist-DT7jI9ol.mjs.map} +1 -1
  38. package/dist/node/{dist-DJEK2WVi.mjs → dist-_zm0qlPp.mjs} +4 -4
  39. package/dist/node/dist-_zm0qlPp.mjs.map +1 -0
  40. package/dist/node/{document-drive-C8hbqQ3C.mjs → document-drive-CdQRsMS3.mjs} +86 -3
  41. package/dist/node/document-drive-CdQRsMS3.mjs.map +1 -0
  42. package/dist/node/document-models/index.mjs +1 -1
  43. package/dist/node/{documents-BFBPmyw1.mjs → documents-DCf53bzO.mjs} +3 -3
  44. package/dist/node/{documents-BFBPmyw1.mjs.map → documents-DCf53bzO.mjs.map} +1 -1
  45. package/dist/node/{editor-B1KhoF1f.mjs → editor-C176Wq9N.mjs} +9 -9
  46. package/dist/node/{editor-B1KhoF1f.mjs.map → editor-C176Wq9N.mjs.map} +1 -1
  47. package/dist/node/{editor-yBGEvMGD.mjs → editor-D2o8I58q.mjs} +5 -5
  48. package/dist/node/{editor-yBGEvMGD.mjs.map → editor-D2o8I58q.mjs.map} +1 -1
  49. package/dist/node/editors/document-model-editor/module.mjs +1 -1
  50. package/dist/node/editors/generic-drive-explorer/index.mjs +5 -5
  51. package/dist/node/editors/generic-drive-explorer/module.mjs +1 -1
  52. package/dist/node/{folder-view-Cy-QxsDg.mjs → folder-view-BkilkRZN.mjs} +3 -3
  53. package/dist/node/{folder-view-Cy-QxsDg.mjs.map → folder-view-BkilkRZN.mjs.map} +1 -1
  54. package/dist/node/{graphql-DskHmkMe.mjs → graphql-BfAoPeWM.mjs} +2 -2
  55. package/dist/node/{graphql-DskHmkMe.mjs.map → graphql-BfAoPeWM.mjs.map} +1 -1
  56. package/dist/node/{graphql-editor-C5VLRqEf.mjs → graphql-editor-DhvANyTx.mjs} +7 -7
  57. package/dist/node/{graphql-editor-C5VLRqEf.mjs.map → graphql-editor-DhvANyTx.mjs.map} +1 -1
  58. package/dist/{browser/hooks-CORHBNHb.js → node/hooks-D0DcS3MV.mjs} +2 -2
  59. package/dist/node/{hooks-DJrjfVaS.mjs.map → hooks-D0DcS3MV.mjs.map} +1 -1
  60. package/dist/node/index.mjs +2 -2
  61. package/dist/node/{json-editor-iI2s9a_4.mjs → json-editor-DYhhY_HH.mjs} +4 -4
  62. package/dist/node/{json-editor-iI2s9a_4.mjs.map → json-editor-DYhhY_HH.mjs.map} +1 -1
  63. package/dist/node/{linting-Dx50GuLN.mjs → linting-BjvRPjCY.mjs} +5 -5
  64. package/dist/node/{linting-Dx50GuLN.mjs.map → linting-BjvRPjCY.mjs.map} +1 -1
  65. package/dist/node/{main-D82dkD7g.mjs → main-DSkStSNp.mjs} +3 -3
  66. package/dist/node/{main-D82dkD7g.mjs.map → main-DSkStSNp.mjs.map} +1 -1
  67. package/dist/node/{schema-context-CX5ml_9t.mjs → schema-context-DL8jhi_d.mjs} +3 -3
  68. package/dist/node/{schema-context-CX5ml_9t.mjs.map → schema-context-DL8jhi_d.mjs.map} +1 -1
  69. package/dist/node/{state-schemas-Bl7nA8bB.mjs → state-schemas-BdwMgUk1.mjs} +7 -7
  70. package/dist/node/{state-schemas-Bl7nA8bB.mjs.map → state-schemas-BdwMgUk1.mjs.map} +1 -1
  71. package/package.json +6 -6
  72. package/dist/browser/dist-D5ra2aRj.js.map +0 -1
  73. package/dist/browser/document-drive-IdFV1QXL.js.map +0 -1
  74. package/dist/node/dist-DJEK2WVi.mjs.map +0 -1
  75. package/dist/node/document-drive-C8hbqQ3C.mjs.map +0 -1
@@ -1,2 +1,2 @@
1
- import { r as driveDocumentModelModule, u as documentModelDocumentModelModule } from "../document-drive-C8hbqQ3C.mjs";
1
+ import { r as driveDocumentModelModule, u as documentModelDocumentModelModule } from "../document-drive-CdQRsMS3.mjs";
2
2
  export { documentModelDocumentModelModule, driveDocumentModelModule };
@@ -1,5 +1,5 @@
1
- import { O as __exportAll, S as datetime, _ as string, b as url, d as email, h as object, m as number } from "./dist-fA4EItr0.mjs";
2
- import { t as require_graphql } from "./graphql-DskHmkMe.mjs";
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
+ import { t as require_graphql } from "./graphql-BfAoPeWM.mjs";
3
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,
@@ -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-BFBPmyw1.mjs.map
747
+ //# sourceMappingURL=documents-DCf53bzO.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"documents-BFBPmyw1.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":[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;AAClB,OAAM,IAAIK,eAAAA,aAAa,OAAO,MAAM,QAAQ;;AAEhD,MAAaC,YAAS;CAClB,MAAM;CACN,aAAa;CACb,WAAW;CACX,YAAY;CACZ,eAAe,QAAQ;AACnB,MAAI,IAAI,SAASC,eAAAA,KAAK,OAClB,OAAM,IAAIF,eAAAA,aAAa,2BAA2B,EAAE,OAAO,KAAK,CAAC;EAErE,MAAM,YAAY,IAAI,OAAO,MAAM,MAAM,EAAE,KAAK,UAAU,OAAO;EACjE,MAAM,aAAa,IAAI,OAAO,MAAM,MAAM,EAAE,KAAK,UAAU,QAAQ;AACnE,MAAI,aAAa,UAAU,MAAM,SAASE,eAAAA,KAAK,OAC3C,OAAM,IAAIF,eAAAA,aAAa,qCAAqC,EACxD,OAAO,KACV,CAAC;AAEN,MAAI,CAAC,cAAc,WAAW,MAAM,SAASE,eAAAA,KAAK,MAC9C,OAAM,IAAIF,eAAAA,aAAa,qCAAqC,EACxD,OAAO,KACV,CAAC;AAMN,SAAO,iBAJO;GACV,MAAM,WAAW,OAAO;GACxB,OAAO,WAAW,WAAW,MAAM,MAAM;G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CACA,cAAA;CACA,UAAA;CACA,YAAA;CACA,UAAA;CACA,cAAA;CACA,iBAAA;CAEA,MAAA;CACA,KAAA;CACA,QAAA;CACA,MAAA;CACA,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
+ {"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":[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;AAClB,OAAM,IAAIK,eAAAA,aAAa,OAAO,MAAM,QAAQ;;AAEhD,MAAaC,YAAS;CAClB,MAAM;CACN,aAAa;CACb,WAAW;CACX,YAAY;CACZ,eAAe,QAAQ;AACnB,MAAI,IAAI,SAASC,eAAAA,KAAK,OAClB,OAAM,IAAIF,eAAAA,aAAa,2BAA2B,EAAE,OAAO,KAAK,CAAC;EAErE,MAAM,YA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AO,MAAM;AAC1C,QAAM,IAAIC,eAAAA,aAAa,wBAAwB;;CAEjD,aAAa,MAAM;AACjB,QAAM,IAAIA,eAAAA,aAAa,+BAA+B,EAAE,OAAO,MAAM,CAAC;;CAExE,YAAY;AACV,QAAM,IAAIA,eAAAA,aAAa,oCAAoC;;CAE9D,CAAC;;;;;;;;;;ACnFF,MAAa,OAAO;AACpB,MAAa,UAAU;AACvB,MAAa,SAAS;CAClB,MAAM;CACN,aAAa;CAChB;AAED,MAAa,eAAe;AAC5B,MAAa,SAAS;;;ACYtB,MAAa,gBAAgB;CAEzB,QAAA;CAEA,cAAA;CAEA,gBAAA;CAEA,YAAA;CACA,aAAA;CACA,kBAAA;CACA,cAAA;CACA,UAAA;CACA,YAAA;CACA,UAAA;CACA,cAAA;CACA,iBAAA;CAEA,MAAA;CACA,KAAA;CACA,QAAA;CACA,MAAA;CACA,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
- import { C as parse, T as $ZodError, _ as string, a as snakeCase, b as url, h as object, n as constantCase, p as literal, r as pascalCase, v as union, w as parseAsync } from "./dist-fA4EItr0.mjs";
2
- import { D as deleteOperationError, E as deleteOperation, F as setModelDescription, G as setStateSchema, H as setOperationErrorName, I as setModelExtension, L as setModelId, M as setAuthorName, N as setAuthorWebsite, P as setInitialState, R as setModelName, T as deleteModule, U as setOperationName, V as setOperationDescription, W as setOperationSchema, X as generateId, f as addModule, m as addOperationError, p as addOperation, z as setModuleName } from "./document-drive-C8hbqQ3C.mjs";
3
- import { c as FormProvider, d as set, f as useForm, l as appendErrors, p as useFormContext, r as DocumentToolbar, s as Controller, u as get } from "./connect-KcYZcy_Z.mjs";
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 { D as deleteOperationError, E as deleteOperation, F as setModelDescription, G as setStateSchema, H as setOperationErrorName, I as setModelExtension, L as setModelId, M as setAuthorName, N as setAuthorWebsite, P as setInitialState, R as setModelName, T as deleteModule, U as setOperationName, V as setOperationDescription, W as setOperationSchema, X as generateId, f as addModule, m as addOperationError, p as addOperation, z as setModuleName } from "./document-drive-CdQRsMS3.mjs";
3
+ import { c as FormProvider, d as set, f as useForm, l as appendErrors, p as useFormContext, r as DocumentToolbar, s as Controller, u as get } from "./connect-CtrQ4ee5.mjs";
4
4
  import { C as twMerge, y as composeRefs } from "./dist-BeZaEP6S.mjs";
5
- import { A as useSetPHDocumentEditorConfig, C as usePHToast, w as useSelectedDocumentOfType } from "./dist-DJEK2WVi.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-Dx50GuLN.mjs";
7
- import { t as SchemaContextProvider } from "./schema-context-CX5ml_9t.mjs";
5
+ import { A as useSetPHDocumentEditorConfig, C as usePHToast, w as useSelectedDocumentOfType } from "./dist-_zm0qlPp.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";
@@ -888,7 +888,7 @@ function OperationErrors({ operation, addOperationError, deleteOperationError, s
888
888
  }
889
889
  //#endregion
890
890
  //#region editors/document-model-editor/components/operation.tsx
891
- const GraphqlEditor = lazy(() => import("./graphql-editor-C5VLRqEf.mjs"));
891
+ const GraphqlEditor = lazy(() => import("./graphql-editor-DhvANyTx.mjs"));
892
892
  function Operation(props) {
893
893
  const { operation, module, allOperationNames, lastCreatedOperationId, onAddOperationAndInitialSchema, updateOperationName, deleteOperation, updateOperationSchema, setOperationDescription, addOperationError, deleteOperationError, setOperationErrorName, toggleNoInputRequired } = props;
894
894
  const noInputRequired = isEmptyOperationSchema(operation.schema);
@@ -1110,7 +1110,7 @@ function useSelectedDocumentModelDocument() {
1110
1110
  }
1111
1111
  //#endregion
1112
1112
  //#region editors/document-model-editor/editor.tsx
1113
- const StateSchemas = lazy(() => import("./state-schemas-Bl7nA8bB.mjs"));
1113
+ const StateSchemas = lazy(() => import("./state-schemas-BdwMgUk1.mjs"));
1114
1114
  function Editor() {
1115
1115
  useSetPHDocumentEditorConfig(editorConfig);
1116
1116
  const toast = usePHToast();
@@ -1371,4 +1371,4 @@ function Editor() {
1371
1371
  //#endregion
1372
1372
  export { Editor as default };
1373
1373
 
1374
- //# sourceMappingURL=editor-B1KhoF1f.mjs.map
1374
+ //# sourceMappingURL=editor-C176Wq9N.mjs.map