Initial Commit

This commit is contained in:
2026-05-27 23:29:53 +01:00
commit fbc70f96e6
10000 changed files with 1102152 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import z from "zod";
/**
* Uninstall data-handling policy. `archive` moves rows to a prefixed
* table so they survive plugin removal; `drop` destroys the schema;
* `keep` leaves data in place for a later reinstall.
*/
export const uninstallSchema = z.object({
dataPolicy: z.enum(["archive", "drop", "keep"]),
archiveTablePrefix: z.string().min(1).optional(),
});
export type Uninstall = z.infer<typeof uninstallSchema>;