Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
gen schema
x99ef6206e6d6
diff --git a/backend/src/db/schemas/pam-revamp-backup.ts b/backend/src/db/schemas/pam-revamp-backup.tsnew file mode 100644index 0000000000..8e62430b7f--- /dev/null+++ b/backend/src/db/schemas/pam-revamp-backup.ts@@ -0,0 +1,26 @@+// 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 { zodBuffer } from "@app/lib/zod";++import { TImmutableDBKeys } from "./models";++export const PamRevampBackupSchema = z.object({+ id: z.string().uuid(),+ entityType: z.string(),+ entityId: z.string(),+ before: z.unknown().nullable().optional(),+ beforeCredentials: zodBuffer.nullable().optional(),+ beforeSessionKey: zodBuffer.nullable().optional(),+ beforeLogsBlob: zodBuffer.nullable().optional(),+ createdAt: z.date(),+ updatedAt: z.date()+});++export type TPamRevampBackup = z.infer<typeof PamRevampBackupSchema>;+export type TPamRevampBackupInsert = Omit<z.input<typeof PamRevampBackupSchema>, TImmutableDBKeys>;+export type TPamRevampBackupUpdate = Partial<Omit<z.input<typeof PamRevampBackupSchema>, TImmutableDBKeys>>;