From ff87bc5c99cc230643ea2d969a2129275cb8a2f5 Mon Sep 17 00:00:00 2001 From: Luka Dornhecker Date: Sun, 19 May 2024 21:58:59 +0200 Subject: [PATCH] make content optional in Node type --- assets/js/hooks/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/hooks/types.ts b/assets/js/hooks/types.ts index 4602ec4c..ebe87604 100644 --- a/assets/js/hooks/types.ts +++ b/assets/js/hooks/types.ts @@ -2,7 +2,7 @@ export type UUID = `${string}-${string}-${string}-${string}-${string}`; export interface Node { uuid: UUID; - content: string; + content?: string; creator_id?: number; parent_id?: UUID; prev_id?: UUID;