aboutsummaryrefslogtreecommitdiff
path: root/src/server/authentication/DashUserModel.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-10-08 19:54:52 -0400
committerbobzel <zzzman@gmail.com>2020-10-08 19:54:52 -0400
commitc63d7ab902135165eaafc89bcea15805ff10f11b (patch)
tree7831cfc1fc726b51c7f40803ea2d20173f43986b /src/server/authentication/DashUserModel.ts
parent3fe20d8730cf0d18fa18956105ee92cf434b6350 (diff)
load entire DB in one message.
Diffstat (limited to 'src/server/authentication/DashUserModel.ts')
-rw-r--r--src/server/authentication/DashUserModel.ts2
1 files changed, 2 insertions, 0 deletions
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,