full site update
This commit is contained in:
202
node_modules/astro/dist/env/schema.d.ts
generated
vendored
202
node_modules/astro/dist/env/schema.d.ts
generated
vendored
@@ -16,22 +16,22 @@ declare const StringSchema: z.ZodObject<{
|
||||
includes?: string | undefined;
|
||||
endsWith?: string | undefined;
|
||||
startsWith?: string | undefined;
|
||||
default?: string | undefined;
|
||||
url?: boolean | undefined;
|
||||
optional?: boolean | undefined;
|
||||
min?: number | undefined;
|
||||
url?: boolean | undefined;
|
||||
default?: string | undefined;
|
||||
max?: number | undefined;
|
||||
min?: number | undefined;
|
||||
}, {
|
||||
type: "string";
|
||||
length?: number | undefined;
|
||||
includes?: string | undefined;
|
||||
endsWith?: string | undefined;
|
||||
startsWith?: string | undefined;
|
||||
default?: string | undefined;
|
||||
url?: boolean | undefined;
|
||||
optional?: boolean | undefined;
|
||||
min?: number | undefined;
|
||||
url?: boolean | undefined;
|
||||
default?: string | undefined;
|
||||
max?: number | undefined;
|
||||
min?: number | undefined;
|
||||
}>;
|
||||
export type StringSchema = z.infer<typeof StringSchema>;
|
||||
declare const NumberSchema: z.ZodObject<{
|
||||
@@ -45,19 +45,19 @@ declare const NumberSchema: z.ZodObject<{
|
||||
int: z.ZodOptional<z.ZodBoolean>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: "number";
|
||||
default?: number | undefined;
|
||||
optional?: boolean | undefined;
|
||||
min?: number | undefined;
|
||||
default?: number | undefined;
|
||||
max?: number | undefined;
|
||||
min?: number | undefined;
|
||||
gt?: number | undefined;
|
||||
lt?: number | undefined;
|
||||
int?: boolean | undefined;
|
||||
}, {
|
||||
type: "number";
|
||||
default?: number | undefined;
|
||||
optional?: boolean | undefined;
|
||||
min?: number | undefined;
|
||||
default?: number | undefined;
|
||||
max?: number | undefined;
|
||||
min?: number | undefined;
|
||||
gt?: number | undefined;
|
||||
lt?: number | undefined;
|
||||
int?: boolean | undefined;
|
||||
@@ -69,12 +69,12 @@ declare const BooleanSchema: z.ZodObject<{
|
||||
default: z.ZodOptional<z.ZodBoolean>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: "boolean";
|
||||
default?: boolean | undefined;
|
||||
optional?: boolean | undefined;
|
||||
default?: boolean | undefined;
|
||||
}, {
|
||||
type: "boolean";
|
||||
default?: boolean | undefined;
|
||||
optional?: boolean | undefined;
|
||||
default?: boolean | undefined;
|
||||
}>;
|
||||
declare const EnumSchema: z.ZodObject<{
|
||||
type: z.ZodLiteral<"enum">;
|
||||
@@ -82,15 +82,15 @@ declare const EnumSchema: z.ZodObject<{
|
||||
optional: z.ZodOptional<z.ZodBoolean>;
|
||||
default: z.ZodOptional<z.ZodString>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: "enum";
|
||||
values: string[];
|
||||
default?: string | undefined;
|
||||
type: "enum";
|
||||
optional?: boolean | undefined;
|
||||
default?: string | undefined;
|
||||
}, {
|
||||
type: "enum";
|
||||
values: string[];
|
||||
default?: string | undefined;
|
||||
type: "enum";
|
||||
optional?: boolean | undefined;
|
||||
default?: string | undefined;
|
||||
}>;
|
||||
export type EnumSchema = z.infer<typeof EnumSchema>;
|
||||
declare const EnvFieldType: z.ZodUnion<[z.ZodObject<{
|
||||
@@ -110,22 +110,22 @@ declare const EnvFieldType: z.ZodUnion<[z.ZodObject<{
|
||||
includes?: string | undefined;
|
||||
endsWith?: string | undefined;
|
||||
startsWith?: string | undefined;
|
||||
default?: string | undefined;
|
||||
url?: boolean | undefined;
|
||||
optional?: boolean | undefined;
|
||||
min?: number | undefined;
|
||||
url?: boolean | undefined;
|
||||
default?: string | undefined;
|
||||
max?: number | undefined;
|
||||
min?: number | undefined;
|
||||
}, {
|
||||
type: "string";
|
||||
length?: number | undefined;
|
||||
includes?: string | undefined;
|
||||
endsWith?: string | undefined;
|
||||
startsWith?: string | undefined;
|
||||
default?: string | undefined;
|
||||
url?: boolean | undefined;
|
||||
optional?: boolean | undefined;
|
||||
min?: number | undefined;
|
||||
url?: boolean | undefined;
|
||||
default?: string | undefined;
|
||||
max?: number | undefined;
|
||||
min?: number | undefined;
|
||||
}>, z.ZodObject<{
|
||||
type: z.ZodLiteral<"number">;
|
||||
optional: z.ZodOptional<z.ZodBoolean>;
|
||||
@@ -137,19 +137,19 @@ declare const EnvFieldType: z.ZodUnion<[z.ZodObject<{
|
||||
int: z.ZodOptional<z.ZodBoolean>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: "number";
|
||||
default?: number | undefined;
|
||||
optional?: boolean | undefined;
|
||||
min?: number | undefined;
|
||||
default?: number | undefined;
|
||||
max?: number | undefined;
|
||||
min?: number | undefined;
|
||||
gt?: number | undefined;
|
||||
lt?: number | undefined;
|
||||
int?: boolean | undefined;
|
||||
}, {
|
||||
type: "number";
|
||||
default?: number | undefined;
|
||||
optional?: boolean | undefined;
|
||||
min?: number | undefined;
|
||||
default?: number | undefined;
|
||||
max?: number | undefined;
|
||||
min?: number | undefined;
|
||||
gt?: number | undefined;
|
||||
lt?: number | undefined;
|
||||
int?: boolean | undefined;
|
||||
@@ -159,95 +159,113 @@ declare const EnvFieldType: z.ZodUnion<[z.ZodObject<{
|
||||
default: z.ZodOptional<z.ZodBoolean>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: "boolean";
|
||||
default?: boolean | undefined;
|
||||
optional?: boolean | undefined;
|
||||
default?: boolean | undefined;
|
||||
}, {
|
||||
type: "boolean";
|
||||
default?: boolean | undefined;
|
||||
optional?: boolean | undefined;
|
||||
default?: boolean | undefined;
|
||||
}>, z.ZodEffects<z.ZodObject<{
|
||||
type: z.ZodLiteral<"enum">;
|
||||
values: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
||||
optional: z.ZodOptional<z.ZodBoolean>;
|
||||
default: z.ZodOptional<z.ZodString>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: "enum";
|
||||
values: string[];
|
||||
default?: string | undefined;
|
||||
type: "enum";
|
||||
optional?: boolean | undefined;
|
||||
default?: string | undefined;
|
||||
}, {
|
||||
type: "enum";
|
||||
values: string[];
|
||||
default?: string | undefined;
|
||||
type: "enum";
|
||||
optional?: boolean | undefined;
|
||||
default?: string | undefined;
|
||||
}>, {
|
||||
type: "enum";
|
||||
values: string[];
|
||||
default?: string | undefined;
|
||||
type: "enum";
|
||||
optional?: boolean | undefined;
|
||||
default?: string | undefined;
|
||||
}, {
|
||||
type: "enum";
|
||||
values: string[];
|
||||
default?: string | undefined;
|
||||
type: "enum";
|
||||
optional?: boolean | undefined;
|
||||
default?: string | undefined;
|
||||
}>]>;
|
||||
export type EnvFieldType = z.infer<typeof EnvFieldType>;
|
||||
declare const EnvFieldMetadata: z.ZodUnion<[z.ZodObject<{
|
||||
context: z.ZodLiteral<"client">;
|
||||
access: z.ZodLiteral<"public">;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
declare const EnvFieldMetadata: z.ZodEffects<z.ZodType<{
|
||||
context: "client";
|
||||
access: "public";
|
||||
}, {
|
||||
} | {
|
||||
context: "server";
|
||||
access: "public";
|
||||
} | {
|
||||
context: "server";
|
||||
access: "secret";
|
||||
}, z.ZodTypeDef, {
|
||||
context: "client";
|
||||
access: "public";
|
||||
}>, z.ZodObject<{
|
||||
context: z.ZodLiteral<"server">;
|
||||
access: z.ZodLiteral<"public">;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
} | {
|
||||
context: "server";
|
||||
access: "public";
|
||||
}, {
|
||||
} | {
|
||||
context: "server";
|
||||
access: "secret";
|
||||
}>, {
|
||||
context: "client";
|
||||
access: "public";
|
||||
} | {
|
||||
context: "server";
|
||||
access: "public";
|
||||
}>, z.ZodObject<{
|
||||
context: z.ZodLiteral<"server">;
|
||||
access: z.ZodLiteral<"secret">;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
} | {
|
||||
context: "server";
|
||||
access: "secret";
|
||||
}, {
|
||||
context: "server";
|
||||
access: "secret";
|
||||
}>]>;
|
||||
export declare const EnvSchema: z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
||||
context: z.ZodLiteral<"client">;
|
||||
access: z.ZodLiteral<"public">;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
context: "client";
|
||||
access: "public";
|
||||
} | {
|
||||
context: "server";
|
||||
access: "public";
|
||||
} | {
|
||||
context: "server";
|
||||
access: "secret";
|
||||
}>;
|
||||
export declare const EnvSchema: z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodIntersection<z.ZodEffects<z.ZodType<{
|
||||
context: "client";
|
||||
access: "public";
|
||||
} | {
|
||||
context: "server";
|
||||
access: "public";
|
||||
} | {
|
||||
context: "server";
|
||||
access: "secret";
|
||||
}, z.ZodTypeDef, {
|
||||
context: "client";
|
||||
access: "public";
|
||||
} | {
|
||||
context: "server";
|
||||
access: "public";
|
||||
} | {
|
||||
context: "server";
|
||||
access: "secret";
|
||||
}>, {
|
||||
context: "client";
|
||||
access: "public";
|
||||
} | {
|
||||
context: "server";
|
||||
access: "public";
|
||||
} | {
|
||||
context: "server";
|
||||
access: "secret";
|
||||
}, {
|
||||
context: "client";
|
||||
access: "public";
|
||||
}>, z.ZodObject<{
|
||||
context: z.ZodLiteral<"server">;
|
||||
access: z.ZodLiteral<"public">;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
} | {
|
||||
context: "server";
|
||||
access: "public";
|
||||
}, {
|
||||
context: "server";
|
||||
access: "public";
|
||||
}>, z.ZodObject<{
|
||||
context: z.ZodLiteral<"server">;
|
||||
access: z.ZodLiteral<"secret">;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
} | {
|
||||
context: "server";
|
||||
access: "secret";
|
||||
}, {
|
||||
context: "server";
|
||||
access: "secret";
|
||||
}>]>, z.ZodUnion<[z.ZodObject<{
|
||||
}>, z.ZodUnion<[z.ZodObject<{
|
||||
type: z.ZodLiteral<"string">;
|
||||
optional: z.ZodOptional<z.ZodBoolean>;
|
||||
default: z.ZodOptional<z.ZodString>;
|
||||
@@ -264,22 +282,22 @@ export declare const EnvSchema: z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodStrin
|
||||
includes?: string | undefined;
|
||||
endsWith?: string | undefined;
|
||||
startsWith?: string | undefined;
|
||||
default?: string | undefined;
|
||||
url?: boolean | undefined;
|
||||
optional?: boolean | undefined;
|
||||
min?: number | undefined;
|
||||
url?: boolean | undefined;
|
||||
default?: string | undefined;
|
||||
max?: number | undefined;
|
||||
min?: number | undefined;
|
||||
}, {
|
||||
type: "string";
|
||||
length?: number | undefined;
|
||||
includes?: string | undefined;
|
||||
endsWith?: string | undefined;
|
||||
startsWith?: string | undefined;
|
||||
default?: string | undefined;
|
||||
url?: boolean | undefined;
|
||||
optional?: boolean | undefined;
|
||||
min?: number | undefined;
|
||||
url?: boolean | undefined;
|
||||
default?: string | undefined;
|
||||
max?: number | undefined;
|
||||
min?: number | undefined;
|
||||
}>, z.ZodObject<{
|
||||
type: z.ZodLiteral<"number">;
|
||||
optional: z.ZodOptional<z.ZodBoolean>;
|
||||
@@ -291,19 +309,19 @@ export declare const EnvSchema: z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodStrin
|
||||
int: z.ZodOptional<z.ZodBoolean>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: "number";
|
||||
default?: number | undefined;
|
||||
optional?: boolean | undefined;
|
||||
min?: number | undefined;
|
||||
default?: number | undefined;
|
||||
max?: number | undefined;
|
||||
min?: number | undefined;
|
||||
gt?: number | undefined;
|
||||
lt?: number | undefined;
|
||||
int?: boolean | undefined;
|
||||
}, {
|
||||
type: "number";
|
||||
default?: number | undefined;
|
||||
optional?: boolean | undefined;
|
||||
min?: number | undefined;
|
||||
default?: number | undefined;
|
||||
max?: number | undefined;
|
||||
min?: number | undefined;
|
||||
gt?: number | undefined;
|
||||
lt?: number | undefined;
|
||||
int?: boolean | undefined;
|
||||
@@ -313,37 +331,37 @@ export declare const EnvSchema: z.ZodRecord<z.ZodEffects<z.ZodEffects<z.ZodStrin
|
||||
default: z.ZodOptional<z.ZodBoolean>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: "boolean";
|
||||
default?: boolean | undefined;
|
||||
optional?: boolean | undefined;
|
||||
default?: boolean | undefined;
|
||||
}, {
|
||||
type: "boolean";
|
||||
default?: boolean | undefined;
|
||||
optional?: boolean | undefined;
|
||||
default?: boolean | undefined;
|
||||
}>, z.ZodEffects<z.ZodObject<{
|
||||
type: z.ZodLiteral<"enum">;
|
||||
values: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
||||
optional: z.ZodOptional<z.ZodBoolean>;
|
||||
default: z.ZodOptional<z.ZodString>;
|
||||
}, "strip", z.ZodTypeAny, {
|
||||
type: "enum";
|
||||
values: string[];
|
||||
default?: string | undefined;
|
||||
type: "enum";
|
||||
optional?: boolean | undefined;
|
||||
default?: string | undefined;
|
||||
}, {
|
||||
type: "enum";
|
||||
values: string[];
|
||||
default?: string | undefined;
|
||||
type: "enum";
|
||||
optional?: boolean | undefined;
|
||||
default?: string | undefined;
|
||||
}>, {
|
||||
type: "enum";
|
||||
values: string[];
|
||||
default?: string | undefined;
|
||||
type: "enum";
|
||||
optional?: boolean | undefined;
|
||||
default?: string | undefined;
|
||||
}, {
|
||||
type: "enum";
|
||||
values: string[];
|
||||
default?: string | undefined;
|
||||
type: "enum";
|
||||
optional?: boolean | undefined;
|
||||
default?: string | undefined;
|
||||
}>]>>>;
|
||||
type Prettify<T> = {
|
||||
[K in keyof T]: T[K];
|
||||
|
Reference in New Issue
Block a user