-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
BenjaVR
committed
Dec 24, 2018
1 parent
8aa1021
commit 023cb0b
Showing
38 changed files
with
632 additions
and
1,437 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
{ | ||
"files.associations": { | ||
".firebaserc": "jsonc" | ||
} | ||
}, | ||
"npm.packageManager": "yarn", | ||
"typescript.tsdk": "node_modules\\typescript\\lib" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
service cloud.firestore { | ||
match /databases/{database}/documents { | ||
match /{document=**} { | ||
allow read: if request.auth.uid != null; | ||
allow write: if false; | ||
allow read, write: if exists(/databases/$(database)/documents/users/$(request.auth.uid)); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
{ | ||
"name": "@studentplanner/functions", | ||
"version": "1.0.0", | ||
"scripts": { | ||
"lint": "tslint --project tsconfig.json", | ||
"build": "tsc --skipLibCheck", | ||
"build:watch": "tsc -w --skipLibCheck", | ||
"serve": "npm run build && firebase serve --only functions", | ||
"shell": "npm run build && firebase functions:shell", | ||
"start": "npm run shell", | ||
"deploy": "firebase deploy --only functions", | ||
"logs": "firebase functions:log" | ||
}, | ||
"main": "dist/index.js", | ||
"dependencies": { | ||
"firebase-admin": "~6.0.0", | ||
"firebase-functions": "^2.1.0" | ||
}, | ||
"devDependencies": { | ||
"tslint": "~5.8.0", | ||
"typescript": "~2.8.3" | ||
}, | ||
"private": true | ||
"name": "studentplanner-functions", | ||
"version": "1.0.0", | ||
"private": true, | ||
"scripts": { | ||
"lint": "tslint --project tsconfig.json", | ||
"build": "tsc", | ||
"build:watch": "tsc -w", | ||
"serve": "npm run build && firebase serve --only functions", | ||
"shell": "npm run build && firebase functions:shell", | ||
"start": "npm run shell", | ||
"deploy": "firebase deploy --only functions", | ||
"logs": "firebase functions:log" | ||
}, | ||
"main": "dist/index.js", | ||
"dependencies": { | ||
"firebase-admin": "6.4.0", | ||
"firebase-functions": "2.1.0" | ||
}, | ||
"devDependencies": { | ||
"tslint": "5.12.0", | ||
"typescript": "3.2.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
{ | ||
"name": "studentplanner", | ||
"private": true, | ||
"version": "1.0.0", | ||
"scripts": { | ||
"build-web": "npm --prefix web run start", | ||
"build-functions": "npm --prefix functions run build:watch", | ||
"build": "npm-run-all --continue-on-error --parallel build-functions build-web" | ||
}, | ||
"repository": "git+https://github.com/BenjaVR/StudentPlanner.git", | ||
"author": "Benjamin Van Renterghem", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/BenjaVR/StudentPlanner/issues" | ||
}, | ||
"homepage": "https://github.com/BenjaVR/StudentPlanner#readme", | ||
"devDependencies": { | ||
"npm-run-all": "^4.1.5" | ||
}, | ||
"workspaces": [ | ||
"functions", "web" | ||
] | ||
"name": "studentplanner", | ||
"private": true, | ||
"version": "1.0.0", | ||
"scripts": { | ||
"build-web": "npm --prefix web run start", | ||
"build-functions": "npm --prefix functions run build:watch", | ||
"build": "npm-run-all --continue-on-error --parallel build-functions build-web", | ||
"deploy": "firebase deploy" | ||
}, | ||
"repository": "git+https://github.com/BenjaVR/StudentPlanner.git", | ||
"author": "Benjamin Van Renterghem", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/BenjaVR/StudentPlanner/issues" | ||
}, | ||
"homepage": "https://github.com/BenjaVR/StudentPlanner#readme", | ||
"devDependencies": { | ||
"npm-run-all": "4.1.5" | ||
}, | ||
"workspaces": [ | ||
"web", | ||
"functions" | ||
] | ||
} |
Oops, something went wrong.