clivly 0.4.1 → 0.7.1

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 (164) hide show
  1. package/README.md +89 -10
  2. package/{adapter-CXr12l4K.d.cts → adapter-C2eRbBfo.d.cts} +1 -2
  3. package/{adapter-CvNBD_3y.d.mts → adapter-D5LRa-NA.d.mts} +1 -2
  4. package/{auth-adapter-CdLODn2p.d.cts → auth-adapter-Bjgo8LhN.d.mts} +1 -2
  5. package/{auth-adapter-CRBW4elj.d.mts → auth-adapter-DWzgl5Yq.d.cts} +1 -2
  6. package/auth-better-auth.d.cts +1 -2
  7. package/auth-better-auth.d.mts +1 -2
  8. package/auth-clerk.d.cts +1 -2
  9. package/auth-clerk.d.mts +1 -2
  10. package/auth-workos.d.cts +1 -2
  11. package/auth-workos.d.mts +1 -2
  12. package/core-adapter.cjs +5 -0
  13. package/core-adapter.d.cts +1 -1
  14. package/core-adapter.d.mts +1 -1
  15. package/core-adapter.mjs +5 -0
  16. package/core-auth-adapter.cjs +6 -1
  17. package/core-auth-adapter.d.cts +1 -1
  18. package/core-auth-adapter.d.mts +1 -1
  19. package/core-auth-adapter.mjs +6 -1
  20. package/core-drizzle.cjs +6 -30
  21. package/core-drizzle.d.cts +1 -20
  22. package/core-drizzle.d.mts +1 -20
  23. package/core-drizzle.mjs +5 -29
  24. package/core-entity-config.cjs +4 -1
  25. package/core-entity-config.d.cts +1 -1
  26. package/core-entity-config.d.mts +1 -1
  27. package/core-entity-config.mjs +5 -1
  28. package/core-entity-heuristics.cjs +14 -453
  29. package/core-entity-heuristics.d.cts +1 -67
  30. package/core-entity-heuristics.d.mts +1 -67
  31. package/core-entity-heuristics.mjs +4 -442
  32. package/core-mapping-form.cjs +6 -1
  33. package/core-mapping-form.d.cts +1 -1
  34. package/core-mapping-form.d.mts +1 -1
  35. package/core-mapping-form.mjs +6 -1
  36. package/core-mapping-score.cjs +4 -1
  37. package/core-mapping-score.d.cts +1 -1
  38. package/core-mapping-score.d.mts +1 -1
  39. package/core-mapping-score.mjs +5 -1
  40. package/core-mappings-config.cjs +6 -1
  41. package/core-mappings-config.d.cts +1 -1
  42. package/core-mappings-config.d.mts +1 -1
  43. package/core-mappings-config.mjs +6 -1
  44. package/core-sync-engine.cjs +6 -1
  45. package/core-sync-engine.d.cts +1 -1
  46. package/core-sync-engine.d.mts +1 -1
  47. package/core-sync-engine.mjs +6 -1
  48. package/core-types.cjs +5 -0
  49. package/core-types.d.cts +1 -1
  50. package/core-types.d.mts +1 -1
  51. package/core-types.mjs +5 -0
  52. package/core-view-compiler.cjs +6 -1
  53. package/core-view-compiler.d.cts +1 -1
  54. package/core-view-compiler.d.mts +1 -1
  55. package/core-view-compiler.mjs +6 -1
  56. package/core.cjs +11 -6
  57. package/core.d.cts +9 -9
  58. package/core.d.mts +9 -9
  59. package/core.mjs +11 -6
  60. package/deprecate-subpath-B9ngvizt.cjs +30 -0
  61. package/deprecate-subpath-CmvZtCpE.mjs +25 -0
  62. package/drizzle-B89tLo4T.mjs +31 -0
  63. package/drizzle-CFOr9dU9.d.mts +20 -0
  64. package/drizzle-DiReZf6d.cjs +36 -0
  65. package/drizzle-DmeKSqeF.d.cts +20 -0
  66. package/drizzle.cjs +3 -1
  67. package/drizzle.d.cts +11 -3
  68. package/drizzle.d.mts +11 -3
  69. package/drizzle.mjs +3 -2
  70. package/{entity-config-DMuZpchz.cjs → entity-config-D87rV-tE.cjs} +194 -192
  71. package/{entity-config-D1DFyeUp.d.mts → entity-config-DoUCXtq5.d.cts} +48 -35
  72. package/{entity-config-GczjD3y8.d.cts → entity-config-DoUCXtq5.d.mts} +48 -35
  73. package/{entity-config-D3YpQB0z.mjs → entity-config-va2bkH5o.mjs} +194 -192
  74. package/index.cjs +910 -234
  75. package/index.d.cts +30 -2
  76. package/index.d.mts +30 -2
  77. package/index.mjs +900 -226
  78. package/internal-adapter.cjs +0 -0
  79. package/internal-adapter.d.cts +2 -0
  80. package/internal-adapter.d.mts +2 -0
  81. package/internal-adapter.mjs +1 -0
  82. package/internal-auth-adapter.cjs +3 -0
  83. package/internal-auth-adapter.d.cts +2 -0
  84. package/internal-auth-adapter.d.mts +2 -0
  85. package/internal-auth-adapter.mjs +2 -0
  86. package/internal-drizzle.cjs +3 -0
  87. package/internal-drizzle.d.cts +2 -0
  88. package/internal-drizzle.d.mts +2 -0
  89. package/internal-drizzle.mjs +2 -0
  90. package/internal-entity-config.cjs +13 -0
  91. package/internal-entity-config.d.cts +2 -0
  92. package/internal-entity-config.d.mts +2 -0
  93. package/internal-entity-config.mjs +2 -0
  94. package/internal-entity-heuristics.cjs +455 -0
  95. package/internal-entity-heuristics.d.cts +67 -0
  96. package/internal-entity-heuristics.d.mts +67 -0
  97. package/internal-entity-heuristics.mjs +444 -0
  98. package/internal-mapping-form.cjs +5 -0
  99. package/internal-mapping-form.d.cts +2 -0
  100. package/internal-mapping-form.d.mts +2 -0
  101. package/internal-mapping-form.mjs +2 -0
  102. package/internal-mapping-score.cjs +12 -0
  103. package/internal-mapping-score.d.cts +2 -0
  104. package/internal-mapping-score.d.mts +2 -0
  105. package/internal-mapping-score.mjs +2 -0
  106. package/internal-mappings-config.cjs +3 -0
  107. package/internal-mappings-config.d.cts +2 -0
  108. package/internal-mappings-config.d.mts +2 -0
  109. package/internal-mappings-config.mjs +2 -0
  110. package/internal-sync-engine.cjs +6 -0
  111. package/internal-sync-engine.d.cts +2 -0
  112. package/internal-sync-engine.d.mts +2 -0
  113. package/internal-sync-engine.mjs +2 -0
  114. package/internal-types.cjs +0 -0
  115. package/internal-types.d.cts +2 -0
  116. package/internal-types.d.mts +2 -0
  117. package/internal-types.mjs +1 -0
  118. package/internal-view-compiler.cjs +6 -0
  119. package/internal-view-compiler.d.cts +2 -0
  120. package/internal-view-compiler.d.mts +2 -0
  121. package/internal-view-compiler.mjs +2 -0
  122. package/internal.cjs +28 -0
  123. package/internal.d.cts +9 -0
  124. package/internal.d.mts +9 -0
  125. package/internal.mjs +7 -0
  126. package/{mapping-form-CUlFVfG8.d.cts → mapping-form-D93lhHEc.d.mts} +1 -2
  127. package/{mapping-form-kjSiJaCX.d.mts → mapping-form-lfyEE7EJ.d.cts} +1 -2
  128. package/{mappings-config-DYZ_uOOB.cjs → mappings-config-BsRADNRv.cjs} +1 -1
  129. package/{mappings-config-CNTZRD4g.mjs → mappings-config-Dbgxx3Nv.mjs} +1 -1
  130. package/{mappings-config-DjRLCb2Q.d.cts → mappings-config-DsUa7-1w.d.mts} +1 -2
  131. package/{mappings-config-GxiYsSBQ.d.mts → mappings-config-XmzB4dag.d.cts} +1 -2
  132. package/package.json +152 -4
  133. package/{sdk-DdzBxgMx.mjs → sdk-C6WANW8M.mjs} +173 -34
  134. package/{sdk-D1BHQDf5.cjs → sdk-iqOXeWIp.cjs} +173 -34
  135. package/sdk.cjs +3 -1
  136. package/sdk.d.cts +1 -41
  137. package/sdk.d.mts +1 -41
  138. package/sdk.mjs +3 -2
  139. package/{sync-engine-DIVMG9EV.d.cts → sync-engine-B7QIbXro.d.cts} +6 -5
  140. package/{sync-engine-BtzkzKmY.cjs → sync-engine-CzEbpQGv.cjs} +1 -1
  141. package/{sync-engine-DLx243iw.d.mts → sync-engine-DGk_AeHJ.d.mts} +6 -5
  142. package/{sync-engine-D9vghQab.mjs → sync-engine-Do5ru3WF.mjs} +1 -1
  143. package/types-CsL0rFYh.d.cts +155 -0
  144. package/types-CsL0rFYh.d.mts +155 -0
  145. package/{view-compiler-4HsRUTWH.d.cts → view-compiler-BWz0sGdm.d.cts} +1 -2
  146. package/{view-compiler-BpIDExjd.d.mts → view-compiler-Bn_EJJMO.d.mts} +1 -2
  147. package/vite.d.cts +1 -2
  148. package/vite.d.mts +1 -2
  149. package/namespace-probe-CA4Vj40g.d.mts +0 -331
  150. package/namespace-probe-CkHCj9tQ.d.cts +0 -331
  151. /package/{auth-adapter-CBOKDhlc.cjs → auth-adapter-CiEXcweZ.cjs} +0 -0
  152. /package/{auth-adapter-wqnnEjo3.mjs → auth-adapter-gfVDxf3d.mjs} +0 -0
  153. /package/{drizzle-meta-BVR1qiyu.cjs → drizzle-meta-Bb1JWYqf.cjs} +0 -0
  154. /package/{drizzle-meta-DpMKataU.mjs → drizzle-meta-D-5k3n0i.mjs} +0 -0
  155. /package/{mapping-form-DdmDebC3.cjs → mapping-form-BpfON_ME.cjs} +0 -0
  156. /package/{mapping-form-BHtPexzI.mjs → mapping-form-DigkuvFc.mjs} +0 -0
  157. /package/{mapping-score-CPPvwoZC.mjs → mapping-score-C68uAqGB.mjs} +0 -0
  158. /package/{mapping-score-i3p8LWDF.cjs → mapping-score-CaB3F4Uu.cjs} +0 -0
  159. /package/{mapping-score-A2lRnlpk.d.mts → mapping-score-D7Gzg7Ii.d.cts} +0 -0
  160. /package/{mapping-score-BcjC0ZQs.d.cts → mapping-score-D7Gzg7Ii.d.mts} +0 -0
  161. /package/{types-BpsKVccL.d.cts → types-B1oRXdNP.d.cts} +0 -0
  162. /package/{types-_qbJXMt_.d.mts → types-B1oRXdNP.d.mts} +0 -0
  163. /package/{view-compiler-BcgJINr7.cjs → view-compiler-BIwvm-o2.cjs} +0 -0
  164. /package/{view-compiler-DeZzx_jn.mjs → view-compiler-ChWr_Lml.mjs} +0 -0
@@ -190,7 +190,7 @@ declare const $output: unique symbol;
190
190
  type $output = typeof $output;
191
191
  declare const $input: unique symbol;
192
192
  type $input = typeof $input;
193
- type $replace<Meta, S extends $ZodType> = Meta extends $output ? output<S> : Meta extends $input ? input<S> : Meta extends (infer M)[] ? $replace<M, S>[] : Meta extends ((...args: infer P) => infer R) ? (...args: { [K in keyof P]: $replace<P[K], S> }) => $replace<R, S> : Meta extends object ? { [K in keyof Meta]: $replace<Meta[K], S> } : Meta;
193
+ type $replace<Meta, S extends $ZodType> = Meta extends $output ? output<S> : Meta extends $input ? input<S> : Meta extends (infer M)[] ? $replace<M, S>[] : Meta extends ((...args: infer P) => infer R) ? (...args: { [K in keyof P]: $replace<P[K], S>; }) => $replace<R, S> : Meta extends object ? { [K in keyof Meta]: $replace<Meta[K], S>; } : Meta;
194
194
  type MetadataType = object | undefined;
195
195
  declare class $ZodRegistry<Meta extends MetadataType = MetadataType, Schema extends $ZodType = $ZodType> {
196
196
  _meta: Meta;
@@ -311,24 +311,24 @@ type NoUndefined<T> = T extends undefined ? never : T;
311
311
  type LoosePartial<T extends object> = InexactPartial<T> & {
312
312
  [k: string]: unknown;
313
313
  };
314
- type Mask<Keys extends PropertyKey> = { [K in Keys]?: true };
315
- type Writeable<T> = { -readonly [P in keyof T]: T[P] } & {};
316
- type InexactPartial<T> = { [P in keyof T]?: T[P] | undefined };
314
+ type Mask<Keys extends PropertyKey> = { [K in Keys]?: true; };
315
+ type Writeable<T> = { -readonly [P in keyof T]: T[P]; } & {};
316
+ type InexactPartial<T> = { [P in keyof T]?: T[P] | undefined; };
317
317
  type BuiltIn = (((...args: any[]) => any) | (new (...args: any[]) => any)) | {
318
318
  readonly [Symbol.toStringTag]: string;
319
319
  } | Date | Error | Generator | Promise<unknown> | RegExp;
320
320
  type MakeReadonly<T> = T extends Map<infer K, infer V> ? ReadonlyMap<K, V> : T extends Set<infer V> ? ReadonlySet<V> : T extends [infer Head, ...infer Tail] ? readonly [Head, ...Tail] : T extends Array<infer V> ? ReadonlyArray<V> : T extends BuiltIn ? T : Readonly<T>;
321
321
  type SomeObject = Record<PropertyKey, any>;
322
322
  type Identity<T> = T;
323
- type Flatten<T> = Identity<{ [k in keyof T]: T[k] }>;
324
- type Prettify<T> = { [K in keyof T]: T[K] } & {};
325
- type Extend<A extends SomeObject, B extends SomeObject> = Flatten<keyof A & keyof B extends never ? A & B : { [K in keyof A as K extends keyof B ? never : K]: A[K] } & { [K in keyof B]: B[K] }>;
323
+ type Flatten<T> = Identity<{ [k in keyof T]: T[k]; }>;
324
+ type Prettify<T> = { [K in keyof T]: T[K]; } & {};
325
+ type Extend<A extends SomeObject, B extends SomeObject> = Flatten<keyof A & keyof B extends never ? A & B : { [K in keyof A as K extends keyof B ? never : K]: A[K]; } & { [K in keyof B]: B[K]; }>;
326
326
  type TupleItems = ReadonlyArray<SomeType>;
327
327
  type AnyFunc = (...args: any[]) => any;
328
328
  type MaybeAsync<T> = T | Promise<T>;
329
329
  type EnumValue = string | number;
330
330
  type EnumLike = Readonly<Record<string, EnumValue>>;
331
- type ToEnum<T extends EnumValue> = Flatten<{ [k in T]: k }>;
331
+ type ToEnum<T extends EnumValue> = Flatten<{ [k in T]: k; }>;
332
332
  type Literal = string | number | bigint | boolean | null | undefined;
333
333
  type Primitive = string | number | symbol | bigint | boolean | null | undefined;
334
334
  type HasLength = {
@@ -828,8 +828,8 @@ type OptionalInSchema = {
828
828
  optin: "optional";
829
829
  };
830
830
  };
831
- type $InferObjectOutput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? IsAny<T[keyof T]> extends true ? Record<string, unknown> : Record<string, output<T[keyof T]>> : keyof (T & Extra) extends never ? Record<string, never> : Prettify<{ -readonly [k in keyof T as T[k] extends OptionalOutSchema ? never : k]: T[k]["_zod"]["output"] } & { -readonly [k in keyof T as T[k] extends OptionalOutSchema ? k : never]?: T[k]["_zod"]["output"] } & Extra>;
832
- type $InferObjectInput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? IsAny<T[keyof T]> extends true ? Record<string, unknown> : Record<string, input<T[keyof T]>> : keyof (T & Extra) extends never ? Record<string, never> : Prettify<{ -readonly [k in keyof T as T[k] extends OptionalInSchema ? never : k]: T[k]["_zod"]["input"] } & { -readonly [k in keyof T as T[k] extends OptionalInSchema ? k : never]?: T[k]["_zod"]["input"] } & Extra>;
831
+ type $InferObjectOutput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? IsAny<T[keyof T]> extends true ? Record<string, unknown> : Record<string, output<T[keyof T]>> : keyof (T & Extra) extends never ? Record<string, never> : Prettify<{ -readonly [k in keyof T as T[k] extends OptionalOutSchema ? never : k]: T[k]["_zod"]["output"]; } & { -readonly [k in keyof T as T[k] extends OptionalOutSchema ? k : never]?: T[k]["_zod"]["output"]; } & Extra>;
832
+ type $InferObjectInput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? IsAny<T[keyof T]> extends true ? Record<string, unknown> : Record<string, input<T[keyof T]>> : keyof (T & Extra) extends never ? Record<string, never> : Prettify<{ -readonly [k in keyof T as T[k] extends OptionalInSchema ? never : k]: T[k]["_zod"]["input"]; } & { -readonly [k in keyof T as T[k] extends OptionalInSchema ? k : never]?: T[k]["_zod"]["input"]; } & Extra>;
833
833
  type $ZodObjectConfig = {
834
834
  out: Record<string, unknown>;
835
835
  in: Record<string, unknown>;
@@ -862,7 +862,9 @@ interface $ZodObjectDef<Shape extends $ZodShape = $ZodShape> extends $ZodTypeDef
862
862
  shape: Shape;
863
863
  catchall?: $ZodType | undefined;
864
864
  }
865
- interface $ZodObjectInternals< /** @ts-ignore Cast variance */out Shape extends $ZodShape = $ZodShape, out Config extends $ZodObjectConfig = $ZodObjectConfig> extends _$ZodTypeInternals {
865
+ interface $ZodObjectInternals<
866
+ /** @ts-ignore Cast variance */
867
+ out Shape extends $ZodShape = $ZodShape, out Config extends $ZodObjectConfig = $ZodObjectConfig> extends _$ZodTypeInternals {
866
868
  def: $ZodObjectDef<Shape>;
867
869
  config: Config;
868
870
  isst: $ZodIssueInvalidType | $ZodIssueUnrecognizedKeys;
@@ -873,7 +875,9 @@ interface $ZodObjectInternals< /** @ts-ignore Cast variance */out Shape extends
873
875
  optout?: "optional" | undefined;
874
876
  }
875
877
  type $ZodLooseShape = Record<string, any>;
876
- interface $ZodObject< /** @ts-ignore Cast variance */out Shape extends Readonly<$ZodShape> = Readonly<$ZodShape>, out Params extends $ZodObjectConfig = $ZodObjectConfig> extends $ZodType<any, any, $ZodObjectInternals<Shape, Params>> {}
878
+ interface $ZodObject<
879
+ /** @ts-ignore Cast variance */
880
+ out Shape extends Readonly<$ZodShape> = Readonly<$ZodShape>, out Params extends $ZodObjectConfig = $ZodObjectConfig> extends $ZodType<any, any, $ZodObjectInternals<Shape, Params>> {}
877
881
  declare const $ZodObject: $constructor<$ZodObject>;
878
882
  type $InferUnionOutput<T extends SomeType> = T extends any ? output<T> : never;
879
883
  type $InferUnionInput<T extends SomeType> = T extends any ? input<T> : never;
@@ -921,10 +925,10 @@ interface $ZodTupleDef<T extends TupleItems = readonly $ZodType[], Rest extends
921
925
  rest: Rest;
922
926
  }
923
927
  type $InferTupleInputType<T extends TupleItems, Rest extends SomeType | null> = [...TupleInputTypeWithOptionals<T>, ...(Rest extends SomeType ? input<Rest>[] : [])];
924
- type TupleInputTypeNoOptionals<T extends TupleItems> = { [k in keyof T]: input<T[k]> };
928
+ type TupleInputTypeNoOptionals<T extends TupleItems> = { [k in keyof T]: input<T[k]>; };
925
929
  type TupleInputTypeWithOptionals<T extends TupleItems> = T extends readonly [...infer Prefix extends SomeType[], infer Tail extends SomeType] ? Tail["_zod"]["optin"] extends "optional" ? [...TupleInputTypeWithOptionals<Prefix>, input<Tail>?] : TupleInputTypeNoOptionals<T> : [];
926
930
  type $InferTupleOutputType<T extends TupleItems, Rest extends SomeType | null> = [...TupleOutputTypeWithOptionals<T>, ...(Rest extends SomeType ? output<Rest>[] : [])];
927
- type TupleOutputTypeNoOptionals<T extends TupleItems> = { [k in keyof T]: output<T[k]> };
931
+ type TupleOutputTypeNoOptionals<T extends TupleItems> = { [k in keyof T]: output<T[k]>; };
928
932
  type TupleOutputTypeWithOptionals<T extends TupleItems> = T extends readonly [...infer Prefix extends SomeType[], infer Tail extends SomeType] ? Tail["_zod"]["optout"] extends "optional" ? [...TupleOutputTypeWithOptionals<Prefix>, output<Tail>?] : TupleOutputTypeNoOptionals<T> : [];
929
933
  interface $ZodTupleInternals<T extends TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends _$ZodTypeInternals {
930
934
  def: $ZodTupleDef<T, Rest>;
@@ -994,7 +998,9 @@ interface $ZodEnumDef<T extends EnumLike = EnumLike> extends $ZodTypeDef {
994
998
  type: "enum";
995
999
  entries: T;
996
1000
  }
997
- interface $ZodEnumInternals< /** @ts-ignore Cast variance */out T extends EnumLike = EnumLike> extends $ZodTypeInternals<$InferEnumOutput<T>, $InferEnumInput<T>> {
1001
+ interface $ZodEnumInternals<
1002
+ /** @ts-ignore Cast variance */
1003
+ out T extends EnumLike = EnumLike> extends $ZodTypeInternals<$InferEnumOutput<T>, $InferEnumInput<T>> {
998
1004
  def: $ZodEnumDef<T>;
999
1005
  /** @deprecated Internal API, use with caution (not deprecated) */
1000
1006
  values: PrimitiveSet;
@@ -1020,9 +1026,6 @@ interface $ZodLiteral<T extends Literal = Literal> extends $ZodType {
1020
1026
  _zod: $ZodLiteralInternals<T>;
1021
1027
  }
1022
1028
  declare const $ZodLiteral: $constructor<$ZodLiteral>;
1023
- type _File = typeof globalThis extends {
1024
- File: infer F extends new (...args: any[]) => any;
1025
- } ? InstanceType<F> : {};
1026
1029
  /** Do not reference this directly. */
1027
1030
  interface File extends _File {
1028
1031
  readonly type: string;
@@ -1607,8 +1610,11 @@ interface $ZodIssueCustom extends $ZodIssueBase {
1607
1610
  type $ZodIssue = $ZodIssueInvalidType | $ZodIssueTooBig | $ZodIssueTooSmall | $ZodIssueInvalidStringFormat | $ZodIssueNotMultipleOf | $ZodIssueUnrecognizedKeys | $ZodIssueInvalidUnion | $ZodIssueInvalidKey | $ZodIssueInvalidElement | $ZodIssueInvalidValue | $ZodIssueCustom;
1608
1611
  type $ZodInternalIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue$1<T> : never;
1609
1612
  type RawIssue$1<T extends $ZodIssueBase> = T extends any ? Flatten<MakePartial<T, "message" | "path"> & {
1610
- /** The input data */readonly input: unknown; /** The schema or check that originated this issue. */
1611
- readonly inst?: $ZodType | $ZodCheck; /** If `true`, Zod will continue executing checks/refinements after this issue. */
1613
+ /** The input data */
1614
+ readonly input: unknown;
1615
+ /** The schema or check that originated this issue. */
1616
+ readonly inst?: $ZodType | $ZodCheck;
1617
+ /** If `true`, Zod will continue executing checks/refinements after this issue. */
1612
1618
  readonly continue?: boolean | undefined;
1613
1619
  } & Record<string, unknown>> : never;
1614
1620
  type $ZodRawIssue<T extends $ZodIssueBase = $ZodIssue> = $ZodInternalIssue<T>;
@@ -1631,11 +1637,11 @@ declare const $ZodError: $constructor<$ZodError>;
1631
1637
  type $ZodFlattenedError<T, U = string> = _FlattenedError<T, U>;
1632
1638
  type _FlattenedError<T, U = string> = {
1633
1639
  formErrors: U[];
1634
- fieldErrors: { [P in keyof T]?: U[] };
1640
+ fieldErrors: { [P in keyof T]?: U[]; };
1635
1641
  };
1636
- type _ZodFormattedError<T, U = string> = T extends [any, ...any[]] ? { [K in keyof T]?: $ZodFormattedError<T[K], U> } : T extends any[] ? {
1642
+ type _ZodFormattedError<T, U = string> = T extends [any, ...any[]] ? { [K in keyof T]?: $ZodFormattedError<T[K], U>; } : T extends any[] ? {
1637
1643
  [k: number]: $ZodFormattedError<T[number], U>;
1638
- } : T extends object ? Flatten<{ [K in keyof T]?: $ZodFormattedError<T[K], U> }> : any;
1644
+ } : T extends object ? Flatten<{ [K in keyof T]?: $ZodFormattedError<T[K], U>; }> : any;
1639
1645
  type $ZodFormattedError<T, U = string> = {
1640
1646
  _errors: U[];
1641
1647
  } & Flatten<_ZodFormattedError<T, U>>;
@@ -1656,7 +1662,7 @@ declare function $constructor<T extends ZodTrait, D = T["_zod"]["def"]>(name: st
1656
1662
  }): $constructor<T, D>;
1657
1663
  declare const $brand: unique symbol;
1658
1664
  type $brand<T extends string | number | symbol = string | number | symbol> = {
1659
- [$brand]: { [k in T]: true };
1665
+ [$brand]: { [k in T]: true; };
1660
1666
  };
1661
1667
  type $ZodBranded<T extends SomeType, Brand extends string | number | symbol, Dir extends "in" | "out" | "inout" = "out"> = T & (Dir extends "inout" ? {
1662
1668
  _zod: {
@@ -1685,14 +1691,15 @@ type output<T> = T extends {
1685
1691
  //#endregion
1686
1692
  //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/api.d.cts
1687
1693
  type Params<T extends $ZodType | $ZodCheck, IssueTypes extends $ZodIssueBase, OmitKeys extends keyof T["_zod"]["def"] = never> = Flatten<Partial<EmptyToNever<Omit<T["_zod"]["def"], OmitKeys> & ([IssueTypes] extends [never] ? {} : {
1688
- error?: string | $ZodErrorMap<IssueTypes> | undefined; /** @deprecated This parameter is deprecated. Use `error` instead. */
1694
+ error?: string | $ZodErrorMap<IssueTypes> | undefined;
1695
+ /** @deprecated This parameter is deprecated. Use `error` instead. */
1689
1696
  message?: string | undefined;
1690
1697
  })>>>;
1691
1698
  type TypeParams<T extends $ZodType = $ZodType & {
1692
1699
  _isst: never;
1693
1700
  }, AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "checks" | "error"> = never> = Params<T, NonNullable<T["_zod"]["isst"]>, "type" | "checks" | "error" | AlsoOmit>;
1694
- type CheckParams<T extends $ZodCheck = $ZodCheck, // & { _issc: never },
1695
- AlsoOmit extends Exclude<keyof T["_zod"]["def"], "check" | "error"> = never> = Params<T, NonNullable<T["_zod"]["issc"]>, "check" | "error" | AlsoOmit>;
1701
+ type CheckParams<T extends $ZodCheck = $ZodCheck // & { _issc: never },
1702
+ , AlsoOmit extends Exclude<keyof T["_zod"]["def"], "check" | "error"> = never> = Params<T, NonNullable<T["_zod"]["issc"]>, "check" | "error" | AlsoOmit>;
1696
1703
  type CheckStringFormatParams<T extends $ZodStringFormat = $ZodStringFormat, AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "coerce" | "checks" | "error" | "check" | "format"> = never> = Params<T, NonNullable<T["_zod"]["issc"]>, "type" | "coerce" | "checks" | "error" | "check" | "format" | AlsoOmit>;
1697
1704
  type CheckTypeParams<T extends $ZodType & $ZodCheck = $ZodType & $ZodCheck, AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "checks" | "error" | "check"> = never> = Params<T, NonNullable<T["_zod"]["isst"] | T["_zod"]["issc"]>, "type" | "checks" | "error" | "check" | AlsoOmit>;
1698
1705
  type $ZodCheckEmailParams = CheckStringFormatParams<$ZodEmail, "when">;
@@ -1741,7 +1748,9 @@ type $ZodNonOptionalParams = TypeParams<$ZodNonOptional, "innerType">;
1741
1748
  type $ZodCustomParams = CheckTypeParams<$ZodCustom, "fn">;
1742
1749
  type $ZodSuperRefineIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue<T> : never;
1743
1750
  type RawIssue<T extends $ZodIssueBase> = T extends any ? Flatten<MakePartial<T, "message" | "path"> & {
1744
- /** The schema or check that originated this issue. */readonly inst?: $ZodType | $ZodCheck; /** If `true`, Zod will execute subsequent checks/refinements instead of immediately aborting */
1751
+ /** The schema or check that originated this issue. */
1752
+ readonly inst?: $ZodType | $ZodCheck;
1753
+ /** If `true`, Zod will execute subsequent checks/refinements instead of immediately aborting */
1745
1754
  readonly continue?: boolean | undefined;
1746
1755
  } & Record<string, unknown>> : never;
1747
1756
  interface $RefinementCtx<T = unknown> extends ParsePayload<T> {
@@ -1993,8 +2002,10 @@ interface ZodArray<T extends SomeType = $ZodType> extends _ZodType<$ZodArrayInte
1993
2002
  "~standard": ZodStandardSchemaWithJSON<this>;
1994
2003
  }
1995
2004
  declare const ZodArray: $constructor<ZodArray>;
1996
- type SafeExtendShape<Base extends $ZodShape, Ext extends $ZodLooseShape> = { [K in keyof Ext]: K extends keyof Base ? output<Ext[K]> extends output<Base[K]> ? input<Ext[K]> extends input<Base[K]> ? Ext[K] : never : never : Ext[K] };
1997
- interface ZodObject< /** @ts-ignore Cast variance */out Shape extends $ZodShape = $ZodLooseShape, out Config extends $ZodObjectConfig = $strip> extends _ZodType<$ZodObjectInternals<Shape, Config>>, $ZodObject<Shape, Config> {
2005
+ type SafeExtendShape<Base extends $ZodShape, Ext extends $ZodLooseShape> = { [K in keyof Ext]: K extends keyof Base ? output<Ext[K]> extends output<Base[K]> ? input<Ext[K]> extends input<Base[K]> ? Ext[K] : never : never : Ext[K]; };
2006
+ interface ZodObject<
2007
+ /** @ts-ignore Cast variance */
2008
+ out Shape extends $ZodShape = $ZodLooseShape, out Config extends $ZodObjectConfig = $strip> extends _ZodType<$ZodObjectInternals<Shape, Config>>, $ZodObject<Shape, Config> {
1998
2009
  "~standard": ZodStandardSchemaWithJSON<this>;
1999
2010
  shape: Shape;
2000
2011
  keyof(): ZodEnum<ToEnum<keyof Shape & string>>;
@@ -2016,10 +2027,10 @@ interface ZodObject< /** @ts-ignore Cast variance */out Shape extends $ZodShape
2016
2027
  merge<U extends ZodObject>(other: U): ZodObject<Extend<Shape, U["shape"]>, U["_zod"]["config"]>;
2017
2028
  pick<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<Flatten<Pick<Shape, Extract<keyof Shape, keyof M>>>, Config>;
2018
2029
  omit<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<Flatten<Omit<Shape, Extract<keyof Shape, keyof M>>>, Config>;
2019
- partial(): ZodObject<{ -readonly [k in keyof Shape]: ZodOptional<Shape[k]> }, Config>;
2020
- partial<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{ -readonly [k in keyof Shape]: k extends keyof M ? ZodOptional<Shape[k]> : Shape[k] }, Config>;
2021
- required(): ZodObject<{ -readonly [k in keyof Shape]: ZodNonOptional<Shape[k]> }, Config>;
2022
- required<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{ -readonly [k in keyof Shape]: k extends keyof M ? ZodNonOptional<Shape[k]> : Shape[k] }, Config>;
2030
+ partial(): ZodObject<{ -readonly [k in keyof Shape]: ZodOptional<Shape[k]>; }, Config>;
2031
+ partial<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{ -readonly [k in keyof Shape]: k extends keyof M ? ZodOptional<Shape[k]> : Shape[k]; }, Config>;
2032
+ required(): ZodObject<{ -readonly [k in keyof Shape]: ZodNonOptional<Shape[k]>; }, Config>;
2033
+ required<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{ -readonly [k in keyof Shape]: k extends keyof M ? ZodNonOptional<Shape[k]> : Shape[k]; }, Config>;
2023
2034
  }
2024
2035
  declare const ZodObject: $constructor<ZodObject>;
2025
2036
  interface ZodUnion<T extends readonly SomeType[] = readonly $ZodType[]> extends _ZodType<$ZodUnionInternals<T>>, $ZodUnion<T> {
@@ -2037,7 +2048,9 @@ interface ZodRecord<Key extends $ZodRecordKey = $ZodRecordKey, Value extends Som
2037
2048
  valueType: Value;
2038
2049
  }
2039
2050
  declare const ZodRecord: $constructor<ZodRecord>;
2040
- interface ZodEnum< /** @ts-ignore Cast variance */out T extends EnumLike = EnumLike> extends _ZodType<$ZodEnumInternals<T>>, $ZodEnum<T> {
2051
+ interface ZodEnum<
2052
+ /** @ts-ignore Cast variance */
2053
+ out T extends EnumLike = EnumLike> extends _ZodType<$ZodEnumInternals<T>>, $ZodEnum<T> {
2041
2054
  "~standard": ZodStandardSchemaWithJSON<this>;
2042
2055
  enum: T;
2043
2056
  options: Array<T[keyof T]>;
@@ -190,7 +190,7 @@ declare const $output: unique symbol;
190
190
  type $output = typeof $output;
191
191
  declare const $input: unique symbol;
192
192
  type $input = typeof $input;
193
- type $replace<Meta, S extends $ZodType> = Meta extends $output ? output<S> : Meta extends $input ? input<S> : Meta extends (infer M)[] ? $replace<M, S>[] : Meta extends ((...args: infer P) => infer R) ? (...args: { [K in keyof P]: $replace<P[K], S> }) => $replace<R, S> : Meta extends object ? { [K in keyof Meta]: $replace<Meta[K], S> } : Meta;
193
+ type $replace<Meta, S extends $ZodType> = Meta extends $output ? output<S> : Meta extends $input ? input<S> : Meta extends (infer M)[] ? $replace<M, S>[] : Meta extends ((...args: infer P) => infer R) ? (...args: { [K in keyof P]: $replace<P[K], S>; }) => $replace<R, S> : Meta extends object ? { [K in keyof Meta]: $replace<Meta[K], S>; } : Meta;
194
194
  type MetadataType = object | undefined;
195
195
  declare class $ZodRegistry<Meta extends MetadataType = MetadataType, Schema extends $ZodType = $ZodType> {
196
196
  _meta: Meta;
@@ -311,24 +311,24 @@ type NoUndefined<T> = T extends undefined ? never : T;
311
311
  type LoosePartial<T extends object> = InexactPartial<T> & {
312
312
  [k: string]: unknown;
313
313
  };
314
- type Mask<Keys extends PropertyKey> = { [K in Keys]?: true };
315
- type Writeable<T> = { -readonly [P in keyof T]: T[P] } & {};
316
- type InexactPartial<T> = { [P in keyof T]?: T[P] | undefined };
314
+ type Mask<Keys extends PropertyKey> = { [K in Keys]?: true; };
315
+ type Writeable<T> = { -readonly [P in keyof T]: T[P]; } & {};
316
+ type InexactPartial<T> = { [P in keyof T]?: T[P] | undefined; };
317
317
  type BuiltIn = (((...args: any[]) => any) | (new (...args: any[]) => any)) | {
318
318
  readonly [Symbol.toStringTag]: string;
319
319
  } | Date | Error | Generator | Promise<unknown> | RegExp;
320
320
  type MakeReadonly<T> = T extends Map<infer K, infer V> ? ReadonlyMap<K, V> : T extends Set<infer V> ? ReadonlySet<V> : T extends [infer Head, ...infer Tail] ? readonly [Head, ...Tail] : T extends Array<infer V> ? ReadonlyArray<V> : T extends BuiltIn ? T : Readonly<T>;
321
321
  type SomeObject = Record<PropertyKey, any>;
322
322
  type Identity<T> = T;
323
- type Flatten<T> = Identity<{ [k in keyof T]: T[k] }>;
324
- type Prettify<T> = { [K in keyof T]: T[K] } & {};
325
- type Extend<A extends SomeObject, B extends SomeObject> = Flatten<keyof A & keyof B extends never ? A & B : { [K in keyof A as K extends keyof B ? never : K]: A[K] } & { [K in keyof B]: B[K] }>;
323
+ type Flatten<T> = Identity<{ [k in keyof T]: T[k]; }>;
324
+ type Prettify<T> = { [K in keyof T]: T[K]; } & {};
325
+ type Extend<A extends SomeObject, B extends SomeObject> = Flatten<keyof A & keyof B extends never ? A & B : { [K in keyof A as K extends keyof B ? never : K]: A[K]; } & { [K in keyof B]: B[K]; }>;
326
326
  type TupleItems = ReadonlyArray<SomeType>;
327
327
  type AnyFunc = (...args: any[]) => any;
328
328
  type MaybeAsync<T> = T | Promise<T>;
329
329
  type EnumValue = string | number;
330
330
  type EnumLike = Readonly<Record<string, EnumValue>>;
331
- type ToEnum<T extends EnumValue> = Flatten<{ [k in T]: k }>;
331
+ type ToEnum<T extends EnumValue> = Flatten<{ [k in T]: k; }>;
332
332
  type Literal = string | number | bigint | boolean | null | undefined;
333
333
  type Primitive = string | number | symbol | bigint | boolean | null | undefined;
334
334
  type HasLength = {
@@ -828,8 +828,8 @@ type OptionalInSchema = {
828
828
  optin: "optional";
829
829
  };
830
830
  };
831
- type $InferObjectOutput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? IsAny<T[keyof T]> extends true ? Record<string, unknown> : Record<string, output<T[keyof T]>> : keyof (T & Extra) extends never ? Record<string, never> : Prettify<{ -readonly [k in keyof T as T[k] extends OptionalOutSchema ? never : k]: T[k]["_zod"]["output"] } & { -readonly [k in keyof T as T[k] extends OptionalOutSchema ? k : never]?: T[k]["_zod"]["output"] } & Extra>;
832
- type $InferObjectInput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? IsAny<T[keyof T]> extends true ? Record<string, unknown> : Record<string, input<T[keyof T]>> : keyof (T & Extra) extends never ? Record<string, never> : Prettify<{ -readonly [k in keyof T as T[k] extends OptionalInSchema ? never : k]: T[k]["_zod"]["input"] } & { -readonly [k in keyof T as T[k] extends OptionalInSchema ? k : never]?: T[k]["_zod"]["input"] } & Extra>;
831
+ type $InferObjectOutput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? IsAny<T[keyof T]> extends true ? Record<string, unknown> : Record<string, output<T[keyof T]>> : keyof (T & Extra) extends never ? Record<string, never> : Prettify<{ -readonly [k in keyof T as T[k] extends OptionalOutSchema ? never : k]: T[k]["_zod"]["output"]; } & { -readonly [k in keyof T as T[k] extends OptionalOutSchema ? k : never]?: T[k]["_zod"]["output"]; } & Extra>;
832
+ type $InferObjectInput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? IsAny<T[keyof T]> extends true ? Record<string, unknown> : Record<string, input<T[keyof T]>> : keyof (T & Extra) extends never ? Record<string, never> : Prettify<{ -readonly [k in keyof T as T[k] extends OptionalInSchema ? never : k]: T[k]["_zod"]["input"]; } & { -readonly [k in keyof T as T[k] extends OptionalInSchema ? k : never]?: T[k]["_zod"]["input"]; } & Extra>;
833
833
  type $ZodObjectConfig = {
834
834
  out: Record<string, unknown>;
835
835
  in: Record<string, unknown>;
@@ -862,7 +862,9 @@ interface $ZodObjectDef<Shape extends $ZodShape = $ZodShape> extends $ZodTypeDef
862
862
  shape: Shape;
863
863
  catchall?: $ZodType | undefined;
864
864
  }
865
- interface $ZodObjectInternals< /** @ts-ignore Cast variance */out Shape extends $ZodShape = $ZodShape, out Config extends $ZodObjectConfig = $ZodObjectConfig> extends _$ZodTypeInternals {
865
+ interface $ZodObjectInternals<
866
+ /** @ts-ignore Cast variance */
867
+ out Shape extends $ZodShape = $ZodShape, out Config extends $ZodObjectConfig = $ZodObjectConfig> extends _$ZodTypeInternals {
866
868
  def: $ZodObjectDef<Shape>;
867
869
  config: Config;
868
870
  isst: $ZodIssueInvalidType | $ZodIssueUnrecognizedKeys;
@@ -873,7 +875,9 @@ interface $ZodObjectInternals< /** @ts-ignore Cast variance */out Shape extends
873
875
  optout?: "optional" | undefined;
874
876
  }
875
877
  type $ZodLooseShape = Record<string, any>;
876
- interface $ZodObject< /** @ts-ignore Cast variance */out Shape extends Readonly<$ZodShape> = Readonly<$ZodShape>, out Params extends $ZodObjectConfig = $ZodObjectConfig> extends $ZodType<any, any, $ZodObjectInternals<Shape, Params>> {}
878
+ interface $ZodObject<
879
+ /** @ts-ignore Cast variance */
880
+ out Shape extends Readonly<$ZodShape> = Readonly<$ZodShape>, out Params extends $ZodObjectConfig = $ZodObjectConfig> extends $ZodType<any, any, $ZodObjectInternals<Shape, Params>> {}
877
881
  declare const $ZodObject: $constructor<$ZodObject>;
878
882
  type $InferUnionOutput<T extends SomeType> = T extends any ? output<T> : never;
879
883
  type $InferUnionInput<T extends SomeType> = T extends any ? input<T> : never;
@@ -921,10 +925,10 @@ interface $ZodTupleDef<T extends TupleItems = readonly $ZodType[], Rest extends
921
925
  rest: Rest;
922
926
  }
923
927
  type $InferTupleInputType<T extends TupleItems, Rest extends SomeType | null> = [...TupleInputTypeWithOptionals<T>, ...(Rest extends SomeType ? input<Rest>[] : [])];
924
- type TupleInputTypeNoOptionals<T extends TupleItems> = { [k in keyof T]: input<T[k]> };
928
+ type TupleInputTypeNoOptionals<T extends TupleItems> = { [k in keyof T]: input<T[k]>; };
925
929
  type TupleInputTypeWithOptionals<T extends TupleItems> = T extends readonly [...infer Prefix extends SomeType[], infer Tail extends SomeType] ? Tail["_zod"]["optin"] extends "optional" ? [...TupleInputTypeWithOptionals<Prefix>, input<Tail>?] : TupleInputTypeNoOptionals<T> : [];
926
930
  type $InferTupleOutputType<T extends TupleItems, Rest extends SomeType | null> = [...TupleOutputTypeWithOptionals<T>, ...(Rest extends SomeType ? output<Rest>[] : [])];
927
- type TupleOutputTypeNoOptionals<T extends TupleItems> = { [k in keyof T]: output<T[k]> };
931
+ type TupleOutputTypeNoOptionals<T extends TupleItems> = { [k in keyof T]: output<T[k]>; };
928
932
  type TupleOutputTypeWithOptionals<T extends TupleItems> = T extends readonly [...infer Prefix extends SomeType[], infer Tail extends SomeType] ? Tail["_zod"]["optout"] extends "optional" ? [...TupleOutputTypeWithOptionals<Prefix>, output<Tail>?] : TupleOutputTypeNoOptionals<T> : [];
929
933
  interface $ZodTupleInternals<T extends TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends _$ZodTypeInternals {
930
934
  def: $ZodTupleDef<T, Rest>;
@@ -994,7 +998,9 @@ interface $ZodEnumDef<T extends EnumLike = EnumLike> extends $ZodTypeDef {
994
998
  type: "enum";
995
999
  entries: T;
996
1000
  }
997
- interface $ZodEnumInternals< /** @ts-ignore Cast variance */out T extends EnumLike = EnumLike> extends $ZodTypeInternals<$InferEnumOutput<T>, $InferEnumInput<T>> {
1001
+ interface $ZodEnumInternals<
1002
+ /** @ts-ignore Cast variance */
1003
+ out T extends EnumLike = EnumLike> extends $ZodTypeInternals<$InferEnumOutput<T>, $InferEnumInput<T>> {
998
1004
  def: $ZodEnumDef<T>;
999
1005
  /** @deprecated Internal API, use with caution (not deprecated) */
1000
1006
  values: PrimitiveSet;
@@ -1020,9 +1026,6 @@ interface $ZodLiteral<T extends Literal = Literal> extends $ZodType {
1020
1026
  _zod: $ZodLiteralInternals<T>;
1021
1027
  }
1022
1028
  declare const $ZodLiteral: $constructor<$ZodLiteral>;
1023
- type _File = typeof globalThis extends {
1024
- File: infer F extends new (...args: any[]) => any;
1025
- } ? InstanceType<F> : {};
1026
1029
  /** Do not reference this directly. */
1027
1030
  interface File extends _File {
1028
1031
  readonly type: string;
@@ -1607,8 +1610,11 @@ interface $ZodIssueCustom extends $ZodIssueBase {
1607
1610
  type $ZodIssue = $ZodIssueInvalidType | $ZodIssueTooBig | $ZodIssueTooSmall | $ZodIssueInvalidStringFormat | $ZodIssueNotMultipleOf | $ZodIssueUnrecognizedKeys | $ZodIssueInvalidUnion | $ZodIssueInvalidKey | $ZodIssueInvalidElement | $ZodIssueInvalidValue | $ZodIssueCustom;
1608
1611
  type $ZodInternalIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue$1<T> : never;
1609
1612
  type RawIssue$1<T extends $ZodIssueBase> = T extends any ? Flatten<MakePartial<T, "message" | "path"> & {
1610
- /** The input data */readonly input: unknown; /** The schema or check that originated this issue. */
1611
- readonly inst?: $ZodType | $ZodCheck; /** If `true`, Zod will continue executing checks/refinements after this issue. */
1613
+ /** The input data */
1614
+ readonly input: unknown;
1615
+ /** The schema or check that originated this issue. */
1616
+ readonly inst?: $ZodType | $ZodCheck;
1617
+ /** If `true`, Zod will continue executing checks/refinements after this issue. */
1612
1618
  readonly continue?: boolean | undefined;
1613
1619
  } & Record<string, unknown>> : never;
1614
1620
  type $ZodRawIssue<T extends $ZodIssueBase = $ZodIssue> = $ZodInternalIssue<T>;
@@ -1631,11 +1637,11 @@ declare const $ZodError: $constructor<$ZodError>;
1631
1637
  type $ZodFlattenedError<T, U = string> = _FlattenedError<T, U>;
1632
1638
  type _FlattenedError<T, U = string> = {
1633
1639
  formErrors: U[];
1634
- fieldErrors: { [P in keyof T]?: U[] };
1640
+ fieldErrors: { [P in keyof T]?: U[]; };
1635
1641
  };
1636
- type _ZodFormattedError<T, U = string> = T extends [any, ...any[]] ? { [K in keyof T]?: $ZodFormattedError<T[K], U> } : T extends any[] ? {
1642
+ type _ZodFormattedError<T, U = string> = T extends [any, ...any[]] ? { [K in keyof T]?: $ZodFormattedError<T[K], U>; } : T extends any[] ? {
1637
1643
  [k: number]: $ZodFormattedError<T[number], U>;
1638
- } : T extends object ? Flatten<{ [K in keyof T]?: $ZodFormattedError<T[K], U> }> : any;
1644
+ } : T extends object ? Flatten<{ [K in keyof T]?: $ZodFormattedError<T[K], U>; }> : any;
1639
1645
  type $ZodFormattedError<T, U = string> = {
1640
1646
  _errors: U[];
1641
1647
  } & Flatten<_ZodFormattedError<T, U>>;
@@ -1656,7 +1662,7 @@ declare function $constructor<T extends ZodTrait, D = T["_zod"]["def"]>(name: st
1656
1662
  }): $constructor<T, D>;
1657
1663
  declare const $brand: unique symbol;
1658
1664
  type $brand<T extends string | number | symbol = string | number | symbol> = {
1659
- [$brand]: { [k in T]: true };
1665
+ [$brand]: { [k in T]: true; };
1660
1666
  };
1661
1667
  type $ZodBranded<T extends SomeType, Brand extends string | number | symbol, Dir extends "in" | "out" | "inout" = "out"> = T & (Dir extends "inout" ? {
1662
1668
  _zod: {
@@ -1685,14 +1691,15 @@ type output<T> = T extends {
1685
1691
  //#endregion
1686
1692
  //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/api.d.cts
1687
1693
  type Params<T extends $ZodType | $ZodCheck, IssueTypes extends $ZodIssueBase, OmitKeys extends keyof T["_zod"]["def"] = never> = Flatten<Partial<EmptyToNever<Omit<T["_zod"]["def"], OmitKeys> & ([IssueTypes] extends [never] ? {} : {
1688
- error?: string | $ZodErrorMap<IssueTypes> | undefined; /** @deprecated This parameter is deprecated. Use `error` instead. */
1694
+ error?: string | $ZodErrorMap<IssueTypes> | undefined;
1695
+ /** @deprecated This parameter is deprecated. Use `error` instead. */
1689
1696
  message?: string | undefined;
1690
1697
  })>>>;
1691
1698
  type TypeParams<T extends $ZodType = $ZodType & {
1692
1699
  _isst: never;
1693
1700
  }, AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "checks" | "error"> = never> = Params<T, NonNullable<T["_zod"]["isst"]>, "type" | "checks" | "error" | AlsoOmit>;
1694
- type CheckParams<T extends $ZodCheck = $ZodCheck, // & { _issc: never },
1695
- AlsoOmit extends Exclude<keyof T["_zod"]["def"], "check" | "error"> = never> = Params<T, NonNullable<T["_zod"]["issc"]>, "check" | "error" | AlsoOmit>;
1701
+ type CheckParams<T extends $ZodCheck = $ZodCheck // & { _issc: never },
1702
+ , AlsoOmit extends Exclude<keyof T["_zod"]["def"], "check" | "error"> = never> = Params<T, NonNullable<T["_zod"]["issc"]>, "check" | "error" | AlsoOmit>;
1696
1703
  type CheckStringFormatParams<T extends $ZodStringFormat = $ZodStringFormat, AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "coerce" | "checks" | "error" | "check" | "format"> = never> = Params<T, NonNullable<T["_zod"]["issc"]>, "type" | "coerce" | "checks" | "error" | "check" | "format" | AlsoOmit>;
1697
1704
  type CheckTypeParams<T extends $ZodType & $ZodCheck = $ZodType & $ZodCheck, AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "checks" | "error" | "check"> = never> = Params<T, NonNullable<T["_zod"]["isst"] | T["_zod"]["issc"]>, "type" | "checks" | "error" | "check" | AlsoOmit>;
1698
1705
  type $ZodCheckEmailParams = CheckStringFormatParams<$ZodEmail, "when">;
@@ -1741,7 +1748,9 @@ type $ZodNonOptionalParams = TypeParams<$ZodNonOptional, "innerType">;
1741
1748
  type $ZodCustomParams = CheckTypeParams<$ZodCustom, "fn">;
1742
1749
  type $ZodSuperRefineIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue<T> : never;
1743
1750
  type RawIssue<T extends $ZodIssueBase> = T extends any ? Flatten<MakePartial<T, "message" | "path"> & {
1744
- /** The schema or check that originated this issue. */readonly inst?: $ZodType | $ZodCheck; /** If `true`, Zod will execute subsequent checks/refinements instead of immediately aborting */
1751
+ /** The schema or check that originated this issue. */
1752
+ readonly inst?: $ZodType | $ZodCheck;
1753
+ /** If `true`, Zod will execute subsequent checks/refinements instead of immediately aborting */
1745
1754
  readonly continue?: boolean | undefined;
1746
1755
  } & Record<string, unknown>> : never;
1747
1756
  interface $RefinementCtx<T = unknown> extends ParsePayload<T> {
@@ -1993,8 +2002,10 @@ interface ZodArray<T extends SomeType = $ZodType> extends _ZodType<$ZodArrayInte
1993
2002
  "~standard": ZodStandardSchemaWithJSON<this>;
1994
2003
  }
1995
2004
  declare const ZodArray: $constructor<ZodArray>;
1996
- type SafeExtendShape<Base extends $ZodShape, Ext extends $ZodLooseShape> = { [K in keyof Ext]: K extends keyof Base ? output<Ext[K]> extends output<Base[K]> ? input<Ext[K]> extends input<Base[K]> ? Ext[K] : never : never : Ext[K] };
1997
- interface ZodObject< /** @ts-ignore Cast variance */out Shape extends $ZodShape = $ZodLooseShape, out Config extends $ZodObjectConfig = $strip> extends _ZodType<$ZodObjectInternals<Shape, Config>>, $ZodObject<Shape, Config> {
2005
+ type SafeExtendShape<Base extends $ZodShape, Ext extends $ZodLooseShape> = { [K in keyof Ext]: K extends keyof Base ? output<Ext[K]> extends output<Base[K]> ? input<Ext[K]> extends input<Base[K]> ? Ext[K] : never : never : Ext[K]; };
2006
+ interface ZodObject<
2007
+ /** @ts-ignore Cast variance */
2008
+ out Shape extends $ZodShape = $ZodLooseShape, out Config extends $ZodObjectConfig = $strip> extends _ZodType<$ZodObjectInternals<Shape, Config>>, $ZodObject<Shape, Config> {
1998
2009
  "~standard": ZodStandardSchemaWithJSON<this>;
1999
2010
  shape: Shape;
2000
2011
  keyof(): ZodEnum<ToEnum<keyof Shape & string>>;
@@ -2016,10 +2027,10 @@ interface ZodObject< /** @ts-ignore Cast variance */out Shape extends $ZodShape
2016
2027
  merge<U extends ZodObject>(other: U): ZodObject<Extend<Shape, U["shape"]>, U["_zod"]["config"]>;
2017
2028
  pick<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<Flatten<Pick<Shape, Extract<keyof Shape, keyof M>>>, Config>;
2018
2029
  omit<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<Flatten<Omit<Shape, Extract<keyof Shape, keyof M>>>, Config>;
2019
- partial(): ZodObject<{ -readonly [k in keyof Shape]: ZodOptional<Shape[k]> }, Config>;
2020
- partial<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{ -readonly [k in keyof Shape]: k extends keyof M ? ZodOptional<Shape[k]> : Shape[k] }, Config>;
2021
- required(): ZodObject<{ -readonly [k in keyof Shape]: ZodNonOptional<Shape[k]> }, Config>;
2022
- required<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{ -readonly [k in keyof Shape]: k extends keyof M ? ZodNonOptional<Shape[k]> : Shape[k] }, Config>;
2030
+ partial(): ZodObject<{ -readonly [k in keyof Shape]: ZodOptional<Shape[k]>; }, Config>;
2031
+ partial<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{ -readonly [k in keyof Shape]: k extends keyof M ? ZodOptional<Shape[k]> : Shape[k]; }, Config>;
2032
+ required(): ZodObject<{ -readonly [k in keyof Shape]: ZodNonOptional<Shape[k]>; }, Config>;
2033
+ required<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{ -readonly [k in keyof Shape]: k extends keyof M ? ZodNonOptional<Shape[k]> : Shape[k]; }, Config>;
2023
2034
  }
2024
2035
  declare const ZodObject: $constructor<ZodObject>;
2025
2036
  interface ZodUnion<T extends readonly SomeType[] = readonly $ZodType[]> extends _ZodType<$ZodUnionInternals<T>>, $ZodUnion<T> {
@@ -2037,7 +2048,9 @@ interface ZodRecord<Key extends $ZodRecordKey = $ZodRecordKey, Value extends Som
2037
2048
  valueType: Value;
2038
2049
  }
2039
2050
  declare const ZodRecord: $constructor<ZodRecord>;
2040
- interface ZodEnum< /** @ts-ignore Cast variance */out T extends EnumLike = EnumLike> extends _ZodType<$ZodEnumInternals<T>>, $ZodEnum<T> {
2051
+ interface ZodEnum<
2052
+ /** @ts-ignore Cast variance */
2053
+ out T extends EnumLike = EnumLike> extends _ZodType<$ZodEnumInternals<T>>, $ZodEnum<T> {
2041
2054
  "~standard": ZodStandardSchemaWithJSON<this>;
2042
2055
  enum: T;
2043
2056
  options: Array<T[keyof T]>;