mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-10 02:28:39 +00:00
20 lines
710 B
TypeScript
20 lines
710 B
TypeScript
// Code generated by automation script, DO NOT EDIT.
|
|
// Automated by pulling database and generating zod schema
|
|
// To update. Just run npm run generate:schema
|
|
// Written by akhilmhdh.
|
|
|
|
import { z } from "zod";
|
|
|
|
import { TImmutableDBKeys } from "./models";
|
|
|
|
export const FolderCheckpointsSchema = z.object({
|
|
id: z.string().uuid(),
|
|
folderCommitId: z.string().uuid(),
|
|
createdAt: z.date(),
|
|
updatedAt: z.date()
|
|
});
|
|
|
|
export type TFolderCheckpoints = z.infer<typeof FolderCheckpointsSchema>;
|
|
export type TFolderCheckpointsInsert = Omit<z.input<typeof FolderCheckpointsSchema>, TImmutableDBKeys>;
|
|
export type TFolderCheckpointsUpdate = Partial<Omit<z.input<typeof FolderCheckpointsSchema>, TImmutableDBKeys>>;
|