mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 07:35:09 +00:00
20 lines
738 B
TypeScript
20 lines
738 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 SecretRotationOutputsSchema = z.object({
|
|
id: z.string().uuid(),
|
|
key: z.string(),
|
|
secretId: z.string().uuid(),
|
|
rotationId: z.string().uuid()
|
|
});
|
|
|
|
export type TSecretRotationOutputs = z.infer<typeof SecretRotationOutputsSchema>;
|
|
export type TSecretRotationOutputsInsert = Omit<z.input<typeof SecretRotationOutputsSchema>, TImmutableDBKeys>;
|
|
export type TSecretRotationOutputsUpdate = Partial<Omit<z.input<typeof SecretRotationOutputsSchema>, TImmutableDBKeys>>;
|