RO into IO merge as of 02/05/2024.

This commit is contained in:
Patrick Fic
2024-02-12 12:22:05 -08:00
211 changed files with 31134 additions and 25729 deletions

View File

@@ -1,7 +1,7 @@
{
"functions": {
"predeploy": [
"npm --prefix \"$RESOURCE_DIR\" run lint"
"npm --prefix \"$RESOURCE_DIR\" run lint"
]
}
}

View File

@@ -28,16 +28,4 @@ exports.processSignUp = functions.auth.user().onCreate((user) => {
// Set custom user claims on this newly created user.
return admin.auth().setCustomUserClaims(user.uid, customClaims);
//exports.test = functions.auth.
// .then(() => {
// // Update real-time database to notify client to force refresh.
// const metadataRef = admin.database().ref("metadata/" + user.uid);
// // Set the refresh time to the current UTC timestamp.
// // This will be captured on the client to force a token refresh.
// return metadataRef.set({ refreshTime: new Date().getTime() });
// })
// .catch(error => {
// console.log(error);
// });
});

View File

@@ -4,6 +4,7 @@
"requires": true,
"packages": {
"": {
"name": "functions",
"dependencies": {
"firebase-admin": "^9.5.0",
"firebase-functions": "^3.13.2"