Skip to content

Commit

Permalink
remove unused file and update zod schema
Browse files Browse the repository at this point in the history
  • Loading branch information
gitstart-twenty committed Sep 6, 2024
1 parent 91331b8 commit cbc45d6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 81 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import { FieldArrayValue } from '@/object-record/record-field/types/FieldMetadata';
import { z } from 'zod';

export const arraySchema = z.union([
z.null(),
z.array(z.any()),
z.record(z.any()),
]);
export const arraySchema = z.union([z.null(), z.array(z.string())]);

export const isFieldArrayValue = (
fieldValue: unknown,
Expand Down

This file was deleted.

0 comments on commit cbc45d6

Please sign in to comment.