Skip to content

Instantly share code, notes, and snippets.

@heukirne
Created August 6, 2014 18:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save heukirne/39de293c0fcf832c476a to your computer and use it in GitHub Desktop.
Save heukirne/39de293c0fcf832c476a to your computer and use it in GitHub Desktop.
sharelatex user structure
> db.users.findOne();
{
"__v" : 0,
"_id" : ObjectId("53e10cc175dd421727dfc821"),
"ace" : {
"pdfViewer" : "pdfjs",
"spellCheckLanguage" : "en",
"autoComplete" : true,
"fontSize" : 12,
"theme" : "textmate",
"mode" : "none"
},
"confirmed" : false,
"email" : "henrique@gmail.org",
"featureSwitches" : {
"dropbox" : true
},
"features" : {
"dropbox" : true,
"versioning" : true,
"collaborators" : -1
},
"first_name" : "henrique",
"hashedPassword" : "$2a$07$UcI4ygGPCI6aN4PDYwybZesdfewFADSwnD6ukzh1SFnhB6Vi",
"holdingAccount" : false,
"institution" : "",
"isAdmin" : true,
"lastLoggedIn" : ISODate("2014-08-06T17:52:20.719Z"),
"last_name" : "",
"loginCount" : 7,
"referal_id" : "583149ea",
"refered_user_count" : 0,
"refered_users" : [ ],
"role" : "",
"signUpDate" : ISODate("2014-08-05T16:56:33.779Z"),
"subscription" : {
"hadFreeTrial" : false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment