convex
Version:
Client for the Convex Cloud
1,081 lines • 36.6 kB
TypeScript
import { z } from "zod";
export declare const startPushRequest: z.ZodObject<{
adminKey: z.ZodString;
dryRun: z.ZodBoolean;
functions: z.ZodString;
appDefinition: z.ZodObject<{
definition: z.ZodNullable<z.ZodObject<{
path: z.ZodString;
source: z.ZodString;
sourceMap: z.ZodOptional<z.ZodString>;
environment: z.ZodUnion<[z.ZodLiteral<"isolate">, z.ZodLiteral<"node">]>;
}, "passthrough", z.ZodTypeAny, {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
}, {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
}>>;
dependencies: z.ZodArray<z.ZodString, "many">;
schema: z.ZodNullable<z.ZodObject<{
path: z.ZodString;
source: z.ZodString;
sourceMap: z.ZodOptional<z.ZodString>;
environment: z.ZodUnion<[z.ZodLiteral<"isolate">, z.ZodLiteral<"node">]>;
}, "passthrough", z.ZodTypeAny, {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
}, {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
}>>;
functions: z.ZodArray<z.ZodObject<{
path: z.ZodString;
source: z.ZodString;
sourceMap: z.ZodOptional<z.ZodString>;
environment: z.ZodUnion<[z.ZodLiteral<"isolate">, z.ZodLiteral<"node">]>;
}, "passthrough", z.ZodTypeAny, {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
}, {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
}>, "many">;
udfServerVersion: z.ZodString;
}, "passthrough", z.ZodTypeAny, {
definition: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
} | null;
dependencies: string[];
schema: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
} | null;
functions: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
}[];
udfServerVersion: string;
}, {
definition: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
} | null;
dependencies: string[];
schema: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
} | null;
functions: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
}[];
udfServerVersion: string;
}>;
componentDefinitions: z.ZodArray<z.ZodObject<{
definitionPath: z.ZodString;
definition: z.ZodObject<{
path: z.ZodString;
source: z.ZodString;
sourceMap: z.ZodOptional<z.ZodString>;
environment: z.ZodUnion<[z.ZodLiteral<"isolate">, z.ZodLiteral<"node">]>;
}, "passthrough", z.ZodTypeAny, {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
}, {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
}>;
dependencies: z.ZodArray<z.ZodString, "many">;
schema: z.ZodNullable<z.ZodObject<{
path: z.ZodString;
source: z.ZodString;
sourceMap: z.ZodOptional<z.ZodString>;
environment: z.ZodUnion<[z.ZodLiteral<"isolate">, z.ZodLiteral<"node">]>;
}, "passthrough", z.ZodTypeAny, {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
}, {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
}>>;
functions: z.ZodArray<z.ZodObject<{
path: z.ZodString;
source: z.ZodString;
sourceMap: z.ZodOptional<z.ZodString>;
environment: z.ZodUnion<[z.ZodLiteral<"isolate">, z.ZodLiteral<"node">]>;
}, "passthrough", z.ZodTypeAny, {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
}, {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
}>, "many">;
udfServerVersion: z.ZodString;
}, "passthrough", z.ZodTypeAny, {
definition: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
};
dependencies: string[];
schema: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
} | null;
functions: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
}[];
definitionPath: string;
udfServerVersion: string;
}, {
definition: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
};
dependencies: string[];
schema: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
} | null;
functions: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
}[];
definitionPath: string;
udfServerVersion: string;
}>, "many">;
nodeDependencies: z.ZodArray<z.ZodObject<{
name: z.ZodString;
version: z.ZodString;
}, "passthrough", z.ZodTypeAny, {
name: string;
version: string;
}, {
name: string;
version: string;
}>, "many">;
}, "passthrough", z.ZodTypeAny, {
dryRun: boolean;
functions: string;
adminKey: string;
appDefinition: {
definition: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
} | null;
dependencies: string[];
schema: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
} | null;
functions: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
}[];
udfServerVersion: string;
};
componentDefinitions: {
definition: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
};
dependencies: string[];
schema: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
} | null;
functions: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
}[];
definitionPath: string;
udfServerVersion: string;
}[];
nodeDependencies: {
name: string;
version: string;
}[];
}, {
dryRun: boolean;
functions: string;
adminKey: string;
appDefinition: {
definition: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
} | null;
dependencies: string[];
schema: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
} | null;
functions: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
}[];
udfServerVersion: string;
};
componentDefinitions: {
definition: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
};
dependencies: string[];
schema: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
} | null;
functions: {
path: string;
environment: "node" | "isolate";
source: string;
sourceMap?: string | undefined;
}[];
definitionPath: string;
udfServerVersion: string;
}[];
nodeDependencies: {
name: string;
version: string;
}[];
}>;
export type StartPushRequest = z.infer<typeof startPushRequest>;
export declare const schemaChange: z.ZodObject<{
allocatedComponentIds: z.ZodAny;
schemaIds: z.ZodAny;
}, "passthrough", z.ZodTypeAny, {
allocatedComponentIds?: any;
schemaIds?: any;
}, {
allocatedComponentIds?: any;
schemaIds?: any;
}>;
export type SchemaChange = z.infer<typeof schemaChange>;
export declare const startPushResponse: z.ZodObject<{
environmentVariables: z.ZodRecord<z.ZodString, z.ZodString>;
externalDepsId: z.ZodNullable<z.ZodString>;
componentDefinitionPackages: z.ZodRecord<z.ZodString, z.ZodAny>;
appAuth: z.ZodArray<z.ZodObject<{
applicationID: z.ZodString;
domain: z.ZodString;
}, "passthrough", z.ZodTypeAny, {
applicationID: string;
domain: string;
}, {
applicationID: string;
domain: string;
}>, "many">;
analysis: z.ZodRecord<z.ZodString, z.ZodObject<{
definition: z.ZodObject<{
path: z.ZodString;
definitionType: z.ZodUnion<[z.ZodObject<{
type: z.ZodLiteral<"app">;
}, "passthrough", z.ZodTypeAny, {
type: "app";
}, {
type: "app";
}>, z.ZodObject<{
type: z.ZodLiteral<"childComponent">;
name: z.ZodString;
args: z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodObject<{
type: z.ZodLiteral<"value">;
value: z.ZodString;
}, "passthrough", z.ZodTypeAny, {
type: "value";
value: string;
}, {
type: "value";
value: string;
}>], null>, "many">;
}, "passthrough", z.ZodTypeAny, {
type: "childComponent";
name: string;
args: [string, {
type: "value";
value: string;
}][];
}, {
type: "childComponent";
name: string;
args: [string, {
type: "value";
value: string;
}][];
}>]>;
childComponents: z.ZodArray<z.ZodObject<{
name: z.ZodString;
path: z.ZodString;
args: z.ZodNullable<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodObject<{
type: z.ZodLiteral<"value">;
value: z.ZodString;
}, "passthrough", z.ZodTypeAny, {
type: "value";
value: string;
}, {
type: "value";
value: string;
}>], null>, "many">>;
}, "passthrough", z.ZodTypeAny, {
name: string;
args: [string, {
type: "value";
value: string;
}][] | null;
path: string;
}, {
name: string;
args: [string, {
type: "value";
value: string;
}][] | null;
path: string;
}>, "many">;
httpMounts: z.ZodRecord<z.ZodString, z.ZodString>;
exports: z.ZodObject<{
type: z.ZodLiteral<"branch">;
branch: z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodType<import("./componentDefinition.js").ComponentExports, z.ZodTypeDef, import("./componentDefinition.js").ComponentExports>], null>, "many">;
}, "passthrough", z.ZodTypeAny, {
type: "branch";
branch: [string, import("./componentDefinition.js").ComponentExports][];
}, {
type: "branch";
branch: [string, import("./componentDefinition.js").ComponentExports][];
}>;
}, "passthrough", z.ZodTypeAny, {
path: string;
childComponents: {
name: string;
args: [string, {
type: "value";
value: string;
}][] | null;
path: string;
}[];
exports: {
type: "branch";
branch: [string, import("./componentDefinition.js").ComponentExports][];
};
definitionType: {
type: "app";
} | {
type: "childComponent";
name: string;
args: [string, {
type: "value";
value: string;
}][];
};
httpMounts: Record<string, string>;
}, {
path: string;
childComponents: {
name: string;
args: [string, {
type: "value";
value: string;
}][] | null;
path: string;
}[];
exports: {
type: "branch";
branch: [string, import("./componentDefinition.js").ComponentExports][];
};
definitionType: {
type: "app";
} | {
type: "childComponent";
name: string;
args: [string, {
type: "value";
value: string;
}][];
};
httpMounts: Record<string, string>;
}>;
schema: z.ZodNullable<z.ZodOptional<z.ZodObject<{
tables: z.ZodArray<z.ZodObject<{
tableName: z.ZodString;
indexes: z.ZodArray<z.ZodObject<{
indexDescriptor: z.ZodString;
fields: z.ZodArray<z.ZodString, "many">;
}, "passthrough", z.ZodTypeAny, {
fields: string[];
indexDescriptor: string;
}, {
fields: string[];
indexDescriptor: string;
}>, "many">;
searchIndexes: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
indexDescriptor: z.ZodString;
searchField: z.ZodString;
filterFields: z.ZodArray<z.ZodString, "many">;
}, "passthrough", z.ZodTypeAny, {
searchField: string;
filterFields: string[];
indexDescriptor: string;
}, {
searchField: string;
filterFields: string[];
indexDescriptor: string;
}>, "many">>>;
vectorIndexes: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
indexDescriptor: z.ZodString;
vectorField: z.ZodString;
dimensions: z.ZodOptional<z.ZodNumber>;
filterFields: z.ZodArray<z.ZodString, "many">;
}, "passthrough", z.ZodTypeAny, {
filterFields: string[];
vectorField: string;
indexDescriptor: string;
dimensions?: number | undefined;
}, {
filterFields: string[];
vectorField: string;
indexDescriptor: string;
dimensions?: number | undefined;
}>, "many">>>;
documentType: z.ZodType<import("./validator.js").ConvexValidator, z.ZodTypeDef, import("./validator.js").ConvexValidator>;
}, "passthrough", z.ZodTypeAny, {
tableName: string;
indexes: {
fields: string[];
indexDescriptor: string;
}[];
documentType: import("./validator.js").ConvexValidator;
searchIndexes?: {
searchField: string;
filterFields: string[];
indexDescriptor: string;
}[] | null | undefined;
vectorIndexes?: {
filterFields: string[];
vectorField: string;
indexDescriptor: string;
dimensions?: number | undefined;
}[] | null | undefined;
}, {
tableName: string;
indexes: {
fields: string[];
indexDescriptor: string;
}[];
documentType: import("./validator.js").ConvexValidator;
searchIndexes?: {
searchField: string;
filterFields: string[];
indexDescriptor: string;
}[] | null | undefined;
vectorIndexes?: {
filterFields: string[];
vectorField: string;
indexDescriptor: string;
dimensions?: number | undefined;
}[] | null | undefined;
}>, "many">;
schemaValidation: z.ZodBoolean;
}, "passthrough", z.ZodTypeAny, {
schemaValidation: boolean;
tables: {
tableName: string;
indexes: {
fields: string[];
indexDescriptor: string;
}[];
documentType: import("./validator.js").ConvexValidator;
searchIndexes?: {
searchField: string;
filterFields: string[];
indexDescriptor: string;
}[] | null | undefined;
vectorIndexes?: {
filterFields: string[];
vectorField: string;
indexDescriptor: string;
dimensions?: number | undefined;
}[] | null | undefined;
}[];
}, {
schemaValidation: boolean;
tables: {
tableName: string;
indexes: {
fields: string[];
indexDescriptor: string;
}[];
documentType: import("./validator.js").ConvexValidator;
searchIndexes?: {
searchField: string;
filterFields: string[];
indexDescriptor: string;
}[] | null | undefined;
vectorIndexes?: {
filterFields: string[];
vectorField: string;
indexDescriptor: string;
dimensions?: number | undefined;
}[] | null | undefined;
}[];
}>>>;
functions: z.ZodRecord<z.ZodString, z.ZodObject<{
functions: z.ZodArray<z.ZodObject<{
name: z.ZodString;
pos: z.ZodAny;
udfType: z.ZodUnion<[z.ZodLiteral<"Query">, z.ZodLiteral<"Mutation">, z.ZodLiteral<"Action">]>;
visibility: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
kind: z.ZodLiteral<"public">;
}, "passthrough", z.ZodTypeAny, {
kind: "public";
}, {
kind: "public";
}>, z.ZodObject<{
kind: z.ZodLiteral<"internal">;
}, "passthrough", z.ZodTypeAny, {
kind: "internal";
}, {
kind: "internal";
}>]>>;
args: z.ZodNullable<z.ZodString>;
returns: z.ZodNullable<z.ZodString>;
}, "passthrough", z.ZodTypeAny, {
name: string;
args: string | null;
returns: string | null;
udfType: "Mutation" | "Action" | "Query";
visibility: {
kind: "public";
} | {
kind: "internal";
} | null;
pos?: any;
}, {
name: string;
args: string | null;
returns: string | null;
udfType: "Mutation" | "Action" | "Query";
visibility: {
kind: "public";
} | {
kind: "internal";
} | null;
pos?: any;
}>, "many">;
httpRoutes: z.ZodAny;
cronSpecs: z.ZodAny;
sourceMapped: z.ZodAny;
}, "passthrough", z.ZodTypeAny, {
functions: {
name: string;
args: string | null;
returns: string | null;
udfType: "Mutation" | "Action" | "Query";
visibility: {
kind: "public";
} | {
kind: "internal";
} | null;
pos?: any;
}[];
httpRoutes?: any;
cronSpecs?: any;
sourceMapped?: any;
}, {
functions: {
name: string;
args: string | null;
returns: string | null;
udfType: "Mutation" | "Action" | "Query";
visibility: {
kind: "public";
} | {
kind: "internal";
} | null;
pos?: any;
}[];
httpRoutes?: any;
cronSpecs?: any;
sourceMapped?: any;
}>>;
udfConfig: z.ZodObject<{
serverVersion: z.ZodString;
importPhaseRngSeed: z.ZodAny;
importPhaseUnixTimestamp: z.ZodAny;
}, "passthrough", z.ZodTypeAny, {
serverVersion: string;
importPhaseRngSeed?: any;
importPhaseUnixTimestamp?: any;
}, {
serverVersion: string;
importPhaseRngSeed?: any;
importPhaseUnixTimestamp?: any;
}>;
}, "passthrough", z.ZodTypeAny, {
definition: {
path: string;
childComponents: {
name: string;
args: [string, {
type: "value";
value: string;
}][] | null;
path: string;
}[];
exports: {
type: "branch";
branch: [string, import("./componentDefinition.js").ComponentExports][];
};
definitionType: {
type: "app";
} | {
type: "childComponent";
name: string;
args: [string, {
type: "value";
value: string;
}][];
};
httpMounts: Record<string, string>;
};
functions: Record<string, {
functions: {
name: string;
args: string | null;
returns: string | null;
udfType: "Mutation" | "Action" | "Query";
visibility: {
kind: "public";
} | {
kind: "internal";
} | null;
pos?: any;
}[];
httpRoutes?: any;
cronSpecs?: any;
sourceMapped?: any;
}>;
udfConfig: {
serverVersion: string;
importPhaseRngSeed?: any;
importPhaseUnixTimestamp?: any;
};
schema?: {
schemaValidation: boolean;
tables: {
tableName: string;
indexes: {
fields: string[];
indexDescriptor: string;
}[];
documentType: import("./validator.js").ConvexValidator;
searchIndexes?: {
searchField: string;
filterFields: string[];
indexDescriptor: string;
}[] | null | undefined;
vectorIndexes?: {
filterFields: string[];
vectorField: string;
indexDescriptor: string;
dimensions?: number | undefined;
}[] | null | undefined;
}[];
} | null | undefined;
}, {
definition: {
path: string;
childComponents: {
name: string;
args: [string, {
type: "value";
value: string;
}][] | null;
path: string;
}[];
exports: {
type: "branch";
branch: [string, import("./componentDefinition.js").ComponentExports][];
};
definitionType: {
type: "app";
} | {
type: "childComponent";
name: string;
args: [string, {
type: "value";
value: string;
}][];
};
httpMounts: Record<string, string>;
};
functions: Record<string, {
functions: {
name: string;
args: string | null;
returns: string | null;
udfType: "Mutation" | "Action" | "Query";
visibility: {
kind: "public";
} | {
kind: "internal";
} | null;
pos?: any;
}[];
httpRoutes?: any;
cronSpecs?: any;
sourceMapped?: any;
}>;
udfConfig: {
serverVersion: string;
importPhaseRngSeed?: any;
importPhaseUnixTimestamp?: any;
};
schema?: {
schemaValidation: boolean;
tables: {
tableName: string;
indexes: {
fields: string[];
indexDescriptor: string;
}[];
documentType: import("./validator.js").ConvexValidator;
searchIndexes?: {
searchField: string;
filterFields: string[];
indexDescriptor: string;
}[] | null | undefined;
vectorIndexes?: {
filterFields: string[];
vectorField: string;
indexDescriptor: string;
dimensions?: number | undefined;
}[] | null | undefined;
}[];
} | null | undefined;
}>>;
app: z.ZodType<import("./checkedComponent.js").CheckedComponent, z.ZodTypeDef, import("./checkedComponent.js").CheckedComponent>;
schemaChange: z.ZodObject<{
allocatedComponentIds: z.ZodAny;
schemaIds: z.ZodAny;
}, "passthrough", z.ZodTypeAny, {
allocatedComponentIds?: any;
schemaIds?: any;
}, {
allocatedComponentIds?: any;
schemaIds?: any;
}>;
}, "passthrough", z.ZodTypeAny, {
app: import("./checkedComponent.js").CheckedComponent;
environmentVariables: Record<string, string>;
externalDepsId: string | null;
componentDefinitionPackages: Record<string, any>;
appAuth: {
applicationID: string;
domain: string;
}[];
analysis: Record<string, {
definition: {
path: string;
childComponents: {
name: string;
args: [string, {
type: "value";
value: string;
}][] | null;
path: string;
}[];
exports: {
type: "branch";
branch: [string, import("./componentDefinition.js").ComponentExports][];
};
definitionType: {
type: "app";
} | {
type: "childComponent";
name: string;
args: [string, {
type: "value";
value: string;
}][];
};
httpMounts: Record<string, string>;
};
functions: Record<string, {
functions: {
name: string;
args: string | null;
returns: string | null;
udfType: "Mutation" | "Action" | "Query";
visibility: {
kind: "public";
} | {
kind: "internal";
} | null;
pos?: any;
}[];
httpRoutes?: any;
cronSpecs?: any;
sourceMapped?: any;
}>;
udfConfig: {
serverVersion: string;
importPhaseRngSeed?: any;
importPhaseUnixTimestamp?: any;
};
schema?: {
schemaValidation: boolean;
tables: {
tableName: string;
indexes: {
fields: string[];
indexDescriptor: string;
}[];
documentType: import("./validator.js").ConvexValidator;
searchIndexes?: {
searchField: string;
filterFields: string[];
indexDescriptor: string;
}[] | null | undefined;
vectorIndexes?: {
filterFields: string[];
vectorField: string;
indexDescriptor: string;
dimensions?: number | undefined;
}[] | null | undefined;
}[];
} | null | undefined;
}>;
schemaChange: {
allocatedComponentIds?: any;
schemaIds?: any;
};
}, {
app: import("./checkedComponent.js").CheckedComponent;
environmentVariables: Record<string, string>;
externalDepsId: string | null;
componentDefinitionPackages: Record<string, any>;
appAuth: {
applicationID: string;
domain: string;
}[];
analysis: Record<string, {
definition: {
path: string;
childComponents: {
name: string;
args: [string, {
type: "value";
value: string;
}][] | null;
path: string;
}[];
exports: {
type: "branch";
branch: [string, import("./componentDefinition.js").ComponentExports][];
};
definitionType: {
type: "app";
} | {
type: "childComponent";
name: string;
args: [string, {
type: "value";
value: string;
}][];
};
httpMounts: Record<string, string>;
};
functions: Record<string, {
functions: {
name: string;
args: string | null;
returns: string | null;
udfType: "Mutation" | "Action" | "Query";
visibility: {
kind: "public";
} | {
kind: "internal";
} | null;
pos?: any;
}[];
httpRoutes?: any;
cronSpecs?: any;
sourceMapped?: any;
}>;
udfConfig: {
serverVersion: string;
importPhaseRngSeed?: any;
importPhaseUnixTimestamp?: any;
};
schema?: {
schemaValidation: boolean;
tables: {
tableName: string;
indexes: {
fields: string[];
indexDescriptor: string;
}[];
documentType: import("./validator.js").ConvexValidator;
searchIndexes?: {
searchField: string;
filterFields: string[];
indexDescriptor: string;
}[] | null | undefined;
vectorIndexes?: {
filterFields: string[];
vectorField: string;
indexDescriptor: string;
dimensions?: number | undefined;
}[] | null | undefined;
}[];
} | null | undefined;
}>;
schemaChange: {
allocatedComponentIds?: any;
schemaIds?: any;
};
}>;
export type StartPushResponse = z.infer<typeof startPushResponse>;
export declare const componentSchemaStatus: z.ZodObject<{
schemaValidationComplete: z.ZodBoolean;
indexesComplete: z.ZodNumber;
indexesTotal: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, {
schemaValidationComplete: boolean;
indexesComplete: number;
indexesTotal: number;
}, {
schemaValidationComplete: boolean;
indexesComplete: number;
indexesTotal: number;
}>;
export type ComponentSchemaStatus = z.infer<typeof componentSchemaStatus>;
export declare const schemaStatus: z.ZodUnion<[z.ZodObject<{
type: z.ZodLiteral<"inProgress">;
components: z.ZodRecord<z.ZodString, z.ZodObject<{
schemaValidationComplete: z.ZodBoolean;
indexesComplete: z.ZodNumber;
indexesTotal: z.ZodNumber;
}, "passthrough", z.ZodTypeAny, {
schemaValidationComplete: boolean;
indexesComplete: number;
indexesTotal: number;
}, {
schemaValidationComplete: boolean;
indexesComplete: number;
indexesTotal: number;
}>>;
}, "passthrough", z.ZodTypeAny, {
type: "inProgress";
components: Record<string, {
schemaValidationComplete: boolean;
indexesComplete: number;
indexesTotal: number;
}>;
}, {
type: "inProgress";
components: Record<string, {
schemaValidationComplete: boolean;
indexesComplete: number;
indexesTotal: number;
}>;
}>, z.ZodObject<{
type: z.ZodLiteral<"failed">;
error: z.ZodString;
componentPath: z.ZodString;
tableName: z.ZodNullable<z.ZodString>;
}, "passthrough", z.ZodTypeAny, {
type: "failed";
tableName: string | null;
error: string;
componentPath: string;
}, {
type: "failed";
tableName: string | null;
error: string;
componentPath: string;
}>, z.ZodObject<{
type: z.ZodLiteral<"raceDetected">;
}, "passthrough", z.ZodTypeAny, {
type: "raceDetected";
}, {
type: "raceDetected";
}>, z.ZodObject<{
type: z.ZodLiteral<"complete">;
}, "passthrough", z.ZodTypeAny, {
type: "complete";
}, {
type: "complete";
}>]>;
export type SchemaStatus = z.infer<typeof schemaStatus>;
//# sourceMappingURL=startPush.d.ts.map