-
Notifications
You must be signed in to change notification settings - Fork 1
4. Database Document Schemas
Including this document for future developers of the project down the road, or for administrators with access to our raw Firebase dashboard in case it's needed.
/admin/authorized :
emails: [string {representing authorized emails}]
/categories/{category} :
minRole: string {representing role}
name: string
/categories/{category}/prints/{randomID} :
classFor: string
description: string
email: string
fileID: string {tied with Cloud Storage and other files}
location: string {category}
material: string
name: string
printPurpose: string
purpose: string (additional information about purpose)
selectedFile: string (name of selected file)
status: string (one of "pending", "printing", or "printed")
teacherOfClass: string
timestamp: timestamp
userDisplayName: string
userID: string
/files/{fileID} :
date: string (ISO timestamp)
desc: string (description)
filename: string ({ISO timestamp}!!{userID})
name: string
userID: string
userName: string
/printers/{printerName} :
category: string
currentPrint: null (not implemented as of 5/14)
material: string (not implemented as of 5/14)
status: string (one of "good", "printing", "wait", "no service")
timeToDone: string (ISO timestamp of when printing file is done)