From a33bcb46438f45cefeea33676c1957125a7a67f2 Mon Sep 17 00:00:00 2001 From: Alex Bostock Date: Mon, 2 Sep 2024 12:16:54 +0100 Subject: [PATCH] fix: table title can have null relationships --- src/BlockStruct.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/BlockStruct.ts b/src/BlockStruct.ts index 06e66dc..a154b77 100644 --- a/src/BlockStruct.ts +++ b/src/BlockStruct.ts @@ -110,7 +110,9 @@ const TableTitleBlockSchema = BlockBaseSchema.extend({ Relationships: object({ Type: literal('CHILD'), Ids: string().array(), - }).array(), + }) + .array() + .nullable(), }); export type TableTitleBlock = zinfer;