Skip to content

Commit

Permalink
fix: change schema to support wider variety of array_output (#561)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimniels authored Jun 13, 2023
1 parent 4aa1cef commit 7107338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schemas/GridFileV1_2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import z from 'zod';
import { GridFileV1_1 } from './GridFileV1_1';

// Shared schemas
const ArrayOutputBaseSchema = z.array(z.union([z.string(), z.number(), z.boolean(), z.null()]));
const ArrayOutputBaseSchema = z.array(z.any());
const BorderDirectionSchema = z.object({
color: z.string().optional(),
type: z.enum(['line1', 'line2', 'line3', 'dotted', 'dashed', 'double']).optional(),
Expand Down

1 comment on commit 7107338

@vercel
Copy link

@vercel vercel bot commented on 7107338 Jun 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

quadratic – ./

quadratic-git-main-quadratic.vercel.app
quadratic-quadratic.vercel.app
quadratic-nu.vercel.app

Please sign in to comment.