appwrite-utils
Version:
30 lines (29 loc) • 1.01 kB
TypeScript
import { z } from "zod";
export declare const indexSchema: z.ZodObject<{
key: z.ZodString;
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
key: "key";
unique: "unique";
fulltext: "fulltext";
}>>>;
status: z.ZodOptional<z.ZodString>;
error: z.ZodOptional<z.ZodString>;
attributes: z.ZodArray<z.ZodString>;
orders: z.ZodOptional<z.ZodArray<z.ZodString>>;
}, z.core.$strip>;
export declare const indexesSchema: z.ZodArray<z.ZodObject<{
key: z.ZodString;
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
key: "key";
unique: "unique";
fulltext: "fulltext";
}>>>;
status: z.ZodOptional<z.ZodString>;
error: z.ZodOptional<z.ZodString>;
attributes: z.ZodArray<z.ZodString>;
orders: z.ZodOptional<z.ZodArray<z.ZodString>>;
}, z.core.$strip>>;
export type Index = z.infer<typeof indexSchema>;
export type Indexes = z.infer<typeof indexesSchema>;
export * from "./officialConfig.js";
export * from "./utilsExtensionConfig.js";