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
12 lines (11 loc) • 507 B
TypeScript
import { z } from "zod";
export declare const enumAttributeSchema: z.ZodObject<{
key: z.ZodString;
type: z.ZodDefault<z.ZodLiteral<"enum">>;
error: z.ZodOptional<z.ZodDefault<z.ZodString>>;
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
array: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
elements: z.ZodDefault<z.ZodArray<z.ZodString>>;
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, z.core.$strip>;
export type EnumAttribute = z.infer<typeof enumAttributeSchema>;