mirror of
https://github.com/Infisical/infisical.git
synced 2025-08-03 20:23:35 +00:00
21 lines
736 B
TypeScript
21 lines
736 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 KmipClientsSchema = z.object({
|
|
id: z.string().uuid(),
|
|
name: z.string(),
|
|
permissions: z.string().array().nullable().optional(),
|
|
description: z.string().nullable().optional(),
|
|
projectId: z.string()
|
|
});
|
|
|
|
export type TKmipClients = z.infer<typeof KmipClientsSchema>;
|
|
export type TKmipClientsInsert = Omit<z.input<typeof KmipClientsSchema>, TImmutableDBKeys>;
|
|
export type TKmipClientsUpdate = Partial<Omit<z.input<typeof KmipClientsSchema>, TImmutableDBKeys>>;
|