mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 20:25:43 +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 { TImmutableDBKeys } from "./models";
|
|
|
|
export const ProjectMicrosoftTeamsConfigsSchema = z.object({
|
|
id: z.string().uuid(),
|
|
projectId: z.string(),
|
|
microsoftTeamsIntegrationId: z.string().uuid(),
|
|
isAccessRequestNotificationEnabled: z.boolean().default(false),
|
|
isSecretRequestNotificationEnabled: z.boolean().default(false),
|
|
accessRequestChannels: z.unknown(),
|
|
secretRequestChannels: z.unknown(),
|
|
createdAt: z.date(),
|
|
updatedAt: z.date()
|
|
});
|
|
|
|
export type TProjectMicrosoftTeamsConfigs = z.infer<typeof ProjectMicrosoftTeamsConfigsSchema>;
|
|
export type TProjectMicrosoftTeamsConfigsInsert = Omit<
|
|
z.input<typeof ProjectMicrosoftTeamsConfigsSchema>,
|
|
TImmutableDBKeys
|
|
>;
|
|
export type TProjectMicrosoftTeamsConfigsUpdate = Partial<
|
|
Omit<z.input<typeof ProjectMicrosoftTeamsConfigsSchema>, TImmutableDBKeys>
|
|
>;
|