From 0e3956a46da20f852c03a2ebe4ce84a6cdd540aa Mon Sep 17 00:00:00 2001 From: zkldi Date: Mon, 3 May 2021 19:14:13 +0100 Subject: [PATCH] add tableIndex property to folders for sorting --- common/js/types.d.ts | 3 ++- common/src/types.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/common/js/types.d.ts b/common/js/types.d.ts index e71ac2e00..72bf727b9 100644 --- a/common/js/types.d.ts +++ b/common/js/types.d.ts @@ -711,7 +711,8 @@ export interface FolderDocument extends MongoDBDocument { body: Record; }; folderID: string; - table: string; + table: string | null; + tableIndex: integer | null; } export interface UserMilestoneDocument extends MongoDBDocument { milestoneID: string; diff --git a/common/src/types.ts b/common/src/types.ts index 64ae82ee9..c5d30be21 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -890,7 +890,8 @@ export interface FolderDocument extends MongoDBDocument { body: Record; }; folderID: string; - table: string; + table: string | null; + tableIndex: integer | null; } export interface UserMilestoneDocument extends MongoDBDocument {