Skip to content

Commit

Permalink
fix: table title can have null relationships (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbostock authored Sep 2, 2024
1 parent 0019bdc commit 40553d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/BlockStruct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ const TableTitleBlockSchema = BlockBaseSchema.extend({
Relationships: object({
Type: literal('CHILD'),
Ids: string().array(),
}).array(),
})
.array()
.nullable(),
});
export type TableTitleBlock = zinfer<typeof TableTitleBlockSchema>;

Expand Down

0 comments on commit 40553d0

Please sign in to comment.