Skip to content

Commit 134bce2

Browse files
chore: update sample directory link
Revert "fix: update sample directory link (#1853)" This reverts commit 270f3abf028c63ba3668380329ff532c1c21ed93. Source-Link: googleapis/synthtool@a9808dd Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:2feb2cd10b64d2b1623f7c6353aa87449e46aa1548024c657c3baf974d37cf38
1 parent 81d4423 commit 134bce2

File tree

13 files changed

+119
-116
lines changed

13 files changed

+119
-116
lines changed

.github/.OwlBot.lock.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2022 Google LLC
1+
# Copyright 2023 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.
@@ -13,5 +13,5 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest
16-
digest: sha256:b15a6f06cc06dcffa11e1bebdf1a74b6775a134aac24a0f86f51ddf728eb373e
17-
# created: 2022-08-26T22:34:55.905845397Z
16+
digest: sha256:2feb2cd10b64d2b1623f7c6353aa87449e46aa1548024c657c3baf974d37cf38
17+
# created: 2023-09-12T15:49:03.550736555Z

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
node: [12, 14, 16]
12+
node: [12, 14, 16, 18]
1313
steps:
1414
- uses: actions/checkout@v3
1515
- uses: actions/setup-node@v3

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ also contains samples.
117117

118118
## Supported Node.js Versions
119119

120-
Our client libraries follow the [Node.js release schedule](https://nodejs.org/en/about/releases/).
120+
Our client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule).
121121
Libraries are compatible with all current _active_ and _maintenance_ versions of
122122
Node.js.
123123
If you are using an end-of-life version of Node.js, we recommend that you update

dev/src/bulk-writer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -942,8 +942,8 @@ export class BulkWriter {
942942
);
943943

944944
// Use the write with the longest backoff duration when determining backoff.
945-
const highestBackoffDuration = pendingBatch.pendingOps.reduce((prev, cur) =>
946-
prev.backoffDuration > cur.backoffDuration ? prev : cur
945+
const highestBackoffDuration = pendingBatch.pendingOps.reduce(
946+
(prev, cur) => (prev.backoffDuration > cur.backoffDuration ? prev : cur)
947947
).backoffDuration;
948948
const backoffMsWithJitter = BulkWriter._applyJitter(highestBackoffDuration);
949949
const delayedExecution = new Deferred<void>();

dev/src/v1/firestore_admin_client.ts

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ export class FirestoreAdminClient {
527527
[
528528
protos.google.firestore.admin.v1.IIndex,
529529
protos.google.firestore.admin.v1.IGetIndexRequest | undefined,
530-
{} | undefined
530+
{} | undefined,
531531
]
532532
>;
533533
getIndex(
@@ -565,7 +565,7 @@ export class FirestoreAdminClient {
565565
[
566566
protos.google.firestore.admin.v1.IIndex,
567567
protos.google.firestore.admin.v1.IGetIndexRequest | undefined,
568-
{} | undefined
568+
{} | undefined,
569569
]
570570
> | void {
571571
request = request || {};
@@ -610,7 +610,7 @@ export class FirestoreAdminClient {
610610
[
611611
protos.google.protobuf.IEmpty,
612612
protos.google.firestore.admin.v1.IDeleteIndexRequest | undefined,
613-
{} | undefined
613+
{} | undefined,
614614
]
615615
>;
616616
deleteIndex(
@@ -650,7 +650,7 @@ export class FirestoreAdminClient {
650650
[
651651
protos.google.protobuf.IEmpty,
652652
protos.google.firestore.admin.v1.IDeleteIndexRequest | undefined,
653-
{} | undefined
653+
{} | undefined,
654654
]
655655
> | void {
656656
request = request || {};
@@ -695,7 +695,7 @@ export class FirestoreAdminClient {
695695
[
696696
protos.google.firestore.admin.v1.IField,
697697
protos.google.firestore.admin.v1.IGetFieldRequest | undefined,
698-
{} | undefined
698+
{} | undefined,
699699
]
700700
>;
701701
getField(
@@ -733,7 +733,7 @@ export class FirestoreAdminClient {
733733
[
734734
protos.google.firestore.admin.v1.IField,
735735
protos.google.firestore.admin.v1.IGetFieldRequest | undefined,
736-
{} | undefined
736+
{} | undefined,
737737
]
738738
> | void {
739739
request = request || {};
@@ -778,7 +778,7 @@ export class FirestoreAdminClient {
778778
[
779779
protos.google.firestore.admin.v1.IDatabase,
780780
protos.google.firestore.admin.v1.IGetDatabaseRequest | undefined,
781-
{} | undefined
781+
{} | undefined,
782782
]
783783
>;
784784
getDatabase(
@@ -818,7 +818,7 @@ export class FirestoreAdminClient {
818818
[
819819
protos.google.firestore.admin.v1.IDatabase,
820820
protos.google.firestore.admin.v1.IGetDatabaseRequest | undefined,
821-
{} | undefined
821+
{} | undefined,
822822
]
823823
> | void {
824824
request = request || {};
@@ -863,7 +863,7 @@ export class FirestoreAdminClient {
863863
[
864864
protos.google.firestore.admin.v1.IListDatabasesResponse,
865865
protos.google.firestore.admin.v1.IListDatabasesRequest | undefined,
866-
{} | undefined
866+
{} | undefined,
867867
]
868868
>;
869869
listDatabases(
@@ -903,7 +903,7 @@ export class FirestoreAdminClient {
903903
[
904904
protos.google.firestore.admin.v1.IListDatabasesResponse,
905905
protos.google.firestore.admin.v1.IListDatabasesRequest | undefined,
906-
{} | undefined
906+
{} | undefined,
907907
]
908908
> | void {
909909
request = request || {};
@@ -960,7 +960,7 @@ export class FirestoreAdminClient {
960960
protos.google.firestore.admin.v1.IIndexOperationMetadata
961961
>,
962962
protos.google.longrunning.IOperation | undefined,
963-
{} | undefined
963+
{} | undefined,
964964
]
965965
>;
966966
createIndex(
@@ -1013,7 +1013,7 @@ export class FirestoreAdminClient {
10131013
protos.google.firestore.admin.v1.IIndexOperationMetadata
10141014
>,
10151015
protos.google.longrunning.IOperation | undefined,
1016-
{} | undefined
1016+
{} | undefined,
10171017
]
10181018
> | void {
10191019
request = request || {};
@@ -1114,7 +1114,7 @@ export class FirestoreAdminClient {
11141114
protos.google.firestore.admin.v1.IFieldOperationMetadata
11151115
>,
11161116
protos.google.longrunning.IOperation | undefined,
1117-
{} | undefined
1117+
{} | undefined,
11181118
]
11191119
>;
11201120
updateField(
@@ -1167,7 +1167,7 @@ export class FirestoreAdminClient {
11671167
protos.google.firestore.admin.v1.IFieldOperationMetadata
11681168
>,
11691169
protos.google.longrunning.IOperation | undefined,
1170-
{} | undefined
1170+
{} | undefined,
11711171
]
11721172
> | void {
11731173
request = request || {};
@@ -1272,7 +1272,7 @@ export class FirestoreAdminClient {
12721272
protos.google.firestore.admin.v1.IExportDocumentsMetadata
12731273
>,
12741274
protos.google.longrunning.IOperation | undefined,
1275-
{} | undefined
1275+
{} | undefined,
12761276
]
12771277
>;
12781278
exportDocuments(
@@ -1325,7 +1325,7 @@ export class FirestoreAdminClient {
13251325
protos.google.firestore.admin.v1.IExportDocumentsMetadata
13261326
>,
13271327
protos.google.longrunning.IOperation | undefined,
1328-
{} | undefined
1328+
{} | undefined,
13291329
]
13301330
> | void {
13311331
request = request || {};
@@ -1422,7 +1422,7 @@ export class FirestoreAdminClient {
14221422
protos.google.firestore.admin.v1.IImportDocumentsMetadata
14231423
>,
14241424
protos.google.longrunning.IOperation | undefined,
1425-
{} | undefined
1425+
{} | undefined,
14261426
]
14271427
>;
14281428
importDocuments(
@@ -1475,7 +1475,7 @@ export class FirestoreAdminClient {
14751475
protos.google.firestore.admin.v1.IImportDocumentsMetadata
14761476
>,
14771477
protos.google.longrunning.IOperation | undefined,
1478-
{} | undefined
1478+
{} | undefined,
14791479
]
14801480
> | void {
14811481
request = request || {};
@@ -1566,7 +1566,7 @@ export class FirestoreAdminClient {
15661566
protos.google.firestore.admin.v1.ICreateDatabaseMetadata
15671567
>,
15681568
protos.google.longrunning.IOperation | undefined,
1569-
{} | undefined
1569+
{} | undefined,
15701570
]
15711571
>;
15721572
createDatabase(
@@ -1619,7 +1619,7 @@ export class FirestoreAdminClient {
16191619
protos.google.firestore.admin.v1.ICreateDatabaseMetadata
16201620
>,
16211621
protos.google.longrunning.IOperation | undefined,
1622-
{} | undefined
1622+
{} | undefined,
16231623
]
16241624
> | void {
16251625
request = request || {};
@@ -1704,7 +1704,7 @@ export class FirestoreAdminClient {
17041704
protos.google.firestore.admin.v1.IUpdateDatabaseMetadata
17051705
>,
17061706
protos.google.longrunning.IOperation | undefined,
1707-
{} | undefined
1707+
{} | undefined,
17081708
]
17091709
>;
17101710
updateDatabase(
@@ -1757,7 +1757,7 @@ export class FirestoreAdminClient {
17571757
protos.google.firestore.admin.v1.IUpdateDatabaseMetadata
17581758
>,
17591759
protos.google.longrunning.IOperation | undefined,
1760-
{} | undefined
1760+
{} | undefined,
17611761
]
17621762
> | void {
17631763
request = request || {};
@@ -1847,7 +1847,7 @@ export class FirestoreAdminClient {
18471847
[
18481848
protos.google.firestore.admin.v1.IIndex[],
18491849
protos.google.firestore.admin.v1.IListIndexesRequest | null,
1850-
protos.google.firestore.admin.v1.IListIndexesResponse
1850+
protos.google.firestore.admin.v1.IListIndexesResponse,
18511851
]
18521852
>;
18531853
listIndexes(
@@ -1887,7 +1887,7 @@ export class FirestoreAdminClient {
18871887
[
18881888
protos.google.firestore.admin.v1.IIndex[],
18891889
protos.google.firestore.admin.v1.IListIndexesRequest | null,
1890-
protos.google.firestore.admin.v1.IListIndexesResponse
1890+
protos.google.firestore.admin.v1.IListIndexesResponse,
18911891
]
18921892
> | void {
18931893
request = request || {};
@@ -2054,7 +2054,7 @@ export class FirestoreAdminClient {
20542054
[
20552055
protos.google.firestore.admin.v1.IField[],
20562056
protos.google.firestore.admin.v1.IListFieldsRequest | null,
2057-
protos.google.firestore.admin.v1.IListFieldsResponse
2057+
protos.google.firestore.admin.v1.IListFieldsResponse,
20582058
]
20592059
>;
20602060
listFields(
@@ -2094,7 +2094,7 @@ export class FirestoreAdminClient {
20942094
[
20952095
protos.google.firestore.admin.v1.IField[],
20962096
protos.google.firestore.admin.v1.IListFieldsRequest | null,
2097-
protos.google.firestore.admin.v1.IListFieldsResponse
2097+
protos.google.firestore.admin.v1.IListFieldsResponse,
20982098
]
20992099
> | void {
21002100
request = request || {};

0 commit comments

Comments
 (0)