Skip to content

Commit

Permalink
✏️ update schema for contacts
Browse files Browse the repository at this point in the history
  • Loading branch information
LemonaOna committed Oct 29, 2024
1 parent 022d7a2 commit 9742c0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/schemas/contacts.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { z } from 'zod';
import { IntegrationEntityType } from '../models/integration-entity.model';
import { IntegrationEntityType } from '../models/integration-entity.model'; // export const contactsSchema: ValidationSchema = {

// export const contactsSchema: ValidationSchema = {
// title: 'Contacts',
Expand Down Expand Up @@ -70,8 +70,8 @@ const integrationEntitySchema = z.object({
id: z.string(),
type: z.nativeEnum(IntegrationEntityType),
source: z.string(),
label: z.string().optional(),
logId: z.string().optional(),
label: z.string().optional().nullable(),
logId: z.string().optional().nullable(),
});

export const contactSchema = z.object({
Expand Down

0 comments on commit 9742c0f

Please sign in to comment.