UNPKG

appwrite-utils

Version:

`appwrite-utils` is a comprehensive TypeScript library designed to streamline the development process for Appwrite projects. It provides a suite of utilities and helper functions that facilitate data manipulation, schema management, and seamless integrati

34 lines (33 loc) 1.29 kB
import { z } from "zod"; export declare const floatAttributeSchema: z.ZodObject<{ key: z.ZodString; type: z.ZodDefault<z.ZodLiteral<"float">>; 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>>; description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>; }, "strip", z.ZodTypeAny, { type: "float"; key: string; description?: string | Record<string, string> | null | undefined; required?: boolean | undefined; array?: boolean | undefined; error?: string | undefined; xdefault?: number | null | undefined; min?: number | undefined; max?: number | undefined; }, { key: string; type?: "float" | undefined; description?: string | Record<string, string> | null | undefined; required?: boolean | undefined; array?: boolean | undefined; error?: string | undefined; xdefault?: number | null | undefined; min?: number | undefined; max?: number | undefined; }>; export type FloatAttribute = z.infer<typeof floatAttributeSchema>;