@shopify/cli-kit 1.0.1 → 1.0.4

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.
package/dist/index.d.ts CHANGED
@@ -31,12 +31,12 @@ declare class Subscription implements SubscriptionLike {
31
31
  closed: boolean;
32
32
  private _parentage;
33
33
  /**
34
- * The list of registered teardowns to execute upon unsubscription. Adding and removing from this
34
+ * The list of registered finalizers to execute upon unsubscription. Adding and removing from this
35
35
  * list occurs in the {@link #add} and {@link #remove} methods.
36
36
  */
37
- private _teardowns;
37
+ private _finalizers;
38
38
  /**
39
- * @param initialTeardown A function executed first as part of the teardown
39
+ * @param initialTeardown A function executed first as part of the finalization
40
40
  * process that is kicked off when {@link #unsubscribe} is called.
41
41
  */
42
42
  constructor(initialTeardown?: (() => void) | undefined);
@@ -48,12 +48,12 @@ declare class Subscription implements SubscriptionLike {
48
48
  */
49
49
  unsubscribe(): void;
50
50
  /**
51
- * Adds a teardown to this subscription, so that teardown will be unsubscribed/called
51
+ * Adds a finalizer to this subscription, so that finalization will be unsubscribed/called
52
52
  * when this subscription is unsubscribed. If this subscription is already {@link #closed},
53
- * because it has already been unsubscribed, then whatever teardown is passed to it
54
- * will automatically be executed (unless the teardown itself is also a closed subscription).
53
+ * because it has already been unsubscribed, then whatever finalizer is passed to it
54
+ * will automatically be executed (unless the finalizer itself is also a closed subscription).
55
55
  *
56
- * Closed Subscriptions cannot be added as teardowns to any subscription. Adding a closed
56
+ * Closed Subscriptions cannot be added as finalizers to any subscription. Adding a closed
57
57
  * subscription to a any subscription will result in no operation. (A noop).
58
58
  *
59
59
  * Adding a subscription to itself, or adding `null` or `undefined` will not perform any
@@ -63,7 +63,7 @@ declare class Subscription implements SubscriptionLike {
63
63
  * if they are unsubscribed. Functions and {@link Unsubscribable} objects that you wish to remove
64
64
  * will need to be removed manually with {@link #remove}
65
65
  *
66
- * @param teardown The teardown logic to add to this subscription.
66
+ * @param teardown The finalization logic to add to this subscription.
67
67
  */
68
68
  add(teardown: TeardownLogic): void;
69
69
  /**
@@ -86,18 +86,18 @@ declare class Subscription implements SubscriptionLike {
86
86
  */
87
87
  private _removeParent;
88
88
  /**
89
- * Removes a teardown from this subscription that was previously added with the {@link #add} method.
89
+ * Removes a finalizer from this subscription that was previously added with the {@link #add} method.
90
90
  *
91
91
  * Note that `Subscription` instances, when unsubscribed, will automatically remove themselves
92
92
  * from every other `Subscription` they have been added to. This means that using the `remove` method
93
93
  * is not a common thing and should be used thoughtfully.
94
94
  *
95
- * If you add the same teardown instance of a function or an unsubscribable object to a `Subcription` instance
95
+ * If you add the same finalizer instance of a function or an unsubscribable object to a `Subcription` instance
96
96
  * more than once, you will need to call `remove` the same number of times to remove all instances.
97
97
  *
98
- * All teardown instances are removed to free up memory upon unsubscription.
98
+ * All finalizer instances are removed to free up memory upon unsubscription.
99
99
  *
100
- * @param teardown The teardown to remove from this subscription
100
+ * @param teardown The finalizer to remove from this subscription
101
101
  */
102
102
  remove(teardown: Exclude<TeardownLogic, void>): void;
103
103
  }
@@ -344,6 +344,7 @@ declare class Observable<T> implements Subscribable<T> {
344
344
  */
345
345
  declare class Subject<T> extends Observable<T> implements SubscriptionLike {
346
346
  closed: boolean;
347
+ private currentObservers;
347
348
  /** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */
348
349
  observers: Observer<T>[];
349
350
  /** @deprecated Internal implementation detail, do not use directly. Will be made internal in v8. */
@@ -1435,6 +1436,9 @@ declare class Fatal extends Error {
1435
1436
  */
1436
1437
  declare class Abort extends Fatal {
1437
1438
  }
1439
+ declare class AbortSilent extends Fatal {
1440
+ constructor();
1441
+ }
1438
1442
  /**
1439
1443
  * A bug error is an error that represents a bug and therefore should be reported.
1440
1444
  */
@@ -1451,6 +1455,8 @@ type error$1_Fatal = Fatal;
1451
1455
  declare const error$1_Fatal: typeof Fatal;
1452
1456
  type error$1_Abort = Abort;
1453
1457
  declare const error$1_Abort: typeof Abort;
1458
+ type error$1_AbortSilent = AbortSilent;
1459
+ declare const error$1_AbortSilent: typeof AbortSilent;
1454
1460
  type error$1_Bug = Bug;
1455
1461
  declare const error$1_Bug: typeof Bug;
1456
1462
  declare const error$1_handler: typeof handler;
@@ -1458,6 +1464,7 @@ declare namespace error$1 {
1458
1464
  export {
1459
1465
  error$1_Fatal as Fatal,
1460
1466
  error$1_Abort as Abort,
1467
+ error$1_AbortSilent as AbortSilent,
1461
1468
  error$1_Bug as Bug,
1462
1469
  error$1_handler as handler,
1463
1470
  };
@@ -1639,6 +1646,7 @@ Promise<ExecaReturnValue<StdoutErrorType>>;
1639
1646
 
1640
1647
  interface ExecOptions {
1641
1648
  cwd?: string;
1649
+ env?: any;
1642
1650
  stdout?: Writable;
1643
1651
  stderr?: Writable;
1644
1652
  }
@@ -1665,7 +1673,7 @@ declare namespace system {
1665
1673
  };
1666
1674
  }
1667
1675
 
1668
- declare function create(templateContent: string): (data: object) => Promise<string>;
1676
+ declare function create$1(templateContent: string): (data: object) => Promise<string>;
1669
1677
  /**
1670
1678
  * Given a directory, it traverses the files and directories recursively
1671
1679
  * and replaces variables in directory and file names, and files' content
@@ -1677,11 +1685,10 @@ declare function create(templateContent: string): (data: object) => Promise<stri
1677
1685
  */
1678
1686
  declare function recursiveDirectoryCopy(from: string, to: string, data: any): Promise<void>;
1679
1687
 
1680
- declare const template_create: typeof create;
1681
1688
  declare const template_recursiveDirectoryCopy: typeof recursiveDirectoryCopy;
1682
1689
  declare namespace template {
1683
1690
  export {
1684
- template_create as create,
1691
+ create$1 as create,
1685
1692
  template_recursiveDirectoryCopy as recursiveDirectoryCopy,
1686
1693
  };
1687
1694
  }
@@ -3648,6 +3655,15 @@ declare const newline: () => void;
3648
3655
  */
3649
3656
  declare const error: (content: Fatal) => void;
3650
3657
  declare function stringifyMessage(message: Message): string;
3658
+ /**
3659
+ * Use this function when you have multiple concurrent processes that send data events
3660
+ * and we need to output them ensuring that they can visually differenciated by the user.
3661
+ *
3662
+ * @param index {number} The index of the process being run. This is used to determine the color.
3663
+ * @param prefix {string} The prefix to include in the standard output data to differenciate logs.
3664
+ * @param process The callback that's called with a Writable instance to send events through.
3665
+ */
3666
+ declare function concurrent(index: number, prefix: string, callback: (stdout: Writable, stderr: Writable) => Promise<void>): Promise<void>;
3651
3667
 
3652
3668
  declare const output$1_token: typeof token;
3653
3669
  type output$1_Message = Message;
@@ -3662,6 +3678,7 @@ declare const output$1_warn: typeof warn;
3662
3678
  declare const output$1_newline: typeof newline;
3663
3679
  declare const output$1_error: typeof error;
3664
3680
  declare const output$1_stringifyMessage: typeof stringifyMessage;
3681
+ declare const output$1_concurrent: typeof concurrent;
3665
3682
  declare namespace output$1 {
3666
3683
  export {
3667
3684
  output$1_token as token,
@@ -3677,6 +3694,7 @@ declare namespace output$1 {
3677
3694
  output$1_newline as newline,
3678
3695
  output$1_error as error,
3679
3696
  output$1_stringifyMessage as stringifyMessage,
3697
+ output$1_concurrent as concurrent,
3680
3698
  };
3681
3699
  }
3682
3700
 
@@ -3696,9 +3714,10 @@ declare function dependencyManagerUsedForCreating(env?: NodeJS.ProcessEnv): Depe
3696
3714
  * Installs the dependencies in the given directory.
3697
3715
  * @param directory {string} The directory that contains the package.json
3698
3716
  * @param dependencyManager {DependencyManager} The dependency manager to use to install the dependencies.
3699
- * @returns
3717
+ * @param stdout {Writable} Standard output stream.
3718
+ * @returns stderr {Writable} Standard error stream.
3700
3719
  */
3701
- declare function install(directory: string, dependencyManager: DependencyManager, stdout?: Writable): Promise<void>;
3720
+ declare function install(directory: string, dependencyManager: DependencyManager, stdout?: Writable, stderr?: Writable): Promise<void>;
3702
3721
 
3703
3722
  type dependency_DependencyManager = DependencyManager;
3704
3723
  declare const dependency_DependencyManager: typeof DependencyManager;
@@ -3945,6 +3964,9 @@ declare namespace session {
3945
3964
  };
3946
3965
  }
3947
3966
 
3967
+ declare type Primitive = string | number | bigint | boolean | null | undefined;
3968
+ declare type Scalars = Primitive | Primitive[];
3969
+
3948
3970
  declare namespace util {
3949
3971
  type AssertEqual<T, Expected> = [T] extends [Expected] ? [Expected] extends [T] ? true : false : false;
3950
3972
  function assertNever(_x: never): never;
@@ -3968,6 +3990,7 @@ declare const ZodIssueCode: {
3968
3990
  invalid_type: "invalid_type";
3969
3991
  custom: "custom";
3970
3992
  invalid_union: "invalid_union";
3993
+ invalid_union_discriminator: "invalid_union_discriminator";
3971
3994
  invalid_enum_value: "invalid_enum_value";
3972
3995
  unrecognized_keys: "unrecognized_keys";
3973
3996
  invalid_arguments: "invalid_arguments";
@@ -3997,6 +4020,10 @@ interface ZodInvalidUnionIssue extends ZodIssueBase {
3997
4020
  code: typeof ZodIssueCode.invalid_union;
3998
4021
  unionErrors: ZodError[];
3999
4022
  }
4023
+ interface ZodInvalidUnionDiscriminatorIssue extends ZodIssueBase {
4024
+ code: typeof ZodIssueCode.invalid_union_discriminator;
4025
+ options: Primitive[];
4026
+ }
4000
4027
  interface ZodInvalidEnumValueIssue extends ZodIssueBase {
4001
4028
  code: typeof ZodIssueCode.invalid_enum_value;
4002
4029
  options: (string | number)[];
@@ -4021,13 +4048,13 @@ interface ZodTooSmallIssue extends ZodIssueBase {
4021
4048
  code: typeof ZodIssueCode.too_small;
4022
4049
  minimum: number;
4023
4050
  inclusive: boolean;
4024
- type: "array" | "string" | "number";
4051
+ type: "array" | "string" | "number" | "set";
4025
4052
  }
4026
4053
  interface ZodTooBigIssue extends ZodIssueBase {
4027
4054
  code: typeof ZodIssueCode.too_big;
4028
4055
  maximum: number;
4029
4056
  inclusive: boolean;
4030
- type: "array" | "string" | "number";
4057
+ type: "array" | "string" | "number" | "set";
4031
4058
  }
4032
4059
  interface ZodInvalidIntersectionTypesIssue extends ZodIssueBase {
4033
4060
  code: typeof ZodIssueCode.invalid_intersection_types;
@@ -4045,7 +4072,7 @@ interface ZodCustomIssue extends ZodIssueBase {
4045
4072
  declare type DenormalizedError = {
4046
4073
  [k: string]: DenormalizedError | string[];
4047
4074
  };
4048
- declare type ZodIssueOptionalMessage = ZodInvalidTypeIssue | ZodUnrecognizedKeysIssue | ZodInvalidUnionIssue | ZodInvalidEnumValueIssue | ZodInvalidArgumentsIssue | ZodInvalidReturnTypeIssue | ZodInvalidDateIssue | ZodInvalidStringIssue | ZodTooSmallIssue | ZodTooBigIssue | ZodInvalidIntersectionTypesIssue | ZodNotMultipleOfIssue | ZodCustomIssue;
4075
+ declare type ZodIssueOptionalMessage = ZodInvalidTypeIssue | ZodUnrecognizedKeysIssue | ZodInvalidUnionIssue | ZodInvalidUnionDiscriminatorIssue | ZodInvalidEnumValueIssue | ZodInvalidArgumentsIssue | ZodInvalidReturnTypeIssue | ZodInvalidDateIssue | ZodInvalidStringIssue | ZodTooSmallIssue | ZodTooBigIssue | ZodInvalidIntersectionTypesIssue | ZodNotMultipleOfIssue | ZodCustomIssue;
4049
4076
  declare type ZodIssue = ZodIssueOptionalMessage & {
4050
4077
  message: string;
4051
4078
  };
@@ -4068,7 +4095,13 @@ declare class ZodError<T = any> extends Error {
4068
4095
  get isEmpty(): boolean;
4069
4096
  addIssue: (sub: ZodIssue) => void;
4070
4097
  addIssues: (subs?: ZodIssue[]) => void;
4071
- flatten: <U = string>(mapper?: (issue: ZodIssue) => U) => {
4098
+ flatten(mapper?: (issue: ZodIssue) => string): {
4099
+ formErrors: string[];
4100
+ fieldErrors: {
4101
+ [k: string]: string[];
4102
+ };
4103
+ };
4104
+ flatten<U>(mapper?: (issue: ZodIssue) => U): {
4072
4105
  formErrors: U[];
4073
4106
  fieldErrors: {
4074
4107
  [k: string]: U[];
@@ -4123,7 +4156,7 @@ declare const ZodParsedType: {
4123
4156
  set: "set";
4124
4157
  };
4125
4158
  declare type ZodParsedType = keyof typeof ZodParsedType;
4126
- declare const getParsedType: (data: any, cache?: Map<any, "function" | "number" | "string" | "nan" | "integer" | "float" | "boolean" | "date" | "bigint" | "symbol" | "undefined" | "null" | "array" | "object" | "unknown" | "promise" | "void" | "never" | "map" | "set"> | undefined) => ZodParsedType;
4159
+ declare const getParsedType: (data: any) => ZodParsedType;
4127
4160
  declare const makeIssue: (params: {
4128
4161
  data: any;
4129
4162
  path: (string | number)[];
@@ -4139,13 +4172,15 @@ declare type ParsePathComponent = string | number;
4139
4172
  declare type ParsePath = ParsePathComponent[];
4140
4173
  declare const EMPTY_PATH: ParsePath;
4141
4174
  interface ParseContext {
4175
+ readonly common: {
4176
+ readonly issues: ZodIssue[];
4177
+ readonly contextualErrorMap?: ZodErrorMap;
4178
+ readonly async: boolean;
4179
+ readonly typeCache: Map<any, ZodParsedType> | undefined;
4180
+ };
4142
4181
  readonly path: ParsePath;
4143
- readonly issues: ZodIssue[];
4144
4182
  readonly schemaErrorMap?: ZodErrorMap;
4145
- readonly contextualErrorMap?: ZodErrorMap;
4146
- readonly async: boolean;
4147
4183
  readonly parent: ParseContext | null;
4148
- readonly typeCache: Map<any, ZodParsedType>;
4149
4184
  readonly data: any;
4150
4185
  readonly parsedType: ZodParsedType;
4151
4186
  }
@@ -4229,6 +4264,14 @@ declare type ZodTypeAny = ZodType<any, any, any>;
4229
4264
  declare type TypeOf<T extends ZodType<any, any, any>> = T["_output"];
4230
4265
  declare type input<T extends ZodType<any, any, any>> = T["_input"];
4231
4266
  declare type output<T extends ZodType<any, any, any>> = T["_output"];
4267
+ declare type allKeys<T> = T extends any ? keyof T : never;
4268
+ declare type TypeOfFlattenedError<T extends ZodType<any, any, any>, U = string> = {
4269
+ formErrors: U[];
4270
+ fieldErrors: {
4271
+ [P in allKeys<TypeOf<T>>]?: U[];
4272
+ };
4273
+ };
4274
+ declare type TypeOfFormErrors<T extends ZodType<any, any, any>> = TypeOfFlattenedError<T>;
4232
4275
 
4233
4276
  declare type CustomErrorParams = Partial<util.Omit<ZodCustomIssue, "code">>;
4234
4277
  interface ZodTypeDef {
@@ -4250,13 +4293,15 @@ declare type SafeParseError<Input> = {
4250
4293
  error: ZodError<Input>;
4251
4294
  };
4252
4295
  declare type SafeParseReturnType<Input, Output> = SafeParseSuccess<Output> | SafeParseError<Input>;
4253
- declare abstract class ZodType<Output, Def extends ZodTypeDef = ZodTypeDef, Input = Output> {
4296
+ declare abstract class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef, Input = Output> {
4254
4297
  readonly _type: Output;
4255
4298
  readonly _output: Output;
4256
4299
  readonly _input: Input;
4257
4300
  readonly _def: Def;
4258
4301
  get description(): string | undefined;
4259
4302
  abstract _parse(input: ParseInput): ParseReturnType<Output>;
4303
+ _getType(input: ParseInput): string;
4304
+ _getOrReturnCtx(input: ParseInput, ctx?: ParseContext | undefined): ParseContext;
4260
4305
  _processInputParams(input: ParseInput): {
4261
4306
  status: ParseStatus;
4262
4307
  ctx: ParseContext;
@@ -4269,10 +4314,6 @@ declare abstract class ZodType<Output, Def extends ZodTypeDef = ZodTypeDef, Inpu
4269
4314
  safeParseAsync(data: unknown, params?: Partial<ParseParams>): Promise<SafeParseReturnType<Input, Output>>;
4270
4315
  /** Alias of safeParseAsync */
4271
4316
  spa: (data: unknown, params?: Partial<ParseParams> | undefined) => Promise<SafeParseReturnType<Input, Output>>;
4272
- /** The .is method has been removed in Zod 3. For details see https://github.com/colinhacks/zod/tree/v3. */
4273
- is: never;
4274
- /** The .check method has been removed in Zod 3. For details see https://github.com/colinhacks/zod/tree/v3. */
4275
- check: never;
4276
4317
  refine<RefinedOutput extends Output>(check: (arg: Output) => arg is RefinedOutput, message?: string | CustomErrorParams | ((arg: Output) => CustomErrorParams)): ZodEffects<this, RefinedOutput, RefinedOutput>;
4277
4318
  refine(check: (arg: Output) => unknown | Promise<unknown>, message?: string | CustomErrorParams | ((arg: Output) => CustomErrorParams)): ZodEffects<this, Output, Input>;
4278
4319
  refinement<RefinedOutput extends Output>(check: (arg: Output) => arg is RefinedOutput, refinementData: IssueData | ((arg: Output, ctx: RefinementCtx) => IssueData)): ZodEffects<this, RefinedOutput, RefinedOutput>;
@@ -4489,7 +4530,9 @@ declare namespace objectUtil {
4489
4530
  type optionalKeys<T extends object> = {
4490
4531
  [k in keyof T]: undefined extends T[k] ? k : never;
4491
4532
  }[keyof T];
4492
- type requiredKeys<T extends object> = Exclude<keyof T, optionalKeys<T>>;
4533
+ type requiredKeys<T extends object> = {
4534
+ [k in keyof T]: undefined extends T[k] ? never : k;
4535
+ }[keyof T];
4493
4536
  export type addQuestionMarks<T extends object> = {
4494
4537
  [k in optionalKeys<T>]?: T[k];
4495
4538
  } & {
@@ -4514,8 +4557,6 @@ declare type extendShape<A, B> = {
4514
4557
  [k in keyof B]: B[k];
4515
4558
  };
4516
4559
  declare type UnknownKeysParam = "passthrough" | "strict" | "strip";
4517
- declare type Primitive = string | number | bigint | boolean | null | undefined;
4518
- declare type Scalars = Primitive | Primitive[];
4519
4560
  interface ZodObjectDef<T extends ZodRawShape = ZodRawShape, UnknownKeys extends UnknownKeysParam = UnknownKeysParam, Catchall extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
4520
4561
  typeName: ZodFirstPartyTypeKind.ZodObject;
4521
4562
  shape: () => T;
@@ -4594,15 +4635,46 @@ declare class ZodObject<T extends ZodRawShape, UnknownKeys extends UnknownKeysPa
4594
4635
  static lazycreate: <T_1 extends ZodRawShape>(shape: () => T_1, params?: RawCreateParams) => ZodObject<T_1, "strip", ZodTypeAny, { [k_1 in keyof objectUtil.addQuestionMarks<{ [k in keyof T_1]: T_1[k]["_output"]; }>]: objectUtil.addQuestionMarks<{ [k in keyof T_1]: T_1[k]["_output"]; }>[k_1]; }, { [k_3 in keyof objectUtil.addQuestionMarks<{ [k_2 in keyof T_1]: T_1[k_2]["_input"]; }>]: objectUtil.addQuestionMarks<{ [k_2 in keyof T_1]: T_1[k_2]["_input"]; }>[k_3]; }>;
4595
4636
  }
4596
4637
  declare type AnyZodObject = ZodObject<any, any, any>;
4597
- declare type ZodUnionOptions = [ZodTypeAny, ...ZodTypeAny[]];
4598
- interface ZodUnionDef<T extends ZodUnionOptions = [ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]> extends ZodTypeDef {
4638
+ declare type ZodUnionOptions = Readonly<[ZodTypeAny, ...ZodTypeAny[]]>;
4639
+ interface ZodUnionDef<T extends ZodUnionOptions = Readonly<[
4640
+ ZodTypeAny,
4641
+ ZodTypeAny,
4642
+ ...ZodTypeAny[]
4643
+ ]>> extends ZodTypeDef {
4599
4644
  options: T;
4600
4645
  typeName: ZodFirstPartyTypeKind.ZodUnion;
4601
4646
  }
4602
4647
  declare class ZodUnion<T extends ZodUnionOptions> extends ZodType<T[number]["_output"], ZodUnionDef<T>, T[number]["_input"]> {
4603
4648
  _parse(input: ParseInput): ParseReturnType<this["_output"]>;
4604
4649
  get options(): T;
4605
- static create: <T_1 extends [ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>(types: T_1, params?: RawCreateParams) => ZodUnion<T_1>;
4650
+ static create: <T_1 extends readonly [ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>(types: T_1, params?: RawCreateParams) => ZodUnion<T_1>;
4651
+ }
4652
+ declare type ZodDiscriminatedUnionOption<Discriminator extends string, DiscriminatorValue extends Primitive> = ZodObject<{
4653
+ [key in Discriminator]: ZodLiteral<DiscriminatorValue>;
4654
+ } & ZodRawShape, any, any>;
4655
+ interface ZodDiscriminatedUnionDef<Discriminator extends string, DiscriminatorValue extends Primitive, Option extends ZodDiscriminatedUnionOption<Discriminator, DiscriminatorValue>> extends ZodTypeDef {
4656
+ discriminator: Discriminator;
4657
+ options: Map<DiscriminatorValue, Option>;
4658
+ typeName: ZodFirstPartyTypeKind.ZodDiscriminatedUnion;
4659
+ }
4660
+ declare class ZodDiscriminatedUnion<Discriminator extends string, DiscriminatorValue extends Primitive, Option extends ZodDiscriminatedUnionOption<Discriminator, DiscriminatorValue>> extends ZodType<Option["_output"], ZodDiscriminatedUnionDef<Discriminator, DiscriminatorValue, Option>, Option["_input"]> {
4661
+ _parse(input: ParseInput): ParseReturnType<this["_output"]>;
4662
+ get discriminator(): Discriminator;
4663
+ get validDiscriminatorValues(): DiscriminatorValue[];
4664
+ get options(): Map<DiscriminatorValue, Option>;
4665
+ /**
4666
+ * The constructor of the discriminated union schema. Its behaviour is very similar to that of the normal z.union() constructor.
4667
+ * However, it only allows a union of objects, all of which need to share a discriminator property. This property must
4668
+ * have a different value for each object in the union.
4669
+ * @param discriminator the name of the discriminator property
4670
+ * @param types an array of object schemas
4671
+ * @param params
4672
+ */
4673
+ static create<Discriminator extends string, DiscriminatorValue extends Primitive, Types extends [
4674
+ ZodDiscriminatedUnionOption<Discriminator, DiscriminatorValue>,
4675
+ ZodDiscriminatedUnionOption<Discriminator, DiscriminatorValue>,
4676
+ ...ZodDiscriminatedUnionOption<Discriminator, DiscriminatorValue>[]
4677
+ ]>(discriminator: Discriminator, types: Types, params?: RawCreateParams): ZodDiscriminatedUnion<Discriminator, DiscriminatorValue, Types[number]>;
4606
4678
  }
4607
4679
  interface ZodIntersectionDef<T extends ZodTypeAny = ZodTypeAny, U extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
4608
4680
  left: T;
@@ -4614,7 +4686,7 @@ declare class ZodIntersection<T extends ZodTypeAny, U extends ZodTypeAny> extend
4614
4686
  static create: <T_1 extends ZodTypeAny, U_1 extends ZodTypeAny>(left: T_1, right: U_1, params?: RawCreateParams) => ZodIntersection<T_1, U_1>;
4615
4687
  }
4616
4688
  declare type ZodTupleItems = [ZodTypeAny, ...ZodTypeAny[]];
4617
- declare type AssertArray<T extends any> = T extends any[] ? T : never;
4689
+ declare type AssertArray<T> = T extends any[] ? T : never;
4618
4690
  declare type OutputTypeOfTuple<T extends ZodTupleItems | []> = AssertArray<{
4619
4691
  [k in keyof T]: T[k] extends ZodType<any, any> ? T[k]["_output"] : never;
4620
4692
  }>;
@@ -4640,7 +4712,8 @@ interface ZodRecordDef<Key extends KeySchema = ZodString, Value extends ZodTypeA
4640
4712
  typeName: ZodFirstPartyTypeKind.ZodRecord;
4641
4713
  }
4642
4714
  declare type KeySchema = ZodType<string | number | symbol, any, any>;
4643
- declare class ZodRecord<Key extends KeySchema = ZodString, Value extends ZodTypeAny = ZodTypeAny> extends ZodType<Record<Key["_output"], Value["_output"]>, ZodRecordDef<Key, Value>, Record<Key["_input"], Value["_input"]>> {
4715
+ declare type RecordType<K extends string | number | symbol, V> = [string] extends [K] ? Record<K, V> : [number] extends [K] ? Record<K, V> : [symbol] extends [K] ? Record<K, V> : Partial<Record<K, V>>;
4716
+ declare class ZodRecord<Key extends KeySchema = ZodString, Value extends ZodTypeAny = ZodTypeAny> extends ZodType<RecordType<Key["_output"], Value["_output"]>, ZodRecordDef<Key, Value>, RecordType<Key["_input"], Value["_input"]>> {
4644
4717
  get keySchema(): Key;
4645
4718
  get valueSchema(): Value;
4646
4719
  _parse(input: ParseInput): ParseReturnType<this["_output"]>;
@@ -4660,9 +4733,21 @@ declare class ZodMap<Key extends ZodTypeAny = ZodTypeAny, Value extends ZodTypeA
4660
4733
  interface ZodSetDef<Value extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
4661
4734
  valueType: Value;
4662
4735
  typeName: ZodFirstPartyTypeKind.ZodSet;
4736
+ minSize: {
4737
+ value: number;
4738
+ message?: string;
4739
+ } | null;
4740
+ maxSize: {
4741
+ value: number;
4742
+ message?: string;
4743
+ } | null;
4663
4744
  }
4664
4745
  declare class ZodSet<Value extends ZodTypeAny = ZodTypeAny> extends ZodType<Set<Value["_output"]>, ZodSetDef<Value>, Set<Value["_input"]>> {
4665
4746
  _parse(input: ParseInput): ParseReturnType<this["_output"]>;
4747
+ min(minSize: number, message?: errorUtil.ErrMessage): this;
4748
+ max(maxSize: number, message?: errorUtil.ErrMessage): this;
4749
+ size(size: number, message?: errorUtil.ErrMessage): this;
4750
+ nonempty(message?: errorUtil.ErrMessage): ZodSet<Value>;
4666
4751
  static create: <Value_1 extends ZodTypeAny = ZodTypeAny>(valueType: Value_1, params?: RawCreateParams) => ZodSet<Value_1>;
4667
4752
  }
4668
4753
  interface ZodFunctionDef<Args extends ZodTuple<any, any> = ZodTuple<any, any>, Returns extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
@@ -4692,11 +4777,11 @@ declare class ZodLazy<T extends ZodTypeAny> extends ZodType<output<T>, ZodLazyDe
4692
4777
  _parse(input: ParseInput): ParseReturnType<this["_output"]>;
4693
4778
  static create: <T_1 extends ZodTypeAny>(getter: () => T_1, params?: RawCreateParams) => ZodLazy<T_1>;
4694
4779
  }
4695
- interface ZodLiteralDef<T extends any = any> extends ZodTypeDef {
4780
+ interface ZodLiteralDef<T = any> extends ZodTypeDef {
4696
4781
  value: T;
4697
4782
  typeName: ZodFirstPartyTypeKind.ZodLiteral;
4698
4783
  }
4699
- declare class ZodLiteral<T extends any> extends ZodType<T, ZodLiteralDef<T>> {
4784
+ declare class ZodLiteral<T> extends ZodType<T, ZodLiteralDef<T>> {
4700
4785
  _parse(input: ParseInput): ParseReturnType<this["_output"]>;
4701
4786
  get value(): T;
4702
4787
  static create: <T_1 extends Primitive>(value: T_1, params?: RawCreateParams) => ZodLiteral<T_1>;
@@ -4734,6 +4819,7 @@ declare type EnumLike = {
4734
4819
  };
4735
4820
  declare class ZodNativeEnum<T extends EnumLike> extends ZodType<T[keyof T], ZodNativeEnumDef<T>> {
4736
4821
  _parse(input: ParseInput): ParseReturnType<T[keyof T]>;
4822
+ get enum(): T;
4737
4823
  static create: <T_1 extends EnumLike>(values: T_1, params?: RawCreateParams) => ZodNativeEnum<T_1>;
4738
4824
  }
4739
4825
  interface ZodPromiseDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
@@ -4801,6 +4887,13 @@ declare class ZodDefault<T extends ZodTypeAny> extends ZodType<util.noUndefined<
4801
4887
  removeDefault(): T;
4802
4888
  static create: <T_1 extends ZodTypeAny>(type: T_1, params?: RawCreateParams) => ZodOptional<T_1>;
4803
4889
  }
4890
+ interface ZodNaNDef extends ZodTypeDef {
4891
+ typeName: ZodFirstPartyTypeKind.ZodNaN;
4892
+ }
4893
+ declare class ZodNaN extends ZodType<number, ZodNaNDef> {
4894
+ _parse(input: ParseInput): ParseReturnType<any>;
4895
+ static create: (params?: RawCreateParams) => ZodNaN;
4896
+ }
4804
4897
  declare const custom: <T>(check?: ((data: unknown) => any) | undefined, params?: Parameters<ZodTypeAny["refine"]>[1]) => ZodType<T, ZodTypeDef, T>;
4805
4898
 
4806
4899
  declare const late: {
@@ -4809,6 +4902,7 @@ declare const late: {
4809
4902
  declare enum ZodFirstPartyTypeKind {
4810
4903
  ZodString = "ZodString",
4811
4904
  ZodNumber = "ZodNumber",
4905
+ ZodNaN = "ZodNaN",
4812
4906
  ZodBigInt = "ZodBigInt",
4813
4907
  ZodBoolean = "ZodBoolean",
4814
4908
  ZodDate = "ZodDate",
@@ -4821,6 +4915,7 @@ declare enum ZodFirstPartyTypeKind {
4821
4915
  ZodArray = "ZodArray",
4822
4916
  ZodObject = "ZodObject",
4823
4917
  ZodUnion = "ZodUnion",
4918
+ ZodDiscriminatedUnion = "ZodDiscriminatedUnion",
4824
4919
  ZodIntersection = "ZodIntersection",
4825
4920
  ZodTuple = "ZodTuple",
4826
4921
  ZodRecord = "ZodRecord",
@@ -4837,10 +4932,11 @@ declare enum ZodFirstPartyTypeKind {
4837
4932
  ZodDefault = "ZodDefault",
4838
4933
  ZodPromise = "ZodPromise"
4839
4934
  }
4840
- declare type ZodFirstPartySchemaTypes = ZodString | ZodNumber | ZodBigInt | ZodBoolean | ZodDate | ZodUndefined | ZodNull | ZodAny | ZodUnknown | ZodNever | ZodVoid | ZodArray<any, any> | ZodObject<any, any, any, any, any> | ZodUnion<any> | ZodIntersection<any, any> | ZodTuple<any, any> | ZodRecord<any, any> | ZodMap<any> | ZodSet<any> | ZodFunction<any, any> | ZodLazy<any> | ZodLiteral<any> | ZodEnum<any> | ZodEffects<any, any, any> | ZodNativeEnum<any> | ZodOptional<any> | ZodNullable<any> | ZodDefault<any> | ZodPromise<any>;
4935
+ declare type ZodFirstPartySchemaTypes = ZodString | ZodNumber | ZodNaN | ZodBigInt | ZodBoolean | ZodDate | ZodUndefined | ZodNull | ZodAny | ZodUnknown | ZodNever | ZodVoid | ZodArray<any, any> | ZodObject<any, any, any, any, any> | ZodUnion<any> | ZodDiscriminatedUnion<any, any, any> | ZodIntersection<any, any> | ZodTuple<any, any> | ZodRecord<any, any> | ZodMap<any> | ZodSet<any> | ZodFunction<any, any> | ZodLazy<any> | ZodLiteral<any> | ZodEnum<any> | ZodEffects<any, any, any> | ZodNativeEnum<any> | ZodOptional<any> | ZodNullable<any> | ZodDefault<any> | ZodPromise<any>;
4841
4936
  declare const instanceOfType: <T extends new (...args: any[]) => any>(cls: T, params?: Parameters<ZodTypeAny["refine"]>[1]) => ZodType<InstanceType<T>, ZodTypeDef, InstanceType<T>>;
4842
4937
  declare const stringType: (params?: RawCreateParams) => ZodString;
4843
4938
  declare const numberType: (params?: RawCreateParams) => ZodNumber;
4939
+ declare const nanType: (params?: RawCreateParams) => ZodNaN;
4844
4940
  declare const bigIntType: (params?: RawCreateParams) => ZodBigInt;
4845
4941
  declare const booleanType: (params?: RawCreateParams) => ZodBoolean;
4846
4942
  declare const dateType: (params?: RawCreateParams) => ZodDate;
@@ -4853,7 +4949,8 @@ declare const voidType: (params?: RawCreateParams) => ZodVoid;
4853
4949
  declare const arrayType: <T extends ZodTypeAny>(schema: T, params?: RawCreateParams) => ZodArray<T, "many">;
4854
4950
  declare const objectType: <T extends ZodRawShape>(shape: T, params?: RawCreateParams) => ZodObject<T, "strip", ZodTypeAny, { [k_1 in keyof objectUtil.addQuestionMarks<{ [k in keyof T]: T[k]["_output"]; }>]: objectUtil.addQuestionMarks<{ [k in keyof T]: T[k]["_output"]; }>[k_1]; }, { [k_3 in keyof objectUtil.addQuestionMarks<{ [k_2 in keyof T]: T[k_2]["_input"]; }>]: objectUtil.addQuestionMarks<{ [k_2 in keyof T]: T[k_2]["_input"]; }>[k_3]; }>;
4855
4951
  declare const strictObjectType: <T extends ZodRawShape>(shape: T, params?: RawCreateParams) => ZodObject<T, "strict", ZodTypeAny, { [k_1 in keyof objectUtil.addQuestionMarks<{ [k in keyof T]: T[k]["_output"]; }>]: objectUtil.addQuestionMarks<{ [k in keyof T]: T[k]["_output"]; }>[k_1]; }, { [k_3 in keyof objectUtil.addQuestionMarks<{ [k_2 in keyof T]: T[k_2]["_input"]; }>]: objectUtil.addQuestionMarks<{ [k_2 in keyof T]: T[k_2]["_input"]; }>[k_3]; }>;
4856
- declare const unionType: <T extends [ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>(types: T, params?: RawCreateParams) => ZodUnion<T>;
4952
+ declare const unionType: <T extends readonly [ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>(types: T, params?: RawCreateParams) => ZodUnion<T>;
4953
+ declare const discriminatedUnionType: typeof ZodDiscriminatedUnion.create;
4857
4954
  declare const intersectionType: <T extends ZodTypeAny, U extends ZodTypeAny>(left: T, right: U, params?: RawCreateParams) => ZodIntersection<T, U>;
4858
4955
  declare const tupleType: <T extends [ZodTypeAny, ...ZodTypeAny[]] | []>(schemas: T, params?: RawCreateParams) => ZodTuple<T, null>;
4859
4956
  declare const recordType: typeof ZodRecord.create;
@@ -4873,225 +4970,241 @@ declare const ostring: () => ZodOptional<ZodString>;
4873
4970
  declare const onumber: () => ZodOptional<ZodNumber>;
4874
4971
  declare const oboolean: () => ZodOptional<ZodBoolean>;
4875
4972
 
4876
- //# sourceMappingURL=external.d.ts.map
4877
-
4878
- type external_d_ZodParsedType = ZodParsedType;
4879
- declare const external_d_getParsedType: typeof getParsedType;
4880
- declare const external_d_makeIssue: typeof makeIssue;
4881
- type external_d_ParseParams = ParseParams;
4882
- type external_d_ParsePathComponent = ParsePathComponent;
4883
- type external_d_ParsePath = ParsePath;
4884
- declare const external_d_EMPTY_PATH: typeof EMPTY_PATH;
4885
- type external_d_ParseContext = ParseContext;
4886
- type external_d_ParseInput = ParseInput;
4887
- declare const external_d_addIssueToContext: typeof addIssueToContext;
4888
- type external_d_ObjectPair = ObjectPair;
4889
- type external_d_ParseStatus = ParseStatus;
4890
- declare const external_d_ParseStatus: typeof ParseStatus;
4891
- type external_d_ParseResult = ParseResult;
4892
- declare const external_d_INVALID: typeof INVALID;
4893
- declare const external_d_DIRTY: typeof DIRTY;
4894
- declare const external_d_OK: typeof OK;
4895
- type external_d_SyncParseReturnType<T = any> = SyncParseReturnType<T>;
4896
- type external_d_AsyncParseReturnType<T> = AsyncParseReturnType<T>;
4897
- type external_d_ParseReturnType<T> = ParseReturnType<T>;
4898
- declare const external_d_isAborted: typeof isAborted;
4899
- declare const external_d_isDirty: typeof isDirty;
4900
- declare const external_d_isValid: typeof isValid;
4901
- declare const external_d_isAsync: typeof isAsync;
4902
- declare const external_d_oboolean: typeof oboolean;
4903
- declare const external_d_onumber: typeof onumber;
4904
- declare const external_d_ostring: typeof ostring;
4905
- type external_d_RefinementCtx = RefinementCtx;
4906
- type external_d_ZodRawShape = ZodRawShape;
4907
- type external_d_ZodTypeAny = ZodTypeAny;
4908
- type external_d_TypeOf<T extends ZodType<any, any, any>> = TypeOf<T>;
4909
- type external_d_input<T extends ZodType<any, any, any>> = input<T>;
4910
- type external_d_output<T extends ZodType<any, any, any>> = output<T>;
4911
- type external_d_CustomErrorParams = CustomErrorParams;
4912
- type external_d_ZodTypeDef = ZodTypeDef;
4913
- type external_d_SafeParseSuccess<Output> = SafeParseSuccess<Output>;
4914
- type external_d_SafeParseError<Input> = SafeParseError<Input>;
4915
- type external_d_SafeParseReturnType<Input, Output> = SafeParseReturnType<Input, Output>;
4916
- type external_d_ZodType<Output, Def extends ZodTypeDef = ZodTypeDef, Input = Output> = ZodType<Output, Def, Input>;
4917
- declare const external_d_ZodType: typeof ZodType;
4918
- type external_d_ZodStringDef = ZodStringDef;
4919
- type external_d_ZodString = ZodString;
4920
- declare const external_d_ZodString: typeof ZodString;
4921
- type external_d_ZodNumberDef = ZodNumberDef;
4922
- type external_d_ZodNumber = ZodNumber;
4923
- declare const external_d_ZodNumber: typeof ZodNumber;
4924
- type external_d_ZodBigIntDef = ZodBigIntDef;
4925
- type external_d_ZodBigInt = ZodBigInt;
4926
- declare const external_d_ZodBigInt: typeof ZodBigInt;
4927
- type external_d_ZodBooleanDef = ZodBooleanDef;
4928
- type external_d_ZodBoolean = ZodBoolean;
4929
- declare const external_d_ZodBoolean: typeof ZodBoolean;
4930
- type external_d_ZodDateDef = ZodDateDef;
4931
- type external_d_ZodDate = ZodDate;
4932
- declare const external_d_ZodDate: typeof ZodDate;
4933
- type external_d_ZodUndefinedDef = ZodUndefinedDef;
4934
- type external_d_ZodUndefined = ZodUndefined;
4935
- declare const external_d_ZodUndefined: typeof ZodUndefined;
4936
- type external_d_ZodNullDef = ZodNullDef;
4937
- type external_d_ZodNull = ZodNull;
4938
- declare const external_d_ZodNull: typeof ZodNull;
4939
- type external_d_ZodAnyDef = ZodAnyDef;
4940
- type external_d_ZodAny = ZodAny;
4941
- declare const external_d_ZodAny: typeof ZodAny;
4942
- type external_d_ZodUnknownDef = ZodUnknownDef;
4943
- type external_d_ZodUnknown = ZodUnknown;
4944
- declare const external_d_ZodUnknown: typeof ZodUnknown;
4945
- type external_d_ZodNeverDef = ZodNeverDef;
4946
- type external_d_ZodNever = ZodNever;
4947
- declare const external_d_ZodNever: typeof ZodNever;
4948
- type external_d_ZodVoidDef = ZodVoidDef;
4949
- type external_d_ZodVoid = ZodVoid;
4950
- declare const external_d_ZodVoid: typeof ZodVoid;
4951
- type external_d_ZodArrayDef<T extends ZodTypeAny = ZodTypeAny> = ZodArrayDef<T>;
4952
- type external_d_ArrayCardinality = ArrayCardinality;
4953
- type external_d_ZodArray<T extends ZodTypeAny, Cardinality extends ArrayCardinality = "many"> = ZodArray<T, Cardinality>;
4954
- declare const external_d_ZodArray: typeof ZodArray;
4955
- type external_d_ZodNonEmptyArray<T extends ZodTypeAny> = ZodNonEmptyArray<T>;
4956
- declare const external_d_objectUtil: typeof objectUtil;
4957
- type external_d_extendShape<A, B> = extendShape<A, B>;
4958
- type external_d_Primitive = Primitive;
4959
- type external_d_Scalars = Scalars;
4960
- type external_d_ZodObjectDef<T extends ZodRawShape = ZodRawShape, UnknownKeys extends UnknownKeysParam = UnknownKeysParam, Catchall extends ZodTypeAny = ZodTypeAny> = ZodObjectDef<T, UnknownKeys, Catchall>;
4961
- type external_d_baseObjectOutputType<Shape extends ZodRawShape> = baseObjectOutputType<Shape>;
4962
- type external_d_objectOutputType<Shape extends ZodRawShape, Catchall extends ZodTypeAny> = objectOutputType<Shape, Catchall>;
4963
- type external_d_baseObjectInputType<Shape extends ZodRawShape> = baseObjectInputType<Shape>;
4964
- type external_d_objectInputType<Shape extends ZodRawShape, Catchall extends ZodTypeAny> = objectInputType<Shape, Catchall>;
4965
- type external_d_SomeZodObject = SomeZodObject;
4966
- type external_d_ZodObject<T extends ZodRawShape, UnknownKeys extends UnknownKeysParam = "strip", Catchall extends ZodTypeAny = ZodTypeAny, Output = objectOutputType<T, Catchall>, Input = objectInputType<T, Catchall>> = ZodObject<T, UnknownKeys, Catchall, Output, Input>;
4967
- declare const external_d_ZodObject: typeof ZodObject;
4968
- type external_d_AnyZodObject = AnyZodObject;
4969
- type external_d_ZodUnionDef<T extends ZodUnionOptions = [ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]> = ZodUnionDef<T>;
4970
- type external_d_ZodUnion<T extends ZodUnionOptions> = ZodUnion<T>;
4971
- declare const external_d_ZodUnion: typeof ZodUnion;
4972
- type external_d_ZodIntersectionDef<T extends ZodTypeAny = ZodTypeAny, U extends ZodTypeAny = ZodTypeAny> = ZodIntersectionDef<T, U>;
4973
- type external_d_ZodIntersection<T extends ZodTypeAny, U extends ZodTypeAny> = ZodIntersection<T, U>;
4974
- declare const external_d_ZodIntersection: typeof ZodIntersection;
4975
- type external_d_ZodTupleItems = ZodTupleItems;
4976
- type external_d_AssertArray<T extends any> = AssertArray<T>;
4977
- type external_d_OutputTypeOfTuple<T extends ZodTupleItems | []> = OutputTypeOfTuple<T>;
4978
- type external_d_OutputTypeOfTupleWithRest<T extends ZodTupleItems | [], Rest extends ZodTypeAny | null = null> = OutputTypeOfTupleWithRest<T, Rest>;
4979
- type external_d_InputTypeOfTuple<T extends ZodTupleItems | []> = InputTypeOfTuple<T>;
4980
- type external_d_InputTypeOfTupleWithRest<T extends ZodTupleItems | [], Rest extends ZodTypeAny | null = null> = InputTypeOfTupleWithRest<T, Rest>;
4981
- type external_d_ZodTupleDef<T extends ZodTupleItems | [] = ZodTupleItems, Rest extends ZodTypeAny | null = null> = ZodTupleDef<T, Rest>;
4982
- type external_d_ZodTuple<T extends [ZodTypeAny, ...ZodTypeAny[]] | [] = [ZodTypeAny, ...ZodTypeAny[]], Rest extends ZodTypeAny | null = null> = ZodTuple<T, Rest>;
4983
- declare const external_d_ZodTuple: typeof ZodTuple;
4984
- type external_d_ZodRecordDef<Key extends KeySchema = ZodString, Value extends ZodTypeAny = ZodTypeAny> = ZodRecordDef<Key, Value>;
4985
- type external_d_ZodRecord<Key extends KeySchema = ZodString, Value extends ZodTypeAny = ZodTypeAny> = ZodRecord<Key, Value>;
4986
- declare const external_d_ZodRecord: typeof ZodRecord;
4987
- type external_d_ZodMapDef<Key extends ZodTypeAny = ZodTypeAny, Value extends ZodTypeAny = ZodTypeAny> = ZodMapDef<Key, Value>;
4988
- type external_d_ZodMap<Key extends ZodTypeAny = ZodTypeAny, Value extends ZodTypeAny = ZodTypeAny> = ZodMap<Key, Value>;
4989
- declare const external_d_ZodMap: typeof ZodMap;
4990
- type external_d_ZodSetDef<Value extends ZodTypeAny = ZodTypeAny> = ZodSetDef<Value>;
4991
- type external_d_ZodSet<Value extends ZodTypeAny = ZodTypeAny> = ZodSet<Value>;
4992
- declare const external_d_ZodSet: typeof ZodSet;
4993
- type external_d_ZodFunctionDef<Args extends ZodTuple<any, any> = ZodTuple<any, any>, Returns extends ZodTypeAny = ZodTypeAny> = ZodFunctionDef<Args, Returns>;
4994
- type external_d_OuterTypeOfFunction<Args extends ZodTuple<any, any>, Returns extends ZodTypeAny> = OuterTypeOfFunction<Args, Returns>;
4995
- type external_d_InnerTypeOfFunction<Args extends ZodTuple<any, any>, Returns extends ZodTypeAny> = InnerTypeOfFunction<Args, Returns>;
4996
- type external_d_ZodFunction<Args extends ZodTuple<any, any>, Returns extends ZodTypeAny> = ZodFunction<Args, Returns>;
4997
- declare const external_d_ZodFunction: typeof ZodFunction;
4998
- type external_d_ZodLazyDef<T extends ZodTypeAny = ZodTypeAny> = ZodLazyDef<T>;
4999
- type external_d_ZodLazy<T extends ZodTypeAny> = ZodLazy<T>;
5000
- declare const external_d_ZodLazy: typeof ZodLazy;
5001
- type external_d_ZodLiteralDef<T extends any = any> = ZodLiteralDef<T>;
5002
- type external_d_ZodLiteral<T extends any> = ZodLiteral<T>;
5003
- declare const external_d_ZodLiteral: typeof ZodLiteral;
5004
- type external_d_ArrayKeys = ArrayKeys;
5005
- type external_d_Indices<T> = Indices<T>;
5006
- type external_d_ZodEnumDef<T extends EnumValues = EnumValues> = ZodEnumDef<T>;
5007
- type external_d_ZodEnum<T extends [string, ...string[]]> = ZodEnum<T>;
5008
- declare const external_d_ZodEnum: typeof ZodEnum;
5009
- type external_d_ZodNativeEnumDef<T extends EnumLike = EnumLike> = ZodNativeEnumDef<T>;
5010
- type external_d_ZodNativeEnum<T extends EnumLike> = ZodNativeEnum<T>;
5011
- declare const external_d_ZodNativeEnum: typeof ZodNativeEnum;
5012
- type external_d_ZodPromiseDef<T extends ZodTypeAny = ZodTypeAny> = ZodPromiseDef<T>;
5013
- type external_d_ZodPromise<T extends ZodTypeAny> = ZodPromise<T>;
5014
- declare const external_d_ZodPromise: typeof ZodPromise;
5015
- type external_d_Refinement<T> = Refinement<T>;
5016
- type external_d_SuperRefinement<T> = SuperRefinement<T>;
5017
- type external_d_RefinementEffect<T> = RefinementEffect<T>;
5018
- type external_d_TransformEffect<T> = TransformEffect<T>;
5019
- type external_d_PreprocessEffect<T> = PreprocessEffect<T>;
5020
- type external_d_Effect<T> = Effect<T>;
5021
- type external_d_ZodEffectsDef<T extends ZodTypeAny = ZodTypeAny> = ZodEffectsDef<T>;
5022
- type external_d_ZodEffects<T extends ZodTypeAny, Output = T["_output"], Input = T["_input"]> = ZodEffects<T, Output, Input>;
5023
- declare const external_d_ZodEffects: typeof ZodEffects;
5024
- type external_d_ZodOptionalDef<T extends ZodTypeAny = ZodTypeAny> = ZodOptionalDef<T>;
5025
- type external_d_ZodOptionalType<T extends ZodTypeAny> = ZodOptionalType<T>;
5026
- type external_d_ZodOptional<T extends ZodTypeAny> = ZodOptional<T>;
5027
- declare const external_d_ZodOptional: typeof ZodOptional;
5028
- type external_d_ZodNullableDef<T extends ZodTypeAny = ZodTypeAny> = ZodNullableDef<T>;
5029
- type external_d_ZodNullableType<T extends ZodTypeAny> = ZodNullableType<T>;
5030
- type external_d_ZodNullable<T extends ZodTypeAny> = ZodNullable<T>;
5031
- declare const external_d_ZodNullable: typeof ZodNullable;
5032
- type external_d_ZodDefaultDef<T extends ZodTypeAny = ZodTypeAny> = ZodDefaultDef<T>;
5033
- type external_d_ZodDefault<T extends ZodTypeAny> = ZodDefault<T>;
5034
- declare const external_d_ZodDefault: typeof ZodDefault;
5035
- declare const external_d_custom: typeof custom;
5036
- declare const external_d_late: typeof late;
5037
- type external_d_ZodFirstPartyTypeKind = ZodFirstPartyTypeKind;
5038
- declare const external_d_ZodFirstPartyTypeKind: typeof ZodFirstPartyTypeKind;
5039
- type external_d_ZodFirstPartySchemaTypes = ZodFirstPartySchemaTypes;
5040
- type external_d_ZodIssueCode = ZodIssueCode;
5041
- type external_d_ZodIssueBase = ZodIssueBase;
5042
- type external_d_ZodInvalidTypeIssue = ZodInvalidTypeIssue;
5043
- type external_d_ZodUnrecognizedKeysIssue = ZodUnrecognizedKeysIssue;
5044
- type external_d_ZodInvalidUnionIssue = ZodInvalidUnionIssue;
5045
- type external_d_ZodInvalidEnumValueIssue = ZodInvalidEnumValueIssue;
5046
- type external_d_ZodInvalidArgumentsIssue = ZodInvalidArgumentsIssue;
5047
- type external_d_ZodInvalidReturnTypeIssue = ZodInvalidReturnTypeIssue;
5048
- type external_d_ZodInvalidDateIssue = ZodInvalidDateIssue;
5049
- type external_d_StringValidation = StringValidation;
5050
- type external_d_ZodInvalidStringIssue = ZodInvalidStringIssue;
5051
- type external_d_ZodTooSmallIssue = ZodTooSmallIssue;
5052
- type external_d_ZodTooBigIssue = ZodTooBigIssue;
5053
- type external_d_ZodInvalidIntersectionTypesIssue = ZodInvalidIntersectionTypesIssue;
5054
- type external_d_ZodNotMultipleOfIssue = ZodNotMultipleOfIssue;
5055
- type external_d_ZodCustomIssue = ZodCustomIssue;
5056
- type external_d_DenormalizedError = DenormalizedError;
5057
- type external_d_ZodIssueOptionalMessage = ZodIssueOptionalMessage;
5058
- type external_d_ZodIssue = ZodIssue;
5059
- declare const external_d_quotelessJson: typeof quotelessJson;
5060
- type external_d_ZodFormattedError<T> = ZodFormattedError<T>;
5061
- type external_d_ZodError<T = any> = ZodError<T>;
5062
- declare const external_d_ZodError: typeof ZodError;
5063
- type external_d_IssueData = IssueData;
5064
- type external_d_MakeErrorData = MakeErrorData;
5065
- type external_d_ZodErrorMap = ZodErrorMap;
5066
- declare const external_d_defaultErrorMap: typeof defaultErrorMap;
5067
- declare const external_d_overrideErrorMap: typeof overrideErrorMap;
5068
- declare const external_d_setErrorMap: typeof setErrorMap;
5069
- declare namespace external_d {
4973
+ type mod_ZodParsedType = ZodParsedType;
4974
+ declare const mod_getParsedType: typeof getParsedType;
4975
+ declare const mod_makeIssue: typeof makeIssue;
4976
+ type mod_ParseParams = ParseParams;
4977
+ type mod_ParsePathComponent = ParsePathComponent;
4978
+ type mod_ParsePath = ParsePath;
4979
+ declare const mod_EMPTY_PATH: typeof EMPTY_PATH;
4980
+ type mod_ParseContext = ParseContext;
4981
+ type mod_ParseInput = ParseInput;
4982
+ declare const mod_addIssueToContext: typeof addIssueToContext;
4983
+ type mod_ObjectPair = ObjectPair;
4984
+ type mod_ParseStatus = ParseStatus;
4985
+ declare const mod_ParseStatus: typeof ParseStatus;
4986
+ type mod_ParseResult = ParseResult;
4987
+ declare const mod_INVALID: typeof INVALID;
4988
+ declare const mod_DIRTY: typeof DIRTY;
4989
+ declare const mod_OK: typeof OK;
4990
+ type mod_SyncParseReturnType<T = any> = SyncParseReturnType<T>;
4991
+ type mod_AsyncParseReturnType<T> = AsyncParseReturnType<T>;
4992
+ type mod_ParseReturnType<T> = ParseReturnType<T>;
4993
+ declare const mod_isAborted: typeof isAborted;
4994
+ declare const mod_isDirty: typeof isDirty;
4995
+ declare const mod_isValid: typeof isValid;
4996
+ declare const mod_isAsync: typeof isAsync;
4997
+ type mod_Primitive = Primitive;
4998
+ type mod_Scalars = Scalars;
4999
+ declare const mod_oboolean: typeof oboolean;
5000
+ declare const mod_onumber: typeof onumber;
5001
+ declare const mod_ostring: typeof ostring;
5002
+ type mod_RefinementCtx = RefinementCtx;
5003
+ type mod_ZodRawShape = ZodRawShape;
5004
+ type mod_ZodTypeAny = ZodTypeAny;
5005
+ type mod_TypeOf<T extends ZodType<any, any, any>> = TypeOf<T>;
5006
+ type mod_input<T extends ZodType<any, any, any>> = input<T>;
5007
+ type mod_output<T extends ZodType<any, any, any>> = output<T>;
5008
+ type mod_TypeOfFlattenedError<T extends ZodType<any, any, any>, U = string> = TypeOfFlattenedError<T, U>;
5009
+ type mod_TypeOfFormErrors<T extends ZodType<any, any, any>> = TypeOfFormErrors<T>;
5010
+ type mod_CustomErrorParams = CustomErrorParams;
5011
+ type mod_ZodTypeDef = ZodTypeDef;
5012
+ type mod_SafeParseSuccess<Output> = SafeParseSuccess<Output>;
5013
+ type mod_SafeParseError<Input> = SafeParseError<Input>;
5014
+ type mod_SafeParseReturnType<Input, Output> = SafeParseReturnType<Input, Output>;
5015
+ type mod_ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef, Input = Output> = ZodType<Output, Def, Input>;
5016
+ declare const mod_ZodType: typeof ZodType;
5017
+ type mod_ZodStringDef = ZodStringDef;
5018
+ type mod_ZodString = ZodString;
5019
+ declare const mod_ZodString: typeof ZodString;
5020
+ type mod_ZodNumberDef = ZodNumberDef;
5021
+ type mod_ZodNumber = ZodNumber;
5022
+ declare const mod_ZodNumber: typeof ZodNumber;
5023
+ type mod_ZodBigIntDef = ZodBigIntDef;
5024
+ type mod_ZodBigInt = ZodBigInt;
5025
+ declare const mod_ZodBigInt: typeof ZodBigInt;
5026
+ type mod_ZodBooleanDef = ZodBooleanDef;
5027
+ type mod_ZodBoolean = ZodBoolean;
5028
+ declare const mod_ZodBoolean: typeof ZodBoolean;
5029
+ type mod_ZodDateDef = ZodDateDef;
5030
+ type mod_ZodDate = ZodDate;
5031
+ declare const mod_ZodDate: typeof ZodDate;
5032
+ type mod_ZodUndefinedDef = ZodUndefinedDef;
5033
+ type mod_ZodUndefined = ZodUndefined;
5034
+ declare const mod_ZodUndefined: typeof ZodUndefined;
5035
+ type mod_ZodNullDef = ZodNullDef;
5036
+ type mod_ZodNull = ZodNull;
5037
+ declare const mod_ZodNull: typeof ZodNull;
5038
+ type mod_ZodAnyDef = ZodAnyDef;
5039
+ type mod_ZodAny = ZodAny;
5040
+ declare const mod_ZodAny: typeof ZodAny;
5041
+ type mod_ZodUnknownDef = ZodUnknownDef;
5042
+ type mod_ZodUnknown = ZodUnknown;
5043
+ declare const mod_ZodUnknown: typeof ZodUnknown;
5044
+ type mod_ZodNeverDef = ZodNeverDef;
5045
+ type mod_ZodNever = ZodNever;
5046
+ declare const mod_ZodNever: typeof ZodNever;
5047
+ type mod_ZodVoidDef = ZodVoidDef;
5048
+ type mod_ZodVoid = ZodVoid;
5049
+ declare const mod_ZodVoid: typeof ZodVoid;
5050
+ type mod_ZodArrayDef<T extends ZodTypeAny = ZodTypeAny> = ZodArrayDef<T>;
5051
+ type mod_ArrayCardinality = ArrayCardinality;
5052
+ type mod_ZodArray<T extends ZodTypeAny, Cardinality extends ArrayCardinality = "many"> = ZodArray<T, Cardinality>;
5053
+ declare const mod_ZodArray: typeof ZodArray;
5054
+ type mod_ZodNonEmptyArray<T extends ZodTypeAny> = ZodNonEmptyArray<T>;
5055
+ declare const mod_objectUtil: typeof objectUtil;
5056
+ type mod_extendShape<A, B> = extendShape<A, B>;
5057
+ type mod_ZodObjectDef<T extends ZodRawShape = ZodRawShape, UnknownKeys extends UnknownKeysParam = UnknownKeysParam, Catchall extends ZodTypeAny = ZodTypeAny> = ZodObjectDef<T, UnknownKeys, Catchall>;
5058
+ type mod_baseObjectOutputType<Shape extends ZodRawShape> = baseObjectOutputType<Shape>;
5059
+ type mod_objectOutputType<Shape extends ZodRawShape, Catchall extends ZodTypeAny> = objectOutputType<Shape, Catchall>;
5060
+ type mod_baseObjectInputType<Shape extends ZodRawShape> = baseObjectInputType<Shape>;
5061
+ type mod_objectInputType<Shape extends ZodRawShape, Catchall extends ZodTypeAny> = objectInputType<Shape, Catchall>;
5062
+ type mod_SomeZodObject = SomeZodObject;
5063
+ type mod_ZodObject<T extends ZodRawShape, UnknownKeys extends UnknownKeysParam = "strip", Catchall extends ZodTypeAny = ZodTypeAny, Output = objectOutputType<T, Catchall>, Input = objectInputType<T, Catchall>> = ZodObject<T, UnknownKeys, Catchall, Output, Input>;
5064
+ declare const mod_ZodObject: typeof ZodObject;
5065
+ type mod_AnyZodObject = AnyZodObject;
5066
+ type mod_ZodUnionDef<T extends ZodUnionOptions = Readonly<[
5067
+ ZodTypeAny,
5068
+ ZodTypeAny,
5069
+ ...ZodTypeAny[]
5070
+ ]>> = ZodUnionDef<T>;
5071
+ type mod_ZodUnion<T extends ZodUnionOptions> = ZodUnion<T>;
5072
+ declare const mod_ZodUnion: typeof ZodUnion;
5073
+ type mod_ZodDiscriminatedUnionOption<Discriminator extends string, DiscriminatorValue extends Primitive> = ZodDiscriminatedUnionOption<Discriminator, DiscriminatorValue>;
5074
+ type mod_ZodDiscriminatedUnionDef<Discriminator extends string, DiscriminatorValue extends Primitive, Option extends ZodDiscriminatedUnionOption<Discriminator, DiscriminatorValue>> = ZodDiscriminatedUnionDef<Discriminator, DiscriminatorValue, Option>;
5075
+ type mod_ZodDiscriminatedUnion<Discriminator extends string, DiscriminatorValue extends Primitive, Option extends ZodDiscriminatedUnionOption<Discriminator, DiscriminatorValue>> = ZodDiscriminatedUnion<Discriminator, DiscriminatorValue, Option>;
5076
+ declare const mod_ZodDiscriminatedUnion: typeof ZodDiscriminatedUnion;
5077
+ type mod_ZodIntersectionDef<T extends ZodTypeAny = ZodTypeAny, U extends ZodTypeAny = ZodTypeAny> = ZodIntersectionDef<T, U>;
5078
+ type mod_ZodIntersection<T extends ZodTypeAny, U extends ZodTypeAny> = ZodIntersection<T, U>;
5079
+ declare const mod_ZodIntersection: typeof ZodIntersection;
5080
+ type mod_ZodTupleItems = ZodTupleItems;
5081
+ type mod_AssertArray<T> = AssertArray<T>;
5082
+ type mod_OutputTypeOfTuple<T extends ZodTupleItems | []> = OutputTypeOfTuple<T>;
5083
+ type mod_OutputTypeOfTupleWithRest<T extends ZodTupleItems | [], Rest extends ZodTypeAny | null = null> = OutputTypeOfTupleWithRest<T, Rest>;
5084
+ type mod_InputTypeOfTuple<T extends ZodTupleItems | []> = InputTypeOfTuple<T>;
5085
+ type mod_InputTypeOfTupleWithRest<T extends ZodTupleItems | [], Rest extends ZodTypeAny | null = null> = InputTypeOfTupleWithRest<T, Rest>;
5086
+ type mod_ZodTupleDef<T extends ZodTupleItems | [] = ZodTupleItems, Rest extends ZodTypeAny | null = null> = ZodTupleDef<T, Rest>;
5087
+ type mod_ZodTuple<T extends [ZodTypeAny, ...ZodTypeAny[]] | [] = [ZodTypeAny, ...ZodTypeAny[]], Rest extends ZodTypeAny | null = null> = ZodTuple<T, Rest>;
5088
+ declare const mod_ZodTuple: typeof ZodTuple;
5089
+ type mod_ZodRecordDef<Key extends KeySchema = ZodString, Value extends ZodTypeAny = ZodTypeAny> = ZodRecordDef<Key, Value>;
5090
+ type mod_ZodRecord<Key extends KeySchema = ZodString, Value extends ZodTypeAny = ZodTypeAny> = ZodRecord<Key, Value>;
5091
+ declare const mod_ZodRecord: typeof ZodRecord;
5092
+ type mod_ZodMapDef<Key extends ZodTypeAny = ZodTypeAny, Value extends ZodTypeAny = ZodTypeAny> = ZodMapDef<Key, Value>;
5093
+ type mod_ZodMap<Key extends ZodTypeAny = ZodTypeAny, Value extends ZodTypeAny = ZodTypeAny> = ZodMap<Key, Value>;
5094
+ declare const mod_ZodMap: typeof ZodMap;
5095
+ type mod_ZodSetDef<Value extends ZodTypeAny = ZodTypeAny> = ZodSetDef<Value>;
5096
+ type mod_ZodSet<Value extends ZodTypeAny = ZodTypeAny> = ZodSet<Value>;
5097
+ declare const mod_ZodSet: typeof ZodSet;
5098
+ type mod_ZodFunctionDef<Args extends ZodTuple<any, any> = ZodTuple<any, any>, Returns extends ZodTypeAny = ZodTypeAny> = ZodFunctionDef<Args, Returns>;
5099
+ type mod_OuterTypeOfFunction<Args extends ZodTuple<any, any>, Returns extends ZodTypeAny> = OuterTypeOfFunction<Args, Returns>;
5100
+ type mod_InnerTypeOfFunction<Args extends ZodTuple<any, any>, Returns extends ZodTypeAny> = InnerTypeOfFunction<Args, Returns>;
5101
+ type mod_ZodFunction<Args extends ZodTuple<any, any>, Returns extends ZodTypeAny> = ZodFunction<Args, Returns>;
5102
+ declare const mod_ZodFunction: typeof ZodFunction;
5103
+ type mod_ZodLazyDef<T extends ZodTypeAny = ZodTypeAny> = ZodLazyDef<T>;
5104
+ type mod_ZodLazy<T extends ZodTypeAny> = ZodLazy<T>;
5105
+ declare const mod_ZodLazy: typeof ZodLazy;
5106
+ type mod_ZodLiteralDef<T = any> = ZodLiteralDef<T>;
5107
+ type mod_ZodLiteral<T> = ZodLiteral<T>;
5108
+ declare const mod_ZodLiteral: typeof ZodLiteral;
5109
+ type mod_ArrayKeys = ArrayKeys;
5110
+ type mod_Indices<T> = Indices<T>;
5111
+ type mod_ZodEnumDef<T extends EnumValues = EnumValues> = ZodEnumDef<T>;
5112
+ type mod_ZodEnum<T extends [string, ...string[]]> = ZodEnum<T>;
5113
+ declare const mod_ZodEnum: typeof ZodEnum;
5114
+ type mod_ZodNativeEnumDef<T extends EnumLike = EnumLike> = ZodNativeEnumDef<T>;
5115
+ type mod_ZodNativeEnum<T extends EnumLike> = ZodNativeEnum<T>;
5116
+ declare const mod_ZodNativeEnum: typeof ZodNativeEnum;
5117
+ type mod_ZodPromiseDef<T extends ZodTypeAny = ZodTypeAny> = ZodPromiseDef<T>;
5118
+ type mod_ZodPromise<T extends ZodTypeAny> = ZodPromise<T>;
5119
+ declare const mod_ZodPromise: typeof ZodPromise;
5120
+ type mod_Refinement<T> = Refinement<T>;
5121
+ type mod_SuperRefinement<T> = SuperRefinement<T>;
5122
+ type mod_RefinementEffect<T> = RefinementEffect<T>;
5123
+ type mod_TransformEffect<T> = TransformEffect<T>;
5124
+ type mod_PreprocessEffect<T> = PreprocessEffect<T>;
5125
+ type mod_Effect<T> = Effect<T>;
5126
+ type mod_ZodEffectsDef<T extends ZodTypeAny = ZodTypeAny> = ZodEffectsDef<T>;
5127
+ type mod_ZodEffects<T extends ZodTypeAny, Output = T["_output"], Input = T["_input"]> = ZodEffects<T, Output, Input>;
5128
+ declare const mod_ZodEffects: typeof ZodEffects;
5129
+ type mod_ZodOptionalDef<T extends ZodTypeAny = ZodTypeAny> = ZodOptionalDef<T>;
5130
+ type mod_ZodOptionalType<T extends ZodTypeAny> = ZodOptionalType<T>;
5131
+ type mod_ZodOptional<T extends ZodTypeAny> = ZodOptional<T>;
5132
+ declare const mod_ZodOptional: typeof ZodOptional;
5133
+ type mod_ZodNullableDef<T extends ZodTypeAny = ZodTypeAny> = ZodNullableDef<T>;
5134
+ type mod_ZodNullableType<T extends ZodTypeAny> = ZodNullableType<T>;
5135
+ type mod_ZodNullable<T extends ZodTypeAny> = ZodNullable<T>;
5136
+ declare const mod_ZodNullable: typeof ZodNullable;
5137
+ type mod_ZodDefaultDef<T extends ZodTypeAny = ZodTypeAny> = ZodDefaultDef<T>;
5138
+ type mod_ZodDefault<T extends ZodTypeAny> = ZodDefault<T>;
5139
+ declare const mod_ZodDefault: typeof ZodDefault;
5140
+ type mod_ZodNaNDef = ZodNaNDef;
5141
+ type mod_ZodNaN = ZodNaN;
5142
+ declare const mod_ZodNaN: typeof ZodNaN;
5143
+ declare const mod_custom: typeof custom;
5144
+ declare const mod_late: typeof late;
5145
+ type mod_ZodFirstPartyTypeKind = ZodFirstPartyTypeKind;
5146
+ declare const mod_ZodFirstPartyTypeKind: typeof ZodFirstPartyTypeKind;
5147
+ type mod_ZodFirstPartySchemaTypes = ZodFirstPartySchemaTypes;
5148
+ type mod_ZodIssueCode = ZodIssueCode;
5149
+ type mod_ZodIssueBase = ZodIssueBase;
5150
+ type mod_ZodInvalidTypeIssue = ZodInvalidTypeIssue;
5151
+ type mod_ZodUnrecognizedKeysIssue = ZodUnrecognizedKeysIssue;
5152
+ type mod_ZodInvalidUnionIssue = ZodInvalidUnionIssue;
5153
+ type mod_ZodInvalidUnionDiscriminatorIssue = ZodInvalidUnionDiscriminatorIssue;
5154
+ type mod_ZodInvalidEnumValueIssue = ZodInvalidEnumValueIssue;
5155
+ type mod_ZodInvalidArgumentsIssue = ZodInvalidArgumentsIssue;
5156
+ type mod_ZodInvalidReturnTypeIssue = ZodInvalidReturnTypeIssue;
5157
+ type mod_ZodInvalidDateIssue = ZodInvalidDateIssue;
5158
+ type mod_StringValidation = StringValidation;
5159
+ type mod_ZodInvalidStringIssue = ZodInvalidStringIssue;
5160
+ type mod_ZodTooSmallIssue = ZodTooSmallIssue;
5161
+ type mod_ZodTooBigIssue = ZodTooBigIssue;
5162
+ type mod_ZodInvalidIntersectionTypesIssue = ZodInvalidIntersectionTypesIssue;
5163
+ type mod_ZodNotMultipleOfIssue = ZodNotMultipleOfIssue;
5164
+ type mod_ZodCustomIssue = ZodCustomIssue;
5165
+ type mod_DenormalizedError = DenormalizedError;
5166
+ type mod_ZodIssueOptionalMessage = ZodIssueOptionalMessage;
5167
+ type mod_ZodIssue = ZodIssue;
5168
+ declare const mod_quotelessJson: typeof quotelessJson;
5169
+ type mod_ZodFormattedError<T> = ZodFormattedError<T>;
5170
+ type mod_ZodError<T = any> = ZodError<T>;
5171
+ declare const mod_ZodError: typeof ZodError;
5172
+ type mod_IssueData = IssueData;
5173
+ type mod_MakeErrorData = MakeErrorData;
5174
+ type mod_ZodErrorMap = ZodErrorMap;
5175
+ declare const mod_defaultErrorMap: typeof defaultErrorMap;
5176
+ declare const mod_overrideErrorMap: typeof overrideErrorMap;
5177
+ declare const mod_setErrorMap: typeof setErrorMap;
5178
+ declare namespace mod {
5070
5179
  export {
5071
- external_d_ZodParsedType as ZodParsedType,
5072
- external_d_getParsedType as getParsedType,
5073
- external_d_makeIssue as makeIssue,
5074
- external_d_ParseParams as ParseParams,
5075
- external_d_ParsePathComponent as ParsePathComponent,
5076
- external_d_ParsePath as ParsePath,
5077
- external_d_EMPTY_PATH as EMPTY_PATH,
5078
- external_d_ParseContext as ParseContext,
5079
- external_d_ParseInput as ParseInput,
5080
- external_d_addIssueToContext as addIssueToContext,
5081
- external_d_ObjectPair as ObjectPair,
5082
- external_d_ParseStatus as ParseStatus,
5083
- external_d_ParseResult as ParseResult,
5084
- external_d_INVALID as INVALID,
5085
- external_d_DIRTY as DIRTY,
5086
- external_d_OK as OK,
5087
- external_d_SyncParseReturnType as SyncParseReturnType,
5088
- external_d_AsyncParseReturnType as AsyncParseReturnType,
5089
- external_d_ParseReturnType as ParseReturnType,
5090
- external_d_isAborted as isAborted,
5091
- external_d_isDirty as isDirty,
5092
- external_d_isValid as isValid,
5093
- external_d_isAsync as isAsync,
5180
+ mod_ZodParsedType as ZodParsedType,
5181
+ mod_getParsedType as getParsedType,
5182
+ mod_makeIssue as makeIssue,
5183
+ mod_ParseParams as ParseParams,
5184
+ mod_ParsePathComponent as ParsePathComponent,
5185
+ mod_ParsePath as ParsePath,
5186
+ mod_EMPTY_PATH as EMPTY_PATH,
5187
+ mod_ParseContext as ParseContext,
5188
+ mod_ParseInput as ParseInput,
5189
+ mod_addIssueToContext as addIssueToContext,
5190
+ mod_ObjectPair as ObjectPair,
5191
+ mod_ParseStatus as ParseStatus,
5192
+ mod_ParseResult as ParseResult,
5193
+ mod_INVALID as INVALID,
5194
+ mod_DIRTY as DIRTY,
5195
+ mod_OK as OK,
5196
+ mod_SyncParseReturnType as SyncParseReturnType,
5197
+ mod_AsyncParseReturnType as AsyncParseReturnType,
5198
+ mod_ParseReturnType as ParseReturnType,
5199
+ mod_isAborted as isAborted,
5200
+ mod_isDirty as isDirty,
5201
+ mod_isValid as isValid,
5202
+ mod_isAsync as isAsync,
5203
+ mod_Primitive as Primitive,
5204
+ mod_Scalars as Scalars,
5094
5205
  TypeOf as infer,
5206
+ TypeOfFlattenedError as inferFlattenedErrors,
5207
+ TypeOfFormErrors as inferFormErrors,
5095
5208
  ZodEffects as ZodTransformer,
5096
5209
  ZodType as Schema,
5097
5210
  ZodType as ZodSchema,
@@ -5100,6 +5213,7 @@ declare namespace external_d {
5100
5213
  bigIntType as bigint,
5101
5214
  booleanType as boolean,
5102
5215
  dateType as date,
5216
+ discriminatedUnionType as discriminatedUnion,
5103
5217
  effectsType as effect,
5104
5218
  enumType as enum,
5105
5219
  functionType as function,
@@ -5108,16 +5222,17 @@ declare namespace external_d {
5108
5222
  lazyType as lazy,
5109
5223
  literalType as literal,
5110
5224
  mapType as map,
5225
+ nanType as nan,
5111
5226
  nativeEnumType as nativeEnum,
5112
5227
  neverType as never,
5113
5228
  nullType as null,
5114
5229
  nullableType as nullable,
5115
5230
  numberType as number,
5116
5231
  objectType as object,
5117
- external_d_oboolean as oboolean,
5118
- external_d_onumber as onumber,
5232
+ mod_oboolean as oboolean,
5233
+ mod_onumber as onumber,
5119
5234
  optionalType as optional,
5120
- external_d_ostring as ostring,
5235
+ mod_ostring as ostring,
5121
5236
  preprocessType as preprocess,
5122
5237
  promiseType as promise,
5123
5238
  recordType as record,
@@ -5130,144 +5245,150 @@ declare namespace external_d {
5130
5245
  unionType as union,
5131
5246
  unknownType as unknown,
5132
5247
  voidType as void,
5133
- external_d_RefinementCtx as RefinementCtx,
5134
- external_d_ZodRawShape as ZodRawShape,
5135
- external_d_ZodTypeAny as ZodTypeAny,
5136
- external_d_TypeOf as TypeOf,
5137
- external_d_input as input,
5138
- external_d_output as output,
5139
- external_d_CustomErrorParams as CustomErrorParams,
5140
- external_d_ZodTypeDef as ZodTypeDef,
5141
- external_d_SafeParseSuccess as SafeParseSuccess,
5142
- external_d_SafeParseError as SafeParseError,
5143
- external_d_SafeParseReturnType as SafeParseReturnType,
5144
- external_d_ZodType as ZodType,
5145
- external_d_ZodStringDef as ZodStringDef,
5146
- external_d_ZodString as ZodString,
5147
- external_d_ZodNumberDef as ZodNumberDef,
5148
- external_d_ZodNumber as ZodNumber,
5149
- external_d_ZodBigIntDef as ZodBigIntDef,
5150
- external_d_ZodBigInt as ZodBigInt,
5151
- external_d_ZodBooleanDef as ZodBooleanDef,
5152
- external_d_ZodBoolean as ZodBoolean,
5153
- external_d_ZodDateDef as ZodDateDef,
5154
- external_d_ZodDate as ZodDate,
5155
- external_d_ZodUndefinedDef as ZodUndefinedDef,
5156
- external_d_ZodUndefined as ZodUndefined,
5157
- external_d_ZodNullDef as ZodNullDef,
5158
- external_d_ZodNull as ZodNull,
5159
- external_d_ZodAnyDef as ZodAnyDef,
5160
- external_d_ZodAny as ZodAny,
5161
- external_d_ZodUnknownDef as ZodUnknownDef,
5162
- external_d_ZodUnknown as ZodUnknown,
5163
- external_d_ZodNeverDef as ZodNeverDef,
5164
- external_d_ZodNever as ZodNever,
5165
- external_d_ZodVoidDef as ZodVoidDef,
5166
- external_d_ZodVoid as ZodVoid,
5167
- external_d_ZodArrayDef as ZodArrayDef,
5168
- external_d_ArrayCardinality as ArrayCardinality,
5169
- external_d_ZodArray as ZodArray,
5170
- external_d_ZodNonEmptyArray as ZodNonEmptyArray,
5171
- external_d_objectUtil as objectUtil,
5172
- external_d_extendShape as extendShape,
5173
- external_d_Primitive as Primitive,
5174
- external_d_Scalars as Scalars,
5175
- external_d_ZodObjectDef as ZodObjectDef,
5176
- external_d_baseObjectOutputType as baseObjectOutputType,
5177
- external_d_objectOutputType as objectOutputType,
5178
- external_d_baseObjectInputType as baseObjectInputType,
5179
- external_d_objectInputType as objectInputType,
5180
- external_d_SomeZodObject as SomeZodObject,
5181
- external_d_ZodObject as ZodObject,
5182
- external_d_AnyZodObject as AnyZodObject,
5183
- external_d_ZodUnionDef as ZodUnionDef,
5184
- external_d_ZodUnion as ZodUnion,
5185
- external_d_ZodIntersectionDef as ZodIntersectionDef,
5186
- external_d_ZodIntersection as ZodIntersection,
5187
- external_d_ZodTupleItems as ZodTupleItems,
5188
- external_d_AssertArray as AssertArray,
5189
- external_d_OutputTypeOfTuple as OutputTypeOfTuple,
5190
- external_d_OutputTypeOfTupleWithRest as OutputTypeOfTupleWithRest,
5191
- external_d_InputTypeOfTuple as InputTypeOfTuple,
5192
- external_d_InputTypeOfTupleWithRest as InputTypeOfTupleWithRest,
5193
- external_d_ZodTupleDef as ZodTupleDef,
5194
- external_d_ZodTuple as ZodTuple,
5195
- external_d_ZodRecordDef as ZodRecordDef,
5196
- external_d_ZodRecord as ZodRecord,
5197
- external_d_ZodMapDef as ZodMapDef,
5198
- external_d_ZodMap as ZodMap,
5199
- external_d_ZodSetDef as ZodSetDef,
5200
- external_d_ZodSet as ZodSet,
5201
- external_d_ZodFunctionDef as ZodFunctionDef,
5202
- external_d_OuterTypeOfFunction as OuterTypeOfFunction,
5203
- external_d_InnerTypeOfFunction as InnerTypeOfFunction,
5204
- external_d_ZodFunction as ZodFunction,
5205
- external_d_ZodLazyDef as ZodLazyDef,
5206
- external_d_ZodLazy as ZodLazy,
5207
- external_d_ZodLiteralDef as ZodLiteralDef,
5208
- external_d_ZodLiteral as ZodLiteral,
5209
- external_d_ArrayKeys as ArrayKeys,
5210
- external_d_Indices as Indices,
5211
- external_d_ZodEnumDef as ZodEnumDef,
5212
- external_d_ZodEnum as ZodEnum,
5213
- external_d_ZodNativeEnumDef as ZodNativeEnumDef,
5214
- external_d_ZodNativeEnum as ZodNativeEnum,
5215
- external_d_ZodPromiseDef as ZodPromiseDef,
5216
- external_d_ZodPromise as ZodPromise,
5217
- external_d_Refinement as Refinement,
5218
- external_d_SuperRefinement as SuperRefinement,
5219
- external_d_RefinementEffect as RefinementEffect,
5220
- external_d_TransformEffect as TransformEffect,
5221
- external_d_PreprocessEffect as PreprocessEffect,
5222
- external_d_Effect as Effect,
5223
- external_d_ZodEffectsDef as ZodEffectsDef,
5224
- external_d_ZodEffects as ZodEffects,
5225
- external_d_ZodOptionalDef as ZodOptionalDef,
5226
- external_d_ZodOptionalType as ZodOptionalType,
5227
- external_d_ZodOptional as ZodOptional,
5228
- external_d_ZodNullableDef as ZodNullableDef,
5229
- external_d_ZodNullableType as ZodNullableType,
5230
- external_d_ZodNullable as ZodNullable,
5231
- external_d_ZodDefaultDef as ZodDefaultDef,
5232
- external_d_ZodDefault as ZodDefault,
5233
- external_d_custom as custom,
5234
- external_d_late as late,
5235
- external_d_ZodFirstPartyTypeKind as ZodFirstPartyTypeKind,
5236
- external_d_ZodFirstPartySchemaTypes as ZodFirstPartySchemaTypes,
5237
- external_d_ZodIssueCode as ZodIssueCode,
5238
- external_d_ZodIssueBase as ZodIssueBase,
5239
- external_d_ZodInvalidTypeIssue as ZodInvalidTypeIssue,
5240
- external_d_ZodUnrecognizedKeysIssue as ZodUnrecognizedKeysIssue,
5241
- external_d_ZodInvalidUnionIssue as ZodInvalidUnionIssue,
5242
- external_d_ZodInvalidEnumValueIssue as ZodInvalidEnumValueIssue,
5243
- external_d_ZodInvalidArgumentsIssue as ZodInvalidArgumentsIssue,
5244
- external_d_ZodInvalidReturnTypeIssue as ZodInvalidReturnTypeIssue,
5245
- external_d_ZodInvalidDateIssue as ZodInvalidDateIssue,
5246
- external_d_StringValidation as StringValidation,
5247
- external_d_ZodInvalidStringIssue as ZodInvalidStringIssue,
5248
- external_d_ZodTooSmallIssue as ZodTooSmallIssue,
5249
- external_d_ZodTooBigIssue as ZodTooBigIssue,
5250
- external_d_ZodInvalidIntersectionTypesIssue as ZodInvalidIntersectionTypesIssue,
5251
- external_d_ZodNotMultipleOfIssue as ZodNotMultipleOfIssue,
5252
- external_d_ZodCustomIssue as ZodCustomIssue,
5253
- external_d_DenormalizedError as DenormalizedError,
5254
- external_d_ZodIssueOptionalMessage as ZodIssueOptionalMessage,
5255
- external_d_ZodIssue as ZodIssue,
5256
- external_d_quotelessJson as quotelessJson,
5257
- external_d_ZodFormattedError as ZodFormattedError,
5258
- external_d_ZodError as ZodError,
5259
- external_d_IssueData as IssueData,
5260
- external_d_MakeErrorData as MakeErrorData,
5261
- external_d_ZodErrorMap as ZodErrorMap,
5262
- external_d_defaultErrorMap as defaultErrorMap,
5263
- external_d_overrideErrorMap as overrideErrorMap,
5264
- external_d_setErrorMap as setErrorMap,
5248
+ mod_RefinementCtx as RefinementCtx,
5249
+ mod_ZodRawShape as ZodRawShape,
5250
+ mod_ZodTypeAny as ZodTypeAny,
5251
+ mod_TypeOf as TypeOf,
5252
+ mod_input as input,
5253
+ mod_output as output,
5254
+ mod_TypeOfFlattenedError as TypeOfFlattenedError,
5255
+ mod_TypeOfFormErrors as TypeOfFormErrors,
5256
+ mod_CustomErrorParams as CustomErrorParams,
5257
+ mod_ZodTypeDef as ZodTypeDef,
5258
+ mod_SafeParseSuccess as SafeParseSuccess,
5259
+ mod_SafeParseError as SafeParseError,
5260
+ mod_SafeParseReturnType as SafeParseReturnType,
5261
+ mod_ZodType as ZodType,
5262
+ mod_ZodStringDef as ZodStringDef,
5263
+ mod_ZodString as ZodString,
5264
+ mod_ZodNumberDef as ZodNumberDef,
5265
+ mod_ZodNumber as ZodNumber,
5266
+ mod_ZodBigIntDef as ZodBigIntDef,
5267
+ mod_ZodBigInt as ZodBigInt,
5268
+ mod_ZodBooleanDef as ZodBooleanDef,
5269
+ mod_ZodBoolean as ZodBoolean,
5270
+ mod_ZodDateDef as ZodDateDef,
5271
+ mod_ZodDate as ZodDate,
5272
+ mod_ZodUndefinedDef as ZodUndefinedDef,
5273
+ mod_ZodUndefined as ZodUndefined,
5274
+ mod_ZodNullDef as ZodNullDef,
5275
+ mod_ZodNull as ZodNull,
5276
+ mod_ZodAnyDef as ZodAnyDef,
5277
+ mod_ZodAny as ZodAny,
5278
+ mod_ZodUnknownDef as ZodUnknownDef,
5279
+ mod_ZodUnknown as ZodUnknown,
5280
+ mod_ZodNeverDef as ZodNeverDef,
5281
+ mod_ZodNever as ZodNever,
5282
+ mod_ZodVoidDef as ZodVoidDef,
5283
+ mod_ZodVoid as ZodVoid,
5284
+ mod_ZodArrayDef as ZodArrayDef,
5285
+ mod_ArrayCardinality as ArrayCardinality,
5286
+ mod_ZodArray as ZodArray,
5287
+ mod_ZodNonEmptyArray as ZodNonEmptyArray,
5288
+ mod_objectUtil as objectUtil,
5289
+ mod_extendShape as extendShape,
5290
+ mod_ZodObjectDef as ZodObjectDef,
5291
+ mod_baseObjectOutputType as baseObjectOutputType,
5292
+ mod_objectOutputType as objectOutputType,
5293
+ mod_baseObjectInputType as baseObjectInputType,
5294
+ mod_objectInputType as objectInputType,
5295
+ mod_SomeZodObject as SomeZodObject,
5296
+ mod_ZodObject as ZodObject,
5297
+ mod_AnyZodObject as AnyZodObject,
5298
+ mod_ZodUnionDef as ZodUnionDef,
5299
+ mod_ZodUnion as ZodUnion,
5300
+ mod_ZodDiscriminatedUnionOption as ZodDiscriminatedUnionOption,
5301
+ mod_ZodDiscriminatedUnionDef as ZodDiscriminatedUnionDef,
5302
+ mod_ZodDiscriminatedUnion as ZodDiscriminatedUnion,
5303
+ mod_ZodIntersectionDef as ZodIntersectionDef,
5304
+ mod_ZodIntersection as ZodIntersection,
5305
+ mod_ZodTupleItems as ZodTupleItems,
5306
+ mod_AssertArray as AssertArray,
5307
+ mod_OutputTypeOfTuple as OutputTypeOfTuple,
5308
+ mod_OutputTypeOfTupleWithRest as OutputTypeOfTupleWithRest,
5309
+ mod_InputTypeOfTuple as InputTypeOfTuple,
5310
+ mod_InputTypeOfTupleWithRest as InputTypeOfTupleWithRest,
5311
+ mod_ZodTupleDef as ZodTupleDef,
5312
+ mod_ZodTuple as ZodTuple,
5313
+ mod_ZodRecordDef as ZodRecordDef,
5314
+ mod_ZodRecord as ZodRecord,
5315
+ mod_ZodMapDef as ZodMapDef,
5316
+ mod_ZodMap as ZodMap,
5317
+ mod_ZodSetDef as ZodSetDef,
5318
+ mod_ZodSet as ZodSet,
5319
+ mod_ZodFunctionDef as ZodFunctionDef,
5320
+ mod_OuterTypeOfFunction as OuterTypeOfFunction,
5321
+ mod_InnerTypeOfFunction as InnerTypeOfFunction,
5322
+ mod_ZodFunction as ZodFunction,
5323
+ mod_ZodLazyDef as ZodLazyDef,
5324
+ mod_ZodLazy as ZodLazy,
5325
+ mod_ZodLiteralDef as ZodLiteralDef,
5326
+ mod_ZodLiteral as ZodLiteral,
5327
+ mod_ArrayKeys as ArrayKeys,
5328
+ mod_Indices as Indices,
5329
+ mod_ZodEnumDef as ZodEnumDef,
5330
+ mod_ZodEnum as ZodEnum,
5331
+ mod_ZodNativeEnumDef as ZodNativeEnumDef,
5332
+ mod_ZodNativeEnum as ZodNativeEnum,
5333
+ mod_ZodPromiseDef as ZodPromiseDef,
5334
+ mod_ZodPromise as ZodPromise,
5335
+ mod_Refinement as Refinement,
5336
+ mod_SuperRefinement as SuperRefinement,
5337
+ mod_RefinementEffect as RefinementEffect,
5338
+ mod_TransformEffect as TransformEffect,
5339
+ mod_PreprocessEffect as PreprocessEffect,
5340
+ mod_Effect as Effect,
5341
+ mod_ZodEffectsDef as ZodEffectsDef,
5342
+ mod_ZodEffects as ZodEffects,
5343
+ mod_ZodOptionalDef as ZodOptionalDef,
5344
+ mod_ZodOptionalType as ZodOptionalType,
5345
+ mod_ZodOptional as ZodOptional,
5346
+ mod_ZodNullableDef as ZodNullableDef,
5347
+ mod_ZodNullableType as ZodNullableType,
5348
+ mod_ZodNullable as ZodNullable,
5349
+ mod_ZodDefaultDef as ZodDefaultDef,
5350
+ mod_ZodDefault as ZodDefault,
5351
+ mod_ZodNaNDef as ZodNaNDef,
5352
+ mod_ZodNaN as ZodNaN,
5353
+ mod_custom as custom,
5354
+ mod_late as late,
5355
+ mod_ZodFirstPartyTypeKind as ZodFirstPartyTypeKind,
5356
+ mod_ZodFirstPartySchemaTypes as ZodFirstPartySchemaTypes,
5357
+ mod_ZodIssueCode as ZodIssueCode,
5358
+ mod_ZodIssueBase as ZodIssueBase,
5359
+ mod_ZodInvalidTypeIssue as ZodInvalidTypeIssue,
5360
+ mod_ZodUnrecognizedKeysIssue as ZodUnrecognizedKeysIssue,
5361
+ mod_ZodInvalidUnionIssue as ZodInvalidUnionIssue,
5362
+ mod_ZodInvalidUnionDiscriminatorIssue as ZodInvalidUnionDiscriminatorIssue,
5363
+ mod_ZodInvalidEnumValueIssue as ZodInvalidEnumValueIssue,
5364
+ mod_ZodInvalidArgumentsIssue as ZodInvalidArgumentsIssue,
5365
+ mod_ZodInvalidReturnTypeIssue as ZodInvalidReturnTypeIssue,
5366
+ mod_ZodInvalidDateIssue as ZodInvalidDateIssue,
5367
+ mod_StringValidation as StringValidation,
5368
+ mod_ZodInvalidStringIssue as ZodInvalidStringIssue,
5369
+ mod_ZodTooSmallIssue as ZodTooSmallIssue,
5370
+ mod_ZodTooBigIssue as ZodTooBigIssue,
5371
+ mod_ZodInvalidIntersectionTypesIssue as ZodInvalidIntersectionTypesIssue,
5372
+ mod_ZodNotMultipleOfIssue as ZodNotMultipleOfIssue,
5373
+ mod_ZodCustomIssue as ZodCustomIssue,
5374
+ mod_DenormalizedError as DenormalizedError,
5375
+ mod_ZodIssueOptionalMessage as ZodIssueOptionalMessage,
5376
+ mod_ZodIssue as ZodIssue,
5377
+ mod_quotelessJson as quotelessJson,
5378
+ mod_ZodFormattedError as ZodFormattedError,
5379
+ mod_ZodError as ZodError,
5380
+ mod_IssueData as IssueData,
5381
+ mod_MakeErrorData as MakeErrorData,
5382
+ mod_ZodErrorMap as ZodErrorMap,
5383
+ mod_defaultErrorMap as defaultErrorMap,
5384
+ mod_overrideErrorMap as overrideErrorMap,
5385
+ mod_setErrorMap as setErrorMap,
5265
5386
  };
5266
5387
  }
5267
5388
 
5268
5389
  declare namespace schema {
5269
5390
  export {
5270
- external_d as define,
5391
+ mod as define,
5271
5392
  };
5272
5393
  }
5273
5394
 
@@ -5283,6 +5404,19 @@ declare namespace toml {
5283
5404
  };
5284
5405
  }
5285
5406
 
5407
+ interface CreateOptions {
5408
+ port: number;
5409
+ authToken: string;
5410
+ }
5411
+ declare function create(options: CreateOptions): Promise<string>;
5412
+
5413
+ declare const tunnel_create: typeof create;
5414
+ declare namespace tunnel {
5415
+ export {
5416
+ tunnel_create as create,
5417
+ };
5418
+ }
5419
+
5286
5420
  /**
5287
5421
  * JSON Schema
5288
5422
  *
@@ -6178,7 +6312,7 @@ declare enum JSONSchemaContentEncoding {
6178
6312
  XToken = 'x-token'
6179
6313
  }
6180
6314
 
6181
- interface Options<T> {
6315
+ interface Options<T extends Record<string, any>> {
6182
6316
  /**
6183
6317
  Config used if there are no existing config.
6184
6318
 
@@ -6384,7 +6518,7 @@ interface Options<T> {
6384
6518
  */
6385
6519
  readonly configFileMode?: number;
6386
6520
  }
6387
- declare type Migrations<T> = Record<string, (store: Conf<T>) => void>;
6521
+ declare type Migrations<T extends Record<string, any>> = Record<string, (store: Conf<T>) => void>;
6388
6522
  declare type Schema<T> = {
6389
6523
  [Property in keyof T]: ValueSchema;
6390
6524
  };
@@ -6595,6 +6729,21 @@ interface CreateAppQuerySchema {
6595
6729
  };
6596
6730
  }
6597
6731
 
6732
+ declare const UpdateURLsQuery: string;
6733
+ interface UpdateURLsQueryVariables {
6734
+ apiKey: string;
6735
+ appUrl: string;
6736
+ redir: string[];
6737
+ }
6738
+ interface UpdateURLsQuerySchema {
6739
+ appUpdate: {
6740
+ userErrors: {
6741
+ field: string[];
6742
+ message: string;
6743
+ }[];
6744
+ };
6745
+ }
6746
+
6598
6747
  declare const index_FindOrganizationQuery: typeof FindOrganizationQuery;
6599
6748
  type index_FindOrganizationQuerySchema = FindOrganizationQuerySchema;
6600
6749
  type index_AllOrganizationsQuerySchema = AllOrganizationsQuerySchema;
@@ -6602,6 +6751,9 @@ declare const index_AllOrganizationsQuery: typeof AllOrganizationsQuery;
6602
6751
  declare const index_CreateAppQuery: typeof CreateAppQuery;
6603
6752
  type index_CreateAppQueryVariables = CreateAppQueryVariables;
6604
6753
  type index_CreateAppQuerySchema = CreateAppQuerySchema;
6754
+ declare const index_UpdateURLsQuery: typeof UpdateURLsQuery;
6755
+ type index_UpdateURLsQueryVariables = UpdateURLsQueryVariables;
6756
+ type index_UpdateURLsQuerySchema = UpdateURLsQuerySchema;
6605
6757
  declare namespace index {
6606
6758
  export {
6607
6759
  index_FindOrganizationQuery as FindOrganizationQuery,
@@ -6611,6 +6763,9 @@ declare namespace index {
6611
6763
  index_CreateAppQuery as CreateAppQuery,
6612
6764
  index_CreateAppQueryVariables as CreateAppQueryVariables,
6613
6765
  index_CreateAppQuerySchema as CreateAppQuerySchema,
6766
+ index_UpdateURLsQuery as UpdateURLsQuery,
6767
+ index_UpdateURLsQueryVariables as UpdateURLsQueryVariables,
6768
+ index_UpdateURLsQuerySchema as UpdateURLsQuerySchema,
6614
6769
  };
6615
6770
  }
6616
6771
 
@@ -6897,5 +7052,5 @@ declare const constants: {
6897
7052
  };
6898
7053
  };
6899
7054
 
6900
- export { api, checksum, constants, dependency, environment, error$1 as error, file, git, http, os, output$1 as output, path, schema, session, store, string, system, template, toml, ui, version };
7055
+ export { api, checksum, constants, dependency, environment, error$1 as error, file, git, http, os, output$1 as output, path, schema, session, store, string, system, template, toml, tunnel, ui, version };
6901
7056
  //# sourceMappingURL=index.d.ts.map