@aventara/core 1.0.0-rc.0 → 1.0.0-rc.2

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 (267) hide show
  1. package/CHANGELOG.md +1434 -0
  2. package/ERRORS.md +142 -0
  3. package/README.md +247 -57
  4. package/dist/adapters/adapter-discovery-diagnostic.d.ts +4 -4
  5. package/dist/adapters/adapter-discovery-diagnostic.guidance.d.ts +6 -0
  6. package/dist/adapters/adapter-discovery-diagnostic.guidance.js +7 -0
  7. package/dist/adapters/adapter-field.d.ts +25 -11
  8. package/dist/adapters/adapter-identifier.d.ts +6 -6
  9. package/dist/adapters/adapter-model.d.ts +18 -9
  10. package/dist/adapters/adapter-operation-executor.interface.d.ts +4 -4
  11. package/dist/adapters/adapter-operation.d.ts +3 -3
  12. package/dist/adapters/adapter-resource.d.ts +18 -9
  13. package/dist/adapters/adapter-sql-statement.d.ts +19 -0
  14. package/dist/adapters/adapter-transaction-executor.interface.d.ts +19 -0
  15. package/dist/adapters/adapter.interface.d.ts +59 -29
  16. package/dist/avz/avz-check.factory.d.ts +83 -0
  17. package/dist/avz/avz-check.factory.js +116 -0
  18. package/dist/avz/avz-check.registry.d.ts +35 -0
  19. package/dist/avz/avz-check.registry.js +9 -0
  20. package/dist/avz/avz.d.ts +203 -0
  21. package/dist/{json → avz}/avz.js +150 -8
  22. package/dist/{json → avz}/index.d.ts +2 -1
  23. package/dist/{json → avz}/json-shape.registry.d.ts +7 -7
  24. package/dist/{json → avz}/zod-issue.translator.d.ts +8 -2
  25. package/dist/{json → avz}/zod-issue.translator.js +7 -0
  26. package/dist/compiler/contract-compiler-diagnostic.d.ts +31 -5
  27. package/dist/compiler/contract-compiler-diagnostic.guidance.d.ts +6 -0
  28. package/dist/compiler/contract-compiler-diagnostic.guidance.js +97 -0
  29. package/dist/compiler/contract.compiler.d.ts +18 -18
  30. package/dist/compiler/contract.compiler.js +637 -442
  31. package/dist/compiler/create-requirements.projector.d.ts +49 -0
  32. package/dist/compiler/create-requirements.projector.js +423 -0
  33. package/dist/compiler/field-validator.compiler.d.ts +47 -0
  34. package/dist/compiler/field-validator.compiler.js +238 -0
  35. package/dist/config/any-framework-config.d.ts +19 -12
  36. package/dist/config/computed-fields.d.ts +62 -0
  37. package/dist/config/computed-fields.js +80 -0
  38. package/dist/config/config-diagnostic.d.ts +11 -4
  39. package/dist/config/config-diagnostic.guidance.d.ts +6 -0
  40. package/dist/config/config-diagnostic.guidance.js +32 -0
  41. package/dist/config/config-layer.d.ts +15 -6
  42. package/dist/config/config.resolver.d.ts +74 -31
  43. package/dist/config/config.resolver.js +108 -44
  44. package/dist/config/config.validator.d.ts +7 -7
  45. package/dist/config/config.validator.js +581 -72
  46. package/dist/config/define-resource.d.ts +57 -0
  47. package/dist/config/define-resource.js +14 -0
  48. package/dist/config/effective-fields.d.ts +19 -23
  49. package/dist/config/entrypoint.normalizer.d.ts +1 -1
  50. package/dist/config/exact-framework-config.d.ts +308 -0
  51. package/dist/config/field-compute.resolver.d.ts +21 -0
  52. package/dist/config/field-compute.resolver.js +123 -0
  53. package/dist/config/field-pipeline-config.d.ts +47 -0
  54. package/dist/config/forced-operation.validator.d.ts +10 -0
  55. package/dist/config/forced-operation.validator.js +66 -0
  56. package/dist/config/framework-config.d.ts +111 -39
  57. package/dist/config/framework-exemptions-config.d.ts +91 -0
  58. package/dist/config/framework-exemptions-config.js +1 -0
  59. package/dist/config/framework-field-definition.d.ts +78 -0
  60. package/dist/config/framework-field-definition.js +28 -0
  61. package/dist/config/framework-resources-config.d.ts +122 -0
  62. package/dist/config/framework-resources-config.js +1 -0
  63. package/dist/config/pipeline-config.d.ts +56 -20
  64. package/dist/config/pipeline-tree.resolver.d.ts +79 -0
  65. package/dist/config/pipeline-tree.resolver.js +220 -0
  66. package/dist/config/stage-type.eraser.d.ts +65 -0
  67. package/dist/config/stage-type.eraser.js +1 -0
  68. package/dist/contracts/capability.d.ts +21 -12
  69. package/dist/contracts/capability.js +2 -0
  70. package/dist/contracts/client-contract-structure.validator.d.ts +388 -63
  71. package/dist/contracts/client-contract-structure.validator.js +156 -10
  72. package/dist/contracts/contract-canonicalizer.d.ts +26 -3
  73. package/dist/contracts/contract-canonicalizer.js +156 -29
  74. package/dist/contracts/contract-hash.d.ts +12 -7
  75. package/dist/contracts/contract-hash.js +3 -2
  76. package/dist/contracts/contract-limits.d.ts +4 -1
  77. package/dist/contracts/contract-limits.js +1 -0
  78. package/dist/contracts/contract-lookup.d.ts +5 -5
  79. package/dist/contracts/contract-protocol.d.ts +4 -4
  80. package/dist/contracts/contract.d.ts +24 -16
  81. package/dist/contracts/create-requirements.d.ts +35 -0
  82. package/dist/contracts/create-requirements.js +1 -0
  83. package/dist/contracts/enum-definition.d.ts +1 -1
  84. package/dist/contracts/field-check.d.ts +101 -0
  85. package/dist/contracts/field-check.js +1 -0
  86. package/dist/contracts/field.d.ts +81 -42
  87. package/dist/contracts/identifier.d.ts +4 -4
  88. package/dist/contracts/json-shape.d.ts +12 -1
  89. package/dist/contracts/lifecycle-trait.d.ts +2 -2
  90. package/dist/contracts/resource-operations.d.ts +28 -28
  91. package/dist/contracts/resource.d.ts +15 -9
  92. package/dist/contracts/scalar-value-type.d.ts +15 -15
  93. package/dist/contracts/scalar.d.ts +3 -3
  94. package/dist/contracts/transaction-capability.d.ts +1 -1
  95. package/dist/contracts/wire-scalar-format.d.ts +4 -4
  96. package/dist/framework/contract-view.d.ts +213 -147
  97. package/dist/framework/framework-construction.error.d.ts +19 -10
  98. package/dist/framework/framework-construction.error.js +7 -3
  99. package/dist/framework/framework.d.ts +47 -23
  100. package/dist/framework/framework.factory.d.ts +8 -6
  101. package/dist/framework/framework.factory.js +49 -22
  102. package/dist/framework/operation-facade.d.ts +123 -52
  103. package/dist/framework/operation-facade.js +9 -1
  104. package/dist/index.d.ts +57 -50
  105. package/dist/index.js +7 -6
  106. package/dist/internal.d.ts +17 -10
  107. package/dist/internal.js +4 -1
  108. package/dist/operations/database-refusal.d.ts +51 -0
  109. package/dist/operations/database-refusal.js +45 -0
  110. package/dist/operations/operation-arguments.d.ts +343 -207
  111. package/dist/operations/operation-call.d.ts +27 -28
  112. package/dist/operations/operation-identity.d.ts +10 -10
  113. package/dist/operations/operation-result.d.ts +21 -21
  114. package/dist/operations/operation-validator-core.d.ts +6 -6
  115. package/dist/operations/operation-validator-core.js +99 -6
  116. package/dist/operations/operation-validator.d.ts +9 -9
  117. package/dist/operations/projection-scope.resolver.d.ts +6 -6
  118. package/dist/operations/structural-limits.walker.d.ts +6 -6
  119. package/dist/operations/structural-limits.walker.js +145 -0
  120. package/dist/operations/validation-code.d.ts +11 -6
  121. package/dist/operations/validation-code.guidance.d.ts +6 -0
  122. package/dist/operations/validation-code.guidance.js +90 -0
  123. package/dist/operations/validation-code.js +4 -0
  124. package/dist/operations/write-scope.resolver.d.ts +10 -6
  125. package/dist/operations/write-scope.resolver.js +2 -0
  126. package/dist/protocol/absent-route.responder.d.ts +13 -12
  127. package/dist/protocol/absent-route.responder.js +19 -19
  128. package/dist/protocol/contract-document.responder.d.ts +3 -3
  129. package/dist/protocol/contract-document.responder.js +2 -2
  130. package/dist/protocol/http-request.decoder.d.ts +17 -13
  131. package/dist/protocol/http-request.decoder.js +10 -10
  132. package/dist/protocol/http-request.reader.d.ts +3 -3
  133. package/dist/protocol/http-response.encoder.d.ts +4 -4
  134. package/dist/protocol/http-response.encoder.js +94 -55
  135. package/dist/protocol/http-status.table.d.ts +2 -2
  136. package/dist/protocol/operation-response.guard.d.ts +2 -2
  137. package/dist/protocol/protocol-surface.d.ts +4 -4
  138. package/dist/protocol/protocol.binder.d.ts +50 -27
  139. package/dist/protocol/protocol.binder.js +12 -9
  140. package/dist/protocol/protocol.handler.d.ts +22 -13
  141. package/dist/protocol/protocol.handler.js +91 -17
  142. package/dist/protocol/unmounted-route.error.d.ts +4 -4
  143. package/dist/protocol/unmounted-route.error.js +2 -2
  144. package/dist/runtime/caller-data.copier.d.ts +22 -5
  145. package/dist/runtime/caller-data.copier.js +31 -14
  146. package/dist/runtime/caller-data.door.d.ts +17 -11
  147. package/dist/runtime/caller-data.door.js +6 -4
  148. package/dist/runtime/computed-read-runtime.d.ts +7 -6
  149. package/dist/runtime/computed-read-runtime.js +76 -50
  150. package/dist/runtime/computed-value.error.d.ts +7 -6
  151. package/dist/runtime/computed-value.error.js +5 -4
  152. package/dist/runtime/context-executor.runtime.d.ts +59 -0
  153. package/dist/runtime/context-executor.runtime.js +275 -0
  154. package/dist/runtime/create-requirement.d.ts +44 -79
  155. package/dist/runtime/create-requirement.js +213 -73
  156. package/dist/runtime/decimal.d.ts +2 -2
  157. package/dist/runtime/decimal.js +1 -1
  158. package/dist/runtime/diagnostics-reporter.d.ts +54 -27
  159. package/dist/runtime/diagnostics-reporter.js +24 -0
  160. package/dist/runtime/error-boundary.d.ts +65 -8
  161. package/dist/runtime/error-boundary.js +49 -19
  162. package/dist/runtime/error-guidance.d.ts +12 -0
  163. package/dist/runtime/error-guidance.js +1 -0
  164. package/dist/runtime/error.catalog.d.ts +49 -0
  165. package/dist/runtime/error.catalog.js +49 -0
  166. package/dist/runtime/execution-options.d.ts +10 -2
  167. package/dist/runtime/field-check.evaluator.d.ts +29 -0
  168. package/dist/runtime/field-check.evaluator.js +521 -0
  169. package/dist/runtime/field-compute.d.ts +64 -0
  170. package/dist/runtime/field-compute.js +1 -0
  171. package/dist/runtime/field-stage.plan.d.ts +15 -0
  172. package/dist/runtime/field-stage.plan.js +27 -0
  173. package/dist/runtime/field-stage.runtime.d.ts +37 -0
  174. package/dist/runtime/field-stage.runtime.js +147 -0
  175. package/dist/runtime/field-validator.runtime.d.ts +19 -0
  176. package/dist/runtime/field-validator.runtime.js +92 -0
  177. package/dist/runtime/framework-error-class.table.d.ts +33 -0
  178. package/dist/runtime/framework-error-class.table.js +25 -0
  179. package/dist/runtime/framework-error.d.ts +68 -8
  180. package/dist/runtime/framework-error.factory.d.ts +4 -0
  181. package/dist/runtime/framework-error.factory.js +15 -0
  182. package/dist/runtime/framework-error.js +23 -2
  183. package/dist/runtime/interceptor-next.error.d.ts +5 -0
  184. package/dist/runtime/interceptor-next.error.js +6 -0
  185. package/dist/runtime/json-value.d.ts +11 -6
  186. package/dist/runtime/level-lifecycle.runtime.d.ts +25 -0
  187. package/dist/runtime/level-lifecycle.runtime.js +39 -0
  188. package/dist/runtime/misuse-reporter.d.ts +12 -12
  189. package/dist/runtime/mutation-planner.d.ts +19 -10
  190. package/dist/runtime/mutation-planner.js +48 -35
  191. package/dist/runtime/nested-write.walker.d.ts +32 -0
  192. package/dist/runtime/nested-write.walker.js +73 -0
  193. package/dist/runtime/operation-code.guidance.d.ts +6 -0
  194. package/dist/runtime/operation-code.guidance.js +167 -0
  195. package/dist/runtime/operation-request.d.ts +33 -6
  196. package/dist/runtime/operation-response.d.ts +17 -17
  197. package/dist/runtime/operation-runtime.d.ts +127 -25
  198. package/dist/runtime/operation-runtime.js +441 -78
  199. package/dist/runtime/outcome-mapper.d.ts +16 -5
  200. package/dist/runtime/outcome-mapper.js +23 -6
  201. package/dist/runtime/output-validator.d.ts +10 -10
  202. package/dist/runtime/output-validator.js +3 -3
  203. package/dist/runtime/owned-execution.registry.d.ts +16 -6
  204. package/dist/runtime/pipe-output.validator.d.ts +43 -18
  205. package/dist/runtime/pipe-output.validator.js +15 -13
  206. package/dist/runtime/pipeline.d.ts +223 -34
  207. package/dist/runtime/readonly-value.d.ts +43 -0
  208. package/dist/runtime/readonly-value.js +150 -0
  209. package/dist/runtime/request-envelope.validator.d.ts +3 -3
  210. package/dist/runtime/request-envelope.validator.js +12 -7
  211. package/dist/runtime/request-id.d.ts +1 -1
  212. package/dist/runtime/request-state.d.ts +14 -0
  213. package/dist/runtime/request-state.js +1 -0
  214. package/dist/runtime/request-state.resolver.d.ts +12 -0
  215. package/dist/runtime/request-state.resolver.js +20 -0
  216. package/dist/runtime/scalar-runtime.d.ts +35 -16
  217. package/dist/runtime/scalar-runtime.js +102 -34
  218. package/dist/runtime/unsent-value.normalizer.d.ts +15 -0
  219. package/dist/runtime/unsent-value.normalizer.js +128 -0
  220. package/dist/transactions/deferred-operation.d.ts +35 -20
  221. package/dist/transactions/operation-arguments-encoder.d.ts +3 -3
  222. package/dist/transactions/operation-arguments-encoder.js +2 -2
  223. package/dist/transactions/operation-fingerprint.js +2 -2
  224. package/dist/transactions/sql-statement.d.ts +85 -0
  225. package/dist/transactions/sql-statement.js +47 -0
  226. package/dist/transactions/sql-statement.validator.d.ts +44 -0
  227. package/dist/transactions/sql-statement.validator.js +167 -0
  228. package/dist/transactions/transaction-envelope.d.ts +4 -4
  229. package/dist/transactions/transaction-integrity-error.d.ts +6 -6
  230. package/dist/transactions/transaction-integrity-error.js +5 -2
  231. package/dist/transactions/transaction-plan-assembler.d.ts +21 -11
  232. package/dist/transactions/transaction-plan-assembler.js +169 -32
  233. package/dist/transactions/transaction-plan-validator.d.ts +45 -20
  234. package/dist/transactions/transaction-plan-validator.js +96 -38
  235. package/dist/transactions/transaction-reference-collector.d.ts +5 -5
  236. package/dist/transactions/transaction-reference-resolver.d.ts +19 -2
  237. package/dist/transactions/transaction-reference-resolver.js +26 -14
  238. package/dist/transactions/transaction-reference-validator.d.ts +76 -4
  239. package/dist/transactions/transaction-reference-validator.js +129 -71
  240. package/dist/transactions/transaction-reference.d.ts +13 -13
  241. package/dist/transactions/transaction-reference.js +5 -0
  242. package/dist/transactions/transaction-request.d.ts +18 -5
  243. package/dist/transactions/transaction-response.d.ts +6 -6
  244. package/dist/transactions/transaction-runtime.d.ts +8 -7
  245. package/dist/transactions/transaction-runtime.js +191 -50
  246. package/dist/transactions/transaction-settlement.runtime.d.ts +51 -0
  247. package/dist/transactions/transaction-settlement.runtime.js +120 -0
  248. package/dist/transactions/transaction-slot-path-error.d.ts +4 -4
  249. package/dist/transactions/transaction-slot-path-error.js +2 -2
  250. package/dist/transactions/transaction-slot-writer.js +2 -2
  251. package/dist/transactions/transaction-stage.runtime.d.ts +82 -0
  252. package/dist/transactions/transaction-stage.runtime.js +126 -0
  253. package/package.json +9 -7
  254. package/src/runtime/field-check.evaluator.ts +720 -0
  255. package/dist/config/define-fields.d.ts +0 -42
  256. package/dist/config/define-fields.js +0 -3
  257. package/dist/config/framework-behaviors-config.d.ts +0 -30
  258. package/dist/config/framework-fields-config.d.ts +0 -42
  259. package/dist/config/framework-restrictions-config.d.ts +0 -142
  260. package/dist/json/avz.d.ts +0 -96
  261. package/dist/runtime/field-behavior.d.ts +0 -48
  262. /package/dist/{config/framework-behaviors-config.js → adapters/adapter-sql-statement.js} +0 -0
  263. /package/dist/{config/framework-fields-config.js → adapters/adapter-transaction-executor.interface.js} +0 -0
  264. /package/dist/{json → avz}/index.js +0 -0
  265. /package/dist/{json → avz}/json-shape.registry.js +0 -0
  266. /package/dist/config/{framework-restrictions-config.js → exact-framework-config.js} +0 -0
  267. /package/dist/{runtime/field-behavior.js → config/field-pipeline-config.js} +0 -0
@@ -1,7 +1,7 @@
1
- import type { ClientContract } from "./contract.js";
1
+ import type { AvContractClient } from "./contract.js";
2
2
  import type { JsonSchema } from "./json-shape.js";
3
3
  /**
4
- * Whether an untrusted value is a `ClientContract`: every member present, of its JSON
4
+ * Whether an untrusted value is an `AvContractClient`: every member present, of its JSON
5
5
  * kind, inside its closed vocabulary, and nothing else. An enum's values must be
6
6
  * distinct. Reads every member it judges and never throws on any input; a value that
7
7
  * is not JSON at all is reported.
@@ -27,7 +27,8 @@ export type StructureNode = {
27
27
  } | {
28
28
  readonly is: "list";
29
29
  readonly item: StructureNode;
30
- readonly nonEmpty: boolean;
30
+ /** The fewest entries it holds: 0, 1, or 2 (a pair and more). */
31
+ readonly minimum: 0 | 1 | 2;
31
32
  /** No entry repeats an earlier one. Not a type fact: `Structured` ignores it. */
32
33
  readonly unique: boolean;
33
34
  } | {
@@ -71,8 +72,8 @@ type StructuredBy<N> = {
71
72
  } ? `${P}${string}` : never;
72
73
  readonly list: N extends {
73
74
  readonly item: infer I;
74
- readonly nonEmpty: infer E;
75
- } ? E extends true ? readonly [Structured<I>, ...Structured<I>[]] : readonly Structured<I>[] : never;
75
+ readonly minimum: infer E;
76
+ } ? E extends 2 ? readonly [Structured<I>, Structured<I>, ...Structured<I>[]] : E extends 1 ? readonly [Structured<I>, ...Structured<I>[]] : readonly Structured<I>[] : never;
76
77
  readonly registry: N extends {
77
78
  readonly entry: infer E;
78
79
  } ? Readonly<Record<string, Structured<E>>> : never;
@@ -93,7 +94,7 @@ type StructuredObject<R, O> = {
93
94
  } & {
94
95
  readonly [K in keyof O]?: Structured<O[K]>;
95
96
  };
96
- /** The structure of a ClientContract. Decodes to exactly `ClientContract`. */
97
+ /** The structure of a ClientContract. Decodes to exactly `AvContractClient`. */
97
98
  export declare const CLIENT_CONTRACT_STRUCTURE: {
98
99
  readonly is: "object";
99
100
  readonly required: {
@@ -120,7 +121,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
120
121
  readonly item: {
121
122
  readonly is: "string";
122
123
  };
123
- readonly nonEmpty: false;
124
+ readonly minimum: 0;
124
125
  readonly unique: true;
125
126
  };
126
127
  };
@@ -177,7 +178,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
177
178
  readonly is: "literal";
178
179
  readonly values: readonly ["DEFAULTED", "GENERATED_ON_CREATE", "GENERATED_ON_UPDATE", "COMPUTED_ON_CREATE", "COMPUTED_ON_UPDATE", "COMPUTED_ON_READ", "VIRTUAL"];
179
180
  };
180
- readonly nonEmpty: false;
181
+ readonly minimum: 0;
181
182
  readonly unique: false;
182
183
  };
183
184
  readonly capabilities: {
@@ -193,7 +194,25 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
193
194
  readonly is: "literal";
194
195
  readonly values: readonly ["equals", "not", "in", "notIn", "lt", "lte", "gt", "gte", "contains", "startsWith", "endsWith", "mode", "has", "hasEvery", "hasSome", "isEmpty", "path", "stringContains", "stringStartsWith", "stringEndsWith", "arrayContains", "arrayStartsWith", "arrayEndsWith"];
195
196
  };
196
- readonly nonEmpty: false;
197
+ readonly minimum: 0;
198
+ readonly unique: false;
199
+ };
200
+ readonly filterModes: {
201
+ readonly is: "list";
202
+ readonly item: {
203
+ readonly is: "literal";
204
+ readonly values: readonly ["default", "sensitive", "insensitive"];
205
+ };
206
+ readonly minimum: 0;
207
+ readonly unique: false;
208
+ };
209
+ readonly pathFilterModes: {
210
+ readonly is: "list";
211
+ readonly item: {
212
+ readonly is: "literal";
213
+ readonly values: readonly ["default", "sensitive", "insensitive"];
214
+ };
215
+ readonly minimum: 0;
197
216
  readonly unique: false;
198
217
  };
199
218
  readonly order: {
@@ -208,7 +227,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
208
227
  readonly is: "literal";
209
228
  readonly values: readonly ["$increment", "$decrement", "$multiply", "$divide", "$push", "$unset"];
210
229
  };
211
- readonly nonEmpty: false;
230
+ readonly minimum: 0;
212
231
  readonly unique: false;
213
232
  };
214
233
  readonly update: {
@@ -217,7 +236,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
217
236
  readonly is: "literal";
218
237
  readonly values: readonly ["$increment", "$decrement", "$multiply", "$divide", "$push", "$unset"];
219
238
  };
220
- readonly nonEmpty: false;
239
+ readonly minimum: 0;
221
240
  readonly unique: false;
222
241
  };
223
242
  };
@@ -230,6 +249,255 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
230
249
  readonly json: {
231
250
  readonly is: "jsonSchema";
232
251
  };
252
+ readonly validators: {
253
+ readonly is: "list";
254
+ readonly item: {
255
+ readonly is: "variants";
256
+ readonly key: "check";
257
+ readonly arms: {
258
+ readonly less_than: {
259
+ readonly is: "object";
260
+ readonly required: {
261
+ readonly check: {
262
+ readonly is: "literal";
263
+ readonly values: readonly ["less_than"];
264
+ };
265
+ readonly value: {
266
+ readonly is: "union";
267
+ readonly arms: readonly [{
268
+ readonly is: "number";
269
+ }, {
270
+ readonly is: "string";
271
+ }];
272
+ };
273
+ readonly inclusive: {
274
+ readonly is: "boolean";
275
+ };
276
+ };
277
+ readonly optional: Record<never, never>;
278
+ };
279
+ readonly greater_than: {
280
+ readonly is: "object";
281
+ readonly required: {
282
+ readonly check: {
283
+ readonly is: "literal";
284
+ readonly values: readonly ["greater_than"];
285
+ };
286
+ readonly value: {
287
+ readonly is: "union";
288
+ readonly arms: readonly [{
289
+ readonly is: "number";
290
+ }, {
291
+ readonly is: "string";
292
+ }];
293
+ };
294
+ readonly inclusive: {
295
+ readonly is: "boolean";
296
+ };
297
+ };
298
+ readonly optional: Record<never, never>;
299
+ };
300
+ readonly multiple_of: {
301
+ readonly is: "object";
302
+ readonly required: {
303
+ readonly check: {
304
+ readonly is: "literal";
305
+ readonly values: readonly ["multiple_of"];
306
+ };
307
+ readonly value: {
308
+ readonly is: "union";
309
+ readonly arms: readonly [{
310
+ readonly is: "number";
311
+ }, {
312
+ readonly is: "string";
313
+ }];
314
+ };
315
+ };
316
+ readonly optional: Record<never, never>;
317
+ };
318
+ readonly max_length: {
319
+ readonly is: "object";
320
+ readonly required: {
321
+ readonly check: {
322
+ readonly is: "literal";
323
+ readonly values: readonly ["max_length"];
324
+ };
325
+ readonly maximum: {
326
+ readonly is: "number";
327
+ };
328
+ };
329
+ readonly optional: {
330
+ readonly list: {
331
+ readonly is: "literal";
332
+ readonly values: readonly [true];
333
+ };
334
+ };
335
+ };
336
+ readonly min_length: {
337
+ readonly is: "object";
338
+ readonly required: {
339
+ readonly check: {
340
+ readonly is: "literal";
341
+ readonly values: readonly ["min_length"];
342
+ };
343
+ readonly minimum: {
344
+ readonly is: "number";
345
+ };
346
+ };
347
+ readonly optional: {
348
+ readonly list: {
349
+ readonly is: "literal";
350
+ readonly values: readonly [true];
351
+ };
352
+ };
353
+ };
354
+ readonly length_equals: {
355
+ readonly is: "object";
356
+ readonly required: {
357
+ readonly check: {
358
+ readonly is: "literal";
359
+ readonly values: readonly ["length_equals"];
360
+ };
361
+ readonly length: {
362
+ readonly is: "number";
363
+ };
364
+ };
365
+ readonly optional: Record<never, never>;
366
+ };
367
+ readonly string_format: {
368
+ readonly is: "union";
369
+ readonly arms: readonly [{
370
+ readonly is: "object";
371
+ readonly required: {
372
+ readonly check: {
373
+ readonly is: "literal";
374
+ readonly values: readonly ["string_format"];
375
+ };
376
+ readonly format: {
377
+ readonly is: "literal";
378
+ readonly values: readonly ["regex"];
379
+ };
380
+ readonly pattern: {
381
+ readonly is: "object";
382
+ readonly required: {
383
+ readonly source: {
384
+ readonly is: "string";
385
+ };
386
+ readonly flags: {
387
+ readonly is: "string";
388
+ };
389
+ };
390
+ readonly optional: Record<never, never>;
391
+ };
392
+ };
393
+ readonly optional: Record<never, never>;
394
+ }, {
395
+ readonly is: "object";
396
+ readonly required: {
397
+ readonly check: {
398
+ readonly is: "literal";
399
+ readonly values: readonly ["string_format"];
400
+ };
401
+ readonly format: {
402
+ readonly is: "literal";
403
+ readonly values: readonly ["includes"];
404
+ };
405
+ readonly includes: {
406
+ readonly is: "string";
407
+ };
408
+ };
409
+ readonly optional: Record<never, never>;
410
+ }, {
411
+ readonly is: "object";
412
+ readonly required: {
413
+ readonly check: {
414
+ readonly is: "literal";
415
+ readonly values: readonly ["string_format"];
416
+ };
417
+ readonly format: {
418
+ readonly is: "literal";
419
+ readonly values: readonly ["starts_with"];
420
+ };
421
+ readonly prefix: {
422
+ readonly is: "string";
423
+ };
424
+ };
425
+ readonly optional: Record<never, never>;
426
+ }, {
427
+ readonly is: "object";
428
+ readonly required: {
429
+ readonly check: {
430
+ readonly is: "literal";
431
+ readonly values: readonly ["string_format"];
432
+ };
433
+ readonly format: {
434
+ readonly is: "literal";
435
+ readonly values: readonly ["ends_with"];
436
+ };
437
+ readonly suffix: {
438
+ readonly is: "string";
439
+ };
440
+ };
441
+ readonly optional: Record<never, never>;
442
+ }, {
443
+ readonly is: "object";
444
+ readonly required: {
445
+ readonly check: {
446
+ readonly is: "literal";
447
+ readonly values: readonly ["string_format"];
448
+ };
449
+ readonly format: {
450
+ readonly is: "literal";
451
+ readonly values: readonly ["lowercase", "uppercase", "email", "url", "emoji", "uuid", "guid", "nanoid", "cuid", "cuid2", "ulid", "xid", "ksuid", "datetime", "date", "time", "duration", "ipv4", "ipv6", "cidrv4", "cidrv6", "base64", "base64url", "json_string", "e164", "credit_card", "iban", "jwt"];
452
+ };
453
+ };
454
+ readonly optional: Record<never, never>;
455
+ }];
456
+ };
457
+ readonly max_size: {
458
+ readonly is: "object";
459
+ readonly required: {
460
+ readonly check: {
461
+ readonly is: "literal";
462
+ readonly values: readonly ["max_size"];
463
+ };
464
+ readonly maximum: {
465
+ readonly is: "number";
466
+ };
467
+ };
468
+ readonly optional: Record<never, never>;
469
+ };
470
+ readonly min_size: {
471
+ readonly is: "object";
472
+ readonly required: {
473
+ readonly check: {
474
+ readonly is: "literal";
475
+ readonly values: readonly ["min_size"];
476
+ };
477
+ readonly minimum: {
478
+ readonly is: "number";
479
+ };
480
+ };
481
+ readonly optional: Record<never, never>;
482
+ };
483
+ readonly size_equals: {
484
+ readonly is: "object";
485
+ readonly required: {
486
+ readonly check: {
487
+ readonly is: "literal";
488
+ readonly values: readonly ["size_equals"];
489
+ };
490
+ readonly size: {
491
+ readonly is: "number";
492
+ };
493
+ };
494
+ readonly optional: Record<never, never>;
495
+ };
496
+ };
497
+ };
498
+ readonly minimum: 0;
499
+ readonly unique: false;
500
+ };
233
501
  };
234
502
  };
235
503
  readonly relation: {
@@ -263,7 +531,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
263
531
  readonly is: "literal";
264
532
  readonly values: readonly ["record", "bulkWrite"];
265
533
  };
266
- readonly nonEmpty: true;
534
+ readonly minimum: 1;
267
535
  readonly unique: false;
268
536
  }];
269
537
  };
@@ -277,7 +545,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
277
545
  readonly is: "literal";
278
546
  readonly values: readonly ["record", "bulkWrite"];
279
547
  };
280
- readonly nonEmpty: true;
548
+ readonly minimum: 1;
281
549
  readonly unique: false;
282
550
  }];
283
551
  };
@@ -287,7 +555,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
287
555
  readonly is: "literal";
288
556
  readonly values: readonly ["nested", "match", "null", "some", "every", "none"];
289
557
  };
290
- readonly nonEmpty: false;
558
+ readonly minimum: 0;
291
559
  readonly unique: false;
292
560
  };
293
561
  readonly order: {
@@ -299,7 +567,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
299
567
  readonly is: "literal";
300
568
  readonly values: readonly ["limit", "offset", "cursor"];
301
569
  };
302
- readonly nonEmpty: false;
570
+ readonly minimum: 0;
303
571
  readonly unique: false;
304
572
  };
305
573
  readonly reducers: {
@@ -310,7 +578,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
310
578
  readonly is: "literal";
311
579
  readonly values: readonly ["$count"];
312
580
  };
313
- readonly nonEmpty: false;
581
+ readonly minimum: 0;
314
582
  readonly unique: false;
315
583
  }, {
316
584
  readonly is: "object";
@@ -321,7 +589,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
321
589
  readonly is: "literal";
322
590
  readonly values: readonly ["$count"];
323
591
  };
324
- readonly nonEmpty: false;
592
+ readonly minimum: 0;
325
593
  readonly unique: false;
326
594
  };
327
595
  readonly scopes: {
@@ -330,7 +598,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
330
598
  readonly is: "literal";
331
599
  readonly values: readonly ["record", "bulkWrite"];
332
600
  };
333
- readonly nonEmpty: true;
601
+ readonly minimum: 1;
334
602
  readonly unique: false;
335
603
  };
336
604
  };
@@ -345,7 +613,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
345
613
  readonly is: "literal";
346
614
  readonly values: readonly ["$create", "$connect", "$connectOrCreate", "$disconnect", "$set", "$update", "$delete", "$upsert"];
347
615
  };
348
- readonly nonEmpty: false;
616
+ readonly minimum: 0;
349
617
  readonly unique: false;
350
618
  }, {
351
619
  readonly is: "object";
@@ -356,16 +624,16 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
356
624
  readonly is: "literal";
357
625
  readonly values: readonly ["$create", "$connect", "$connectOrCreate", "$disconnect", "$set", "$update", "$delete", "$upsert"];
358
626
  };
359
- readonly nonEmpty: false;
627
+ readonly minimum: 0;
360
628
  readonly unique: false;
361
629
  };
362
630
  readonly scopes: {
363
631
  readonly is: "list";
364
632
  readonly item: {
365
633
  readonly is: "literal";
366
- readonly values: readonly ["nested", "bulkWrite"];
634
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
367
635
  };
368
- readonly nonEmpty: true;
636
+ readonly minimum: 1;
369
637
  readonly unique: false;
370
638
  };
371
639
  };
@@ -380,7 +648,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
380
648
  readonly is: "literal";
381
649
  readonly values: readonly ["$create", "$connect", "$connectOrCreate", "$disconnect", "$set", "$update", "$delete", "$upsert"];
382
650
  };
383
- readonly nonEmpty: false;
651
+ readonly minimum: 0;
384
652
  readonly unique: false;
385
653
  }, {
386
654
  readonly is: "object";
@@ -391,16 +659,16 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
391
659
  readonly is: "literal";
392
660
  readonly values: readonly ["$create", "$connect", "$connectOrCreate", "$disconnect", "$set", "$update", "$delete", "$upsert"];
393
661
  };
394
- readonly nonEmpty: false;
662
+ readonly minimum: 0;
395
663
  readonly unique: false;
396
664
  };
397
665
  readonly scopes: {
398
666
  readonly is: "list";
399
667
  readonly item: {
400
668
  readonly is: "literal";
401
- readonly values: readonly ["nested", "bulkWrite"];
669
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
402
670
  };
403
- readonly nonEmpty: true;
671
+ readonly minimum: 1;
404
672
  readonly unique: false;
405
673
  };
406
674
  };
@@ -414,7 +682,19 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
414
682
  };
415
683
  };
416
684
  };
417
- readonly optional: Record<never, never>;
685
+ readonly optional: {
686
+ readonly inverse: {
687
+ readonly is: "string";
688
+ };
689
+ readonly referenceFields: {
690
+ readonly is: "list";
691
+ readonly item: {
692
+ readonly is: "string";
693
+ };
694
+ readonly minimum: 1;
695
+ readonly unique: false;
696
+ };
697
+ };
418
698
  };
419
699
  };
420
700
  };
@@ -426,10 +706,10 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
426
706
  readonly item: {
427
707
  readonly is: "string";
428
708
  };
429
- readonly nonEmpty: true;
709
+ readonly minimum: 1;
430
710
  readonly unique: false;
431
711
  };
432
- readonly nonEmpty: false;
712
+ readonly minimum: 0;
433
713
  readonly unique: false;
434
714
  };
435
715
  readonly operations: {
@@ -456,7 +736,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
456
736
  readonly optional: {
457
737
  readonly write: {
458
738
  readonly is: "literal";
459
- readonly values: readonly ["nested", "bulkWrite"];
739
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
460
740
  };
461
741
  };
462
742
  }, {
@@ -464,7 +744,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
464
744
  readonly required: {
465
745
  readonly write: {
466
746
  readonly is: "literal";
467
- readonly values: readonly ["nested", "bulkWrite"];
747
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
468
748
  };
469
749
  };
470
750
  readonly optional: {
@@ -491,7 +771,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
491
771
  readonly optional: {
492
772
  readonly write: {
493
773
  readonly is: "literal";
494
- readonly values: readonly ["nested", "bulkWrite"];
774
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
495
775
  };
496
776
  };
497
777
  }, {
@@ -499,7 +779,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
499
779
  readonly required: {
500
780
  readonly write: {
501
781
  readonly is: "literal";
502
- readonly values: readonly ["nested", "bulkWrite"];
782
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
503
783
  };
504
784
  };
505
785
  readonly optional: {
@@ -526,7 +806,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
526
806
  readonly optional: {
527
807
  readonly write: {
528
808
  readonly is: "literal";
529
- readonly values: readonly ["nested", "bulkWrite"];
809
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
530
810
  };
531
811
  };
532
812
  }, {
@@ -534,7 +814,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
534
814
  readonly required: {
535
815
  readonly write: {
536
816
  readonly is: "literal";
537
- readonly values: readonly ["nested", "bulkWrite"];
817
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
538
818
  };
539
819
  };
540
820
  readonly optional: {
@@ -561,7 +841,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
561
841
  readonly optional: {
562
842
  readonly write: {
563
843
  readonly is: "literal";
564
- readonly values: readonly ["nested", "bulkWrite"];
844
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
565
845
  };
566
846
  };
567
847
  }, {
@@ -569,7 +849,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
569
849
  readonly required: {
570
850
  readonly write: {
571
851
  readonly is: "literal";
572
- readonly values: readonly ["nested", "bulkWrite"];
852
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
573
853
  };
574
854
  };
575
855
  readonly optional: {
@@ -602,7 +882,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
602
882
  readonly optional: {
603
883
  readonly write: {
604
884
  readonly is: "literal";
605
- readonly values: readonly ["nested", "bulkWrite"];
885
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
606
886
  };
607
887
  };
608
888
  }, {
@@ -610,7 +890,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
610
890
  readonly required: {
611
891
  readonly write: {
612
892
  readonly is: "literal";
613
- readonly values: readonly ["nested", "bulkWrite"];
893
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
614
894
  };
615
895
  };
616
896
  readonly optional: {
@@ -637,7 +917,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
637
917
  readonly optional: {
638
918
  readonly write: {
639
919
  readonly is: "literal";
640
- readonly values: readonly ["nested", "bulkWrite"];
920
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
641
921
  };
642
922
  };
643
923
  }, {
@@ -645,7 +925,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
645
925
  readonly required: {
646
926
  readonly write: {
647
927
  readonly is: "literal";
648
- readonly values: readonly ["nested", "bulkWrite"];
928
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
649
929
  };
650
930
  };
651
931
  readonly optional: {
@@ -672,7 +952,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
672
952
  readonly optional: {
673
953
  readonly write: {
674
954
  readonly is: "literal";
675
- readonly values: readonly ["nested", "bulkWrite"];
955
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
676
956
  };
677
957
  };
678
958
  }, {
@@ -680,7 +960,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
680
960
  readonly required: {
681
961
  readonly write: {
682
962
  readonly is: "literal";
683
- readonly values: readonly ["nested", "bulkWrite"];
963
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
684
964
  };
685
965
  };
686
966
  readonly optional: {
@@ -713,7 +993,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
713
993
  readonly optional: {
714
994
  readonly write: {
715
995
  readonly is: "literal";
716
- readonly values: readonly ["nested", "bulkWrite"];
996
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
717
997
  };
718
998
  };
719
999
  }, {
@@ -721,7 +1001,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
721
1001
  readonly required: {
722
1002
  readonly write: {
723
1003
  readonly is: "literal";
724
- readonly values: readonly ["nested", "bulkWrite"];
1004
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
725
1005
  };
726
1006
  };
727
1007
  readonly optional: {
@@ -748,7 +1028,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
748
1028
  readonly optional: {
749
1029
  readonly write: {
750
1030
  readonly is: "literal";
751
- readonly values: readonly ["nested", "bulkWrite"];
1031
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
752
1032
  };
753
1033
  };
754
1034
  }, {
@@ -756,7 +1036,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
756
1036
  readonly required: {
757
1037
  readonly write: {
758
1038
  readonly is: "literal";
759
- readonly values: readonly ["nested", "bulkWrite"];
1039
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
760
1040
  };
761
1041
  };
762
1042
  readonly optional: {
@@ -783,7 +1063,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
783
1063
  readonly optional: {
784
1064
  readonly write: {
785
1065
  readonly is: "literal";
786
- readonly values: readonly ["nested", "bulkWrite"];
1066
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
787
1067
  };
788
1068
  };
789
1069
  }, {
@@ -791,7 +1071,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
791
1071
  readonly required: {
792
1072
  readonly write: {
793
1073
  readonly is: "literal";
794
- readonly values: readonly ["nested", "bulkWrite"];
1074
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
795
1075
  };
796
1076
  };
797
1077
  readonly optional: {
@@ -818,7 +1098,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
818
1098
  readonly optional: {
819
1099
  readonly write: {
820
1100
  readonly is: "literal";
821
- readonly values: readonly ["nested", "bulkWrite"];
1101
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
822
1102
  };
823
1103
  };
824
1104
  }, {
@@ -826,7 +1106,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
826
1106
  readonly required: {
827
1107
  readonly write: {
828
1108
  readonly is: "literal";
829
- readonly values: readonly ["nested", "bulkWrite"];
1109
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
830
1110
  };
831
1111
  };
832
1112
  readonly optional: {
@@ -859,7 +1139,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
859
1139
  readonly optional: {
860
1140
  readonly write: {
861
1141
  readonly is: "literal";
862
- readonly values: readonly ["nested", "bulkWrite"];
1142
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
863
1143
  };
864
1144
  };
865
1145
  }, {
@@ -867,7 +1147,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
867
1147
  readonly required: {
868
1148
  readonly write: {
869
1149
  readonly is: "literal";
870
- readonly values: readonly ["nested", "bulkWrite"];
1150
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
871
1151
  };
872
1152
  };
873
1153
  readonly optional: {
@@ -894,7 +1174,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
894
1174
  readonly optional: {
895
1175
  readonly write: {
896
1176
  readonly is: "literal";
897
- readonly values: readonly ["nested", "bulkWrite"];
1177
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
898
1178
  };
899
1179
  };
900
1180
  }, {
@@ -902,7 +1182,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
902
1182
  readonly required: {
903
1183
  readonly write: {
904
1184
  readonly is: "literal";
905
- readonly values: readonly ["nested", "bulkWrite"];
1185
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
906
1186
  };
907
1187
  };
908
1188
  readonly optional: {
@@ -929,7 +1209,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
929
1209
  readonly optional: {
930
1210
  readonly write: {
931
1211
  readonly is: "literal";
932
- readonly values: readonly ["nested", "bulkWrite"];
1212
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
933
1213
  };
934
1214
  };
935
1215
  }, {
@@ -937,7 +1217,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
937
1217
  readonly required: {
938
1218
  readonly write: {
939
1219
  readonly is: "literal";
940
- readonly values: readonly ["nested", "bulkWrite"];
1220
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
941
1221
  };
942
1222
  };
943
1223
  readonly optional: {
@@ -964,7 +1244,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
964
1244
  readonly optional: {
965
1245
  readonly write: {
966
1246
  readonly is: "literal";
967
- readonly values: readonly ["nested", "bulkWrite"];
1247
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
968
1248
  };
969
1249
  };
970
1250
  }, {
@@ -972,7 +1252,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
972
1252
  readonly required: {
973
1253
  readonly write: {
974
1254
  readonly is: "literal";
975
- readonly values: readonly ["nested", "bulkWrite"];
1255
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
976
1256
  };
977
1257
  };
978
1258
  readonly optional: {
@@ -1005,7 +1285,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
1005
1285
  readonly optional: {
1006
1286
  readonly write: {
1007
1287
  readonly is: "literal";
1008
- readonly values: readonly ["nested", "bulkWrite"];
1288
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
1009
1289
  };
1010
1290
  };
1011
1291
  }, {
@@ -1013,7 +1293,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
1013
1293
  readonly required: {
1014
1294
  readonly write: {
1015
1295
  readonly is: "literal";
1016
- readonly values: readonly ["nested", "bulkWrite"];
1296
+ readonly values: readonly ["nested", "bulkWrite", "loopback"];
1017
1297
  };
1018
1298
  };
1019
1299
  readonly optional: {
@@ -1029,7 +1309,49 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
1029
1309
  };
1030
1310
  };
1031
1311
  };
1032
- readonly optional: Record<never, never>;
1312
+ readonly optional: {
1313
+ readonly createRequirements: {
1314
+ readonly is: "object";
1315
+ readonly required: {};
1316
+ readonly optional: {
1317
+ readonly required: {
1318
+ readonly is: "list";
1319
+ readonly item: {
1320
+ readonly is: "string";
1321
+ };
1322
+ readonly minimum: 1;
1323
+ readonly unique: false;
1324
+ };
1325
+ readonly oneOf: {
1326
+ readonly is: "list";
1327
+ readonly item: {
1328
+ readonly is: "list";
1329
+ readonly item: {
1330
+ readonly is: "string";
1331
+ };
1332
+ readonly minimum: 2;
1333
+ readonly unique: false;
1334
+ };
1335
+ readonly minimum: 1;
1336
+ readonly unique: false;
1337
+ };
1338
+ readonly parentSupplies: {
1339
+ readonly is: "registry";
1340
+ readonly entry: {
1341
+ readonly is: "registry";
1342
+ readonly entry: {
1343
+ readonly is: "list";
1344
+ readonly item: {
1345
+ readonly is: "string";
1346
+ };
1347
+ readonly minimum: 1;
1348
+ readonly unique: false;
1349
+ };
1350
+ };
1351
+ };
1352
+ };
1353
+ };
1354
+ };
1033
1355
  };
1034
1356
  };
1035
1357
  readonly limits: {
@@ -1050,6 +1372,9 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
1050
1372
  readonly maxBooleanNodes: {
1051
1373
  readonly is: "number";
1052
1374
  };
1375
+ readonly maxJsonDepth: {
1376
+ readonly is: "number";
1377
+ };
1053
1378
  };
1054
1379
  readonly optional: Record<never, never>;
1055
1380
  };
@@ -1086,7 +1411,7 @@ export declare const CLIENT_CONTRACT_STRUCTURE: {
1086
1411
  */
1087
1412
  export type ClientContractStructureVerdict = {
1088
1413
  readonly valid: true;
1089
- readonly contract: ClientContract;
1414
+ readonly contract: AvContractClient;
1090
1415
  } | {
1091
1416
  readonly valid: false;
1092
1417
  readonly path: string;