mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-05 19:26:38 +00:00
23 lines
870 B
TypeScript
23 lines
870 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 FolderCommitChangesSchema = z.object({
|
|
id: z.string().uuid(),
|
|
folderCommitId: z.coerce.number(),
|
|
changeType: z.string(),
|
|
secretVersionId: z.string().uuid().nullable().optional(),
|
|
folderVersionId: z.string().uuid().nullable().optional(),
|
|
createdAt: z.date(),
|
|
updatedAt: z.date()
|
|
});
|
|
|
|
export type TFolderCommitChanges = z.infer<typeof FolderCommitChangesSchema>;
|
|
export type TFolderCommitChangesInsert = Omit<z.input<typeof FolderCommitChangesSchema>, TImmutableDBKeys>;
|
|
export type TFolderCommitChangesUpdate = Partial<Omit<z.input<typeof FolderCommitChangesSchema>, TImmutableDBKeys>>;
|