mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 21:40:31 +00:00
21 lines
743 B
TypeScript
21 lines
743 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 SecretReferencesV2Schema = z.object({
|
|
id: z.string().uuid(),
|
|
environment: z.string(),
|
|
secretPath: z.string(),
|
|
secretKey: z.string(),
|
|
secretId: z.string().uuid()
|
|
});
|
|
|
|
export type TSecretReferencesV2 = z.infer<typeof SecretReferencesV2Schema>;
|
|
export type TSecretReferencesV2Insert = Omit<z.input<typeof SecretReferencesV2Schema>, TImmutableDBKeys>;
|
|
export type TSecretReferencesV2Update = Partial<Omit<z.input<typeof SecretReferencesV2Schema>, TImmutableDBKeys>>;
|