mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-18 17:41:16 +00:00
27 lines
931 B
TypeScript
27 lines
931 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 SecretApprovalPoliciesBypassersSchema = z.object({
|
|
id: z.string().uuid(),
|
|
bypasserGroupId: z.string().uuid().nullable().optional(),
|
|
bypasserUserId: z.string().uuid().nullable().optional(),
|
|
policyId: z.string().uuid(),
|
|
createdAt: z.date(),
|
|
updatedAt: z.date()
|
|
});
|
|
|
|
export type TSecretApprovalPoliciesBypassers = z.infer<typeof SecretApprovalPoliciesBypassersSchema>;
|
|
export type TSecretApprovalPoliciesBypassersInsert = Omit<
|
|
z.input<typeof SecretApprovalPoliciesBypassersSchema>,
|
|
TImmutableDBKeys
|
|
>;
|
|
export type TSecretApprovalPoliciesBypassersUpdate = Partial<
|
|
Omit<z.input<typeof SecretApprovalPoliciesBypassersSchema>, TImmutableDBKeys>
|
|
>;
|