Skip to content

Commit 40553d0

Browse files
authored
fix: table title can have null relationships (#76)
1 parent 0019bdc commit 40553d0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/BlockStruct.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ const TableTitleBlockSchema = BlockBaseSchema.extend({
110110
Relationships: object({
111111
Type: literal('CHILD'),
112112
Ids: string().array(),
113-
}).array(),
113+
})
114+
.array()
115+
.nullable(),
114116
});
115117
export type TableTitleBlock = zinfer<typeof TableTitleBlockSchema>;
116118

0 commit comments

Comments
 (0)