Closed yuliswe closed 7 years ago
With switching between offline/online, that's just calling sync...
I'm happy to merge this so long as @kpalway approves also -- with the understanding that this merge is missing bits that are not necessary for @kpsuperplane and @Happytofu right now.
If you can wait, merge tomorrow afternoon.
I'm fine with merging so we can keep moving on other things
I made requested changes. Feel free to merge.
Use this to continue your frontend developement.
How to use
Import {Storage} from "helpers/Storage.ts"
. This is your entry point. You shouldn't need any file in thehelpers/Storage/*
. If there is any, please add and re-export fromhelpers/Storage.ts
instead of including from subdirectories. (In case of internal changes we don't break anything outside the directory.)To get a
Connection
object,import "helpers/Login"
You can safely use any function in
helpers/Storage/Interface.ts
Please refer to
ProjectID
andFileID
instead of file and project names. We will need to change the backend to use integer ids later. Current File id is[string, string]
, so you'll have to useR.equals
to compare.==
only compares addresses.What's tested:
helpers/Storage/Interface.ts
https://www.student.cs.uwaterloo.ca/~yourid/cs136/seashell
)To do:
Please squash merge.