Skip to content

Commit 2500a99

Browse files
schmidt-sebastianBrian Chenwu-hui
authored
feat!: Drop Node 8 support (#1006)
* fix!: mark v1beta1 client as deprecated (#937) * feat!: use QueryDocumentSnapshot in FirestoreDataConverter (#965) * deps: update to gts 2.x (#1013) * chore!: update settings for Node 10 (#1019) * deps: drop through2 (#1014) * feat: support BigInt (#1016) * fix: make update.sh work on Linux (#1043) * fix: only use BigInt in BigInt system test (#1044) * fix: make pbjs compile admin proto again (#1045) * Add BulkWriter (#1055) * docs: Add documentation for FirestoreDataConverter (#1059) * chore: enforce return types (#1065) * fix: add generic to Firestore.getAll() (#1066) * chore: remove internal WriteOp (#1067) * chore: add linter checks for it|describe.only (#1068) * fix: handle terminate in BulkWriter (#1070) * chore: run template copying last in synthtool (#1071) * feat: Firestore Bundles implementation (#1078) * feat: add support for set() with SetOptions when using FirestoreDataConverter (#1087) * feat: Add totalDocuments and totalBytes to bundle metadata. (#1085) * feat: Add totalDocuments and totalBytes to bundle metadata. * fix: Better comment * fix: Better testing. * fix: Improve metadata testing. * fix: incomplete expect in rate-limiter test (#1092) * Remove BatchWrite proto, fix conformance tests * chore: use public API types internally (#1100) * feat: add Partition and BatchWrite protos (#1110) * fix: remove GCF transaction fallback (#1112) * fix: add BulkWriter integration tests, java backport changes, delete fix (#1117) * chore: merge master (#1218) * chore: add eslint check for console.log statements (#1229) * fix: another attempt at fixing the flaky BulkWriter test (#1228) * Fix comment * Renames * Test fix * Fix unit tests Co-authored-by: Brian Chen <chenbrian@google.com> Co-authored-by: wu-hui <53845758+wu-hui@users.noreply.github.com>
1 parent 4333c79 commit 2500a99

87 files changed

Lines changed: 60884 additions & 24380 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"extends": "./node_modules/gts",
3+
"overrides": [
4+
{
5+
"files": [
6+
"dev/src/*.ts"
7+
],
8+
"parser": "@typescript-eslint/parser",
9+
"rules": {
10+
"@typescript-eslint/explicit-function-return-type": [
11+
"error",
12+
{
13+
"allowExpressions": true,
14+
"allowTypedFunctionExpressions": true
15+
}
16+
],
17+
"no-console": ["error", {"allow": ["error"]}]
18+
}
19+
},
20+
{
21+
"files": [
22+
"dev/test/*.ts",
23+
"dev/system-test/*.ts"
24+
],
25+
"parser": "@typescript-eslint/parser",
26+
"rules": {
27+
"no-restricted-properties": [
28+
"error",
29+
{
30+
"object": "describe",
31+
"property": "only"
32+
},
33+
{
34+
"object": "it",
35+
"property": "only"
36+
}
37+
]
38+
}
39+
}
40+
]
41+
}

handwritten/firestore/.eslintrc.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

handwritten/firestore/.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
**/*.log
22
**/node_modules
33
.coverage
4+
coverage
45
.nyc_output
56
docs/
67
out/
8+
build/
79
system-test/secrets.js
810
system-test/*key.json
911
*.lock
10-
build/
11-
package-lock.json
1212
.DS_Store
13+
package-lock.json
1314
__pycache__

handwritten/firestore/.jsdoc.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2019 Google LLC
1+
// Copyright 2020 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -34,18 +34,19 @@ module.exports = {
3434
source: {
3535
excludePattern: '(^|\\/|\\\\)[._]',
3636
include: [
37-
'build/src'
37+
'build/src',
38+
'build/protos'
3839
],
3940
includePattern: '\\.js$'
4041
},
4142
templates: {
42-
copyright: 'Copyright 2019 Google, LLC.',
43+
copyright: 'Copyright 2020 Google LLC',
4344
includeDate: false,
4445
sourceFiles: false,
4546
systemName: '@google-cloud/firestore',
4647
theme: 'lumen',
4748
default: {
48-
"outputSourceFiles": false
49+
outputSourceFiles: false
4950
}
5051
},
5152
markdown: {

handwritten/firestore/.prettierrc

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Copyright 2020 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
module.exports = {
16+
...require('gts/.prettierrc.json')
17+
}

handwritten/firestore/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ async function quickstart() {
8585
console.log('Updated an existing document');
8686

8787
// Read the document.
88-
let doc = await document.get();
88+
const doc = await document.get();
8989
console.log('Read the document');
9090

9191
// Delete the document.

handwritten/firestore/dev/.gitignore

Lines changed: 0 additions & 14 deletions
This file was deleted.

handwritten/firestore/dev/.mocharc.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

handwritten/firestore/dev/conformance/.eslintrc.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)