From c63d7ab902135165eaafc89bcea15805ff10f11b Mon Sep 17 00:00:00 2001 From: bobzel Date: Thu, 8 Oct 2020 19:54:52 -0400 Subject: load entire DB in one message. --- src/server/authentication/DashUserModel.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/server/authentication/DashUserModel.ts') diff --git a/src/server/authentication/DashUserModel.ts b/src/server/authentication/DashUserModel.ts index 0bdc25644..4f2856a78 100644 --- a/src/server/authentication/DashUserModel.ts +++ b/src/server/authentication/DashUserModel.ts @@ -11,6 +11,7 @@ export type DashUserModel = mongoose.Document & { userDocumentId: string; sharingDocumentId: string; + cacheDocumentIds: string; profile: { name: string, @@ -38,6 +39,7 @@ const userSchema = new mongoose.Schema({ userDocumentId: String, // id that identifies a document which hosts all of a user's account data sharingDocumentId: String, // id that identifies a document that stores documents shared to a user, their user color, and any additional info needed to communicate between users + cacheDocumentIds: String, facebook: String, twitter: String, -- cgit v1.2.3-70-g09d2