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
24 lines (23 loc) • 1.04 kB
TypeScript
import { z } from "zod";
export declare const doubleAttributeSchema: z.ZodObject<{
key: z.ZodString;
error: z.ZodOptional<z.ZodDefault<z.ZodString>>;
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
array: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
min: z.ZodOptional<z.ZodNumber>;
max: z.ZodOptional<z.ZodNumber>;
xdefault: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
type: z.ZodDefault<z.ZodLiteral<"double">>;
}, z.core.$strip>;
export declare const floatAttributeSchema: z.ZodObject<{
key: z.ZodString;
error: z.ZodOptional<z.ZodDefault<z.ZodString>>;
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
array: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
min: z.ZodOptional<z.ZodNumber>;
max: z.ZodOptional<z.ZodNumber>;
xdefault: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
type: z.ZodDefault<z.ZodLiteral<"float">>;
}, z.core.$strip>;
export type DoubleAttribute = z.infer<typeof doubleAttributeSchema>;
export type FloatAttribute = z.infer<typeof floatAttributeSchema>;