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
14 lines (13 loc) • 613 B
TypeScript
import { z } from "zod";
export declare const stringAttributeSchema: z.ZodObject<{
key: z.ZodString;
type: z.ZodDefault<z.ZodLiteral<"string">>;
error: z.ZodOptional<z.ZodDefault<z.ZodString>>;
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
array: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
size: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
encrypted: z.ZodOptional<z.ZodBoolean>;
format: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, z.core.$strip>;
export type StringAttribute = z.infer<typeof stringAttributeSchema>;