appwrite-utils
Version:
14 lines (13 loc) • 392 B
TypeScript
import { z } from "zod";
export declare const EventTypeSchema: z.ZodString;
/**
* Common database event patterns for documents/rows
*/
export declare const DocumentEventTypeSchema: z.ZodEnum<{
create: "create";
update: "update";
delete: "delete";
upsert: "upsert";
}>;
export type EventType = string;
export type DocumentEventType = z.infer<typeof DocumentEventTypeSchema>;