mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-18 13:15:39 +00:00
30 lines
1.0 KiB
TypeScript
30 lines
1.0 KiB
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 { zodBuffer } from "@app/lib/zod";
|
|
|
|
import { TImmutableDBKeys } from "./models";
|
|
|
|
export const ExternalCertificateAuthoritiesSchema = z.object({
|
|
id: z.string().uuid(),
|
|
type: z.string(),
|
|
appConnectionId: z.string().uuid().nullable().optional(),
|
|
dnsAppConnectionId: z.string().uuid().nullable().optional(),
|
|
caId: z.string().uuid(),
|
|
credentials: zodBuffer.nullable().optional(),
|
|
configuration: z.unknown().nullable().optional()
|
|
});
|
|
|
|
export type TExternalCertificateAuthorities = z.infer<typeof ExternalCertificateAuthoritiesSchema>;
|
|
export type TExternalCertificateAuthoritiesInsert = Omit<
|
|
z.input<typeof ExternalCertificateAuthoritiesSchema>,
|
|
TImmutableDBKeys
|
|
>;
|
|
export type TExternalCertificateAuthoritiesUpdate = Partial<
|
|
Omit<z.input<typeof ExternalCertificateAuthoritiesSchema>, TImmutableDBKeys>
|
|
>;
|