tsondb 0.1.3

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 (170) hide show
  1. package/README.md +3 -0
  2. package/lib/ModelContainer.d.ts +17 -0
  3. package/lib/ModelContainer.js +63 -0
  4. package/lib/Schema.d.ts +8 -0
  5. package/lib/Schema.js +72 -0
  6. package/lib/client/api.d.ts +11 -0
  7. package/lib/client/api.js +83 -0
  8. package/lib/client/components/Layout.d.ts +10 -0
  9. package/lib/client/components/Layout.js +4 -0
  10. package/lib/client/components/Select.d.ts +3 -0
  11. package/lib/client/components/Select.js +2 -0
  12. package/lib/client/components/typeInputs/ArrayTypeInput.d.ts +13 -0
  13. package/lib/client/components/typeInputs/ArrayTypeInput.js +10 -0
  14. package/lib/client/components/typeInputs/BooleanTypeInput.d.ts +9 -0
  15. package/lib/client/components/typeInputs/BooleanTypeInput.js +6 -0
  16. package/lib/client/components/typeInputs/DateTypeInput.d.ts +9 -0
  17. package/lib/client/components/typeInputs/DateTypeInput.js +9 -0
  18. package/lib/client/components/typeInputs/FloatTypeInput.d.ts +9 -0
  19. package/lib/client/components/typeInputs/FloatTypeInput.js +15 -0
  20. package/lib/client/components/typeInputs/GenericTypeArgumentIdentifierTypeInput.d.ts +7 -0
  21. package/lib/client/components/typeInputs/GenericTypeArgumentIdentifierTypeInput.js +4 -0
  22. package/lib/client/components/typeInputs/IncludeIdentifierTypeInput.d.ts +13 -0
  23. package/lib/client/components/typeInputs/IncludeIdentifierTypeInput.js +18 -0
  24. package/lib/client/components/typeInputs/IntegerTypeInput.d.ts +9 -0
  25. package/lib/client/components/typeInputs/IntegerTypeInput.js +15 -0
  26. package/lib/client/components/typeInputs/NestedEntityMapTypeInput.d.ts +13 -0
  27. package/lib/client/components/typeInputs/NestedEntityMapTypeInput.js +25 -0
  28. package/lib/client/components/typeInputs/ObjectTypeInput.d.ts +13 -0
  29. package/lib/client/components/typeInputs/ObjectTypeInput.js +20 -0
  30. package/lib/client/components/typeInputs/ReferenceIdentifierTypeInput.d.ts +11 -0
  31. package/lib/client/components/typeInputs/ReferenceIdentifierTypeInput.js +9 -0
  32. package/lib/client/components/typeInputs/StringTypeInput.d.ts +9 -0
  33. package/lib/client/components/typeInputs/StringTypeInput.js +10 -0
  34. package/lib/client/components/typeInputs/TypeInput.d.ts +13 -0
  35. package/lib/client/components/typeInputs/TypeInput.js +87 -0
  36. package/lib/client/components/typeInputs/utils/EnumDeclField.d.ts +13 -0
  37. package/lib/client/components/typeInputs/utils/EnumDeclField.js +38 -0
  38. package/lib/client/components/typeInputs/utils/MismatchingTypeError.d.ts +7 -0
  39. package/lib/client/components/typeInputs/utils/MismatchingTypeError.js +4 -0
  40. package/lib/client/components/typeInputs/utils/ValidationErrors.d.ts +6 -0
  41. package/lib/client/components/typeInputs/utils/ValidationErrors.js +4 -0
  42. package/lib/client/hooks/useEntityFromRoute.d.ts +5 -0
  43. package/lib/client/hooks/useEntityFromRoute.js +20 -0
  44. package/lib/client/hooks/useInstanceNamesByEntity.d.ts +3 -0
  45. package/lib/client/hooks/useInstanceNamesByEntity.js +18 -0
  46. package/lib/client/hooks/useSecondaryDeclarations.d.ts +3 -0
  47. package/lib/client/hooks/useSecondaryDeclarations.js +18 -0
  48. package/lib/client/index.d.ts +1 -0
  49. package/lib/client/index.js +11 -0
  50. package/lib/client/routes/CreateInstance.d.ts +2 -0
  51. package/lib/client/routes/CreateInstance.js +68 -0
  52. package/lib/client/routes/Entity.d.ts +2 -0
  53. package/lib/client/routes/Entity.js +47 -0
  54. package/lib/client/routes/Home.d.ts +2 -0
  55. package/lib/client/routes/Home.js +18 -0
  56. package/lib/client/routes/Instance.d.ts +2 -0
  57. package/lib/client/routes/Instance.js +73 -0
  58. package/lib/client/routes/NotFound.d.ts +2 -0
  59. package/lib/client/routes/NotFound.js +5 -0
  60. package/lib/client/utils/typeSkeleton.d.ts +3 -0
  61. package/lib/client/utils/typeSkeleton.js +51 -0
  62. package/lib/index.d.ts +1 -0
  63. package/lib/index.js +1 -0
  64. package/lib/renderers/Output.d.ts +4 -0
  65. package/lib/renderers/Output.js +1 -0
  66. package/lib/renderers/jsonschema/index.d.ts +6 -0
  67. package/lib/renderers/jsonschema/index.js +12 -0
  68. package/lib/renderers/jsonschema/render.d.ts +5 -0
  69. package/lib/renderers/jsonschema/render.js +156 -0
  70. package/lib/renderers/ts/index.d.ts +6 -0
  71. package/lib/renderers/ts/index.js +11 -0
  72. package/lib/renderers/ts/render.d.ts +5 -0
  73. package/lib/renderers/ts/render.js +109 -0
  74. package/lib/schema/Node.d.ts +37 -0
  75. package/lib/schema/Node.js +79 -0
  76. package/lib/schema/declarations/Declaration.d.ts +44 -0
  77. package/lib/schema/declarations/Declaration.js +98 -0
  78. package/lib/schema/declarations/EntityDecl.d.ts +73 -0
  79. package/lib/schema/declarations/EntityDecl.js +57 -0
  80. package/lib/schema/declarations/EnumDecl.d.ts +33 -0
  81. package/lib/schema/declarations/EnumDecl.js +104 -0
  82. package/lib/schema/declarations/TypeAliasDecl.d.ts +33 -0
  83. package/lib/schema/declarations/TypeAliasDecl.js +49 -0
  84. package/lib/schema/index.d.ts +20 -0
  85. package/lib/schema/index.js +20 -0
  86. package/lib/schema/parameters/TypeParameter.d.ts +14 -0
  87. package/lib/schema/parameters/TypeParameter.js +11 -0
  88. package/lib/schema/types/Type.d.ts +42 -0
  89. package/lib/schema/types/Type.js +177 -0
  90. package/lib/schema/types/generic/ArrayType.d.ts +30 -0
  91. package/lib/schema/types/generic/ArrayType.js +38 -0
  92. package/lib/schema/types/generic/ObjectType.d.ts +47 -0
  93. package/lib/schema/types/generic/ObjectType.js +70 -0
  94. package/lib/schema/types/primitives/BooleanType.d.ts +15 -0
  95. package/lib/schema/types/primitives/BooleanType.js +15 -0
  96. package/lib/schema/types/primitives/DateType.d.ts +16 -0
  97. package/lib/schema/types/primitives/DateType.js +17 -0
  98. package/lib/schema/types/primitives/FloatType.d.ts +26 -0
  99. package/lib/schema/types/primitives/FloatType.js +17 -0
  100. package/lib/schema/types/primitives/IntegerType.d.ts +26 -0
  101. package/lib/schema/types/primitives/IntegerType.js +21 -0
  102. package/lib/schema/types/primitives/NumericType.d.ts +6 -0
  103. package/lib/schema/types/primitives/NumericType.js +2 -0
  104. package/lib/schema/types/primitives/PrimitiveType.d.ts +6 -0
  105. package/lib/schema/types/primitives/PrimitiveType.js +1 -0
  106. package/lib/schema/types/primitives/StringType.d.ts +25 -0
  107. package/lib/schema/types/primitives/StringType.js +20 -0
  108. package/lib/schema/types/references/GenericArgumentIdentifierType.d.ts +21 -0
  109. package/lib/schema/types/references/GenericArgumentIdentifierType.js +18 -0
  110. package/lib/schema/types/references/IncludeIdentifierType.d.ts +28 -0
  111. package/lib/schema/types/references/IncludeIdentifierType.js +25 -0
  112. package/lib/schema/types/references/NestedEntityMapType.d.ts +36 -0
  113. package/lib/schema/types/references/NestedEntityMapType.js +67 -0
  114. package/lib/schema/types/references/ReferenceIdentifierType.d.ts +23 -0
  115. package/lib/schema/types/references/ReferenceIdentifierType.js +21 -0
  116. package/lib/schema/validation/options.d.ts +4 -0
  117. package/lib/schema/validation/options.js +12 -0
  118. package/lib/schema/validation/type.d.ts +4 -0
  119. package/lib/schema/validation/type.js +1 -0
  120. package/lib/server/index.d.ts +8 -0
  121. package/lib/server/index.js +207 -0
  122. package/lib/server/instanceOperations.d.ts +7 -0
  123. package/lib/server/instanceOperations.js +67 -0
  124. package/lib/shared/api.d.ts +42 -0
  125. package/lib/shared/api.js +1 -0
  126. package/lib/shared/enum.d.ts +1 -0
  127. package/lib/shared/enum.js +1 -0
  128. package/lib/shared/utils/compare.d.ts +13 -0
  129. package/lib/shared/utils/compare.js +24 -0
  130. package/lib/shared/utils/displayName.d.ts +2 -0
  131. package/lib/shared/utils/displayName.js +31 -0
  132. package/lib/shared/utils/instances.d.ts +6 -0
  133. package/lib/shared/utils/instances.js +1 -0
  134. package/lib/shared/utils/object.d.ts +2 -0
  135. package/lib/shared/utils/object.js +2 -0
  136. package/lib/shared/utils/string.d.ts +6 -0
  137. package/lib/shared/utils/string.js +52 -0
  138. package/lib/shared/utils/typeSafety.d.ts +1 -0
  139. package/lib/shared/utils/typeSafety.js +3 -0
  140. package/lib/shared/utils/validation.d.ts +3 -0
  141. package/lib/shared/utils/validation.js +14 -0
  142. package/lib/shared/validation/array.d.ts +6 -0
  143. package/lib/shared/validation/array.js +29 -0
  144. package/lib/shared/validation/date.d.ts +4 -0
  145. package/lib/shared/validation/date.js +13 -0
  146. package/lib/shared/validation/identifier.d.ts +1 -0
  147. package/lib/shared/validation/identifier.js +7 -0
  148. package/lib/shared/validation/number.d.ts +12 -0
  149. package/lib/shared/validation/number.js +34 -0
  150. package/lib/shared/validation/object.d.ts +6 -0
  151. package/lib/shared/validation/object.js +13 -0
  152. package/lib/shared/validation/string.d.ts +6 -0
  153. package/lib/shared/validation/string.js +15 -0
  154. package/lib/tsconfig.tsbuildinfo +1 -0
  155. package/lib/utils/enum.d.ts +6 -0
  156. package/lib/utils/enum.js +1 -0
  157. package/lib/utils/error.d.ts +2 -0
  158. package/lib/utils/error.js +18 -0
  159. package/lib/utils/instances.d.ts +4 -0
  160. package/lib/utils/instances.js +12 -0
  161. package/lib/utils/lazy.d.ts +16 -0
  162. package/lib/utils/lazy.js +32 -0
  163. package/lib/utils/object.d.ts +3 -0
  164. package/lib/utils/object.js +1 -0
  165. package/lib/utils/render.d.ts +4 -0
  166. package/lib/utils/render.js +8 -0
  167. package/lib/utils/result.d.ts +57 -0
  168. package/lib/utils/result.js +48 -0
  169. package/package.json +46 -0
  170. package/public/css/styles.css +418 -0
@@ -0,0 +1,6 @@
1
+ export interface ObjectConstraints {
2
+ additionalProperties?: boolean;
3
+ minProperties?: number;
4
+ maxProperties?: number;
5
+ }
6
+ export declare const validateObjectConstraints: (constraints: ObjectConstraints, expectedKeys: string[], value: object) => Error[];
@@ -0,0 +1,13 @@
1
+ import { parallelizeErrors, validateLengthRangeBound } from "../utils/validation.js";
2
+ export const validateObjectConstraints = (constraints, expectedKeys, value) => {
3
+ const label = ["property", "properties"];
4
+ return parallelizeErrors([
5
+ validateLengthRangeBound("lower", label, constraints.minProperties, expectedKeys),
6
+ validateLengthRangeBound("upper", label, constraints.maxProperties, expectedKeys),
7
+ ...(constraints.additionalProperties !== true
8
+ ? Object.keys(value).flatMap(valueKey => expectedKeys.includes(valueKey)
9
+ ? []
10
+ : [TypeError(`object does not allow unknown keys and key "${valueKey}" is not known`)])
11
+ : []),
12
+ ]);
13
+ };
@@ -0,0 +1,6 @@
1
+ export interface StringConstraints {
2
+ minLength?: number;
3
+ maxLength?: number;
4
+ pattern?: string | RegExp;
5
+ }
6
+ export declare const validateStringConstraints: (constraints: StringConstraints, value: string) => Error[];
@@ -0,0 +1,15 @@
1
+ import { parallelizeErrors } from "../utils/validation.js";
2
+ export const validateStringConstraints = (constraints, value) => parallelizeErrors([
3
+ constraints.minLength !== undefined && value.length < constraints.minLength
4
+ ? RangeError(`expected a string with at least ${constraints.minLength} character${constraints.minLength === 1 ? "" : "s"}, but got ${value.length} character${value.length === 1 ? "" : "s"}`)
5
+ : undefined,
6
+ constraints.maxLength !== undefined && value.length > constraints.maxLength
7
+ ? RangeError(`expected a string with at most ${constraints.maxLength} character${constraints.maxLength === 1 ? "" : "s"}, but got ${value.length} character${value.length === 1 ? "" : "s"}`)
8
+ : undefined,
9
+ constraints.pattern !== undefined &&
10
+ !(typeof constraints.pattern === "string"
11
+ ? new RegExp(constraints.pattern)
12
+ : constraints.pattern).test(value)
13
+ ? TypeError(`string does not match the pattern ${constraints.pattern}`)
14
+ : undefined,
15
+ ]);
@@ -0,0 +1 @@
1
+ {"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/typescript/lib/lib.es2023.d.ts","../node_modules/typescript/lib/lib.es2024.d.ts","../node_modules/typescript/lib/lib.esnext.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2016.intl.d.ts","../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../node_modules/typescript/lib/lib.es2023.array.d.ts","../node_modules/typescript/lib/lib.es2023.collection.d.ts","../node_modules/typescript/lib/lib.es2023.intl.d.ts","../node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../node_modules/typescript/lib/lib.es2024.collection.d.ts","../node_modules/typescript/lib/lib.es2024.object.d.ts","../node_modules/typescript/lib/lib.es2024.promise.d.ts","../node_modules/typescript/lib/lib.es2024.regexp.d.ts","../node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2024.string.d.ts","../node_modules/typescript/lib/lib.esnext.array.d.ts","../node_modules/typescript/lib/lib.esnext.collection.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../node_modules/typescript/lib/lib.esnext.promise.d.ts","../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../node_modules/typescript/lib/lib.esnext.iterator.d.ts","../node_modules/typescript/lib/lib.esnext.float16.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/preact/src/jsx.d.ts","../node_modules/preact/src/index.d.ts","../node_modules/preact/jsx-runtime/src/index.d.ts","../src/shared/utils/typeSafety.ts","../src/shared/utils/instances.ts","../src/utils/enum.ts","../src/schema/validation/type.ts","../src/shared/utils/compare.ts","../src/shared/utils/validation.ts","../src/shared/validation/array.ts","../src/utils/render.ts","../src/utils/error.ts","../src/schema/validation/options.ts","../src/schema/types/generic/ArrayType.ts","../src/shared/validation/object.ts","../src/schema/types/generic/ObjectType.ts","../src/schema/types/primitives/BooleanType.ts","../src/shared/validation/date.ts","../src/schema/types/primitives/DateType.ts","../src/shared/validation/number.ts","../src/schema/types/primitives/FloatType.ts","../src/schema/types/primitives/IntegerType.ts","../src/schema/types/primitives/NumericType.ts","../src/shared/validation/string.ts","../src/schema/types/primitives/StringType.ts","../src/schema/types/primitives/PrimitiveType.ts","../src/schema/parameters/TypeParameter.ts","../src/schema/types/references/GenericArgumentIdentifierType.ts","../src/shared/enum.ts","../src/utils/lazy.ts","../src/schema/declarations/EnumDecl.ts","../src/schema/declarations/TypeAliasDecl.ts","../src/schema/types/references/IncludeIdentifierType.ts","../src/utils/object.ts","../src/schema/declarations/EntityDecl.ts","../src/schema/types/references/NestedEntityMapType.ts","../src/schema/types/references/ReferenceIdentifierType.ts","../src/schema/types/Type.ts","../src/schema/Node.ts","../src/schema/declarations/Declaration.ts","../src/Schema.ts","../src/renderers/Output.ts","../src/schema/index.ts","../node_modules/@types/node/compatibility/disposable.d.ts","../node_modules/@types/node/compatibility/indexable.d.ts","../node_modules/@types/node/compatibility/iterators.d.ts","../node_modules/@types/node/compatibility/index.d.ts","../node_modules/@types/node/globals.typedarray.d.ts","../node_modules/@types/node/buffer.buffer.d.ts","../node_modules/undici-types/header.d.ts","../node_modules/undici-types/readable.d.ts","../node_modules/undici-types/file.d.ts","../node_modules/undici-types/fetch.d.ts","../node_modules/undici-types/formdata.d.ts","../node_modules/undici-types/connector.d.ts","../node_modules/undici-types/client.d.ts","../node_modules/undici-types/errors.d.ts","../node_modules/undici-types/dispatcher.d.ts","../node_modules/undici-types/global-dispatcher.d.ts","../node_modules/undici-types/global-origin.d.ts","../node_modules/undici-types/pool-stats.d.ts","../node_modules/undici-types/pool.d.ts","../node_modules/undici-types/handlers.d.ts","../node_modules/undici-types/balanced-pool.d.ts","../node_modules/undici-types/agent.d.ts","../node_modules/undici-types/mock-interceptor.d.ts","../node_modules/undici-types/mock-agent.d.ts","../node_modules/undici-types/mock-client.d.ts","../node_modules/undici-types/mock-pool.d.ts","../node_modules/undici-types/mock-errors.d.ts","../node_modules/undici-types/proxy-agent.d.ts","../node_modules/undici-types/env-http-proxy-agent.d.ts","../node_modules/undici-types/retry-handler.d.ts","../node_modules/undici-types/retry-agent.d.ts","../node_modules/undici-types/api.d.ts","../node_modules/undici-types/interceptors.d.ts","../node_modules/undici-types/util.d.ts","../node_modules/undici-types/cookies.d.ts","../node_modules/undici-types/patch.d.ts","../node_modules/undici-types/websocket.d.ts","../node_modules/undici-types/eventsource.d.ts","../node_modules/undici-types/filereader.d.ts","../node_modules/undici-types/diagnostics-channel.d.ts","../node_modules/undici-types/content-type.d.ts","../node_modules/undici-types/cache.d.ts","../node_modules/undici-types/index.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/sea.d.ts","../node_modules/@types/node/sqlite.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/@types/mime/index.d.ts","../node_modules/@types/send/index.d.ts","../node_modules/@types/qs/index.d.ts","../node_modules/@types/range-parser/index.d.ts","../node_modules/@types/express-serve-static-core/index.d.ts","../node_modules/@types/http-errors/index.d.ts","../node_modules/@types/serve-static/index.d.ts","../node_modules/@types/connect/index.d.ts","../node_modules/@types/body-parser/index.d.ts","../node_modules/@types/express/index.d.ts","../src/shared/api.ts","../src/shared/utils/displayName.ts","../src/utils/result.ts","../node_modules/uuid/dist/esm/types.d.ts","../node_modules/uuid/dist/esm/max.d.ts","../node_modules/uuid/dist/esm/nil.d.ts","../node_modules/uuid/dist/esm/parse.d.ts","../node_modules/uuid/dist/esm/stringify.d.ts","../node_modules/uuid/dist/esm/v1.d.ts","../node_modules/uuid/dist/esm/v1ToV6.d.ts","../node_modules/uuid/dist/esm/v35.d.ts","../node_modules/uuid/dist/esm/v3.d.ts","../node_modules/uuid/dist/esm/v4.d.ts","../node_modules/uuid/dist/esm/v5.d.ts","../node_modules/uuid/dist/esm/v6.d.ts","../node_modules/uuid/dist/esm/v6ToV1.d.ts","../node_modules/uuid/dist/esm/v7.d.ts","../node_modules/uuid/dist/esm/validate.d.ts","../node_modules/uuid/dist/esm/version.d.ts","../node_modules/uuid/dist/esm/index.d.ts","../src/server/instanceOperations.ts","../src/server/index.ts","../src/utils/instances.ts","../src/ModelContainer.ts","../src/index.ts","../src/client/api.ts","../node_modules/preact-iso/src/prerender.d.ts","../node_modules/preact-iso/src/router.d.ts","../node_modules/preact-iso/src/lazy.d.ts","../node_modules/preact-iso/src/hydrate.d.ts","../node_modules/preact-iso/src/index.d.ts","../node_modules/preact/hooks/src/index.d.ts","../src/shared/utils/string.ts","../src/shared/validation/identifier.ts","../src/client/components/Layout.tsx","../src/client/hooks/useInstanceNamesByEntity.ts","../src/client/hooks/useSecondaryDeclarations.ts","../src/client/utils/typeSkeleton.ts","../src/client/components/typeInputs/utils/ValidationErrors.tsx","../src/client/components/typeInputs/ArrayTypeInput.tsx","../src/client/components/typeInputs/BooleanTypeInput.tsx","../src/client/components/typeInputs/DateTypeInput.tsx","../src/client/components/typeInputs/FloatTypeInput.tsx","../src/client/components/typeInputs/GenericTypeArgumentIdentifierTypeInput.tsx","../node_modules/preact/compat/src/suspense.d.ts","../node_modules/preact/compat/src/suspense-list.d.ts","../node_modules/preact/compat/src/index.d.ts","../src/client/components/Select.tsx","../src/client/components/typeInputs/utils/MismatchingTypeError.tsx","../src/client/components/typeInputs/utils/EnumDeclField.tsx","../src/client/components/typeInputs/IncludeIdentifierTypeInput.tsx","../src/client/components/typeInputs/IntegerTypeInput.tsx","../src/shared/utils/object.ts","../src/client/components/typeInputs/NestedEntityMapTypeInput.tsx","../src/client/components/typeInputs/ObjectTypeInput.tsx","../src/client/components/typeInputs/ReferenceIdentifierTypeInput.tsx","../src/client/components/typeInputs/StringTypeInput.tsx","../src/client/components/typeInputs/TypeInput.tsx","../src/client/hooks/useEntityFromRoute.ts","../src/client/routes/NotFound.tsx","../src/client/routes/CreateInstance.tsx","../src/client/routes/Entity.tsx","../src/client/routes/Home.tsx","../src/client/routes/Instance.tsx","../src/client/index.tsx","../src/renderers/jsonschema/render.ts","../src/renderers/jsonschema/index.ts","../src/renderers/ts/render.ts","../src/renderers/ts/index.ts","../node_modules/@types/minimist/index.d.ts","../node_modules/@types/normalize-package-data/index.d.ts"],"fileIdsList":[[128,170,185,220,228],[128,170,185,220],[128,170,182,185,220,222,223,224],[128,170,225,227,229],[128,170],[128,167,170],[128,169,170],[170],[128,170,175,205],[128,170,171,176,182,183,190,202,213],[128,170,171,172,182,190],[123,124,125,128,170],[128,170,173,214],[128,170,174,175,183,191],[128,170,175,202,210],[128,170,176,178,182,190],[128,169,170,177],[128,170,178,179],[128,170,182],[128,170,180,182],[128,169,170,182],[128,170,182,183,184,202,213],[128,170,182,183,184,197,202,205],[128,165,170,218],[128,165,170,178,182,185,190,202,213],[128,170,182,183,185,186,190,202,210,213],[128,170,185,187,202,210,213],[126,127,128,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219],[128,170,182,188],[128,170,189,213],[128,170,178,182,190,202],[128,170,191],[128,170,192],[128,169,170,193],[128,167,168,169,170,171,172,173,174,175,176,177,178,179,180,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219],[128,170,195],[128,170,196],[128,170,182,197,198],[128,170,197,199,214,216],[128,170,182,202,203,205],[128,170,204,205],[128,170,202,203],[128,170,205],[128,170,206],[128,167,170,202],[128,170,182,208,209],[128,170,208,209],[128,170,175,190,202,210],[128,170,211],[128,170,190,212],[128,170,185,196,213],[128,170,175,214],[128,170,202,215],[128,170,189,216],[128,170,217],[128,170,175,182,184,193,202,213,216,218],[128,170,202,219],[128,170,183,202,220,221],[128,170,185,220,222,226],[81,128,170,258],[128,170,257,258,259,260],[80,81,128,170,258,262,275,276],[80,81,128,170,258],[80,128,170],[128,137,141,170,213],[128,137,170,202,213],[128,132,170],[128,134,137,170,210,213],[128,170,190,210],[128,170,220],[128,132,170,220],[128,134,137,170,190,213],[128,129,130,133,136,170,182,202,213],[128,137,144,170],[128,129,135,170],[128,137,158,159,170],[128,133,137,170,205,213,220],[128,158,170,220],[128,131,132,170,220],[128,137,170],[128,131,132,133,134,135,136,137,138,139,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,159,160,161,162,163,164,170],[128,137,152,170],[128,137,144,145,170],[128,135,137,145,146,170],[128,136,170],[128,129,132,137,170],[128,137,141,145,146,170],[128,141,170],[128,135,137,140,170,213],[128,129,134,137,144,170],[128,170,202],[128,132,137,158,170,218,220],[128,170,234,235,236,237,238,239,240,242,243,244,245,246,247,248,249],[128,170,234],[128,170,234,241],[82,84,88,91,120,121,122,128,170,184,192,252,253],[82,104,114,115,117,119,128,170],[82,114,128,170,231],[81,82,128,170,258],[81,82,128,170,258,277],[81,82,89,93,128,170,258,266,267,268,269,288],[81,82,96,128,170,258],[81,82,97,98,128,170,258,269],[81,82,99,100,128,170,258,262,269],[81,82,107,128,170,258],[81,82,83,122,128,170,258,266,267,280,288],[81,82,99,101,128,170,258,262,269],[81,82,115,128,170,258,262,266,267,268,278,283,288],[81,82,94,95,128,170,258,263,266,267,268,269,283,288],[81,82,116,128,170,258,266,269,278],[81,82,103,104,128,170,258,269],[81,82,83,117,128,170,258,266,267,270,271,272,273,274,279,281,282,284,285,286,287],[81,82,108,110,128,170,258,263,266,267,268,278,279,288],[82,114,128,170,256,261,262],[82,128,170,231,256,262],[82,110,111,119,128,170,256,262],[81,82,128,170,258,261,290,291,292,293,294],[81,82,128,170,232,256,258,261,262,263,264,265,266,267,268,269,288,289,290],[81,82,84,114,128,170,232,256,258,261,262,265,290],[81,82,122,128,170,256,258,262,263,265],[81,82,84,87,128,170,232,256,258,261,262,265,266,267,288,289,290],[81,82,128,170,258,265],[82,83,117,128,170,267],[82,128,170],[82,120,128,170],[82,120,121,122,128,170,184,192,296],[82,83,93,95,96,98,99,102,104,106,107,108,110,111,112,114,115,116,117,118,119,128,170],[82,120,121,128,170,184,192,298],[82,83,90,93,95,96,98,102,104,106,107,108,110,111,112,114,115,116,117,118,119,128,170,191,263],[82,83,84,85,117,119,128,170],[82,83,86,93,95,106,110,111,112,114,115,116,117,118,128,170],[82,86,95,104,109,111,113,117,118,119,128,170],[82,86,106,108,109,117,118,119,128,170],[82,86,106,109,117,118,119,128,170],[82,93,95,96,98,100,101,102,104,105,106,107,110,111,112,114,115,116,117,118,119,128,170],[82,117,118,128,170],[82,83,86,93,95,96,98,100,101,104,105,107,112,115,116,118,119,128,170],[82,86,88,89,91,92,117,118,119,128,170],[82,86,88,91,92,94,117,118,119,128,170],[82,86,117,118,128,170],[82,86,97,117,118,128,170],[82,86,99,117,118,128,170],[82,86,92,99,117,118,128,170],[82,100,101,128,170],[82,96,98,102,104,128,170],[82,86,103,117,118,128,170],[82,86,106,117,118,128,170],[82,86,106,110,111,117,118,119,128,170],[82,86,88,91,95,109,114,117,118,119,128,170],[82,86,95,114,117,118,119,128,170],[82,84,110,111,114,119,128,170,192,230,231,232,233,251,254],[82,84,91,114,118,128,170,184,192,233,250,254],[82,84,119,128,170],[82,122,128,170],[82,87,128,170],[82,88,128,170],[82,87,88,128,170],[82,90,128,170],[82,84,114,128,170,184,192,254],[82,83,128,170],[82,128,170,191]],"fileInfos":[{"version":"69684132aeb9b5642cbcd9e22dff7818ff0ee1aa831728af0ecf97d3364d5546","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"8bf8b5e44e3c9c36f98e1007e8b7018c0f38d8adc07aecef42f5200114547c70","impliedFormat":1},{"version":"092c2bfe125ce69dbb1223c85d68d4d2397d7d8411867b5cc03cec902c233763","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"b5ce7a470bc3628408429040c4e3a53a27755022a32fd05e2cb694e7015386c7","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"60037901da1a425516449b9a20073aa03386cce92f7a1fd902d7602be3a7c2e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22adec94ef7047a6c9d1af3cb96be87a335908bf9ef386ae9fd50eeb37f44c47","affectsGlobalScope":true,"impliedFormat":1},{"version":"4245fee526a7d1754529d19227ecbf3be066ff79ebb6a380d78e41648f2f224d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"7001c133698dabb4f646201d46fef931c767b966b578578da7bae72921f69504","impliedFormat":1},{"version":"faa00300c6be9189c1c04f5d0cfceaed0aa6eac5b4f70fcd877ceb169b8e9865","impliedFormat":1},{"version":"000776b76210c3b5afe490fbc24891a6b60a2b4fa64b0b36e214bdc05395a0c4","impliedFormat":1},{"version":"9d91c3cda0d0c27b7158ae82b970254964ed238ce0927f8d8bf1e8dbbe35b2ab","signature":"d9d1d403bfb4af1b67253e8c31bb84fd3b595b85a4ae554cf6884fd14c85629f","impliedFormat":99},{"version":"23b7e0647f313af89363b4206c49072874ba6da5ff93cf5e96b3fafee06f285b","signature":"9badf69c0adfe3a003e7753f226a8095d41a414c3ad7e7b32b166ff5203d6931","impliedFormat":99},{"version":"6849d7e21355a55e737952f4f7c319d72151ca3efeb096c1529f66f31a9cdff6","signature":"5df308c2a38b7e7d128b233736b36c81ac7d32ae574e01797cdf811742414af9","impliedFormat":99},{"version":"22b7b808ee63932aaee8c06bba68bda5c96b9c4088661b7ac496b2ab76690810","signature":"9c8d63202e3bcbae2d2e1b5d9afb9073d14a88b8ae3992af763a488fcfd4bc35","impliedFormat":99},{"version":"73f395c032c6fa8f168766866eb998f83a1c0f6f6892fec2a662755c183954d4","signature":"cee60b56545409f5495b470512f31b15e4e07b7b43eafefb89fa1060d3e6f147","impliedFormat":99},{"version":"b12fc64843823572006834dd913b338472864d45ed00383713872283298fdb3d","signature":"4420b5e07781e988c8f6a8374d74c11570101bdbadb188b54592b471661dba43","impliedFormat":99},{"version":"6d55bcc2b57e0db2f1628e7fdfab0c50f8a020fe19f342b58269f9821601d2de","signature":"1c1650d779604f48ba36aa90a0a65c1d8f20808209750f9034025631e12759a5","impliedFormat":99},{"version":"a6c7748e0a5984ac9d84642960023a1d374fa2ce4f6d481f134c5551c2932335","signature":"8d85889bd4043b714969515d8cb67cd65e851817b01e3d78966099175d8a6423","impliedFormat":99},{"version":"5f58f37c2b43508b2bda72b1a7b3217c93d73131f27f30efb56b7f3d05b924fa","signature":"285b7aa77ad049680f6cbb8901d31ea0985758f2037a8d29827caea5d7849a7c","impliedFormat":99},{"version":"cb3d6cbf54208f4a766e71449e1c8ac7a3c4c3afaaf2330d6f36123fd4d8a961","signature":"20fd4c22d4218f3a7860d4277b487ffd3fed2a7b9b1f1f7050561f4873d565c9","impliedFormat":99},{"version":"d57bcd01640ffb3253fe820889411957883616da0aaf4d080c7359a74721bf37","signature":"504213adf36a77ac469b659ac071e2793b133786c55ddcaee7faa54f1a320f9e","impliedFormat":99},{"version":"7e3c91c7ec0c7805e4cca815765d8d82d6603aca5901478706c771aaf5a8042b","signature":"c535f0b5433b936e35dcdab6358b5f27e1321f1c095cb504225314e93eb68119","impliedFormat":99},{"version":"224800053d5f95dbd4d4d23a8660dabc850fffef307689afd0b0d0fb3c2a8504","signature":"35101137c2c2fe380978d244ad68c6f6037e90a9e7b76643853677b7a3a9b156","impliedFormat":99},{"version":"0683b0f31e490e976de4035da21fc5ac271c6d7eb5473cfe52baecba87e930f1","signature":"3d7f00cff06f78896dc24da9d62b91de38a8475203677b50f56c279320f683bc","impliedFormat":99},{"version":"4588f7c1208e225f42a61d93ab5921a75978e8a3a2920f6f31d91e9d74da28c8","signature":"7a64f0005782063c6c670fa0e265ac8596483f23bf5899dd5b7493f30ef32d94","impliedFormat":99},{"version":"56c0d511a5799c8eba989929e7ee9e0af18114462ad0cfdac13a1dc67df8766e","signature":"540fc6abc268574b14b0333a0942d4b28cd9f13dda388b6c02f55cf1bed23aef","impliedFormat":99},{"version":"67f923b4ba030f9762eddab729bee2d560ad46e4d6be6ac40c7b7687d3410f59","signature":"e44ecfc01eb21ff4621cfd618168c9f57dba2a1ae2158e5bdea6fe618f6f1652","impliedFormat":99},{"version":"3b1601119a412fb386c3ca2acb8263de8795d250c7544d2dc4134f57ef6c2a51","signature":"500bd28893860d2eed859c814e003dda0eda064f61855acd99d2443018c798fb","impliedFormat":99},{"version":"3a5b3a53edc7f55fb2ec5249c32bbace8199bf327f862ef28e6ea14c1c259485","signature":"4c08ace3c43552237358084c139decef03b66e9e579168668bd28c0a94a3732d","impliedFormat":99},{"version":"39407bc7c4302fceec20a30aa4690a0b27e122bd5f7140b867de936d6095a2c2","signature":"0282c32b08575026b4d36c805a9fd60433ce7f5a858e80aa1374fa08b9c1fb0c","impliedFormat":99},{"version":"001d3e365257e2e5c4be28de5063c7f809cfc4b40da7c522f69d4d4bd4fce05f","signature":"a4cd144471061f2b6ca6e0a5ffd560768aa5b556ad5ba1faa43fab62d41226f3","impliedFormat":99},{"version":"26ee1fbc9aaa4f076e4aa77c5bfa46c4d42be27536ea9b2700fbbf95a4a08730","signature":"445a25854de2a1c7e2119ac1567e8cf8d7f13b5669bdd647c081b62e57023c08","impliedFormat":99},{"version":"9ae810d7e0dea48693d07d2758b820e0f40066a97083d47ff8692bbe29d5b26b","signature":"895f67f37e6bada6cfbdffe13b76c10a49876d52a15b463b2350e8ccf2aa36a9","impliedFormat":99},{"version":"e639d43c992d0e01f8cce834275ba37663ec8c13e6385fbfd8044faef4d7eed5","signature":"574b381a9431deb1a7460288dfb0aeda55b1b660df4a5e03683c79a27b18d60a","impliedFormat":99},{"version":"154c5acaf7679280e3cfee053351e8af2d9abb28721091067f658a834a410597","signature":"b994aa2e15150b431d0f085c09791dcf3c99b9e6b21e358967fe6248848a311c","impliedFormat":99},{"version":"3332245d1e5fd9d337402bc4d42bd3b99edc490603bd3c53891b2a431c8328ef","signature":"754eb668d9ba82fd27eafb7cb4f45b58af07bbc0878cb73471392a39b16c6526","impliedFormat":99},{"version":"ace097e580c5dd6815a8006677f72d4e71e976572e17fbfd5c9ca97c25bd40f1","signature":"dad33c9a930dfd3997a4442f99b03f83a39486e8769ccd2c5ddfe445a0fd1f2b","impliedFormat":99},{"version":"62474d8ec16a95f1b13df56fe30695725c6d046ff3fcdb2c68d4cfe84a0eb975","signature":"7591365a5de8f168d1cbab1abeec3d604baa3f83836989a3882cb1c136e9cef0","impliedFormat":99},{"version":"d2c1612f685daade22a7cc800cb3dc2e87381fe0936a402613d48e912159ff8a","signature":"4a9646ee2f3370190f9d0d5e0ab524950891f502d79571b2c453be821ea061fd","impliedFormat":99},{"version":"077ed026304e27df7023af6abeb7a1094b95d49fd57afcb567dba70cbc6baef8","signature":"731533faa5afc7bfce7fc12ae568f1c380860f31778810d1d9ff45ea8b8f006d","impliedFormat":99},{"version":"a0b1e06d7fc35f4959642fb2811096cfcbc3a4bbb8a329f39111ae8438dd4a8a","signature":"06a912ac3519de476dce243d8c96647618e174b1a011cb1e6efa6326963a755c","impliedFormat":99},{"version":"da95b3c2a673ee5e32017f46f498ca8f6a14caa1779beaa7d9353d929c76a602","signature":"5d5276e16f6555723441b989103a4f2feba79cb441aedb5ab84596be021d256c","impliedFormat":99},{"version":"f8c9cf089fb33696e19c1687652f0c1bf6ebcebb9c7004d24a5fa25f9acf504c","signature":"aa8e3acac6a8666633376b7e36fafd1910f3e9d89d386ba8297c933fd290d5cb","impliedFormat":99},{"version":"ac860c2d3717f53ad498819c49db2fb755133355673dd6958b60e073efe189d8","signature":"1efb5b044d6728bd6964704ece62f1823687c73d0eed82d0a6f2bd22c6d32880","impliedFormat":99},{"version":"234511256ac3ba9ad7d859049feef243fed18e5c1777a84990f656a855947170","signature":"2dfbcdbb9ce0e6c230ae0d5dc81b261bb1cc228dd0d060e6b1c00a1995e727e5","impliedFormat":99},{"version":"4b80e4a3906720e6d5e9da61f44f97d7e8d21ec304431bb00e1c362f0b134c24","signature":"482b13680e2b347651710382f47d5edacf126babf72982257bdfbf05adb5621b","impliedFormat":99},{"version":"c4cccc44c655ba134f3e84b88a6a9ceb0c6e20905c27891c56f96eba7b8c8ddf","signature":"01459b5c44c5ebaa1aa5ae840c9ff7bf5372b1e1d26dbf7628f8146ecba1f811","impliedFormat":99},{"version":"0b56ed20323c751165306d5aa3a7bdcc650b1eebe0da33eeaa362e4258e4d8f7","signature":"4ecce435abe39526bb458cc6b515c8ffe25eb32c68945cb197fe975aaebd373a","impliedFormat":99},{"version":"8c18c9e638157dc117c4f2cc64063bc7f0c531c5039aab9e4c4635e282e53305","signature":"2cfe6d120ecf8f730e7a8842c4fad45c26e105b5869eedff1675838937ee4378","impliedFormat":99},{"version":"5be4d42c795f8fd6d452c5bcfb938ffdde280df8c280b056aba2c55b8d8254bb","signature":"0fa8a62d6b05b4350fdbbe0ee455f215ee03541ba5c31249c94ddf8ae82a0064","impliedFormat":99},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"030e350db2525514580ed054f712ffb22d273e6bc7eddc1bb7eda1e0ba5d395e","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"a79e62f1e20467e11a904399b8b18b18c0c6eea6b50c1168bf215356d5bebfaf","affectsGlobalScope":true,"impliedFormat":1},{"version":"8fa51737611c21ba3a5ac02c4e1535741d58bec67c9bdf94b1837a31c97a2263","affectsGlobalScope":true,"impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"d2bc987ae352271d0d615a420dcf98cc886aa16b87fb2b569358c1fe0ca0773d","affectsGlobalScope":true,"impliedFormat":1},{"version":"4f0539c58717cbc8b73acb29f9e992ab5ff20adba5f9b57130691c7f9b186a4d","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"76103716ba397bbb61f9fa9c9090dca59f39f9047cb1352b2179c5d8e7f4e8d0","impliedFormat":1},{"version":"f9677e434b7a3b14f0a9367f9dfa1227dfe3ee661792d0085523c3191ae6a1a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"4314c7a11517e221f7296b46547dbc4df047115b182f544d072bdccffa57fc72","impliedFormat":1},{"version":"115971d64632ea4742b5b115fb64ed04bcaae2c3c342f13d9ba7e3f9ee39c4e7","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"9057f224b79846e3a95baf6dad2c8103278de2b0c5eebda23fc8188171ad2398","affectsGlobalScope":true,"impliedFormat":1},{"version":"19d5f8d3930e9f99aa2c36258bf95abbe5adf7e889e6181872d1cdba7c9a7dd5","impliedFormat":1},{"version":"e6f5a38687bebe43a4cef426b69d34373ef68be9a6b1538ec0a371e69f309354","impliedFormat":1},{"version":"a6bf63d17324010ca1fbf0389cab83f93389bb0b9a01dc8a346d092f65b3605f","impliedFormat":1},{"version":"e009777bef4b023a999b2e5b9a136ff2cde37dc3f77c744a02840f05b18be8ff","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true,"impliedFormat":1},{"version":"88bc59b32d0d5b4e5d9632ac38edea23454057e643684c3c0b94511296f2998c","affectsGlobalScope":true,"impliedFormat":1},{"version":"8fb11e675f5cc648bc6c344e1311e36b8dfffea8bffe575bedc0e41af77eca99","impliedFormat":1},{"version":"1e289f30a48126935a5d408a91129a13a59c9b0f8c007a816f9f16ef821e144e","impliedFormat":1},{"version":"f96a023e442f02cf551b4cfe435805ccb0a7e13c81619d4da61ec835d03fe512","impliedFormat":1},{"version":"5135bdd72cc05a8192bd2e92f0914d7fc43ee077d1293dc622a049b7035a0afb","impliedFormat":1},{"version":"4f80de3a11c0d2f1329a72e92c7416b2f7eab14f67e92cac63bb4e8d01c6edc8","impliedFormat":1},{"version":"6d386bc0d7f3afa1d401afc3e00ed6b09205a354a9795196caed937494a713e6","impliedFormat":1},{"version":"f579f267a2f4c2278cca2ec84613e95059368b503ce96586972d304e5e40125b","affectsGlobalScope":true,"impliedFormat":1},{"version":"23459c1915878a7c1e86e8bdb9c187cddd3aea105b8b1dfce512f093c969bc7e","impliedFormat":1},{"version":"b1b6ee0d012aeebe11d776a155d8979730440082797695fc8e2a5c326285678f","impliedFormat":1},{"version":"45875bcae57270aeb3ebc73a5e3fb4c7b9d91d6b045f107c1d8513c28ece71c0","impliedFormat":1},{"version":"1dc73f8854e5c4506131c4d95b3a6c24d0c80336d3758e95110f4c7b5cb16397","affectsGlobalScope":true,"impliedFormat":1},{"version":"5f6f1d54779d0b9ed152b0516b0958cd34889764c1190434bbf18e7a8bb884cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"c6b4e0a02545304935ecbf7de7a8e056a31bb50939b5b321c9d50a405b5a0bba","impliedFormat":1},{"version":"fab29e6d649aa074a6b91e3bdf2bff484934a46067f6ee97a30fcd9762ae2213","impliedFormat":1},{"version":"8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","impliedFormat":1},{"version":"e1120271ebbc9952fdc7b2dd3e145560e52e06956345e6fdf91d70ca4886464f","impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","impliedFormat":1},{"version":"f7b1df115dbd1b8522cba4f404a9f4fdcd5169e2137129187ffeee9d287e4fd1","impliedFormat":1},{"version":"c878f74b6d10b267f6075c51ac1d8becd15b4aa6a58f79c0cfe3b24908357f60","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093","impliedFormat":1},{"version":"fbf68fc8057932b1c30107ebc37420f8d8dc4bef1253c4c2f9e141886c0df5ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2754d8221d77c7b382096651925eb476f1066b3348da4b73fe71ced7801edada","impliedFormat":1},{"version":"993985beef40c7d113f6dd8f0ba26eed63028b691fbfeb6a5b63f26408dd2c6d","affectsGlobalScope":true,"impliedFormat":1},{"version":"bef91efa0baea5d0e0f0f27b574a8bc100ce62a6d7e70220a0d58af6acab5e89","affectsGlobalScope":true,"impliedFormat":1},{"version":"282fd2a1268a25345b830497b4b7bf5037a5e04f6a9c44c840cb605e19fea841","impliedFormat":1},{"version":"5360a27d3ebca11b224d7d3e38e3e2c63f8290cb1fcf6c3610401898f8e68bc3","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"7d6ff413e198d25639f9f01f16673e7df4e4bd2875a42455afd4ecc02ef156da","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb094bb347d7df3380299eb69836c2c8758626ecf45917577707c03cf816b6f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"f689c4237b70ae6be5f0e4180e8833f34ace40529d1acc0676ab8fb8f70457d7","impliedFormat":1},{"version":"b02784111b3fc9c38590cd4339ff8718f9329a6f4d3fd66e9744a1dcd1d7e191","impliedFormat":1},{"version":"ac5ed35e649cdd8143131964336ab9076937fa91802ec760b3ea63b59175c10a","impliedFormat":1},{"version":"52a8e7e8a1454b6d1b5ad428efae3870ffc56f2c02d923467f2940c454aa9aec","affectsGlobalScope":true,"impliedFormat":1},{"version":"78dc0513cc4f1642906b74dda42146bcbd9df7401717d6e89ea6d72d12ecb539","impliedFormat":1},{"version":"ad90122e1cb599b3bc06a11710eb5489101be678f2920f2322b0ac3e195af78d","impliedFormat":1},{"version":"d3f2d715f57df3f04bf7b16dde01dec10366f64fce44503c92b8f78f614c1769","impliedFormat":1},{"version":"b78cd10245a90e27e62d0558564f5d9a16576294eee724a59ae21b91f9269e4a","impliedFormat":1},{"version":"936eb43a381712a8ec1249f2afc819f6fc7ca68f10dfec71762b428dfdc53bf1","impliedFormat":1},{"version":"2f5747b1508ccf83fad0c251ba1e5da2f5a30b78b09ffa1cfaf633045160afed","impliedFormat":1},{"version":"86ea91bfa7fef1eeb958056f30f1db4e0680bc9b5132e5e9d6e9cfd773c0c4fd","affectsGlobalScope":true,"impliedFormat":1},{"version":"b71c603a539078a5e3a039b20f2b0a0d1708967530cf97dec8850a9ca45baa2b","impliedFormat":1},{"version":"0e13570a7e86c6d83dd92e81758a930f63747483e2cd34ef36fcdb47d1f9726a","impliedFormat":1},{"version":"104c67f0da1bdf0d94865419247e20eded83ce7f9911a1aa75fc675c077ca66e","impliedFormat":1},{"version":"cc0d0b339f31ce0ab3b7a5b714d8e578ce698f1e13d7f8c60bfb766baeb1d35c","impliedFormat":1},{"version":"d26a79f97f25eb1c5fc36a8552e4decc7ad11104a016d31b1307c3afaf48feb1","impliedFormat":1},{"version":"f1c5de969297334c1416cc3111d79715495784a85afd0067f6b5dc964b1e025d","signature":"c702def93d658ca5415bee416f94af58269ec0f802329e77893040449d531eda","impliedFormat":99},{"version":"72b514bfa14e7663f8a0dfc90f2e92e1007d47769d16e2d032ef54a146a0f91f","signature":"6717b1f0e4c2e99e0cee9026bafdfe8a97b2e152bf3ad9a9dc68ff1ebab30d39","impliedFormat":99},{"version":"79e49c1f56e4d77b9777ee31243018203aa99d308ae8f40358d1ec05b8ddab2c","signature":"14312b91775c4c6db498f56f4695023a6f097262bc738478abcd0d7ab024be5d","impliedFormat":99},{"version":"cff399d99c68e4fafdd5835d443a980622267a39ac6f3f59b9e3d60d60c4f133","impliedFormat":99},{"version":"6ada175c0c585e89569e8feb8ff6fc9fc443d7f9ca6340b456e0f94cbef559bf","impliedFormat":99},{"version":"e56e4d95fad615c97eb0ae39c329a4cda9c0af178273a9173676cc9b14b58520","impliedFormat":99},{"version":"73e8dfd5e7d2abc18bdb5c5873e64dbdd1082408dd1921cad6ff7130d8339334","impliedFormat":99},{"version":"fc820b2f0c21501f51f79b58a21d3fa7ae5659fc1812784dbfbb72af147659ee","impliedFormat":99},{"version":"4f041ef66167b5f9c73101e5fd8468774b09429932067926f9b2960cc3e4f99d","impliedFormat":99},{"version":"31501b8fc4279e78f6a05ca35e365e73c0b0c57d06dbe8faecb10c7254ce7714","impliedFormat":99},{"version":"7bc76e7d4bbe3764abaf054aed3a622c5cdbac694e474050d71ce9d4ab93ea4b","impliedFormat":99},{"version":"ff4e9db3eb1e95d7ba4b5765e4dc7f512b90fb3b588adfd5ca9b0d9d7a56a1ae","impliedFormat":99},{"version":"f205fd03cd15ea054f7006b7ef8378ef29c315149da0726f4928d291e7dce7b9","impliedFormat":99},{"version":"d683908557d53abeb1b94747e764b3bd6b6226273514b96a942340e9ce4b7be7","impliedFormat":99},{"version":"7c6d5704e2f236fddaf8dbe9131d998a4f5132609ef795b78c3b63f46317f88a","impliedFormat":99},{"version":"d05bd4d28c12545827349b0ac3a79c50658d68147dad38d13e97e22353544496","impliedFormat":99},{"version":"b6436d90a5487d9b3c3916b939f68e43f7eaca4b0bb305d897d5124180a122b9","impliedFormat":99},{"version":"04ace6bedd6f59c30ea6df1f0f8d432c728c8bc5c5fd0c5c1c80242d3ab51977","impliedFormat":99},{"version":"57a8a7772769c35ba7b4b1ba125f0812deec5c7102a0d04d9e15b1d22880c9e8","impliedFormat":99},{"version":"badcc9d59770b91987e962f8e3ddfa1e06671b0e4c5e2738bbd002255cad3f38","impliedFormat":99},{"version":"f3748ea1d1f682205ba85313341c419367607df80dca5815595c7742d017e6d4","signature":"aa610fa53335751d4c61b7ff4810019f8dc2e7bef5b94882530679ef5c1b770f","impliedFormat":99},{"version":"1aae2a2e31a988a61fa7ac8aebee845872fb355959cc437c791d6325e7cf6b26","signature":"e853ccb08b06c9898a739d6bab07e8440e8a2e28c8e54c399554e840700d7d71","impliedFormat":99},{"version":"23e38bbe0a026cb7c6db1696447116b17bf989a2507cf95a359fb1ea84d4849b","signature":"43960736821d0cf2621ca21daee2fde2cd262d75a3f5142f1ae6031ae2d8186e","impliedFormat":99},{"version":"022256727465c338a3bf0249dd90366b9fd8a86a3992d29369523fe86402b1d3","signature":"2e90d9324d752c8aa8d6d6605a8fefff5c4c30f17b055c93645e4c49228078ea","impliedFormat":99},{"version":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":99},{"version":"e35b0485d7a30b49dad6cb6e644d9079a79423302cf2eadfb6541ca4ae2daecd","signature":"bc1f49049242c1c20df18e36c76a8ccb54337a3d524803e1efcc1e7272df559b","impliedFormat":99},{"version":"03adf9196e7a24109f4892535b2e978c236e9ce17b7997ef64aff0106b603f86","impliedFormat":99},{"version":"0057f771fb2d60307e4be4ae946c693a485bc8d8603f8029f301f91bde999bf0","impliedFormat":99},{"version":"14f04b15cd0b118ec53ada152c47635bb251c74ec2e4669d7a8158fe17c78cbb","impliedFormat":99},{"version":"799230b849f5ad97fc91315a0712526ac51f8357d6be7b61fe93c8256a12a54d","impliedFormat":99},{"version":"6d2a92cff7bbe8cba741b366cdeeb45fa8dd4d03b5d8db23fcbf9d57119fc5ca","impliedFormat":99},{"version":"7687e1c892178a4674e162427319e47fb881ac1ae5fa4c50dcc3423870dba636","impliedFormat":1},{"version":"45d9ef7f61e0aed9c1b3af6c337dc9def3f578c296bf0bf4a7927c18d06d59f1","signature":"d56b6ad4a461de4bdc6b90efdee0457fd03137917b01bb1e9730b7046de1e04c","impliedFormat":99},{"version":"1a46af10bb94faf80690d8005e83553ccb0c35147551dc625a13c2a2fd6dacc6","signature":"90e7cea022fe535af9c7b69daf58eb04c629b6da939f87c1152ff7e802325cfc","impliedFormat":99},{"version":"58a4a9987bfb9ee532149962d8bb60c2a53d2ee3f15324dfaa8da2a238d9dbda","signature":"542db7993e0eebe59203c3f228aa26d92a1b55bd127c05fa0ba2e045ffd56aec","impliedFormat":99},{"version":"22a264f5fe6b57220d349c9b4d84fa3059447de3e50be59e07014508a6aee1ac","signature":"ab443c0fb2394e01c11d2371fe6fe3daa96d22de47a324e7c60774586d470d15","impliedFormat":99},{"version":"0402c6df9d1630e3455b46964466bd96647b63ba1f3c3d48eaf3080512d1876d","signature":"d41e19f927706404832b4d3912b9786aec7a251b15795724a88fb8f9a7ab31f0","impliedFormat":99},{"version":"4167ec964b10b52d0f59de250fc6f361f6d69c8d7249816b69f36eb844a84fd9","signature":"fcd5baecd86d2f3981bb1f0cf87c21ebac91bd2591d4fb6292b10ac07ebb9a36","impliedFormat":99},{"version":"cdc5e6e871a3a09064ae10ac271f7e5437cc48366b42bdf4558b667b8ff6f6df","signature":"f119d03055172a114a42e7e655c86e8f69daf89ac4040189afb8d78b4ac6c47b","impliedFormat":99},{"version":"c0bff0b640929dd7642196743ee422719288b4a7c6ba079c2a9d546e9302f11a","signature":"abc4d7e2f35c927f2a7703c74a7314317b32f01180f557d7da1ad8bfffa42d5a","impliedFormat":99},{"version":"12c15243c19f244a89ed4b8fe74f7562013ae6867eae571b7bd9c6ee7d6fe9e0","signature":"38e88523753bf4ee31162d1cd49c90717538e111d65c310571459348dce83a31","impliedFormat":99},{"version":"f70dde460592d7179dbde47147340668e395f5a6194fc8c6eef5f15472c3f090","signature":"0e0be178b1bfaa1cae8c40c4da43c161317d378b07483cf9defecc8fd78329e3","impliedFormat":99},{"version":"337af0f12d57d93b77aed72e938463c470c01e65973dc5ca61e49d2b638c8472","signature":"29934f5f5edf2d17a53c9e2fa0189811fc065f49d552d20c1b9cc1a70b1a2eff","impliedFormat":99},{"version":"874b39dff42b86941a566edcfaa36164c85fbf08658b4c39768a6b0e33d76429","signature":"dcda1230dd760a0a1e94fb218b54f8e89843d72982ad5ce83b03e5f7843f3f0b","impliedFormat":99},{"version":"f75efd5983e3da39521471473ba226e3b3240b402f9c8fbc0221a965839d19a6","impliedFormat":1},{"version":"8d44d1057bca7ac91f5ba3f10fc9b4263dc8bdfa29856836f6635df62fc1e77f","impliedFormat":1},{"version":"3839ac269f4160d21d852a4107f3a2f7eaf8dff08c02fb7ef0d19db50c03234d","impliedFormat":1},{"version":"7de9946cceba4f17d01495b6337099ffce7d47035022167743007fac53ee2c70","signature":"08d2847e9806d2a11e92500970f38cc4fa3d2f51169e4cda49e142c620696cec","impliedFormat":99},{"version":"f71175b53466c89712d794df49cbdd10ffc0574e6ba1c8ff114bcbff01d8a8f3","signature":"5f1701cc1efdc4d2773bcdf1ab4380e89b25bd8342b3a0d8a35f7931c08a5bc6","impliedFormat":99},{"version":"13a8caa93ce82ac4314c57551d1a767615f7505b1e1c525776d0b9ee08bb745d","signature":"e7896cbdd7d759240c5daa7684b84ed0676ae33793c2f8c603cc843da2c61e6f","impliedFormat":99},{"version":"41ade00e5dd1928efd28fd58f90b30160579a51891710923ca0f6cc92e393e3a","signature":"2219f318d578196ad3a6848fdfc371b0aeba33f620e89c9c6b48510b1b334197","impliedFormat":99},{"version":"eec4542e9c368554880c616202f0233620173a6737dd178db6fca5835b138eb6","signature":"ac3dd215b935303837aed88c62c68f70e3aaf6426f57c1673534ca61e5b92231","impliedFormat":99},{"version":"36d0b95a38f843b7158640a33bf2ffc84e9b67b2056f9ffecffda402d7e7a0b2","signature":"e04e75be5800bdb03efc56db5d1f0e8d7420f08c72ccee79157e1cd4a8ceae08","impliedFormat":99},{"version":"ba3f27e300e1313316b56372aa4fd3bf0d0b16baa3d689ad7c463b56e855eba9","signature":"2180619f3b46ef9c8892a7a60488ad582b6a1df812191ad997bdad70eb76bb7f","impliedFormat":99},{"version":"4e54fc1ee654facc7b14a2d625de44404b2160552cfd07726f571c7f572c40a8","signature":"8a6e4cabfdb52b7e4cc1a9ade05b0e2b45d0315d181db1f0721381dfa5dcbd7b","impliedFormat":99},{"version":"b6c4473a604c18819f62830bfa1a165d6a99b4de1d512fb8354f0dd09acb9539","signature":"6fee2a84be958eee030e90eb8098bb4b024f87fdb5c58b4bad3dddeae451958b","impliedFormat":99},{"version":"542c013d75f051ace298fd0b3107f36da719cafa91ede6ee689a6ce41ab30530","signature":"d068b0c61dc959ba1987a2525b1205f56589b2758d4f5a589cfa26384a092dae","impliedFormat":99},{"version":"3c7bdf3b8bc19c3ba690761e0e33ddbdbc637e4629f220cebcc0ffeec5b2cbd4","signature":"24f829224fe21d61714692ad8f90fbd44df0e50fdca438e3f006066b423bbbab","impliedFormat":99},{"version":"ef55363d3bcbaceca90c61f611c13a1f44173060fe91e4ec597328ae4d638b0f","signature":"b883cad4bda9a54d6b021f00edf9b757f6c9a633eda98e190fc0d147ab284ac4","impliedFormat":99},{"version":"471f84fd6041f64479e82c479fd6069ab746d3de4ce5380409130da82eb8e75c","signature":"00465d60ed1c092b5b8f24a440256e52e16d360599aab0bbf4ecf13b3d332e5d","impliedFormat":99},{"version":"abf64649f054252134c2fde92baefa107bb924ee1848d7575006aa5cad914568","signature":"24520bf9599564929be8561cb0d970cc0d9aed3570c1d5e86030fe3417c855ba","impliedFormat":99},{"version":"a57de58b40666ac4534df8e4be3d6d5217fdc10724b80c2c486d07015f4e85f2","signature":"c3c11c2b5431a06b051629abda888b114eec99870bb78d835c37d2bd51cb0e83","impliedFormat":99},{"version":"bedc4d3b21f6a678a87bbd2295c80c5f331b0a4d3898483585c4d2c637077e13","signature":"5e41b9c78f0702baea6ca4ec124d8dc9d6d2f626deb370ecb38f0b1a494a9ea8","impliedFormat":99},{"version":"8e5007e05ccd137d7647e1501453825cdb77507d5faa333168140b07416c69a7","signature":"8b4144fdedde4930187b02bf2779e76bf732db580bd7ab032928a63329910666","impliedFormat":99},{"version":"cf3f119823082ddaf69f607bb511f6decce54f0627bb535388cc0d2855f112bf","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":99},{"version":"8ab55c01082105d708b7fe3a2a5baff9494c60e7861de1ec1b045a28f4c28e6d","signature":"465a93bed6748d7afc49f5e48c7b74eb12daf334894c59b46c4f5c2c47c76a70","impliedFormat":99},{"version":"7c44d4818dbf38624f65cddb7df1864ebdf2a06b80d851d076db6a99247fa452","signature":"fa13a7b93ebc35e78aa6ef4509ab3a98aa125da077793cf6a33591af1d67b757","impliedFormat":99},{"version":"f6ece611406c26c3c2e306f83e3c77b544ea3a5671a34c1368c67f75afa4b7b5","signature":"6bf7af128ec984fb3a8df127507cddff2361bd455837e21b5ffd89e381128e51","impliedFormat":99},{"version":"2b926cced7ba015c3c9efda47b854ca38388fa5d28cc9a8d43f36a3d02d83d82","signature":"faa2168a0967af6718f2cf78806761711116dbbb79eaf31a2bcdaeb123384e44","impliedFormat":99},{"version":"fbca5ffaebf282ec3cdac47b0d1d4a138a8b0bb32105251a38acb235087d3318","impliedFormat":1},{"version":"22293bd6fa12747929f8dfca3ec1684a3fe08638aa18023dd286ab337e88a592","impliedFormat":1}],"root":[[83,122],[231,233],[251,256],[263,274],[278,299]],"options":{"composite":true,"declaration":true,"erasableSyntaxOnly":true,"jsx":4,"jsxImportSource":"preact","module":199,"noErrorTruncation":true,"noFallthroughCasesInSwitch":true,"noImplicitAny":true,"noImplicitOverride":true,"noImplicitReturns":true,"noImplicitThis":true,"noPropertyAccessFromIndexSignature":true,"noUncheckedIndexedAccess":true,"noUncheckedSideEffectImports":false,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","skipLibCheck":true,"strict":true,"target":99,"useUnknownInCatchVariables":true},"referencedMap":[[229,1],[228,2],[225,3],[230,4],[226,5],[221,5],[300,5],[167,6],[168,6],[169,7],[128,8],[170,9],[171,10],[172,11],[123,5],[126,12],[124,5],[125,5],[173,13],[174,14],[175,15],[176,16],[177,17],[178,18],[179,18],[181,19],[180,20],[182,21],[183,22],[184,23],[166,24],[127,5],[185,25],[186,26],[187,27],[220,28],[188,29],[189,30],[190,31],[191,32],[192,33],[193,34],[194,35],[195,36],[196,37],[197,38],[198,38],[199,39],[200,5],[201,5],[202,40],[204,41],[203,42],[205,43],[206,44],[207,45],[208,46],[209,47],[210,48],[211,49],[212,50],[213,51],[214,52],[215,53],[216,54],[217,55],[218,56],[219,57],[301,5],[223,5],[224,5],[222,58],[227,59],[260,60],[261,61],[259,60],[257,60],[258,60],[277,62],[276,60],[275,60],[262,60],[82,63],[81,64],[80,60],[78,5],[79,5],[13,5],[15,5],[14,5],[2,5],[16,5],[17,5],[18,5],[19,5],[20,5],[21,5],[22,5],[23,5],[3,5],[24,5],[25,5],[4,5],[26,5],[30,5],[27,5],[28,5],[29,5],[31,5],[32,5],[33,5],[5,5],[34,5],[35,5],[36,5],[37,5],[6,5],[41,5],[38,5],[39,5],[40,5],[42,5],[7,5],[43,5],[48,5],[49,5],[44,5],[45,5],[46,5],[47,5],[8,5],[53,5],[50,5],[51,5],[52,5],[54,5],[9,5],[55,5],[56,5],[57,5],[59,5],[58,5],[60,5],[61,5],[10,5],[62,5],[63,5],[64,5],[11,5],[65,5],[66,5],[67,5],[68,5],[69,5],[1,5],[70,5],[71,5],[12,5],[75,5],[73,5],[77,5],[72,5],[76,5],[74,5],[144,65],[154,66],[143,65],[164,67],[135,68],[134,69],[163,70],[157,71],[162,72],[137,73],[151,74],[136,75],[160,76],[132,77],[131,70],[161,78],[133,79],[138,80],[139,5],[142,80],[129,5],[165,81],[155,82],[146,83],[147,84],[149,85],[145,86],[148,87],[158,70],[140,88],[141,89],[150,90],[130,91],[153,82],[152,80],[156,5],[159,92],[250,93],[235,5],[236,5],[237,5],[238,5],[234,5],[239,94],[240,5],[242,95],[241,94],[243,94],[244,95],[245,94],[246,5],[247,94],[248,5],[249,5],[254,96],[120,97],[256,98],[265,99],[278,100],[270,101],[271,102],[272,103],[273,104],[274,105],[281,106],[282,107],[284,108],[285,109],[286,110],[287,111],[288,112],[280,113],[279,99],[269,99],[289,114],[266,115],[267,116],[295,117],[291,118],[292,119],[293,120],[294,121],[290,122],[268,123],[255,124],[121,125],[297,126],[296,127],[299,128],[298,129],[118,130],[119,131],[114,132],[110,133],[111,134],[122,135],[106,136],[117,137],[93,138],[95,139],[96,140],[98,141],[100,142],[101,143],[102,144],[105,145],[104,146],[107,147],[112,148],[115,149],[116,150],[92,124],[86,136],[252,151],[251,152],[231,153],[108,124],[87,124],[232,154],[84,124],[283,124],[263,124],[83,124],[88,155],[89,156],[97,156],[264,124],[99,157],[94,156],[103,156],[85,124],[91,158],[253,159],[109,160],[113,124],[90,161],[233,124]],"latestChangedDtsFile":"./renderers/ts/index.d.ts","version":"5.8.2"}
@@ -0,0 +1,6 @@
1
+ type Enumify<T extends Record<string, null>> = {
2
+ [K in keyof T]: K;
3
+ };
4
+ export type Enum<T extends Record<string, string>> = keyof T;
5
+ export declare const enumOfObject: <T extends Record<string, null>>(obj: T) => Enumify<T>;
6
+ export {};
@@ -0,0 +1 @@
1
+ export const enumOfObject = (obj) => Object.fromEntries(Object.keys(obj).map(key => [key, key]));
@@ -0,0 +1,2 @@
1
+ export declare const getErrorMessageForDisplay: (error: Error) => string;
2
+ export declare const wrapErrorsIfAny: (message: string, errors: Error[]) => AggregateError | undefined;
@@ -0,0 +1,18 @@
1
+ import { applyIndentation } from "./render.js";
2
+ export const getErrorMessageForDisplay = (error) => {
3
+ if (error instanceof AggregateError) {
4
+ return `${error.message}\n${applyIndentation(1, error.errors.map(subError => getErrorMessageForDisplay(subError)).join("\n"), 2)}`;
5
+ }
6
+ else if (error.cause instanceof Error) {
7
+ return `${error.message}\n${applyIndentation(1, getErrorMessageForDisplay(error.cause), 2)}`;
8
+ }
9
+ else {
10
+ return error.message;
11
+ }
12
+ };
13
+ export const wrapErrorsIfAny = (message, errors) => {
14
+ if (errors.length === 0) {
15
+ return undefined;
16
+ }
17
+ return new AggregateError(errors, message);
18
+ };
@@ -0,0 +1,4 @@
1
+ import { ModelContainer } from "../ModelContainer.js";
2
+ import { EntityDecl } from "../schema/declarations/EntityDecl.js";
3
+ import { InstancesByEntityName } from "../shared/utils/instances.js";
4
+ export declare const getInstancesByEntityName: (modelContainer: ModelContainer, entities: EntityDecl[]) => Promise<InstancesByEntityName>;
@@ -0,0 +1,12 @@
1
+ import { readdir, readFile } from "node:fs/promises";
2
+ import { basename, extname, join } from "node:path";
3
+ export const getInstancesByEntityName = async (modelContainer, entities) => Object.fromEntries(await Promise.all(entities.map(async (entity) => {
4
+ const entityDir = join(modelContainer.dataRootPath, entity.name);
5
+ const instanceFileNames = await readdir(entityDir);
6
+ const instances = await Promise.all(instanceFileNames.map(async (instanceFileName) => ({
7
+ fileName: instanceFileName,
8
+ id: basename(instanceFileName, extname(instanceFileName)),
9
+ content: JSON.parse(await readFile(join(entityDir, instanceFileName), "utf-8")),
10
+ })));
11
+ return [entity.name, instances];
12
+ })));
@@ -0,0 +1,16 @@
1
+ /**
2
+ * A lazy value that is only evaluated when it is needed.
3
+ */
4
+ export declare class Lazy<T> {
5
+ private state;
6
+ private constructor();
7
+ /**
8
+ * Creates a new lazy value.
9
+ */
10
+ static of<T>(f: () => T): Lazy<T>;
11
+ /**
12
+ * The value of the lazy value. If the value has not been evaluated
13
+ * yet, it will be evaluated and cached.
14
+ */
15
+ get value(): T;
16
+ }
@@ -0,0 +1,32 @@
1
+ import { assertExhaustive } from "../shared/utils/typeSafety.js";
2
+ /**
3
+ * A lazy value that is only evaluated when it is needed.
4
+ */
5
+ export class Lazy {
6
+ state;
7
+ constructor(f) {
8
+ this.state = { kind: "unevaluated", f };
9
+ }
10
+ /**
11
+ * Creates a new lazy value.
12
+ */
13
+ static of(f) {
14
+ return new Lazy(f);
15
+ }
16
+ /**
17
+ * The value of the lazy value. If the value has not been evaluated
18
+ * yet, it will be evaluated and cached.
19
+ */
20
+ get value() {
21
+ switch (this.state.kind) {
22
+ case "unevaluated": {
23
+ this.state = { kind: "evaluated", value: this.state.f() };
24
+ return this.state.value;
25
+ }
26
+ case "evaluated":
27
+ return this.state.value;
28
+ default:
29
+ return assertExhaustive(this.state);
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,3 @@
1
+ export type Leaves<T> = T extends object ? {
2
+ [K in keyof T]: T[K] extends any[] ? never : `${Exclude<K, symbol>}${Leaves<T[K]> extends never ? "" : `.${Leaves<T[K]>}`}`;
3
+ }[keyof T] : never;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ export declare const prefixLines: (prefix: string, text: string, includeEmptyLines?: boolean) => string;
2
+ export declare const applyIndentation: (indentLevel: number, text: string, spaces: number) => string;
3
+ export declare const joinSyntax: (...syntaxes: (string | undefined)[]) => string;
4
+ export declare const syntax: (strings: TemplateStringsArray, ...values: (string | undefined)[]) => string;
@@ -0,0 +1,8 @@
1
+ import { EOL } from "node:os";
2
+ export const prefixLines = (prefix, text, includeEmptyLines = false) => text
3
+ .split(EOL)
4
+ .map(line => (includeEmptyLines || line.length > 0 ? prefix + line : line))
5
+ .join(EOL);
6
+ export const applyIndentation = (indentLevel, text, spaces) => prefixLines(" ".repeat(spaces * indentLevel), text);
7
+ export const joinSyntax = (...syntaxes) => syntaxes.filter(syntax => syntax !== undefined).join("");
8
+ export const syntax = (strings, ...values) => strings.reduce((acc, str, i) => acc + str.replace(/\n/g, EOL) + (values[i] !== undefined ? values[i] : ""), "");
@@ -0,0 +1,57 @@
1
+ /**
2
+ * A result is either a value or an error.
3
+ */
4
+ export type Result<T, E> = Ok<T> | Error<E>;
5
+ /**
6
+ * A result that contains a value.
7
+ */
8
+ export interface Ok<T> {
9
+ readonly tag: "Ok";
10
+ readonly value: T;
11
+ }
12
+ /**
13
+ * A result that contains an error.
14
+ */
15
+ export interface Error<E> {
16
+ readonly tag: "Error";
17
+ readonly error: E;
18
+ }
19
+ /**
20
+ * Creates a result that contains a value.
21
+ */
22
+ export declare const ok: <T>(value: T) => Result<T, never>;
23
+ /**
24
+ * Checks if a result contains a value.
25
+ */
26
+ export declare const isOk: <T, E>(result: Result<T, E>) => result is Ok<T>;
27
+ /**
28
+ * Creates a result that contains an error.
29
+ */
30
+ export declare const error: <E>(error: E) => Result<never, E>;
31
+ /**
32
+ * Checks if a result contains an error.
33
+ */
34
+ export declare const isError: <T, E>(result: Result<T, E>) => result is Error<E>;
35
+ /**
36
+ * Reduces a result to a value of a common type.
37
+ */
38
+ export declare const reduce: <T, E, R>(result: Result<T, E>, fok: (value: T) => R, ferror: (error: E) => R) => R;
39
+ /**
40
+ * Maps the value of a result to a new value.
41
+ */
42
+ export declare const map: <T, U, E>(result: Result<T, E>, f: (value: T) => U) => Result<U, E>;
43
+ /**
44
+ * Maps an error to a new error.
45
+ */
46
+ export declare const mapError: <T, E, F>(result: Result<T, E>, f: (value: E) => F) => Result<T, F>;
47
+ export declare const combine: <T1, T2, TR, E1, E2, ER>(result1: Result<T1, E1>, result2: Result<T2, E2>, fok: (value1: T1, value2: T2) => TR, ferror: (error1: E1, error2: E2) => ER) => Result<TR, E1 | E2 | ER>;
48
+ export declare const Result: Readonly<{
49
+ ok: <T>(value: T) => Result<T, never>;
50
+ isOk: <T, E>(result: Result<T, E>) => result is Ok<T>;
51
+ error: <E>(error: E) => Result<never, E>;
52
+ isError: <T, E>(result: Result<T, E>) => result is Error<E>;
53
+ reduce: <T, E, R>(result: Result<T, E>, fok: (value: T) => R, ferror: (error: E) => R) => R;
54
+ map: <T, U, E>(result: Result<T, E>, f: (value: T) => U) => Result<U, E>;
55
+ mapError: <T, E, F>(result: Result<T, E>, f: (value: E) => F) => Result<T, F>;
56
+ combine: <T1, T2, TR, E1, E2, ER>(result1: Result<T1, E1>, result2: Result<T2, E2>, fok: (value1: T1, value2: T2) => TR, ferror: (error1: E1, error2: E2) => ER) => Result<TR, E1 | E2 | ER>;
57
+ }>;
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Creates a result that contains a value.
3
+ */
4
+ export const ok = (value) => ({ tag: "Ok", value });
5
+ /**
6
+ * Checks if a result contains a value.
7
+ */
8
+ export const isOk = (result) => result.tag === "Ok";
9
+ /**
10
+ * Creates a result that contains an error.
11
+ */
12
+ export const error = (error) => ({
13
+ tag: "Error",
14
+ error,
15
+ });
16
+ /**
17
+ * Checks if a result contains an error.
18
+ */
19
+ export const isError = (result) => result.tag === "Error";
20
+ /**
21
+ * Reduces a result to a value of a common type.
22
+ */
23
+ export const reduce = (result, fok, ferror) => (isOk(result) ? fok(result.value) : ferror(result.error));
24
+ /**
25
+ * Maps the value of a result to a new value.
26
+ */
27
+ export const map = (result, f) => (isOk(result) ? ok(f(result.value)) : result);
28
+ /**
29
+ * Maps an error to a new error.
30
+ */
31
+ export const mapError = (result, f) => (isError(result) ? error(f(result.error)) : result);
32
+ export const combine = (result1, result2, fok, ferror) => isOk(result1)
33
+ ? isOk(result2)
34
+ ? ok(fok(result1.value, result2.value))
35
+ : result2
36
+ : isOk(result2)
37
+ ? result1
38
+ : error(ferror(result1.error, result2.error));
39
+ export const Result = Object.freeze({
40
+ ok,
41
+ isOk,
42
+ error,
43
+ isError,
44
+ reduce,
45
+ map,
46
+ mapError,
47
+ combine,
48
+ });
package/package.json ADDED
@@ -0,0 +1,46 @@
1
+ {
2
+ "name": "tsondb",
3
+ "version": "0.1.3",
4
+ "description": "",
5
+ "license": "ISC",
6
+ "author": "Lukas Obermann",
7
+ "type": "module",
8
+ "files": [
9
+ "lib",
10
+ "public"
11
+ ],
12
+ "main": "lib/index.js",
13
+ "exports": {
14
+ ".": "./lib/index.js",
15
+ "./renderer/jsonschema": "./lib/renderers/jsonschema/index.js",
16
+ "./renderer/md": "./lib/renderers/md/index.js",
17
+ "./renderer/ts": "./lib/renderers/ts/index.js",
18
+ "./modelcontainer": "./lib/ModelContainer.js",
19
+ "./schema": "./lib/Schema.js",
20
+ "./schema/def": "./lib/schema/index.js"
21
+ },
22
+ "scripts": {
23
+ "build": "tsc -b",
24
+ "watch": "tsc -b -w",
25
+ "test": "glob -c \"node --import tsx --test\" \"./test/**/*.ts\"",
26
+ "release": "commit-and-tag-version"
27
+ },
28
+ "devDependencies": {
29
+ "@types/express": "^5.0.1",
30
+ "@types/node": "^22.13.14",
31
+ "commit-and-tag-version": "^12.5.1",
32
+ "glob": "^11.0.1",
33
+ "tsx": "^4.19.3",
34
+ "typescript": "^5.8.2"
35
+ },
36
+ "dependencies": {
37
+ "express": "^5.1.0",
38
+ "preact": "^10.26.5",
39
+ "preact-iso": "^2.9.1",
40
+ "uuid": "^11.1.0"
41
+ },
42
+ "repository": "github:elyukai/tsondb",
43
+ "bugs": {
44
+ "url": "https://github.com/elyukai/tsondb/issues"
45
+ }
46
+ }