mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 16:52:38 +00:00
24 lines
792 B
TypeScript
24 lines
792 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 SecretRotationV2SecretMappingsSchema = z.object({
|
|
id: z.string().uuid(),
|
|
secretId: z.string().uuid(),
|
|
rotationId: z.string().uuid()
|
|
});
|
|
|
|
export type TSecretRotationV2SecretMappings = z.infer<typeof SecretRotationV2SecretMappingsSchema>;
|
|
export type TSecretRotationV2SecretMappingsInsert = Omit<
|
|
z.input<typeof SecretRotationV2SecretMappingsSchema>,
|
|
TImmutableDBKeys
|
|
>;
|
|
export type TSecretRotationV2SecretMappingsUpdate = Partial<
|
|
Omit<z.input<typeof SecretRotationV2SecretMappingsSchema>, TImmutableDBKeys>
|
|
>;
|