Skip to content

Commit c469748

Browse files
authored
Merge branch 'master' into ss-admin-auth-features
2 parents d233439 + 7218a08 commit c469748

File tree

28 files changed

+6860
-6247
lines changed

28 files changed

+6860
-6247
lines changed

auth/package-lock.json

Lines changed: 330 additions & 148 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

auth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"compile": "cp ../tsconfig.json.template ./tsconfig.json && tsc"
99
},
1010
"dependencies": {
11-
"firebase-admin": "^9.0.0"
11+
"firebase-admin": "^9.2.0"
1212
}
1313
}

config/package-lock.json

Lines changed: 330 additions & 148 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"compile": "cp ../tsconfig.json.template ./tsconfig.json && tsc"
88
},
99
"dependencies": {
10-
"firebase-admin": "^9.0.0"
10+
"firebase-admin": "^9.2.0"
1111
},
1212
"author": "",
1313
"license": "ISC"

firebaseapp/package-lock.json

Lines changed: 330 additions & 148 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

firebaseapp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
"compile": "cp ../tsconfig.json.template ./tsconfig.json && tsc"
1010
},
1111
"dependencies": {
12-
"firebase-admin": "^9.0.0"
12+
"firebase-admin": "^9.2.0"
1313
}
1414
}

firestore/extend-with-functions/package-lock.json

Lines changed: 408 additions & 1056 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

firestore/extend-with-functions/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"compile": "cp ../../tsconfig.json.template ./tsconfig.json && tsc"
77
},
88
"dependencies": {
9-
"@google-cloud/firestore": "^4.1.1",
10-
"firebase-admin": "^9.0.0",
11-
"firebase-functions": "^3.9.0"
9+
"@google-cloud/firestore": "^4.4.0",
10+
"firebase-admin": "^9.2.0",
11+
"firebase-functions": "^3.11.0"
1212
}
1313
}

firestore/main/index.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,11 @@ async function queryAndFilter(db) {
577577
const nameQueryRes = await citiesRef.where('name', '>=', 'San Francisco').get();
578578
// [END example_filters]
579579

580-
for (const q of [stateQueryRes, populationQueryRes, nameQueryRes]) {
580+
// [START simple_query_not_equal]
581+
const capitalNotFalseRes = await citiesRef.where('capital', '!=', false).get();
582+
// [END simple_query_not_equal]
583+
584+
for (const q of [stateQueryRes, populationQueryRes, nameQueryRes, capitalNotFalseRes]) {
581585
q.forEach(d => {
582586
console.log('Get: ', d);
583587
});
@@ -610,12 +614,17 @@ async function inQueries(db) {
610614
const usaOrJapan = await citiesRef.where('country', 'in', ['USA', 'Japan']).get();
611615
// [END in_filter]
612616

617+
// [START not_in_filter]
618+
const notUsaOrJapan = await citiesRef.where('country', 'not-in', ['USA', 'Japan']).get();
619+
// [END not_in_filter]
620+
613621
// [START in_filter_with_array]
614622
const exactlyOneCoast = await citiesRef.where('region', 'in',
615623
[['west_coast', 'east_coast']]).get();
616624
// [END in_filter_with_array]
617625

618626
console.log('USA or Japan get: ', usaOrJapan);
627+
console.log('Not USA or Japan get: ', notUsaOrJapan);
619628
console.log('Exactly One Coast get: ', exactlyOneCoast);
620629
}
621630

0 commit comments

Comments
 (0)