mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-18 16:40:14 +00:00
25 lines
830 B
TypeScript
25 lines
830 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 CertificateAuthoritiesSchema = z.object({
|
|
id: z.string().uuid(),
|
|
createdAt: z.date(),
|
|
updatedAt: z.date(),
|
|
projectId: z.string(),
|
|
status: z.string(),
|
|
enableDirectIssuance: z.boolean().default(true),
|
|
name: z.string()
|
|
});
|
|
|
|
export type TCertificateAuthorities = z.infer<typeof CertificateAuthoritiesSchema>;
|
|
export type TCertificateAuthoritiesInsert = Omit<z.input<typeof CertificateAuthoritiesSchema>, TImmutableDBKeys>;
|
|
export type TCertificateAuthoritiesUpdate = Partial<
|
|
Omit<z.input<typeof CertificateAuthoritiesSchema>, TImmutableDBKeys>
|
|
>;
|