We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 022d7a2 commit 9742c0fCopy full SHA for 9742c0f
src/schemas/contacts.ts
@@ -1,5 +1,5 @@
1
import { z } from 'zod';
2
-import { IntegrationEntityType } from '../models/integration-entity.model';
+import { IntegrationEntityType } from '../models/integration-entity.model'; // export const contactsSchema: ValidationSchema = {
3
4
// export const contactsSchema: ValidationSchema = {
5
// title: 'Contacts',
@@ -70,8 +70,8 @@ const integrationEntitySchema = z.object({
70
id: z.string(),
71
type: z.nativeEnum(IntegrationEntityType),
72
source: z.string(),
73
- label: z.string().optional(),
74
- logId: z.string().optional(),
+ label: z.string().optional().nullable(),
+ logId: z.string().optional().nullable(),
75
});
76
77
export const contactSchema = z.object({
0 commit comments