mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-12 00:29:04 +00:00
24 lines
752 B
TypeScript
24 lines
752 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 SecretReferencesSchema = z.object({
|
|
id: z.string().uuid(),
|
|
environment: z.string(),
|
|
secretPath: z.string(),
|
|
secretId: z.string().uuid(),
|
|
createdAt: z.date(),
|
|
updatedAt: z.date()
|
|
});
|
|
|
|
export type TSecretReferences = z.infer<typeof SecretReferencesSchema>;
|
|
export type TSecretReferencesInsert = Omit<z.input<typeof SecretReferencesSchema>, TImmutableDBKeys>;
|
|
export type TSecretReferencesUpdate = Partial<Omit<z.input<typeof SecretReferencesSchema>, TImmutableDBKeys>>;
|