aboutsummaryrefslogtreecommitdiff
path: root/src/server/authentication/DashUserModel.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-01-15 13:07:06 -0500
committerbobzel <zzzman@gmail.com>2025-01-15 13:07:06 -0500
commit53dfafd330013eab20d93ac87dd82c59c8b17cce (patch)
treebb0b34e78f6d425746719266060d4be980cc7b64 /src/server/authentication/DashUserModel.ts
parent85f60319ba7020b2976ed1063915a145a09ab381 (diff)
parent205fdacf9807be2691e13e1d9d04d6b98620391a (diff)
Merge branch 'eleanor-gptdraw' into eleanor-gptdraw-tester
Diffstat (limited to 'src/server/authentication/DashUserModel.ts')
-rw-r--r--src/server/authentication/DashUserModel.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/server/authentication/DashUserModel.ts b/src/server/authentication/DashUserModel.ts
index bfa6d7bdb..debeef60c 100644
--- a/src/server/authentication/DashUserModel.ts
+++ b/src/server/authentication/DashUserModel.ts
@@ -9,6 +9,9 @@ export type DashUserModel = mongoose.Document & {
passwordResetToken?: string;
passwordResetExpires?: Date;
+ dropboxRefresh?: string;
+ dropboxToken?: string;
+
userDocumentId: string;
sharingDocumentId: string;
linkDatabaseId: string;
@@ -37,6 +40,8 @@ const userSchema = new mongoose.Schema(
passwordResetToken: String,
passwordResetExpires: Date,
+ dropboxRefresh: String,
+ dropboxToken: String,
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
linkDatabaseId: String,