Skip to content

Commit 9742c0f

Browse files
committed
✏️ update schema for contacts
1 parent 022d7a2 commit 9742c0f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/schemas/contacts.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { z } from 'zod';
2-
import { IntegrationEntityType } from '../models/integration-entity.model';
2+
import { IntegrationEntityType } from '../models/integration-entity.model'; // export const contactsSchema: ValidationSchema = {
33

44
// export const contactsSchema: ValidationSchema = {
55
// title: 'Contacts',
@@ -70,8 +70,8 @@ const integrationEntitySchema = z.object({
7070
id: z.string(),
7171
type: z.nativeEnum(IntegrationEntityType),
7272
source: z.string(),
73-
label: z.string().optional(),
74-
logId: z.string().optional(),
73+
label: z.string().optional().nullable(),
74+
logId: z.string().optional().nullable(),
7575
});
7676

7777
export const contactSchema = z.object({

0 commit comments

Comments
 (0)