mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 15:31:19 +00:00
feat: changed backend-pg to backend
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
// 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 SamlConfigsSchema = z.object({
|
||||
id: z.string().uuid(),
|
||||
authProvider: z.string(),
|
||||
isActive: z.boolean(),
|
||||
encryptedEntryPoint: z.string().nullable().optional(),
|
||||
entryPointIV: z.string().nullable().optional(),
|
||||
entryPointTag: z.string().nullable().optional(),
|
||||
encryptedIssuer: z.string().nullable().optional(),
|
||||
issuerTag: z.string().nullable().optional(),
|
||||
issuerIV: z.string().nullable().optional(),
|
||||
encryptedCert: z.string().nullable().optional(),
|
||||
certIV: z.string().nullable().optional(),
|
||||
certTag: z.string().nullable().optional(),
|
||||
createdAt: z.date(),
|
||||
updatedAt: z.date(),
|
||||
orgId: z.string().uuid(),
|
||||
});
|
||||
|
||||
export type TSamlConfigs = z.infer<typeof SamlConfigsSchema>;
|
||||
export type TSamlConfigsInsert = Omit<TSamlConfigs, TImmutableDBKeys>;
|
||||
export type TSamlConfigsUpdate = Partial<Omit<TSamlConfigs, TImmutableDBKeys>>;
|
||||
Reference in New Issue
Block a user