appwrite-utils
Version:
`appwrite-utils` is a comprehensive TypeScript library designed to streamline the development process for Appwrite projects. Version 1.0.0 aligns with the YAML-first architecture of `appwrite-utils-cli`, providing enhanced integration capabilities and rob
28 lines (27 loc) • 933 B
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>;