mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-05 12:26:38 +00:00
remove useless schema
This commit is contained in:
@@ -1,26 +0,0 @@
|
|||||||
// 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 IdentityOciAuthsSchema = z.object({
|
|
||||||
id: z.string().uuid(),
|
|
||||||
accessTokenTTL: z.coerce.number().default(7200),
|
|
||||||
accessTokenMaxTTL: z.coerce.number().default(7200),
|
|
||||||
accessTokenNumUsesLimit: z.coerce.number().default(0),
|
|
||||||
accessTokenTrustedIps: z.unknown(),
|
|
||||||
createdAt: z.date(),
|
|
||||||
updatedAt: z.date(),
|
|
||||||
identityId: z.string().uuid(),
|
|
||||||
type: z.string(),
|
|
||||||
tenancyOcid: z.string(),
|
|
||||||
allowedUsernames: z.string().nullable().optional()
|
|
||||||
});
|
|
||||||
|
|
||||||
export type TIdentityOciAuths = z.infer<typeof IdentityOciAuthsSchema>;
|
|
||||||
export type TIdentityOciAuthsInsert = Omit<z.input<typeof IdentityOciAuthsSchema>, TImmutableDBKeys>;
|
|
||||||
export type TIdentityOciAuthsUpdate = Partial<Omit<z.input<typeof IdentityOciAuthsSchema>, TImmutableDBKeys>>;
|
|
||||||
Reference in New Issue
Block a user