diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index dc987cdf2..000000000 --- a/.eslintignore +++ /dev/null @@ -1,9 +0,0 @@ -**/node_modules -**/.coverage -build/ -docs/ -protos/ -test-fixtures/ -bazel-*/ -coverage/ -templates/ diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index eb23147be..000000000 --- a/.eslintrc.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "./node_modules/gts" -} diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index 3e1250de1..02d5134a3 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -36,10 +36,6 @@ branchProtectionRules: - lib-tests (12.x, showcase) - lib-tests (12.x, texttospeech) - lib-tests (12.x, translate) - - showcase-test-application (12.x, js) - - showcase-test-application (12.x, ts) - - showcase-test-application (14.x, js) - - showcase-test-application (14.x, ts) # List of explicit permissions to add (additive only) permissionRules: # Team slug to add to repository permissions diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 59ed3eb2c..15159ccb8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -55,15 +55,11 @@ jobs: chmod +x bazel-bin/protoc_plugin.sh ./gapic-error-conformance -plugin="bazel-bin/protoc_plugin.sh" - - name: Run linting - run: bazel run @nodejs//:npm -- run lint - - name: Prepare baseline artifacts run: | - mkdir -p ~/artifacts/test-application-runners - tar cfz ~/artifacts/test-protos.tar.gz -C test-fixtures protos - cp bazel-bin/typescript/test/test-application/test-*.js ~/artifacts/test-application-runners/ + mkdir -p ~/artifacts cp bazel-testlogs/unit_tests/test.outputs/outputs.zip ~/artifacts/ + bazel run -- @pnpm//:pnpm --dir $PWD install tar cfz ~/artifacts/node_modules.tar.gz node_modules - name: Save artifacts @@ -72,42 +68,6 @@ jobs: name: artifacts path: ~/artifacts - showcase-test-application: - needs: build - runs-on: ubuntu-latest - strategy: - matrix: - # Test on the oldest and the newest supported version just in case - node-version: [12.x, 14.x, 16.x] - test: [js, ts] - - steps: - - uses: actions/checkout@v3 - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - - - name: Download artifacts - uses: actions/download-artifact@v3 - with: - name: artifacts - path: ~/artifacts - - - name: Prepare test applications - run: | - rm -f bazel-testlogs - mkdir -p bazel-testlogs/unit_tests/test.outputs - mv ~/artifacts/outputs.zip bazel-testlogs/unit_tests/test.outputs/ - tar xzf ~/artifacts/node_modules.tar.gz - mv ~/artifacts/test-application-runners/test-${{ matrix.test }}.js . - - - name: Run ${{ matrix.test }} test application - run: npx mocha test-${{ matrix.test }}.js - env: - NPM_CONFIG_PREFIX: /tmp/.npm-global - lib-tests: needs: build runs-on: ubuntu-latest @@ -139,6 +99,8 @@ jobs: npm install npm test npm run fix + # Second compile to make sure "gts fix" did not break the code, it happens! + rm -rf build npm run compile npm run system-test npm run docs diff --git a/.gitignore b/.gitignore index 766fb07dc..fc9fc80f6 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ docker/gitlog.txt .test-application-js .test-application-ts bazel-* +.aspect diff --git a/.prettierignore b/.prettierignore deleted file mode 100644 index 69a5029b4..000000000 --- a/.prettierignore +++ /dev/null @@ -1,6 +0,0 @@ -**/node_modules -**/.coverage -build/ -docs/ -protos/ -bazel-*/ diff --git a/.prettierrc.js b/.prettierrc.js deleted file mode 100644 index 21df10709..000000000 --- a/.prettierrc.js +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -module.exports = { - ...require('gts/.prettierrc.json') -} diff --git a/BUILD.bazel b/BUILD.bazel index 24ddaf57d..662ac4a90 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -1,9 +1,10 @@ -package(default_visibility = ["//visibility:public"]) +load("@npm//:defs.bzl", "npm_link_all_packages") +load("@aspect_rules_js//js:defs.bzl", "js_binary", "js_library", "js_test") +load("@aspect_rules_ts//ts:defs.bzl", "ts_project") -exports_files(["tsconfig.json"], visibility = ["//visibility:public"]) +package(default_visibility = ["//visibility:public"]) -load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary", "nodejs_test", "copy_to_bin") -load("@npm//@bazel/typescript:index.bzl", "ts_project", "ts_config") +npm_link_all_packages(name = "node_modules") filegroup( name = "templates", @@ -26,95 +27,108 @@ filegroup( ) npm_runtime_dependencies = [ - "@npm//fs-extra", - "@npm//google-gax", - "@npm//js-yaml", - "@npm//long", - "@npm//nunjucks", - "@npm//object-hash", - "@npm//protobufjs", - "@npm//yargs", + "//:node_modules/google-gax", + "//:node_modules/js-yaml", + "//:node_modules/long", + "//:node_modules/nunjucks", + "//:node_modules/object-hash", + "//:node_modules/proto3-json-serializer", + "//:node_modules/protobufjs", + "//:node_modules/yargs", ] npm_test_dependencies = npm_runtime_dependencies + [ - "@npm//espower-typescript", - "@npm//sinon", - "@npm//mocha", + "//:node_modules/espower-typescript", + "//:node_modules/mocha", ] npm_compile_dependencies = npm_test_dependencies + [ - "@npm//@types/js-yaml", - "@npm//@types/fs-extra", - "@npm//@types/long", - "@npm//@types/mocha", - "@npm//@types/module-alias", - "@npm//@types/node", - "@npm//@types/nunjucks", - "@npm//@types/object-hash", - "@npm//@types/sinon", - "@npm//@types/yargs", + "//:node_modules/@types/js-yaml", + "//:node_modules/@types/fs-extra", + "//:node_modules/@types/mocha", + "//:node_modules/@types/module-alias", + "//:node_modules/@types/node", + "//:node_modules/@types/nunjucks", + "//:node_modules/@types/object-hash", + "//:node_modules/@types/yargs", ] ts_project( name = "compile", srcs = glob([ "typescript/**/*.ts", + ]) + [ "index.d.ts", "protos/index.d.ts", - ]), + "protos/protos.json", + ], tsconfig = "//:tsconfig.json", - source_map = True, - declaration = True, + source_map = False, + declaration = False, allow_js = True, + validate = False, deps = npm_compile_dependencies, + resolve_json_module = True, + args = [ + "--module", + "esnext", + "--moduleResolution", + "node", + ], + supports_workers = False, ) -copy_to_bin( - name = "copy_deps", +js_library( + name = "library", srcs = [ - ":protos", - ":templates", + "package.json", + ":compile", ], ) -nodejs_binary( +js_binary( name = "protoc_plugin", - entry_point = "//:typescript/src/protoc-plugin.ts", - link_workspace_root = True, + entry_point = "typescript/src/protoc-plugin.js", data = [ - ":compile", + ":library", ":templates", ":protos", - ] + npm_runtime_dependencies, - templated_args = ["--bazel_patch_module_resolver"], + ], + env = { + "BAZEL_BINDIR": ".", # required by the JS rules if we need to use them in the build process + "NODE_OPTIONS": "--no-warnings", # disable ExperimentalWarning about loading JSON modules + }, ) -nodejs_binary( +js_binary( name = "gapic_generator_typescript", - entry_point = "//:typescript/src/gapic-generator-typescript.ts", - link_workspace_root = True, + entry_point = "typescript/src/gapic-generator-typescript.js", data = [ + ":library", ":protoc_plugin", - ":compile", ":templates", - "@com_google_protobuf//:protoc", ":protos", - ] + npm_runtime_dependencies, - templated_args = [ - "--bazel_patch_module_resolver", - "--protoc=\"$(rootpath @com_google_protobuf//:protoc)\"", + "@com_google_protobuf//:protoc", ], + env = { + "PROTOC_PATH": "$(rootpath @com_google_protobuf//:protoc)", + "NODE_OPTIONS": "--no-warnings", # disable ExperimentalWarning about loading JSON modules + }, ) -nodejs_test( +js_test( name = "unit_tests", - entry_point = "@npm//:node_modules/mocha/bin/mocha.js", - args = ["typescript/test/unit/"], + entry_point = "typescript/test/unit-test-runner.js", data = [ + "package.json", ":gapic_generator_typescript", + ":compile", ":test_fixtures", ":baselines", "@com_google_protobuf//:protoc", ] + npm_test_dependencies, - templated_args = ["--bazel_patch_module_resolver"], + env = { + "PROTOC_PATH": "$(rootpath @com_google_protobuf//:protoc)", + "NODE_OPTIONS": "--no-warnings", # disable ExperimentalWarning about loading JSON modules + }, ) diff --git a/WORKSPACE b/WORKSPACE index ba3e72a72..1b2a0c18f 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -1,14 +1,9 @@ -# Declares that this directory is the root of a Bazel workspace. -# See https://docs.bazel.build/versions/master/build-ref.html#workspace workspace( # How this workspace would be referenced with absolute labels from another workspace name = "gapic_generator_typescript", - # Map the @npm bazel workspace to the node_modules directory. - # This lets Bazel use the same node_modules as other local tooling. - managed_directories = {"@npm": ["node_modules"]}, ) - -load("//:repositories.bzl", "gapic_generator_typescript_repositories") + +load("//:repositories.bzl", "gapic_generator_typescript_repositories", "NODE_VERSION") gapic_generator_typescript_repositories() load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") @@ -18,10 +13,31 @@ load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_ rules_proto_dependencies() rules_proto_toolchains() -load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories", "yarn_install") +load("@aspect_rules_js//js:repositories.bzl", "rules_js_dependencies") +rules_js_dependencies() + +load("@aspect_rules_ts//ts:repositories.bzl", "rules_ts_dependencies") +rules_ts_dependencies( + ts_version_from = "//:package.json", +) + +load("@rules_nodejs//nodejs:repositories.bzl", "nodejs_register_toolchains") +nodejs_register_toolchains( + name = "nodejs", + node_version = NODE_VERSION, +) -yarn_install( +load("@aspect_rules_js//npm:npm_import.bzl", "npm_translate_lock", "pnpm_repository") +npm_translate_lock( name = "npm", - package_json = "//:package.json", - yarn_lock = "//:yarn.lock", + pnpm_lock = "//:pnpm-lock.yaml", + update_pnpm_lock = True, + data = ["//:package.json"], ) +# To regenerate the lock file, run: +# bazel run -- @pnpm//:pnpm --dir $PWD install --lockfile-only +# More information: https://github.com/aspect-build/rules_js/blob/main/docs/faq.md#can-i-use-bazel-managed-pnpm + +load("@npm//:repositories.bzl", "npm_repositories") +npm_repositories() +pnpm_repository(name = "pnpm") diff --git a/baselines/asset/.jsdoc.js.baseline b/baselines/asset/.jsdoc.js.baseline index a40ee8ff0..e0fc8ca63 100644 --- a/baselines/asset/.jsdoc.js.baseline +++ b/baselines/asset/.jsdoc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ module.exports = { includePattern: '\\.js$' }, templates: { - copyright: 'Copyright 2022 Google LLC', + copyright: 'Copyright 2023 Google LLC', includeDate: false, sourceFiles: false, systemName: '@google-cloud/asset', diff --git a/baselines/asset/.mocharc.js.baseline b/baselines/asset/.mocharc.js.baseline index 481c522b0..1a38f257d 100644 --- a/baselines/asset/.mocharc.js.baseline +++ b/baselines/asset/.mocharc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/asset/.prettierrc.js.baseline b/baselines/asset/.prettierrc.js.baseline index 494e14786..55639e70f 100644 --- a/baselines/asset/.prettierrc.js.baseline +++ b/baselines/asset/.prettierrc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/asset/samples/generated/v1/asset_service.batch_get_assets_history.js.baseline b/baselines/asset/samples/generated/v1/asset_service.batch_get_assets_history.js.baseline index 72f4154cc..14ef866a6 100644 --- a/baselines/asset/samples/generated/v1/asset_service.batch_get_assets_history.js.baseline +++ b/baselines/asset/samples/generated/v1/asset_service.batch_get_assets_history.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/asset/samples/generated/v1/asset_service.create_feed.js.baseline b/baselines/asset/samples/generated/v1/asset_service.create_feed.js.baseline index 1dcc6d715..a3de26b2f 100644 --- a/baselines/asset/samples/generated/v1/asset_service.create_feed.js.baseline +++ b/baselines/asset/samples/generated/v1/asset_service.create_feed.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/asset/samples/generated/v1/asset_service.delete_feed.js.baseline b/baselines/asset/samples/generated/v1/asset_service.delete_feed.js.baseline index 876503f12..d83c60325 100644 --- a/baselines/asset/samples/generated/v1/asset_service.delete_feed.js.baseline +++ b/baselines/asset/samples/generated/v1/asset_service.delete_feed.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/asset/samples/generated/v1/asset_service.export_assets.js.baseline b/baselines/asset/samples/generated/v1/asset_service.export_assets.js.baseline index b6ccf40d1..0caecf632 100644 --- a/baselines/asset/samples/generated/v1/asset_service.export_assets.js.baseline +++ b/baselines/asset/samples/generated/v1/asset_service.export_assets.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/asset/samples/generated/v1/asset_service.get_feed.js.baseline b/baselines/asset/samples/generated/v1/asset_service.get_feed.js.baseline index 5662d4ab8..144f4f534 100644 --- a/baselines/asset/samples/generated/v1/asset_service.get_feed.js.baseline +++ b/baselines/asset/samples/generated/v1/asset_service.get_feed.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/asset/samples/generated/v1/asset_service.list_feeds.js.baseline b/baselines/asset/samples/generated/v1/asset_service.list_feeds.js.baseline index 46c49c078..9e0b49c34 100644 --- a/baselines/asset/samples/generated/v1/asset_service.list_feeds.js.baseline +++ b/baselines/asset/samples/generated/v1/asset_service.list_feeds.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/asset/samples/generated/v1/asset_service.update_feed.js.baseline b/baselines/asset/samples/generated/v1/asset_service.update_feed.js.baseline index 18afe3140..fdd9c5904 100644 --- a/baselines/asset/samples/generated/v1/asset_service.update_feed.js.baseline +++ b/baselines/asset/samples/generated/v1/asset_service.update_feed.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/asset/src/index.ts.baseline b/baselines/asset/src/index.ts.baseline index eeab755bb..3e7efe722 100644 --- a/baselines/asset/src/index.ts.baseline +++ b/baselines/asset/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/asset/src/v1/asset_service_client.ts.baseline b/baselines/asset/src/v1/asset_service_client.ts.baseline index 1f1815054..f187a2763 100644 --- a/baselines/asset/src/v1/asset_service_client.ts.baseline +++ b/baselines/asset/src/v1/asset_service_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/asset/src/v1/index.ts.baseline b/baselines/asset/src/v1/index.ts.baseline index 9008232c0..0afe3fcb8 100644 --- a/baselines/asset/src/v1/index.ts.baseline +++ b/baselines/asset/src/v1/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/asset/system-test/fixtures/sample/src/index.js.baseline b/baselines/asset/system-test/fixtures/sample/src/index.js.baseline index 5fa018809..ab1cac58e 100644 --- a/baselines/asset/system-test/fixtures/sample/src/index.js.baseline +++ b/baselines/asset/system-test/fixtures/sample/src/index.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/asset/system-test/fixtures/sample/src/index.ts.baseline b/baselines/asset/system-test/fixtures/sample/src/index.ts.baseline index 8fb3fb032..b6a581e22 100644 --- a/baselines/asset/system-test/fixtures/sample/src/index.ts.baseline +++ b/baselines/asset/system-test/fixtures/sample/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/asset/system-test/install.ts.baseline b/baselines/asset/system-test/install.ts.baseline index 557a57558..c8f81b25a 100644 --- a/baselines/asset/system-test/install.ts.baseline +++ b/baselines/asset/system-test/install.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/asset/test/gapic_asset_service_v1.ts.baseline b/baselines/asset/test/gapic_asset_service_v1.ts.baseline index bc21ff4f8..d43f8040e 100644 --- a/baselines/asset/test/gapic_asset_service_v1.ts.baseline +++ b/baselines/asset/test/gapic_asset_service_v1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/bigquery-storage/.jsdoc.js.baseline b/baselines/bigquery-storage/.jsdoc.js.baseline index 01410c907..3b9a91132 100644 --- a/baselines/bigquery-storage/.jsdoc.js.baseline +++ b/baselines/bigquery-storage/.jsdoc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ module.exports = { includePattern: '\\.js$' }, templates: { - copyright: 'Copyright 2022 Google LLC', + copyright: 'Copyright 2023 Google LLC', includeDate: false, sourceFiles: false, systemName: 'storage', diff --git a/baselines/bigquery-storage/.mocharc.js.baseline b/baselines/bigquery-storage/.mocharc.js.baseline index 481c522b0..1a38f257d 100644 --- a/baselines/bigquery-storage/.mocharc.js.baseline +++ b/baselines/bigquery-storage/.mocharc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/bigquery-storage/.prettierrc.js.baseline b/baselines/bigquery-storage/.prettierrc.js.baseline index 494e14786..55639e70f 100644 --- a/baselines/bigquery-storage/.prettierrc.js.baseline +++ b/baselines/bigquery-storage/.prettierrc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/bigquery-storage/samples/generated/v1beta1/big_query_storage.batch_create_read_session_streams.js.baseline b/baselines/bigquery-storage/samples/generated/v1beta1/big_query_storage.batch_create_read_session_streams.js.baseline index 7aa42e122..6f3538d3f 100644 --- a/baselines/bigquery-storage/samples/generated/v1beta1/big_query_storage.batch_create_read_session_streams.js.baseline +++ b/baselines/bigquery-storage/samples/generated/v1beta1/big_query_storage.batch_create_read_session_streams.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/bigquery-storage/samples/generated/v1beta1/big_query_storage.create_read_session.js.baseline b/baselines/bigquery-storage/samples/generated/v1beta1/big_query_storage.create_read_session.js.baseline index c9e38b809..434a8817a 100644 --- a/baselines/bigquery-storage/samples/generated/v1beta1/big_query_storage.create_read_session.js.baseline +++ b/baselines/bigquery-storage/samples/generated/v1beta1/big_query_storage.create_read_session.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/bigquery-storage/samples/generated/v1beta1/big_query_storage.finalize_stream.js.baseline b/baselines/bigquery-storage/samples/generated/v1beta1/big_query_storage.finalize_stream.js.baseline index 29272ef35..c038c6948 100644 --- a/baselines/bigquery-storage/samples/generated/v1beta1/big_query_storage.finalize_stream.js.baseline +++ b/baselines/bigquery-storage/samples/generated/v1beta1/big_query_storage.finalize_stream.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/bigquery-storage/samples/generated/v1beta1/big_query_storage.read_rows.js.baseline b/baselines/bigquery-storage/samples/generated/v1beta1/big_query_storage.read_rows.js.baseline index f404ad735..6be16c197 100644 --- a/baselines/bigquery-storage/samples/generated/v1beta1/big_query_storage.read_rows.js.baseline +++ b/baselines/bigquery-storage/samples/generated/v1beta1/big_query_storage.read_rows.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/bigquery-storage/samples/generated/v1beta1/big_query_storage.split_read_stream.js.baseline b/baselines/bigquery-storage/samples/generated/v1beta1/big_query_storage.split_read_stream.js.baseline index 6f618d110..83d5070c8 100644 --- a/baselines/bigquery-storage/samples/generated/v1beta1/big_query_storage.split_read_stream.js.baseline +++ b/baselines/bigquery-storage/samples/generated/v1beta1/big_query_storage.split_read_stream.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/bigquery-storage/src/index.ts.baseline b/baselines/bigquery-storage/src/index.ts.baseline index 96c87b195..80d050560 100644 --- a/baselines/bigquery-storage/src/index.ts.baseline +++ b/baselines/bigquery-storage/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/bigquery-storage/src/v1beta1/big_query_storage_client.ts.baseline b/baselines/bigquery-storage/src/v1beta1/big_query_storage_client.ts.baseline index 2e0c11e3e..0b4cd4019 100644 --- a/baselines/bigquery-storage/src/v1beta1/big_query_storage_client.ts.baseline +++ b/baselines/bigquery-storage/src/v1beta1/big_query_storage_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/bigquery-storage/src/v1beta1/index.ts.baseline b/baselines/bigquery-storage/src/v1beta1/index.ts.baseline index dc3afed8e..fddf65e14 100644 --- a/baselines/bigquery-storage/src/v1beta1/index.ts.baseline +++ b/baselines/bigquery-storage/src/v1beta1/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/bigquery-storage/system-test/fixtures/sample/src/index.js.baseline b/baselines/bigquery-storage/system-test/fixtures/sample/src/index.js.baseline index 69c910306..f3e26dfaf 100644 --- a/baselines/bigquery-storage/system-test/fixtures/sample/src/index.js.baseline +++ b/baselines/bigquery-storage/system-test/fixtures/sample/src/index.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/bigquery-storage/system-test/fixtures/sample/src/index.ts.baseline b/baselines/bigquery-storage/system-test/fixtures/sample/src/index.ts.baseline index a6154db7c..5abea5f13 100644 --- a/baselines/bigquery-storage/system-test/fixtures/sample/src/index.ts.baseline +++ b/baselines/bigquery-storage/system-test/fixtures/sample/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/bigquery-storage/system-test/install.ts.baseline b/baselines/bigquery-storage/system-test/install.ts.baseline index 557a57558..c8f81b25a 100644 --- a/baselines/bigquery-storage/system-test/install.ts.baseline +++ b/baselines/bigquery-storage/system-test/install.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/bigquery-storage/test/gapic_big_query_storage_v1beta1.ts.baseline b/baselines/bigquery-storage/test/gapic_big_query_storage_v1beta1.ts.baseline index f2dd7d934..938897ea9 100644 --- a/baselines/bigquery-storage/test/gapic_big_query_storage_v1beta1.ts.baseline +++ b/baselines/bigquery-storage/test/gapic_big_query_storage_v1beta1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/compute/.jsdoc.js.baseline b/baselines/compute/.jsdoc.js.baseline index cc8432661..c5da8b745 100644 --- a/baselines/compute/.jsdoc.js.baseline +++ b/baselines/compute/.jsdoc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ module.exports = { includePattern: '\\.js$' }, templates: { - copyright: 'Copyright 2022 Google LLC', + copyright: 'Copyright 2023 Google LLC', includeDate: false, sourceFiles: false, systemName: '@google-cloud/compute', diff --git a/baselines/compute/.mocharc.js.baseline b/baselines/compute/.mocharc.js.baseline index 481c522b0..1a38f257d 100644 --- a/baselines/compute/.mocharc.js.baseline +++ b/baselines/compute/.mocharc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/compute/.prettierrc.js.baseline b/baselines/compute/.prettierrc.js.baseline index 494e14786..55639e70f 100644 --- a/baselines/compute/.prettierrc.js.baseline +++ b/baselines/compute/.prettierrc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/compute/samples/generated/v1/addresses.aggregated_list.js.baseline b/baselines/compute/samples/generated/v1/addresses.aggregated_list.js.baseline index f2e9bd0c6..022a22080 100644 --- a/baselines/compute/samples/generated/v1/addresses.aggregated_list.js.baseline +++ b/baselines/compute/samples/generated/v1/addresses.aggregated_list.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/compute/samples/generated/v1/addresses.delete.js.baseline b/baselines/compute/samples/generated/v1/addresses.delete.js.baseline index 4f2b39599..2212606ca 100644 --- a/baselines/compute/samples/generated/v1/addresses.delete.js.baseline +++ b/baselines/compute/samples/generated/v1/addresses.delete.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/compute/samples/generated/v1/addresses.insert.js.baseline b/baselines/compute/samples/generated/v1/addresses.insert.js.baseline index d4cc91e0a..8a295b0cc 100644 --- a/baselines/compute/samples/generated/v1/addresses.insert.js.baseline +++ b/baselines/compute/samples/generated/v1/addresses.insert.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/compute/samples/generated/v1/addresses.list.js.baseline b/baselines/compute/samples/generated/v1/addresses.list.js.baseline index 65c16dc6a..c6f26c115 100644 --- a/baselines/compute/samples/generated/v1/addresses.list.js.baseline +++ b/baselines/compute/samples/generated/v1/addresses.list.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/compute/samples/generated/v1/region_operations.get.js.baseline b/baselines/compute/samples/generated/v1/region_operations.get.js.baseline index f42f6c477..0e9f4acc8 100644 --- a/baselines/compute/samples/generated/v1/region_operations.get.js.baseline +++ b/baselines/compute/samples/generated/v1/region_operations.get.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/compute/samples/generated/v1/region_operations.wait.js.baseline b/baselines/compute/samples/generated/v1/region_operations.wait.js.baseline index 3c5c4710b..f29b702ca 100644 --- a/baselines/compute/samples/generated/v1/region_operations.wait.js.baseline +++ b/baselines/compute/samples/generated/v1/region_operations.wait.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/compute/src/index.ts.baseline b/baselines/compute/src/index.ts.baseline index 828b316be..0ab61d8c5 100644 --- a/baselines/compute/src/index.ts.baseline +++ b/baselines/compute/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/compute/src/v1/addresses_client.ts.baseline b/baselines/compute/src/v1/addresses_client.ts.baseline index 21e77bba1..c3097cb69 100644 --- a/baselines/compute/src/v1/addresses_client.ts.baseline +++ b/baselines/compute/src/v1/addresses_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/compute/src/v1/index.ts.baseline b/baselines/compute/src/v1/index.ts.baseline index cc8fa4e10..92ff51aab 100644 --- a/baselines/compute/src/v1/index.ts.baseline +++ b/baselines/compute/src/v1/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/compute/src/v1/region_operations_client.ts.baseline b/baselines/compute/src/v1/region_operations_client.ts.baseline index 7aacb3487..c08463dad 100644 --- a/baselines/compute/src/v1/region_operations_client.ts.baseline +++ b/baselines/compute/src/v1/region_operations_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/compute/system-test/fixtures/sample/src/index.js.baseline b/baselines/compute/system-test/fixtures/sample/src/index.js.baseline index 96dfc3642..91ce15720 100644 --- a/baselines/compute/system-test/fixtures/sample/src/index.js.baseline +++ b/baselines/compute/system-test/fixtures/sample/src/index.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/compute/system-test/fixtures/sample/src/index.ts.baseline b/baselines/compute/system-test/fixtures/sample/src/index.ts.baseline index 8348ec91c..3837242b0 100644 --- a/baselines/compute/system-test/fixtures/sample/src/index.ts.baseline +++ b/baselines/compute/system-test/fixtures/sample/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/compute/system-test/install.ts.baseline b/baselines/compute/system-test/install.ts.baseline index 557a57558..c8f81b25a 100644 --- a/baselines/compute/system-test/install.ts.baseline +++ b/baselines/compute/system-test/install.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/compute/test/gapic_addresses_v1.ts.baseline b/baselines/compute/test/gapic_addresses_v1.ts.baseline index 4d4af9ba2..584e6f9b4 100644 --- a/baselines/compute/test/gapic_addresses_v1.ts.baseline +++ b/baselines/compute/test/gapic_addresses_v1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/compute/test/gapic_region_operations_v1.ts.baseline b/baselines/compute/test/gapic_region_operations_v1.ts.baseline index 1c6501ac1..bb615cbcd 100644 --- a/baselines/compute/test/gapic_region_operations_v1.ts.baseline +++ b/baselines/compute/test/gapic_region_operations_v1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/deprecatedtest/.jsdoc.js.baseline b/baselines/deprecatedtest/.jsdoc.js.baseline index 943074eb7..41fa41893 100644 --- a/baselines/deprecatedtest/.jsdoc.js.baseline +++ b/baselines/deprecatedtest/.jsdoc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ module.exports = { includePattern: '\\.js$' }, templates: { - copyright: 'Copyright 2022 Google LLC', + copyright: 'Copyright 2023 Google LLC', includeDate: false, sourceFiles: false, systemName: 'deprecatedtest', diff --git a/baselines/deprecatedtest/.mocharc.js.baseline b/baselines/deprecatedtest/.mocharc.js.baseline index 481c522b0..1a38f257d 100644 --- a/baselines/deprecatedtest/.mocharc.js.baseline +++ b/baselines/deprecatedtest/.mocharc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/deprecatedtest/.prettierrc.js.baseline b/baselines/deprecatedtest/.prettierrc.js.baseline index 494e14786..55639e70f 100644 --- a/baselines/deprecatedtest/.prettierrc.js.baseline +++ b/baselines/deprecatedtest/.prettierrc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/deprecatedtest/samples/generated/v1/deprecated_service.fast_fibonacci.js.baseline b/baselines/deprecatedtest/samples/generated/v1/deprecated_service.fast_fibonacci.js.baseline index 41eb83fda..0f8edfb03 100644 --- a/baselines/deprecatedtest/samples/generated/v1/deprecated_service.fast_fibonacci.js.baseline +++ b/baselines/deprecatedtest/samples/generated/v1/deprecated_service.fast_fibonacci.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/deprecatedtest/samples/generated/v1/deprecated_service.slow_fibonacci.js.baseline b/baselines/deprecatedtest/samples/generated/v1/deprecated_service.slow_fibonacci.js.baseline index 943421f75..422beb851 100644 --- a/baselines/deprecatedtest/samples/generated/v1/deprecated_service.slow_fibonacci.js.baseline +++ b/baselines/deprecatedtest/samples/generated/v1/deprecated_service.slow_fibonacci.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/deprecatedtest/src/index.ts.baseline b/baselines/deprecatedtest/src/index.ts.baseline index f17ff9f3c..445d05cca 100644 --- a/baselines/deprecatedtest/src/index.ts.baseline +++ b/baselines/deprecatedtest/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/deprecatedtest/src/v1/deprecated_service_client.ts.baseline b/baselines/deprecatedtest/src/v1/deprecated_service_client.ts.baseline index 2944e466f..0cacc5a10 100644 --- a/baselines/deprecatedtest/src/v1/deprecated_service_client.ts.baseline +++ b/baselines/deprecatedtest/src/v1/deprecated_service_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/deprecatedtest/src/v1/index.ts.baseline b/baselines/deprecatedtest/src/v1/index.ts.baseline index 71d2f1646..22d1e1e49 100644 --- a/baselines/deprecatedtest/src/v1/index.ts.baseline +++ b/baselines/deprecatedtest/src/v1/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/deprecatedtest/system-test/fixtures/sample/src/index.js.baseline b/baselines/deprecatedtest/system-test/fixtures/sample/src/index.js.baseline index 5b128185c..88b219edc 100644 --- a/baselines/deprecatedtest/system-test/fixtures/sample/src/index.js.baseline +++ b/baselines/deprecatedtest/system-test/fixtures/sample/src/index.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/deprecatedtest/system-test/fixtures/sample/src/index.ts.baseline b/baselines/deprecatedtest/system-test/fixtures/sample/src/index.ts.baseline index 1a0802f81..54b3f0264 100644 --- a/baselines/deprecatedtest/system-test/fixtures/sample/src/index.ts.baseline +++ b/baselines/deprecatedtest/system-test/fixtures/sample/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/deprecatedtest/system-test/install.ts.baseline b/baselines/deprecatedtest/system-test/install.ts.baseline index 557a57558..c8f81b25a 100644 --- a/baselines/deprecatedtest/system-test/install.ts.baseline +++ b/baselines/deprecatedtest/system-test/install.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/deprecatedtest/test/gapic_deprecated_service_v1.ts.baseline b/baselines/deprecatedtest/test/gapic_deprecated_service_v1.ts.baseline index d08219e08..cb38bc48a 100644 --- a/baselines/deprecatedtest/test/gapic_deprecated_service_v1.ts.baseline +++ b/baselines/deprecatedtest/test/gapic_deprecated_service_v1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/disable-packing-test/.jsdoc.js.baseline b/baselines/disable-packing-test/.jsdoc.js.baseline index 01638346f..776b2117b 100644 --- a/baselines/disable-packing-test/.jsdoc.js.baseline +++ b/baselines/disable-packing-test/.jsdoc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ module.exports = { includePattern: '\\.js$' }, templates: { - copyright: 'Copyright 2022 Google LLC', + copyright: 'Copyright 2023 Google LLC', includeDate: false, sourceFiles: false, systemName: 'showcase', diff --git a/baselines/disable-packing-test/.mocharc.js.baseline b/baselines/disable-packing-test/.mocharc.js.baseline index 481c522b0..1a38f257d 100644 --- a/baselines/disable-packing-test/.mocharc.js.baseline +++ b/baselines/disable-packing-test/.mocharc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/disable-packing-test/.prettierrc.js.baseline b/baselines/disable-packing-test/.prettierrc.js.baseline index 494e14786..55639e70f 100644 --- a/baselines/disable-packing-test/.prettierrc.js.baseline +++ b/baselines/disable-packing-test/.prettierrc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/disable-packing-test/src/index.ts.baseline b/baselines/disable-packing-test/src/index.ts.baseline index 4679513de..af97b0adc 100644 --- a/baselines/disable-packing-test/src/index.ts.baseline +++ b/baselines/disable-packing-test/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/disable-packing-test/src/v1beta1/compliance_client.ts.baseline b/baselines/disable-packing-test/src/v1beta1/compliance_client.ts.baseline index b5307bbbb..d1f064b31 100644 --- a/baselines/disable-packing-test/src/v1beta1/compliance_client.ts.baseline +++ b/baselines/disable-packing-test/src/v1beta1/compliance_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/disable-packing-test/src/v1beta1/echo_client.ts.baseline b/baselines/disable-packing-test/src/v1beta1/echo_client.ts.baseline index 63a73963a..b8bec25c4 100644 --- a/baselines/disable-packing-test/src/v1beta1/echo_client.ts.baseline +++ b/baselines/disable-packing-test/src/v1beta1/echo_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/disable-packing-test/src/v1beta1/identity_client.ts.baseline b/baselines/disable-packing-test/src/v1beta1/identity_client.ts.baseline index 6fe3dc19d..790beed54 100644 --- a/baselines/disable-packing-test/src/v1beta1/identity_client.ts.baseline +++ b/baselines/disable-packing-test/src/v1beta1/identity_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/disable-packing-test/src/v1beta1/index.ts.baseline b/baselines/disable-packing-test/src/v1beta1/index.ts.baseline index fe53c41ac..b9d965553 100644 --- a/baselines/disable-packing-test/src/v1beta1/index.ts.baseline +++ b/baselines/disable-packing-test/src/v1beta1/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/disable-packing-test/src/v1beta1/messaging_client.ts.baseline b/baselines/disable-packing-test/src/v1beta1/messaging_client.ts.baseline index fd696d053..92f9d6ada 100644 --- a/baselines/disable-packing-test/src/v1beta1/messaging_client.ts.baseline +++ b/baselines/disable-packing-test/src/v1beta1/messaging_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/disable-packing-test/src/v1beta1/sequence_service_client.ts.baseline b/baselines/disable-packing-test/src/v1beta1/sequence_service_client.ts.baseline index c438758f5..5b2786a27 100644 --- a/baselines/disable-packing-test/src/v1beta1/sequence_service_client.ts.baseline +++ b/baselines/disable-packing-test/src/v1beta1/sequence_service_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/disable-packing-test/src/v1beta1/testing_client.ts.baseline b/baselines/disable-packing-test/src/v1beta1/testing_client.ts.baseline index 94a18a7c1..b6d4ca86b 100644 --- a/baselines/disable-packing-test/src/v1beta1/testing_client.ts.baseline +++ b/baselines/disable-packing-test/src/v1beta1/testing_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/disable-packing-test/test/gapic_compliance_v1beta1.ts.baseline b/baselines/disable-packing-test/test/gapic_compliance_v1beta1.ts.baseline index 11b81715a..8ea27b8d0 100644 --- a/baselines/disable-packing-test/test/gapic_compliance_v1beta1.ts.baseline +++ b/baselines/disable-packing-test/test/gapic_compliance_v1beta1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/disable-packing-test/test/gapic_echo_v1beta1.ts.baseline b/baselines/disable-packing-test/test/gapic_echo_v1beta1.ts.baseline index 71b994a15..fd2f8a86a 100644 --- a/baselines/disable-packing-test/test/gapic_echo_v1beta1.ts.baseline +++ b/baselines/disable-packing-test/test/gapic_echo_v1beta1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/disable-packing-test/test/gapic_identity_v1beta1.ts.baseline b/baselines/disable-packing-test/test/gapic_identity_v1beta1.ts.baseline index c8949a578..218576c8a 100644 --- a/baselines/disable-packing-test/test/gapic_identity_v1beta1.ts.baseline +++ b/baselines/disable-packing-test/test/gapic_identity_v1beta1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/disable-packing-test/test/gapic_messaging_v1beta1.ts.baseline b/baselines/disable-packing-test/test/gapic_messaging_v1beta1.ts.baseline index a8fbf2cda..5e5b45ce0 100644 --- a/baselines/disable-packing-test/test/gapic_messaging_v1beta1.ts.baseline +++ b/baselines/disable-packing-test/test/gapic_messaging_v1beta1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/disable-packing-test/test/gapic_sequence_service_v1beta1.ts.baseline b/baselines/disable-packing-test/test/gapic_sequence_service_v1beta1.ts.baseline index 686e1a952..6819a5d6c 100644 --- a/baselines/disable-packing-test/test/gapic_sequence_service_v1beta1.ts.baseline +++ b/baselines/disable-packing-test/test/gapic_sequence_service_v1beta1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/disable-packing-test/test/gapic_testing_v1beta1.ts.baseline b/baselines/disable-packing-test/test/gapic_testing_v1beta1.ts.baseline index 4a0e45241..0b4a8b245 100644 --- a/baselines/disable-packing-test/test/gapic_testing_v1beta1.ts.baseline +++ b/baselines/disable-packing-test/test/gapic_testing_v1beta1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/.jsdoc.js.baseline b/baselines/dlp/.jsdoc.js.baseline index 1e5c4ffb4..fde5409fd 100644 --- a/baselines/dlp/.jsdoc.js.baseline +++ b/baselines/dlp/.jsdoc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ module.exports = { includePattern: '\\.js$' }, templates: { - copyright: 'Copyright 2022 Google LLC', + copyright: 'Copyright 2023 Google LLC', includeDate: false, sourceFiles: false, systemName: 'dlp', diff --git a/baselines/dlp/.mocharc.js.baseline b/baselines/dlp/.mocharc.js.baseline index 481c522b0..1a38f257d 100644 --- a/baselines/dlp/.mocharc.js.baseline +++ b/baselines/dlp/.mocharc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/.prettierrc.js.baseline b/baselines/dlp/.prettierrc.js.baseline index 494e14786..55639e70f 100644 --- a/baselines/dlp/.prettierrc.js.baseline +++ b/baselines/dlp/.prettierrc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.activate_job_trigger.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.activate_job_trigger.js.baseline index 6ceaffd3c..b9d1b4c08 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.activate_job_trigger.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.activate_job_trigger.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.cancel_dlp_job.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.cancel_dlp_job.js.baseline index a07ebf800..062a02b48 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.cancel_dlp_job.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.cancel_dlp_job.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.create_deidentify_template.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.create_deidentify_template.js.baseline index a949b467c..145eb7444 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.create_deidentify_template.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.create_deidentify_template.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.create_dlp_job.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.create_dlp_job.js.baseline index ff2bcf32e..a38d6f285 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.create_dlp_job.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.create_dlp_job.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.create_inspect_template.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.create_inspect_template.js.baseline index 75a0ddeed..1da014a3c 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.create_inspect_template.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.create_inspect_template.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.create_job_trigger.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.create_job_trigger.js.baseline index 3d407ee67..260a5d204 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.create_job_trigger.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.create_job_trigger.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.create_stored_info_type.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.create_stored_info_type.js.baseline index 194a80fc7..dbe8d7a85 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.create_stored_info_type.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.create_stored_info_type.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.deidentify_content.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.deidentify_content.js.baseline index c118def44..4aaf7356b 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.deidentify_content.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.deidentify_content.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.delete_deidentify_template.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.delete_deidentify_template.js.baseline index bfd0d635c..3b8ce2fdd 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.delete_deidentify_template.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.delete_deidentify_template.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.delete_dlp_job.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.delete_dlp_job.js.baseline index a640b00c1..b131764be 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.delete_dlp_job.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.delete_dlp_job.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.delete_inspect_template.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.delete_inspect_template.js.baseline index 8fcdc3e0d..6ca960208 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.delete_inspect_template.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.delete_inspect_template.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.delete_job_trigger.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.delete_job_trigger.js.baseline index 34e9098b3..d7cc88ac1 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.delete_job_trigger.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.delete_job_trigger.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.delete_stored_info_type.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.delete_stored_info_type.js.baseline index f014d4284..56029d603 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.delete_stored_info_type.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.delete_stored_info_type.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.get_deidentify_template.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.get_deidentify_template.js.baseline index 6c07dad25..2f3ac8750 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.get_deidentify_template.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.get_deidentify_template.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.get_dlp_job.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.get_dlp_job.js.baseline index 4fb8b0d06..561eefd7b 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.get_dlp_job.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.get_dlp_job.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.get_inspect_template.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.get_inspect_template.js.baseline index 7ae8b243f..4bb7eac9d 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.get_inspect_template.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.get_inspect_template.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.get_job_trigger.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.get_job_trigger.js.baseline index df14677ad..8b8f55f8d 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.get_job_trigger.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.get_job_trigger.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.get_stored_info_type.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.get_stored_info_type.js.baseline index 53d85dc80..97039acca 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.get_stored_info_type.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.get_stored_info_type.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.inspect_content.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.inspect_content.js.baseline index 2ecb63466..0a8f174bb 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.inspect_content.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.inspect_content.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.list_deidentify_templates.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.list_deidentify_templates.js.baseline index 71d65e600..8a2c4c767 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.list_deidentify_templates.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.list_deidentify_templates.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.list_dlp_jobs.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.list_dlp_jobs.js.baseline index 92fb68625..3730ffd40 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.list_dlp_jobs.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.list_dlp_jobs.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.list_info_types.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.list_info_types.js.baseline index 473078793..9cb72524d 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.list_info_types.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.list_info_types.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.list_inspect_templates.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.list_inspect_templates.js.baseline index aa95bb7a9..dd83a6a22 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.list_inspect_templates.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.list_inspect_templates.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.list_job_triggers.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.list_job_triggers.js.baseline index 604d1e724..6ee42c663 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.list_job_triggers.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.list_job_triggers.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.list_stored_info_types.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.list_stored_info_types.js.baseline index 86b0e1e15..ec134fee3 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.list_stored_info_types.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.list_stored_info_types.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.redact_image.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.redact_image.js.baseline index 9866464a0..836356d28 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.redact_image.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.redact_image.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.reidentify_content.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.reidentify_content.js.baseline index f1afd04c9..1f7ab6946 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.reidentify_content.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.reidentify_content.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.update_deidentify_template.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.update_deidentify_template.js.baseline index 7590d65ab..25576e106 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.update_deidentify_template.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.update_deidentify_template.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.update_inspect_template.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.update_inspect_template.js.baseline index 17a3f53c3..f8af6a5cf 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.update_inspect_template.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.update_inspect_template.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.update_job_trigger.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.update_job_trigger.js.baseline index 236b5b279..88225e06c 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.update_job_trigger.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.update_job_trigger.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/samples/generated/v2/dlp_service.update_stored_info_type.js.baseline b/baselines/dlp/samples/generated/v2/dlp_service.update_stored_info_type.js.baseline index 992882b8d..b98f06178 100644 --- a/baselines/dlp/samples/generated/v2/dlp_service.update_stored_info_type.js.baseline +++ b/baselines/dlp/samples/generated/v2/dlp_service.update_stored_info_type.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/src/index.ts.baseline b/baselines/dlp/src/index.ts.baseline index 3697ec517..651447ba3 100644 --- a/baselines/dlp/src/index.ts.baseline +++ b/baselines/dlp/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/src/v2/dlp_service_client.ts.baseline b/baselines/dlp/src/v2/dlp_service_client.ts.baseline index b4c36ab91..fcf7fd745 100644 --- a/baselines/dlp/src/v2/dlp_service_client.ts.baseline +++ b/baselines/dlp/src/v2/dlp_service_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/src/v2/index.ts.baseline b/baselines/dlp/src/v2/index.ts.baseline index 731648edb..431cf8095 100644 --- a/baselines/dlp/src/v2/index.ts.baseline +++ b/baselines/dlp/src/v2/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/system-test/fixtures/sample/src/index.js.baseline b/baselines/dlp/system-test/fixtures/sample/src/index.js.baseline index 9c182673d..046825312 100644 --- a/baselines/dlp/system-test/fixtures/sample/src/index.js.baseline +++ b/baselines/dlp/system-test/fixtures/sample/src/index.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/system-test/fixtures/sample/src/index.ts.baseline b/baselines/dlp/system-test/fixtures/sample/src/index.ts.baseline index b0cdadb16..50466040c 100644 --- a/baselines/dlp/system-test/fixtures/sample/src/index.ts.baseline +++ b/baselines/dlp/system-test/fixtures/sample/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/system-test/install.ts.baseline b/baselines/dlp/system-test/install.ts.baseline index 557a57558..c8f81b25a 100644 --- a/baselines/dlp/system-test/install.ts.baseline +++ b/baselines/dlp/system-test/install.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/dlp/test/gapic_dlp_service_v2.ts.baseline b/baselines/dlp/test/gapic_dlp_service_v2.ts.baseline index 55fc1c6f4..3448d8ddb 100644 --- a/baselines/dlp/test/gapic_dlp_service_v2.ts.baseline +++ b/baselines/dlp/test/gapic_dlp_service_v2.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/.jsdoc.js.baseline b/baselines/kms/.jsdoc.js.baseline index 7364c64c1..b9907b548 100644 --- a/baselines/kms/.jsdoc.js.baseline +++ b/baselines/kms/.jsdoc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ module.exports = { includePattern: '\\.js$' }, templates: { - copyright: 'Copyright 2022 Google LLC', + copyright: 'Copyright 2023 Google LLC', includeDate: false, sourceFiles: false, systemName: 'kms', diff --git a/baselines/kms/.mocharc.js.baseline b/baselines/kms/.mocharc.js.baseline index 481c522b0..1a38f257d 100644 --- a/baselines/kms/.mocharc.js.baseline +++ b/baselines/kms/.mocharc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/.prettierrc.js.baseline b/baselines/kms/.prettierrc.js.baseline index 494e14786..55639e70f 100644 --- a/baselines/kms/.prettierrc.js.baseline +++ b/baselines/kms/.prettierrc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/samples/generated/v1/key_management_service.asymmetric_decrypt.js.baseline b/baselines/kms/samples/generated/v1/key_management_service.asymmetric_decrypt.js.baseline index 401401ac0..c78349c8f 100644 --- a/baselines/kms/samples/generated/v1/key_management_service.asymmetric_decrypt.js.baseline +++ b/baselines/kms/samples/generated/v1/key_management_service.asymmetric_decrypt.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/samples/generated/v1/key_management_service.asymmetric_sign.js.baseline b/baselines/kms/samples/generated/v1/key_management_service.asymmetric_sign.js.baseline index 65203c658..cbea7cfa3 100644 --- a/baselines/kms/samples/generated/v1/key_management_service.asymmetric_sign.js.baseline +++ b/baselines/kms/samples/generated/v1/key_management_service.asymmetric_sign.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/samples/generated/v1/key_management_service.create_crypto_key.js.baseline b/baselines/kms/samples/generated/v1/key_management_service.create_crypto_key.js.baseline index 436902e25..38dd6abae 100644 --- a/baselines/kms/samples/generated/v1/key_management_service.create_crypto_key.js.baseline +++ b/baselines/kms/samples/generated/v1/key_management_service.create_crypto_key.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/samples/generated/v1/key_management_service.create_crypto_key_version.js.baseline b/baselines/kms/samples/generated/v1/key_management_service.create_crypto_key_version.js.baseline index d395bdb67..155761390 100644 --- a/baselines/kms/samples/generated/v1/key_management_service.create_crypto_key_version.js.baseline +++ b/baselines/kms/samples/generated/v1/key_management_service.create_crypto_key_version.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/samples/generated/v1/key_management_service.create_import_job.js.baseline b/baselines/kms/samples/generated/v1/key_management_service.create_import_job.js.baseline index e9d347104..a013b8a92 100644 --- a/baselines/kms/samples/generated/v1/key_management_service.create_import_job.js.baseline +++ b/baselines/kms/samples/generated/v1/key_management_service.create_import_job.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/samples/generated/v1/key_management_service.create_key_ring.js.baseline b/baselines/kms/samples/generated/v1/key_management_service.create_key_ring.js.baseline index 964e912dc..de70c225a 100644 --- a/baselines/kms/samples/generated/v1/key_management_service.create_key_ring.js.baseline +++ b/baselines/kms/samples/generated/v1/key_management_service.create_key_ring.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/samples/generated/v1/key_management_service.decrypt.js.baseline b/baselines/kms/samples/generated/v1/key_management_service.decrypt.js.baseline index 9e0829a93..772709ae9 100644 --- a/baselines/kms/samples/generated/v1/key_management_service.decrypt.js.baseline +++ b/baselines/kms/samples/generated/v1/key_management_service.decrypt.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/samples/generated/v1/key_management_service.destroy_crypto_key_version.js.baseline b/baselines/kms/samples/generated/v1/key_management_service.destroy_crypto_key_version.js.baseline index 148f8c7b0..b49035dca 100644 --- a/baselines/kms/samples/generated/v1/key_management_service.destroy_crypto_key_version.js.baseline +++ b/baselines/kms/samples/generated/v1/key_management_service.destroy_crypto_key_version.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/samples/generated/v1/key_management_service.encrypt.js.baseline b/baselines/kms/samples/generated/v1/key_management_service.encrypt.js.baseline index d6a54d43f..f7b6933c0 100644 --- a/baselines/kms/samples/generated/v1/key_management_service.encrypt.js.baseline +++ b/baselines/kms/samples/generated/v1/key_management_service.encrypt.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/samples/generated/v1/key_management_service.get_crypto_key.js.baseline b/baselines/kms/samples/generated/v1/key_management_service.get_crypto_key.js.baseline index 5a451cca4..fa17c9e6c 100644 --- a/baselines/kms/samples/generated/v1/key_management_service.get_crypto_key.js.baseline +++ b/baselines/kms/samples/generated/v1/key_management_service.get_crypto_key.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/samples/generated/v1/key_management_service.get_crypto_key_version.js.baseline b/baselines/kms/samples/generated/v1/key_management_service.get_crypto_key_version.js.baseline index 1740abcc6..6f97826be 100644 --- a/baselines/kms/samples/generated/v1/key_management_service.get_crypto_key_version.js.baseline +++ b/baselines/kms/samples/generated/v1/key_management_service.get_crypto_key_version.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/samples/generated/v1/key_management_service.get_import_job.js.baseline b/baselines/kms/samples/generated/v1/key_management_service.get_import_job.js.baseline index dc5c4b319..10501d35e 100644 --- a/baselines/kms/samples/generated/v1/key_management_service.get_import_job.js.baseline +++ b/baselines/kms/samples/generated/v1/key_management_service.get_import_job.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/samples/generated/v1/key_management_service.get_key_ring.js.baseline b/baselines/kms/samples/generated/v1/key_management_service.get_key_ring.js.baseline index 1797a129e..4e9e9d943 100644 --- a/baselines/kms/samples/generated/v1/key_management_service.get_key_ring.js.baseline +++ b/baselines/kms/samples/generated/v1/key_management_service.get_key_ring.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/samples/generated/v1/key_management_service.get_public_key.js.baseline b/baselines/kms/samples/generated/v1/key_management_service.get_public_key.js.baseline index 27a858ea1..1cf768d1f 100644 --- a/baselines/kms/samples/generated/v1/key_management_service.get_public_key.js.baseline +++ b/baselines/kms/samples/generated/v1/key_management_service.get_public_key.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/samples/generated/v1/key_management_service.import_crypto_key_version.js.baseline b/baselines/kms/samples/generated/v1/key_management_service.import_crypto_key_version.js.baseline index f6cd1dcc1..c1eb78211 100644 --- a/baselines/kms/samples/generated/v1/key_management_service.import_crypto_key_version.js.baseline +++ b/baselines/kms/samples/generated/v1/key_management_service.import_crypto_key_version.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/samples/generated/v1/key_management_service.list_crypto_key_versions.js.baseline b/baselines/kms/samples/generated/v1/key_management_service.list_crypto_key_versions.js.baseline index 378b17622..8ceb6aca4 100644 --- a/baselines/kms/samples/generated/v1/key_management_service.list_crypto_key_versions.js.baseline +++ b/baselines/kms/samples/generated/v1/key_management_service.list_crypto_key_versions.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/samples/generated/v1/key_management_service.list_crypto_keys.js.baseline b/baselines/kms/samples/generated/v1/key_management_service.list_crypto_keys.js.baseline index 89b8a9d61..a8b83f250 100644 --- a/baselines/kms/samples/generated/v1/key_management_service.list_crypto_keys.js.baseline +++ b/baselines/kms/samples/generated/v1/key_management_service.list_crypto_keys.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/samples/generated/v1/key_management_service.list_import_jobs.js.baseline b/baselines/kms/samples/generated/v1/key_management_service.list_import_jobs.js.baseline index 27cc93e28..d161b0ccf 100644 --- a/baselines/kms/samples/generated/v1/key_management_service.list_import_jobs.js.baseline +++ b/baselines/kms/samples/generated/v1/key_management_service.list_import_jobs.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/samples/generated/v1/key_management_service.list_key_rings.js.baseline b/baselines/kms/samples/generated/v1/key_management_service.list_key_rings.js.baseline index 669ef728d..a951364de 100644 --- a/baselines/kms/samples/generated/v1/key_management_service.list_key_rings.js.baseline +++ b/baselines/kms/samples/generated/v1/key_management_service.list_key_rings.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/samples/generated/v1/key_management_service.restore_crypto_key_version.js.baseline b/baselines/kms/samples/generated/v1/key_management_service.restore_crypto_key_version.js.baseline index 048c04019..3fb44987f 100644 --- a/baselines/kms/samples/generated/v1/key_management_service.restore_crypto_key_version.js.baseline +++ b/baselines/kms/samples/generated/v1/key_management_service.restore_crypto_key_version.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/samples/generated/v1/key_management_service.update_crypto_key.js.baseline b/baselines/kms/samples/generated/v1/key_management_service.update_crypto_key.js.baseline index 30a176e96..ddb28f0a4 100644 --- a/baselines/kms/samples/generated/v1/key_management_service.update_crypto_key.js.baseline +++ b/baselines/kms/samples/generated/v1/key_management_service.update_crypto_key.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/samples/generated/v1/key_management_service.update_crypto_key_primary_version.js.baseline b/baselines/kms/samples/generated/v1/key_management_service.update_crypto_key_primary_version.js.baseline index 7f20dad00..2d27a01cd 100644 --- a/baselines/kms/samples/generated/v1/key_management_service.update_crypto_key_primary_version.js.baseline +++ b/baselines/kms/samples/generated/v1/key_management_service.update_crypto_key_primary_version.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/samples/generated/v1/key_management_service.update_crypto_key_version.js.baseline b/baselines/kms/samples/generated/v1/key_management_service.update_crypto_key_version.js.baseline index f86a6c523..265bbe62a 100644 --- a/baselines/kms/samples/generated/v1/key_management_service.update_crypto_key_version.js.baseline +++ b/baselines/kms/samples/generated/v1/key_management_service.update_crypto_key_version.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/src/index.ts.baseline b/baselines/kms/src/index.ts.baseline index 41aa3201e..902013fbf 100644 --- a/baselines/kms/src/index.ts.baseline +++ b/baselines/kms/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/src/v1/index.ts.baseline b/baselines/kms/src/v1/index.ts.baseline index 99ef9a40d..5d902702c 100644 --- a/baselines/kms/src/v1/index.ts.baseline +++ b/baselines/kms/src/v1/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/src/v1/key_management_service_client.ts.baseline b/baselines/kms/src/v1/key_management_service_client.ts.baseline index 0b612575a..7e422877b 100644 --- a/baselines/kms/src/v1/key_management_service_client.ts.baseline +++ b/baselines/kms/src/v1/key_management_service_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/system-test/fixtures/sample/src/index.js.baseline b/baselines/kms/system-test/fixtures/sample/src/index.js.baseline index 6b9627833..806f93b37 100644 --- a/baselines/kms/system-test/fixtures/sample/src/index.js.baseline +++ b/baselines/kms/system-test/fixtures/sample/src/index.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/system-test/fixtures/sample/src/index.ts.baseline b/baselines/kms/system-test/fixtures/sample/src/index.ts.baseline index 4e6eb48e3..3e4888f4f 100644 --- a/baselines/kms/system-test/fixtures/sample/src/index.ts.baseline +++ b/baselines/kms/system-test/fixtures/sample/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/system-test/install.ts.baseline b/baselines/kms/system-test/install.ts.baseline index 557a57558..c8f81b25a 100644 --- a/baselines/kms/system-test/install.ts.baseline +++ b/baselines/kms/system-test/install.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/kms/test/gapic_key_management_service_v1.ts.baseline b/baselines/kms/test/gapic_key_management_service_v1.ts.baseline index be9931f3d..9f74ab170 100644 --- a/baselines/kms/test/gapic_key_management_service_v1.ts.baseline +++ b/baselines/kms/test/gapic_key_management_service_v1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/.jsdoc.js.baseline b/baselines/logging/.jsdoc.js.baseline index 5c8ae5a1d..8fa5d9d52 100644 --- a/baselines/logging/.jsdoc.js.baseline +++ b/baselines/logging/.jsdoc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ module.exports = { includePattern: '\\.js$' }, templates: { - copyright: 'Copyright 2022 Google LLC', + copyright: 'Copyright 2023 Google LLC', includeDate: false, sourceFiles: false, systemName: 'logging', diff --git a/baselines/logging/.mocharc.js.baseline b/baselines/logging/.mocharc.js.baseline index 481c522b0..1a38f257d 100644 --- a/baselines/logging/.mocharc.js.baseline +++ b/baselines/logging/.mocharc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/.prettierrc.js.baseline b/baselines/logging/.prettierrc.js.baseline index 494e14786..55639e70f 100644 --- a/baselines/logging/.prettierrc.js.baseline +++ b/baselines/logging/.prettierrc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.copy_log_entries.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.copy_log_entries.js.baseline index ae31e2ab7..5a9355b81 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.copy_log_entries.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.copy_log_entries.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.create_bucket.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.create_bucket.js.baseline index ab3808cba..ce4c61aa4 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.create_bucket.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.create_bucket.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.create_exclusion.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.create_exclusion.js.baseline index 1bd92b58d..7a331afaa 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.create_exclusion.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.create_exclusion.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.create_sink.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.create_sink.js.baseline index 1df870ef5..684f65c04 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.create_sink.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.create_sink.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.create_view.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.create_view.js.baseline index 200a7aa43..7f0eb8925 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.create_view.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.create_view.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.delete_bucket.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.delete_bucket.js.baseline index 394d7e1cf..39ac22d8c 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.delete_bucket.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.delete_bucket.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.delete_exclusion.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.delete_exclusion.js.baseline index 27a2dfd2e..bf32b1968 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.delete_exclusion.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.delete_exclusion.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.delete_sink.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.delete_sink.js.baseline index 06fc0f09c..39f305ddd 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.delete_sink.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.delete_sink.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.delete_view.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.delete_view.js.baseline index f0c461d35..c266a8a8f 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.delete_view.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.delete_view.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.get_bucket.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.get_bucket.js.baseline index 92bdf115d..e80c13613 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.get_bucket.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.get_bucket.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.get_cmek_settings.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.get_cmek_settings.js.baseline index b8eb7ac2d..6d092c1c9 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.get_cmek_settings.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.get_cmek_settings.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.get_exclusion.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.get_exclusion.js.baseline index 2eba20feb..5cf8f15e8 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.get_exclusion.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.get_exclusion.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.get_settings.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.get_settings.js.baseline index 79874463d..879eb4982 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.get_settings.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.get_settings.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.get_sink.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.get_sink.js.baseline index c85dfa45d..24d4c4bc0 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.get_sink.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.get_sink.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.get_view.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.get_view.js.baseline index 00515cbb5..50d411414 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.get_view.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.get_view.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.list_buckets.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.list_buckets.js.baseline index 06af3f788..336c3c420 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.list_buckets.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.list_buckets.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.list_exclusions.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.list_exclusions.js.baseline index f8cd5035e..09ee0e127 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.list_exclusions.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.list_exclusions.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.list_sinks.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.list_sinks.js.baseline index 5cc645cee..dbd03bd86 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.list_sinks.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.list_sinks.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.list_views.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.list_views.js.baseline index 7075340a2..ca439d981 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.list_views.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.list_views.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.undelete_bucket.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.undelete_bucket.js.baseline index 372816efd..e822594c7 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.undelete_bucket.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.undelete_bucket.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.update_bucket.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.update_bucket.js.baseline index a055caaea..7b9be8fd4 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.update_bucket.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.update_bucket.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.update_cmek_settings.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.update_cmek_settings.js.baseline index 388c35b71..e121876ce 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.update_cmek_settings.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.update_cmek_settings.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.update_exclusion.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.update_exclusion.js.baseline index a457ddaed..5d012b681 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.update_exclusion.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.update_exclusion.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.update_settings.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.update_settings.js.baseline index 66d5253a0..2f2f8ad2e 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.update_settings.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.update_settings.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.update_sink.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.update_sink.js.baseline index bec769d45..844a2a271 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.update_sink.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.update_sink.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/config_service_v2.update_view.js.baseline b/baselines/logging/samples/generated/v2/config_service_v2.update_view.js.baseline index b33bcde11..05b495a87 100644 --- a/baselines/logging/samples/generated/v2/config_service_v2.update_view.js.baseline +++ b/baselines/logging/samples/generated/v2/config_service_v2.update_view.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/logging_service_v2.delete_log.js.baseline b/baselines/logging/samples/generated/v2/logging_service_v2.delete_log.js.baseline index 4e746a44c..99f8940fd 100644 --- a/baselines/logging/samples/generated/v2/logging_service_v2.delete_log.js.baseline +++ b/baselines/logging/samples/generated/v2/logging_service_v2.delete_log.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/logging_service_v2.list_log_entries.js.baseline b/baselines/logging/samples/generated/v2/logging_service_v2.list_log_entries.js.baseline index eb140d1ed..03e3f6790 100644 --- a/baselines/logging/samples/generated/v2/logging_service_v2.list_log_entries.js.baseline +++ b/baselines/logging/samples/generated/v2/logging_service_v2.list_log_entries.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/logging_service_v2.list_logs.js.baseline b/baselines/logging/samples/generated/v2/logging_service_v2.list_logs.js.baseline index 8902af51e..62a45efaa 100644 --- a/baselines/logging/samples/generated/v2/logging_service_v2.list_logs.js.baseline +++ b/baselines/logging/samples/generated/v2/logging_service_v2.list_logs.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/logging_service_v2.list_monitored_resource_descriptors.js.baseline b/baselines/logging/samples/generated/v2/logging_service_v2.list_monitored_resource_descriptors.js.baseline index c440fc959..f17b1cdc5 100644 --- a/baselines/logging/samples/generated/v2/logging_service_v2.list_monitored_resource_descriptors.js.baseline +++ b/baselines/logging/samples/generated/v2/logging_service_v2.list_monitored_resource_descriptors.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/logging_service_v2.tail_log_entries.js.baseline b/baselines/logging/samples/generated/v2/logging_service_v2.tail_log_entries.js.baseline index 31e3d8d7c..d63821a0d 100644 --- a/baselines/logging/samples/generated/v2/logging_service_v2.tail_log_entries.js.baseline +++ b/baselines/logging/samples/generated/v2/logging_service_v2.tail_log_entries.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/logging_service_v2.write_log_entries.js.baseline b/baselines/logging/samples/generated/v2/logging_service_v2.write_log_entries.js.baseline index 792dab95d..10ff5c6f7 100644 --- a/baselines/logging/samples/generated/v2/logging_service_v2.write_log_entries.js.baseline +++ b/baselines/logging/samples/generated/v2/logging_service_v2.write_log_entries.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/metrics_service_v2.create_log_metric.js.baseline b/baselines/logging/samples/generated/v2/metrics_service_v2.create_log_metric.js.baseline index ac608ac41..738ae2746 100644 --- a/baselines/logging/samples/generated/v2/metrics_service_v2.create_log_metric.js.baseline +++ b/baselines/logging/samples/generated/v2/metrics_service_v2.create_log_metric.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/metrics_service_v2.delete_log_metric.js.baseline b/baselines/logging/samples/generated/v2/metrics_service_v2.delete_log_metric.js.baseline index 1905f155c..dbc3ac63a 100644 --- a/baselines/logging/samples/generated/v2/metrics_service_v2.delete_log_metric.js.baseline +++ b/baselines/logging/samples/generated/v2/metrics_service_v2.delete_log_metric.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/metrics_service_v2.get_log_metric.js.baseline b/baselines/logging/samples/generated/v2/metrics_service_v2.get_log_metric.js.baseline index d31ceda23..3fbd722f7 100644 --- a/baselines/logging/samples/generated/v2/metrics_service_v2.get_log_metric.js.baseline +++ b/baselines/logging/samples/generated/v2/metrics_service_v2.get_log_metric.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/metrics_service_v2.list_log_metrics.js.baseline b/baselines/logging/samples/generated/v2/metrics_service_v2.list_log_metrics.js.baseline index c2244ef15..67bb345bd 100644 --- a/baselines/logging/samples/generated/v2/metrics_service_v2.list_log_metrics.js.baseline +++ b/baselines/logging/samples/generated/v2/metrics_service_v2.list_log_metrics.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/samples/generated/v2/metrics_service_v2.update_log_metric.js.baseline b/baselines/logging/samples/generated/v2/metrics_service_v2.update_log_metric.js.baseline index eda032400..8e2b1ca01 100644 --- a/baselines/logging/samples/generated/v2/metrics_service_v2.update_log_metric.js.baseline +++ b/baselines/logging/samples/generated/v2/metrics_service_v2.update_log_metric.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/src/index.ts.baseline b/baselines/logging/src/index.ts.baseline index ec76184ab..ca1a43eba 100644 --- a/baselines/logging/src/index.ts.baseline +++ b/baselines/logging/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/src/v2/config_service_v2_client.ts.baseline b/baselines/logging/src/v2/config_service_v2_client.ts.baseline index fc2c8c8c5..9e8fbef60 100644 --- a/baselines/logging/src/v2/config_service_v2_client.ts.baseline +++ b/baselines/logging/src/v2/config_service_v2_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/src/v2/index.ts.baseline b/baselines/logging/src/v2/index.ts.baseline index 18cb03a61..75a037639 100644 --- a/baselines/logging/src/v2/index.ts.baseline +++ b/baselines/logging/src/v2/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/src/v2/logging_service_v2_client.ts.baseline b/baselines/logging/src/v2/logging_service_v2_client.ts.baseline index 8a88099fa..7de0d657b 100644 --- a/baselines/logging/src/v2/logging_service_v2_client.ts.baseline +++ b/baselines/logging/src/v2/logging_service_v2_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/src/v2/metrics_service_v2_client.ts.baseline b/baselines/logging/src/v2/metrics_service_v2_client.ts.baseline index 8ca64766a..25d1db8fd 100644 --- a/baselines/logging/src/v2/metrics_service_v2_client.ts.baseline +++ b/baselines/logging/src/v2/metrics_service_v2_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/system-test/fixtures/sample/src/index.js.baseline b/baselines/logging/system-test/fixtures/sample/src/index.js.baseline index ee6888461..d069ad61a 100644 --- a/baselines/logging/system-test/fixtures/sample/src/index.js.baseline +++ b/baselines/logging/system-test/fixtures/sample/src/index.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/system-test/fixtures/sample/src/index.ts.baseline b/baselines/logging/system-test/fixtures/sample/src/index.ts.baseline index 5a3f29e68..0b23f7d35 100644 --- a/baselines/logging/system-test/fixtures/sample/src/index.ts.baseline +++ b/baselines/logging/system-test/fixtures/sample/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/system-test/install.ts.baseline b/baselines/logging/system-test/install.ts.baseline index 557a57558..c8f81b25a 100644 --- a/baselines/logging/system-test/install.ts.baseline +++ b/baselines/logging/system-test/install.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/test/gapic_config_service_v2_v2.ts.baseline b/baselines/logging/test/gapic_config_service_v2_v2.ts.baseline index 37e201104..9d0b3cf84 100644 --- a/baselines/logging/test/gapic_config_service_v2_v2.ts.baseline +++ b/baselines/logging/test/gapic_config_service_v2_v2.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/test/gapic_logging_service_v2_v2.ts.baseline b/baselines/logging/test/gapic_logging_service_v2_v2.ts.baseline index aae78d9f4..587a38e5f 100644 --- a/baselines/logging/test/gapic_logging_service_v2_v2.ts.baseline +++ b/baselines/logging/test/gapic_logging_service_v2_v2.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/logging/test/gapic_metrics_service_v2_v2.ts.baseline b/baselines/logging/test/gapic_metrics_service_v2_v2.ts.baseline index 5d0503fa8..2112d7081 100644 --- a/baselines/logging/test/gapic_metrics_service_v2_v2.ts.baseline +++ b/baselines/logging/test/gapic_metrics_service_v2_v2.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/.jsdoc.js.baseline b/baselines/monitoring/.jsdoc.js.baseline index 28c18586c..e7f5c9efc 100644 --- a/baselines/monitoring/.jsdoc.js.baseline +++ b/baselines/monitoring/.jsdoc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ module.exports = { includePattern: '\\.js$' }, templates: { - copyright: 'Copyright 2022 Google LLC', + copyright: 'Copyright 2023 Google LLC', includeDate: false, sourceFiles: false, systemName: 'monitoring', diff --git a/baselines/monitoring/.mocharc.js.baseline b/baselines/monitoring/.mocharc.js.baseline index 481c522b0..1a38f257d 100644 --- a/baselines/monitoring/.mocharc.js.baseline +++ b/baselines/monitoring/.mocharc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/.prettierrc.js.baseline b/baselines/monitoring/.prettierrc.js.baseline index 494e14786..55639e70f 100644 --- a/baselines/monitoring/.prettierrc.js.baseline +++ b/baselines/monitoring/.prettierrc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/alert_policy_service.create_alert_policy.js.baseline b/baselines/monitoring/samples/generated/v3/alert_policy_service.create_alert_policy.js.baseline index 1f44460d3..fcdf807ab 100644 --- a/baselines/monitoring/samples/generated/v3/alert_policy_service.create_alert_policy.js.baseline +++ b/baselines/monitoring/samples/generated/v3/alert_policy_service.create_alert_policy.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/alert_policy_service.delete_alert_policy.js.baseline b/baselines/monitoring/samples/generated/v3/alert_policy_service.delete_alert_policy.js.baseline index 8a75239dd..b16781286 100644 --- a/baselines/monitoring/samples/generated/v3/alert_policy_service.delete_alert_policy.js.baseline +++ b/baselines/monitoring/samples/generated/v3/alert_policy_service.delete_alert_policy.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/alert_policy_service.get_alert_policy.js.baseline b/baselines/monitoring/samples/generated/v3/alert_policy_service.get_alert_policy.js.baseline index 0f5cce450..06480a66c 100644 --- a/baselines/monitoring/samples/generated/v3/alert_policy_service.get_alert_policy.js.baseline +++ b/baselines/monitoring/samples/generated/v3/alert_policy_service.get_alert_policy.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/alert_policy_service.list_alert_policies.js.baseline b/baselines/monitoring/samples/generated/v3/alert_policy_service.list_alert_policies.js.baseline index 5d5500ce2..401bc4e44 100644 --- a/baselines/monitoring/samples/generated/v3/alert_policy_service.list_alert_policies.js.baseline +++ b/baselines/monitoring/samples/generated/v3/alert_policy_service.list_alert_policies.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/alert_policy_service.update_alert_policy.js.baseline b/baselines/monitoring/samples/generated/v3/alert_policy_service.update_alert_policy.js.baseline index 7d0ddd9da..fe9a515f6 100644 --- a/baselines/monitoring/samples/generated/v3/alert_policy_service.update_alert_policy.js.baseline +++ b/baselines/monitoring/samples/generated/v3/alert_policy_service.update_alert_policy.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/group_service.create_group.js.baseline b/baselines/monitoring/samples/generated/v3/group_service.create_group.js.baseline index d731e6968..24fb27c8a 100644 --- a/baselines/monitoring/samples/generated/v3/group_service.create_group.js.baseline +++ b/baselines/monitoring/samples/generated/v3/group_service.create_group.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/group_service.delete_group.js.baseline b/baselines/monitoring/samples/generated/v3/group_service.delete_group.js.baseline index 1279467f6..3a71c474a 100644 --- a/baselines/monitoring/samples/generated/v3/group_service.delete_group.js.baseline +++ b/baselines/monitoring/samples/generated/v3/group_service.delete_group.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/group_service.get_group.js.baseline b/baselines/monitoring/samples/generated/v3/group_service.get_group.js.baseline index 8665801b1..06f6c8371 100644 --- a/baselines/monitoring/samples/generated/v3/group_service.get_group.js.baseline +++ b/baselines/monitoring/samples/generated/v3/group_service.get_group.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/group_service.list_group_members.js.baseline b/baselines/monitoring/samples/generated/v3/group_service.list_group_members.js.baseline index bb4de5b04..10502ec23 100644 --- a/baselines/monitoring/samples/generated/v3/group_service.list_group_members.js.baseline +++ b/baselines/monitoring/samples/generated/v3/group_service.list_group_members.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/group_service.list_groups.js.baseline b/baselines/monitoring/samples/generated/v3/group_service.list_groups.js.baseline index af440273d..bce97c9e0 100644 --- a/baselines/monitoring/samples/generated/v3/group_service.list_groups.js.baseline +++ b/baselines/monitoring/samples/generated/v3/group_service.list_groups.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/group_service.update_group.js.baseline b/baselines/monitoring/samples/generated/v3/group_service.update_group.js.baseline index 9217ecbf2..b3571603e 100644 --- a/baselines/monitoring/samples/generated/v3/group_service.update_group.js.baseline +++ b/baselines/monitoring/samples/generated/v3/group_service.update_group.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/metric_service.create_metric_descriptor.js.baseline b/baselines/monitoring/samples/generated/v3/metric_service.create_metric_descriptor.js.baseline index bdf4b207c..aa489a552 100644 --- a/baselines/monitoring/samples/generated/v3/metric_service.create_metric_descriptor.js.baseline +++ b/baselines/monitoring/samples/generated/v3/metric_service.create_metric_descriptor.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/metric_service.create_time_series.js.baseline b/baselines/monitoring/samples/generated/v3/metric_service.create_time_series.js.baseline index 880bd4079..9a9c553a0 100644 --- a/baselines/monitoring/samples/generated/v3/metric_service.create_time_series.js.baseline +++ b/baselines/monitoring/samples/generated/v3/metric_service.create_time_series.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/metric_service.delete_metric_descriptor.js.baseline b/baselines/monitoring/samples/generated/v3/metric_service.delete_metric_descriptor.js.baseline index 1b652f024..2092278f7 100644 --- a/baselines/monitoring/samples/generated/v3/metric_service.delete_metric_descriptor.js.baseline +++ b/baselines/monitoring/samples/generated/v3/metric_service.delete_metric_descriptor.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/metric_service.get_metric_descriptor.js.baseline b/baselines/monitoring/samples/generated/v3/metric_service.get_metric_descriptor.js.baseline index 857ba4a78..6cdb2c822 100644 --- a/baselines/monitoring/samples/generated/v3/metric_service.get_metric_descriptor.js.baseline +++ b/baselines/monitoring/samples/generated/v3/metric_service.get_metric_descriptor.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/metric_service.get_monitored_resource_descriptor.js.baseline b/baselines/monitoring/samples/generated/v3/metric_service.get_monitored_resource_descriptor.js.baseline index ad65d5ab2..b9caf4f33 100644 --- a/baselines/monitoring/samples/generated/v3/metric_service.get_monitored_resource_descriptor.js.baseline +++ b/baselines/monitoring/samples/generated/v3/metric_service.get_monitored_resource_descriptor.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/metric_service.list_metric_descriptors.js.baseline b/baselines/monitoring/samples/generated/v3/metric_service.list_metric_descriptors.js.baseline index 548a2c5b8..4a23145f0 100644 --- a/baselines/monitoring/samples/generated/v3/metric_service.list_metric_descriptors.js.baseline +++ b/baselines/monitoring/samples/generated/v3/metric_service.list_metric_descriptors.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/metric_service.list_monitored_resource_descriptors.js.baseline b/baselines/monitoring/samples/generated/v3/metric_service.list_monitored_resource_descriptors.js.baseline index 9a9c95fef..8b6a80382 100644 --- a/baselines/monitoring/samples/generated/v3/metric_service.list_monitored_resource_descriptors.js.baseline +++ b/baselines/monitoring/samples/generated/v3/metric_service.list_monitored_resource_descriptors.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/metric_service.list_time_series.js.baseline b/baselines/monitoring/samples/generated/v3/metric_service.list_time_series.js.baseline index 89a4fd3f0..6057f62e6 100644 --- a/baselines/monitoring/samples/generated/v3/metric_service.list_time_series.js.baseline +++ b/baselines/monitoring/samples/generated/v3/metric_service.list_time_series.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/notification_channel_service.create_notification_channel.js.baseline b/baselines/monitoring/samples/generated/v3/notification_channel_service.create_notification_channel.js.baseline index 181ca18ef..7cfc5ab70 100644 --- a/baselines/monitoring/samples/generated/v3/notification_channel_service.create_notification_channel.js.baseline +++ b/baselines/monitoring/samples/generated/v3/notification_channel_service.create_notification_channel.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/notification_channel_service.delete_notification_channel.js.baseline b/baselines/monitoring/samples/generated/v3/notification_channel_service.delete_notification_channel.js.baseline index 0741765d3..5d4fcb7a6 100644 --- a/baselines/monitoring/samples/generated/v3/notification_channel_service.delete_notification_channel.js.baseline +++ b/baselines/monitoring/samples/generated/v3/notification_channel_service.delete_notification_channel.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/notification_channel_service.get_notification_channel.js.baseline b/baselines/monitoring/samples/generated/v3/notification_channel_service.get_notification_channel.js.baseline index 2874ac8ea..c20b76a04 100644 --- a/baselines/monitoring/samples/generated/v3/notification_channel_service.get_notification_channel.js.baseline +++ b/baselines/monitoring/samples/generated/v3/notification_channel_service.get_notification_channel.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/notification_channel_service.get_notification_channel_descriptor.js.baseline b/baselines/monitoring/samples/generated/v3/notification_channel_service.get_notification_channel_descriptor.js.baseline index 4c7f33e01..a1c71c7fc 100644 --- a/baselines/monitoring/samples/generated/v3/notification_channel_service.get_notification_channel_descriptor.js.baseline +++ b/baselines/monitoring/samples/generated/v3/notification_channel_service.get_notification_channel_descriptor.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/notification_channel_service.get_notification_channel_verification_code.js.baseline b/baselines/monitoring/samples/generated/v3/notification_channel_service.get_notification_channel_verification_code.js.baseline index 3ac1c27f2..3a3d47e99 100644 --- a/baselines/monitoring/samples/generated/v3/notification_channel_service.get_notification_channel_verification_code.js.baseline +++ b/baselines/monitoring/samples/generated/v3/notification_channel_service.get_notification_channel_verification_code.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/notification_channel_service.list_notification_channel_descriptors.js.baseline b/baselines/monitoring/samples/generated/v3/notification_channel_service.list_notification_channel_descriptors.js.baseline index cd4929e3b..b95ea5522 100644 --- a/baselines/monitoring/samples/generated/v3/notification_channel_service.list_notification_channel_descriptors.js.baseline +++ b/baselines/monitoring/samples/generated/v3/notification_channel_service.list_notification_channel_descriptors.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/notification_channel_service.list_notification_channels.js.baseline b/baselines/monitoring/samples/generated/v3/notification_channel_service.list_notification_channels.js.baseline index 3c85c51ce..010357a10 100644 --- a/baselines/monitoring/samples/generated/v3/notification_channel_service.list_notification_channels.js.baseline +++ b/baselines/monitoring/samples/generated/v3/notification_channel_service.list_notification_channels.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/notification_channel_service.send_notification_channel_verification_code.js.baseline b/baselines/monitoring/samples/generated/v3/notification_channel_service.send_notification_channel_verification_code.js.baseline index 1774556e7..c2edfe40c 100644 --- a/baselines/monitoring/samples/generated/v3/notification_channel_service.send_notification_channel_verification_code.js.baseline +++ b/baselines/monitoring/samples/generated/v3/notification_channel_service.send_notification_channel_verification_code.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/notification_channel_service.update_notification_channel.js.baseline b/baselines/monitoring/samples/generated/v3/notification_channel_service.update_notification_channel.js.baseline index 8a0af41ed..248b677bd 100644 --- a/baselines/monitoring/samples/generated/v3/notification_channel_service.update_notification_channel.js.baseline +++ b/baselines/monitoring/samples/generated/v3/notification_channel_service.update_notification_channel.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/notification_channel_service.verify_notification_channel.js.baseline b/baselines/monitoring/samples/generated/v3/notification_channel_service.verify_notification_channel.js.baseline index 9802927d2..73bcab342 100644 --- a/baselines/monitoring/samples/generated/v3/notification_channel_service.verify_notification_channel.js.baseline +++ b/baselines/monitoring/samples/generated/v3/notification_channel_service.verify_notification_channel.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/service_monitoring_service.create_service.js.baseline b/baselines/monitoring/samples/generated/v3/service_monitoring_service.create_service.js.baseline index 5604a1db5..c92d32e11 100644 --- a/baselines/monitoring/samples/generated/v3/service_monitoring_service.create_service.js.baseline +++ b/baselines/monitoring/samples/generated/v3/service_monitoring_service.create_service.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/service_monitoring_service.create_service_level_objective.js.baseline b/baselines/monitoring/samples/generated/v3/service_monitoring_service.create_service_level_objective.js.baseline index 2e660928d..a6acd68bd 100644 --- a/baselines/monitoring/samples/generated/v3/service_monitoring_service.create_service_level_objective.js.baseline +++ b/baselines/monitoring/samples/generated/v3/service_monitoring_service.create_service_level_objective.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/service_monitoring_service.delete_service.js.baseline b/baselines/monitoring/samples/generated/v3/service_monitoring_service.delete_service.js.baseline index ce5749f13..eaf256836 100644 --- a/baselines/monitoring/samples/generated/v3/service_monitoring_service.delete_service.js.baseline +++ b/baselines/monitoring/samples/generated/v3/service_monitoring_service.delete_service.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/service_monitoring_service.delete_service_level_objective.js.baseline b/baselines/monitoring/samples/generated/v3/service_monitoring_service.delete_service_level_objective.js.baseline index 1d7c8b05e..29ebce00b 100644 --- a/baselines/monitoring/samples/generated/v3/service_monitoring_service.delete_service_level_objective.js.baseline +++ b/baselines/monitoring/samples/generated/v3/service_monitoring_service.delete_service_level_objective.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/service_monitoring_service.get_service.js.baseline b/baselines/monitoring/samples/generated/v3/service_monitoring_service.get_service.js.baseline index 2fbe2a147..e73bd58e5 100644 --- a/baselines/monitoring/samples/generated/v3/service_monitoring_service.get_service.js.baseline +++ b/baselines/monitoring/samples/generated/v3/service_monitoring_service.get_service.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/service_monitoring_service.get_service_level_objective.js.baseline b/baselines/monitoring/samples/generated/v3/service_monitoring_service.get_service_level_objective.js.baseline index b29653584..472f58cd0 100644 --- a/baselines/monitoring/samples/generated/v3/service_monitoring_service.get_service_level_objective.js.baseline +++ b/baselines/monitoring/samples/generated/v3/service_monitoring_service.get_service_level_objective.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/service_monitoring_service.list_service_level_objectives.js.baseline b/baselines/monitoring/samples/generated/v3/service_monitoring_service.list_service_level_objectives.js.baseline index b99e0a6ed..6230780f9 100644 --- a/baselines/monitoring/samples/generated/v3/service_monitoring_service.list_service_level_objectives.js.baseline +++ b/baselines/monitoring/samples/generated/v3/service_monitoring_service.list_service_level_objectives.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/service_monitoring_service.list_services.js.baseline b/baselines/monitoring/samples/generated/v3/service_monitoring_service.list_services.js.baseline index 1833f8265..fcb170c6f 100644 --- a/baselines/monitoring/samples/generated/v3/service_monitoring_service.list_services.js.baseline +++ b/baselines/monitoring/samples/generated/v3/service_monitoring_service.list_services.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/service_monitoring_service.update_service.js.baseline b/baselines/monitoring/samples/generated/v3/service_monitoring_service.update_service.js.baseline index 793f706a0..68a33c31f 100644 --- a/baselines/monitoring/samples/generated/v3/service_monitoring_service.update_service.js.baseline +++ b/baselines/monitoring/samples/generated/v3/service_monitoring_service.update_service.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/service_monitoring_service.update_service_level_objective.js.baseline b/baselines/monitoring/samples/generated/v3/service_monitoring_service.update_service_level_objective.js.baseline index f435c2ba3..67d57c9d4 100644 --- a/baselines/monitoring/samples/generated/v3/service_monitoring_service.update_service_level_objective.js.baseline +++ b/baselines/monitoring/samples/generated/v3/service_monitoring_service.update_service_level_objective.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/uptime_check_service.create_uptime_check_config.js.baseline b/baselines/monitoring/samples/generated/v3/uptime_check_service.create_uptime_check_config.js.baseline index 24316cee8..850158a44 100644 --- a/baselines/monitoring/samples/generated/v3/uptime_check_service.create_uptime_check_config.js.baseline +++ b/baselines/monitoring/samples/generated/v3/uptime_check_service.create_uptime_check_config.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/uptime_check_service.delete_uptime_check_config.js.baseline b/baselines/monitoring/samples/generated/v3/uptime_check_service.delete_uptime_check_config.js.baseline index 641b5ec2c..f600cd5c5 100644 --- a/baselines/monitoring/samples/generated/v3/uptime_check_service.delete_uptime_check_config.js.baseline +++ b/baselines/monitoring/samples/generated/v3/uptime_check_service.delete_uptime_check_config.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/uptime_check_service.get_uptime_check_config.js.baseline b/baselines/monitoring/samples/generated/v3/uptime_check_service.get_uptime_check_config.js.baseline index b838bc0ce..88375da03 100644 --- a/baselines/monitoring/samples/generated/v3/uptime_check_service.get_uptime_check_config.js.baseline +++ b/baselines/monitoring/samples/generated/v3/uptime_check_service.get_uptime_check_config.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/uptime_check_service.list_uptime_check_configs.js.baseline b/baselines/monitoring/samples/generated/v3/uptime_check_service.list_uptime_check_configs.js.baseline index fb0070cbe..54ac9bce5 100644 --- a/baselines/monitoring/samples/generated/v3/uptime_check_service.list_uptime_check_configs.js.baseline +++ b/baselines/monitoring/samples/generated/v3/uptime_check_service.list_uptime_check_configs.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/uptime_check_service.list_uptime_check_ips.js.baseline b/baselines/monitoring/samples/generated/v3/uptime_check_service.list_uptime_check_ips.js.baseline index 5b3730c56..7cf393c32 100644 --- a/baselines/monitoring/samples/generated/v3/uptime_check_service.list_uptime_check_ips.js.baseline +++ b/baselines/monitoring/samples/generated/v3/uptime_check_service.list_uptime_check_ips.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/samples/generated/v3/uptime_check_service.update_uptime_check_config.js.baseline b/baselines/monitoring/samples/generated/v3/uptime_check_service.update_uptime_check_config.js.baseline index 6028622d0..9aadf2971 100644 --- a/baselines/monitoring/samples/generated/v3/uptime_check_service.update_uptime_check_config.js.baseline +++ b/baselines/monitoring/samples/generated/v3/uptime_check_service.update_uptime_check_config.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/src/index.ts.baseline b/baselines/monitoring/src/index.ts.baseline index 74bda4de1..236594985 100644 --- a/baselines/monitoring/src/index.ts.baseline +++ b/baselines/monitoring/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/src/v3/alert_policy_service_client.ts.baseline b/baselines/monitoring/src/v3/alert_policy_service_client.ts.baseline index 43b91e24a..0647538b2 100644 --- a/baselines/monitoring/src/v3/alert_policy_service_client.ts.baseline +++ b/baselines/monitoring/src/v3/alert_policy_service_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/src/v3/group_service_client.ts.baseline b/baselines/monitoring/src/v3/group_service_client.ts.baseline index f324c33d7..c11db620f 100644 --- a/baselines/monitoring/src/v3/group_service_client.ts.baseline +++ b/baselines/monitoring/src/v3/group_service_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/src/v3/index.ts.baseline b/baselines/monitoring/src/v3/index.ts.baseline index 143822392..b0cc3b70d 100644 --- a/baselines/monitoring/src/v3/index.ts.baseline +++ b/baselines/monitoring/src/v3/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/src/v3/metric_service_client.ts.baseline b/baselines/monitoring/src/v3/metric_service_client.ts.baseline index 4d9d7c5d3..4ae322af2 100644 --- a/baselines/monitoring/src/v3/metric_service_client.ts.baseline +++ b/baselines/monitoring/src/v3/metric_service_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/src/v3/notification_channel_service_client.ts.baseline b/baselines/monitoring/src/v3/notification_channel_service_client.ts.baseline index 58b60546e..498d9df86 100644 --- a/baselines/monitoring/src/v3/notification_channel_service_client.ts.baseline +++ b/baselines/monitoring/src/v3/notification_channel_service_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/src/v3/service_monitoring_service_client.ts.baseline b/baselines/monitoring/src/v3/service_monitoring_service_client.ts.baseline index 04d43a0f7..d109fdc94 100644 --- a/baselines/monitoring/src/v3/service_monitoring_service_client.ts.baseline +++ b/baselines/monitoring/src/v3/service_monitoring_service_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/src/v3/uptime_check_service_client.ts.baseline b/baselines/monitoring/src/v3/uptime_check_service_client.ts.baseline index 86e8a7bf1..e6274b8ab 100644 --- a/baselines/monitoring/src/v3/uptime_check_service_client.ts.baseline +++ b/baselines/monitoring/src/v3/uptime_check_service_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/system-test/fixtures/sample/src/index.js.baseline b/baselines/monitoring/system-test/fixtures/sample/src/index.js.baseline index fd17c568b..011958461 100644 --- a/baselines/monitoring/system-test/fixtures/sample/src/index.js.baseline +++ b/baselines/monitoring/system-test/fixtures/sample/src/index.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/system-test/fixtures/sample/src/index.ts.baseline b/baselines/monitoring/system-test/fixtures/sample/src/index.ts.baseline index 2546fa969..7ed578df8 100644 --- a/baselines/monitoring/system-test/fixtures/sample/src/index.ts.baseline +++ b/baselines/monitoring/system-test/fixtures/sample/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/system-test/install.ts.baseline b/baselines/monitoring/system-test/install.ts.baseline index 557a57558..c8f81b25a 100644 --- a/baselines/monitoring/system-test/install.ts.baseline +++ b/baselines/monitoring/system-test/install.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/test/gapic_alert_policy_service_v3.ts.baseline b/baselines/monitoring/test/gapic_alert_policy_service_v3.ts.baseline index cfc07aff9..3ff8e68a6 100644 --- a/baselines/monitoring/test/gapic_alert_policy_service_v3.ts.baseline +++ b/baselines/monitoring/test/gapic_alert_policy_service_v3.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/test/gapic_group_service_v3.ts.baseline b/baselines/monitoring/test/gapic_group_service_v3.ts.baseline index 0e3089a27..329d14c52 100644 --- a/baselines/monitoring/test/gapic_group_service_v3.ts.baseline +++ b/baselines/monitoring/test/gapic_group_service_v3.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/test/gapic_metric_service_v3.ts.baseline b/baselines/monitoring/test/gapic_metric_service_v3.ts.baseline index 7d104ae6b..a3e9bc1a4 100644 --- a/baselines/monitoring/test/gapic_metric_service_v3.ts.baseline +++ b/baselines/monitoring/test/gapic_metric_service_v3.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/test/gapic_notification_channel_service_v3.ts.baseline b/baselines/monitoring/test/gapic_notification_channel_service_v3.ts.baseline index c6ce0a4f2..c6c9f7250 100644 --- a/baselines/monitoring/test/gapic_notification_channel_service_v3.ts.baseline +++ b/baselines/monitoring/test/gapic_notification_channel_service_v3.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/test/gapic_service_monitoring_service_v3.ts.baseline b/baselines/monitoring/test/gapic_service_monitoring_service_v3.ts.baseline index 5e995e2ea..6aabeea3b 100644 --- a/baselines/monitoring/test/gapic_service_monitoring_service_v3.ts.baseline +++ b/baselines/monitoring/test/gapic_service_monitoring_service_v3.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/monitoring/test/gapic_uptime_check_service_v3.ts.baseline b/baselines/monitoring/test/gapic_uptime_check_service_v3.ts.baseline index c75761f99..ba68e532f 100644 --- a/baselines/monitoring/test/gapic_uptime_check_service_v3.ts.baseline +++ b/baselines/monitoring/test/gapic_uptime_check_service_v3.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/naming/.jsdoc.js.baseline b/baselines/naming/.jsdoc.js.baseline index 9ec4470ac..ec4295219 100644 --- a/baselines/naming/.jsdoc.js.baseline +++ b/baselines/naming/.jsdoc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ module.exports = { includePattern: '\\.js$' }, templates: { - copyright: 'Copyright 2022 Google LLC', + copyright: 'Copyright 2023 Google LLC', includeDate: false, sourceFiles: false, systemName: 'naming', diff --git a/baselines/naming/.mocharc.js.baseline b/baselines/naming/.mocharc.js.baseline index 481c522b0..1a38f257d 100644 --- a/baselines/naming/.mocharc.js.baseline +++ b/baselines/naming/.mocharc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/naming/.prettierrc.js.baseline b/baselines/naming/.prettierrc.js.baseline index 494e14786..55639e70f 100644 --- a/baselines/naming/.prettierrc.js.baseline +++ b/baselines/naming/.prettierrc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/naming/samples/generated/v1beta1/naming.api_endpoint.js.baseline b/baselines/naming/samples/generated/v1beta1/naming.api_endpoint.js.baseline index 9fc178c30..07c3e8c52 100644 --- a/baselines/naming/samples/generated/v1beta1/naming.api_endpoint.js.baseline +++ b/baselines/naming/samples/generated/v1beta1/naming.api_endpoint.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/naming/samples/generated/v1beta1/naming.check_long_running_progress.js.baseline b/baselines/naming/samples/generated/v1beta1/naming.check_long_running_progress.js.baseline index 1cdd5b2dd..d4b80c083 100644 --- a/baselines/naming/samples/generated/v1beta1/naming.check_long_running_progress.js.baseline +++ b/baselines/naming/samples/generated/v1beta1/naming.check_long_running_progress.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/naming/samples/generated/v1beta1/naming.create_a_b_c_d_e_something.js.baseline b/baselines/naming/samples/generated/v1beta1/naming.create_a_b_c_d_e_something.js.baseline index 48a2de52b..6bafb9aa8 100644 --- a/baselines/naming/samples/generated/v1beta1/naming.create_a_b_c_d_e_something.js.baseline +++ b/baselines/naming/samples/generated/v1beta1/naming.create_a_b_c_d_e_something.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/naming/samples/generated/v1beta1/naming.get_project_id.js.baseline b/baselines/naming/samples/generated/v1beta1/naming.get_project_id.js.baseline index 6abb208a4..6fcc8dc8e 100644 --- a/baselines/naming/samples/generated/v1beta1/naming.get_project_id.js.baseline +++ b/baselines/naming/samples/generated/v1beta1/naming.get_project_id.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/naming/samples/generated/v1beta1/naming.get_reserved_word.js.baseline b/baselines/naming/samples/generated/v1beta1/naming.get_reserved_word.js.baseline index 1643d848b..99d08a292 100644 --- a/baselines/naming/samples/generated/v1beta1/naming.get_reserved_word.js.baseline +++ b/baselines/naming/samples/generated/v1beta1/naming.get_reserved_word.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/naming/samples/generated/v1beta1/naming.initialize.js.baseline b/baselines/naming/samples/generated/v1beta1/naming.initialize.js.baseline index 1a82af39f..2af4ff9c8 100644 --- a/baselines/naming/samples/generated/v1beta1/naming.initialize.js.baseline +++ b/baselines/naming/samples/generated/v1beta1/naming.initialize.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/naming/samples/generated/v1beta1/naming.long_running.js.baseline b/baselines/naming/samples/generated/v1beta1/naming.long_running.js.baseline index 794e1a160..2a0ed73db 100644 --- a/baselines/naming/samples/generated/v1beta1/naming.long_running.js.baseline +++ b/baselines/naming/samples/generated/v1beta1/naming.long_running.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/naming/samples/generated/v1beta1/naming.paginated_method.js.baseline b/baselines/naming/samples/generated/v1beta1/naming.paginated_method.js.baseline index cb1231906..ee369134b 100644 --- a/baselines/naming/samples/generated/v1beta1/naming.paginated_method.js.baseline +++ b/baselines/naming/samples/generated/v1beta1/naming.paginated_method.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/naming/samples/generated/v1beta1/naming.paginated_method_async.js.baseline b/baselines/naming/samples/generated/v1beta1/naming.paginated_method_async.js.baseline index 4ee1c4dc5..57d54e568 100644 --- a/baselines/naming/samples/generated/v1beta1/naming.paginated_method_async.js.baseline +++ b/baselines/naming/samples/generated/v1beta1/naming.paginated_method_async.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/naming/samples/generated/v1beta1/naming.paginated_method_stream.js.baseline b/baselines/naming/samples/generated/v1beta1/naming.paginated_method_stream.js.baseline index 820aa8fc8..6e3524f92 100644 --- a/baselines/naming/samples/generated/v1beta1/naming.paginated_method_stream.js.baseline +++ b/baselines/naming/samples/generated/v1beta1/naming.paginated_method_stream.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/naming/samples/generated/v1beta1/naming.port.js.baseline b/baselines/naming/samples/generated/v1beta1/naming.port.js.baseline index 40bbd460a..8491ed809 100644 --- a/baselines/naming/samples/generated/v1beta1/naming.port.js.baseline +++ b/baselines/naming/samples/generated/v1beta1/naming.port.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/naming/samples/generated/v1beta1/naming.scopes.js.baseline b/baselines/naming/samples/generated/v1beta1/naming.scopes.js.baseline index 1950ff9b6..e3208c313 100644 --- a/baselines/naming/samples/generated/v1beta1/naming.scopes.js.baseline +++ b/baselines/naming/samples/generated/v1beta1/naming.scopes.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/naming/samples/generated/v1beta1/naming.service_path.js.baseline b/baselines/naming/samples/generated/v1beta1/naming.service_path.js.baseline index 912e67b8d..b33d8864d 100644 --- a/baselines/naming/samples/generated/v1beta1/naming.service_path.js.baseline +++ b/baselines/naming/samples/generated/v1beta1/naming.service_path.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/naming/src/index.ts.baseline b/baselines/naming/src/index.ts.baseline index 61ddc1d16..321296c29 100644 --- a/baselines/naming/src/index.ts.baseline +++ b/baselines/naming/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/naming/src/v1beta1/index.ts.baseline b/baselines/naming/src/v1beta1/index.ts.baseline index 14169b0e0..dca26a562 100644 --- a/baselines/naming/src/v1beta1/index.ts.baseline +++ b/baselines/naming/src/v1beta1/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/naming/src/v1beta1/naming_client.ts.baseline b/baselines/naming/src/v1beta1/naming_client.ts.baseline index 060d617de..ddc52baed 100644 --- a/baselines/naming/src/v1beta1/naming_client.ts.baseline +++ b/baselines/naming/src/v1beta1/naming_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/naming/system-test/fixtures/sample/src/index.js.baseline b/baselines/naming/system-test/fixtures/sample/src/index.js.baseline index ff9bfc609..7a04c67c6 100644 --- a/baselines/naming/system-test/fixtures/sample/src/index.js.baseline +++ b/baselines/naming/system-test/fixtures/sample/src/index.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/naming/system-test/fixtures/sample/src/index.ts.baseline b/baselines/naming/system-test/fixtures/sample/src/index.ts.baseline index c2a2d7ad6..2237372c2 100644 --- a/baselines/naming/system-test/fixtures/sample/src/index.ts.baseline +++ b/baselines/naming/system-test/fixtures/sample/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/naming/system-test/install.ts.baseline b/baselines/naming/system-test/install.ts.baseline index 557a57558..c8f81b25a 100644 --- a/baselines/naming/system-test/install.ts.baseline +++ b/baselines/naming/system-test/install.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/naming/test/gapic_naming_v1beta1.ts.baseline b/baselines/naming/test/gapic_naming_v1beta1.ts.baseline index 54bdd27f1..f6a831720 100644 --- a/baselines/naming/test/gapic_naming_v1beta1.ts.baseline +++ b/baselines/naming/test/gapic_naming_v1beta1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/pubsub-api-dump/api.json.baseline b/baselines/pubsub-api-dump/api.json.baseline index 282265efd..eaa7932ce 100644 --- a/baselines/pubsub-api-dump/api.json.baseline +++ b/baselines/pubsub-api-dump/api.json.baseline @@ -3,17 +3,18 @@ "publishName": "pubsub", "naming": { "name": "Pubsub", - "productName": "Pubsub", "namespace": [ "google" ], "version": "v1", + "productName": "Pubsub", "protoPackage": "google.pubsub.v1" }, "hostname": "pubsub.googleapis.com", "port": "443", "services": [ { + "name": "Publisher", "method": [ { "inputInterface": ".google.pubsub.v1.Topic", @@ -35,7 +36,8 @@ ], ".google.api.http": { "put": "/v1/{name=projects/*/topics/*}", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -118,7 +120,8 @@ "options": { ".google.api.http": { "patch": "/v1/{topic.name=projects/*/topics/*}", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -170,7 +173,8 @@ ], ".google.api.http": { "post": "/v1/{topic=projects/*/topics/*}:publish", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -216,7 +220,8 @@ "topic" ], ".google.api.http": { - "get": "/v1/{topic=projects/*/topics/*}" + "get": "/v1/{topic=projects/*/topics/*}", + "additionalBindings": [] } }, "paramComment": [ @@ -239,7 +244,6 @@ { "pagingFieldName": "topics", "pagingResponseType": ".google.pubsub.v1.Topic", - "ignoreMapPagingMethod": false, "inputInterface": ".google.pubsub.v1.ListTopicsRequest", "outputInterface": ".google.pubsub.v1.ListTopicsResponse", "comments": [ @@ -257,7 +261,8 @@ "project" ], ".google.api.http": { - "get": "/v1/{project=projects/*}/topics" + "get": "/v1/{project=projects/*}/topics", + "additionalBindings": [] } }, "paramComment": [ @@ -296,7 +301,6 @@ { "pagingFieldName": "subscriptions", "pagingResponseType": ".google.protobuf.FieldDescriptorProto.Type.TYPE_STRING", - "ignoreMapPagingMethod": false, "inputInterface": ".google.pubsub.v1.ListTopicSubscriptionsRequest", "outputInterface": ".google.pubsub.v1.ListTopicSubscriptionsResponse", "comments": [ @@ -314,7 +318,8 @@ "topic" ], ".google.api.http": { - "get": "/v1/{topic=projects/*/topics/*}/subscriptions" + "get": "/v1/{topic=projects/*/topics/*}/subscriptions", + "additionalBindings": [] } }, "paramComment": [ @@ -353,7 +358,6 @@ { "pagingFieldName": "snapshots", "pagingResponseType": ".google.protobuf.FieldDescriptorProto.Type.TYPE_STRING", - "ignoreMapPagingMethod": false, "inputInterface": ".google.pubsub.v1.ListTopicSnapshotsRequest", "outputInterface": ".google.pubsub.v1.ListTopicSnapshotsResponse", "comments": [ @@ -375,7 +379,8 @@ "topic" ], ".google.api.http": { - "get": "/v1/{topic=projects/*/topics/*}/snapshots" + "get": "/v1/{topic=projects/*/topics/*}/snapshots", + "additionalBindings": [] } }, "paramComment": [ @@ -433,7 +438,8 @@ "topic" ], ".google.api.http": { - "delete": "/v1/{topic=projects/*/topics/*}" + "delete": "/v1/{topic=projects/*/topics/*}", + "additionalBindings": [] } }, "paramComment": [ @@ -471,7 +477,8 @@ "outputType": ".google.pubsub.v1.DetachSubscriptionResponse", "options": { ".google.api.http": { - "post": "/v1/{subscription=projects/*/subscriptions/*}:detach" + "post": "/v1/{subscription=projects/*/subscriptions/*}:detach", + "additionalBindings": [] } }, "paramComment": [ @@ -492,7 +499,6 @@ ] } ], - "name": "Publisher", "options": { ".google.api.defaultHost": "pubsub.googleapis.com", ".google.api.oauthScopes": "https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/pubsub" @@ -3845,6 +3851,42 @@ } }, "retryableCodeMap": { + "codeEnumMapping": { + "0": "OK", + "1": "CANCELLED", + "2": "UNKNOWN", + "3": "INVALID_ARGUMENT", + "4": "DEADLINE_EXCEEDED", + "5": "NOT_FOUND", + "6": "ALREADY_EXISTS", + "7": "PERMISSION_DENIED", + "8": "RESOURCE_EXHAUSTED", + "9": "FAILED_PRECONDITION", + "10": "ABORTED", + "11": "OUT_OF_RANGE", + "12": "UNIMPLEMENTED", + "13": "INTERNAL", + "14": "UNAVAILABLE", + "15": "DATA_LOSS", + "16": "UNAUTHENTICATED", + "OK": "0", + "CANCELLED": "1", + "UNKNOWN": "2", + "INVALID_ARGUMENT": "3", + "DEADLINE_EXCEEDED": "4", + "NOT_FOUND": "5", + "ALREADY_EXISTS": "6", + "PERMISSION_DENIED": "7", + "RESOURCE_EXHAUSTED": "8", + "FAILED_PRECONDITION": "9", + "ABORTED": "10", + "OUT_OF_RANGE": "11", + "UNIMPLEMENTED": "12", + "INTERNAL": "13", + "UNAVAILABLE": "14", + "DATA_LOSS": "15", + "UNAUTHENTICATED": "16" + }, "uniqueCodesNamesMap": { "": "non_idempotent", "deadline_exceeded_unavailable": "idempotent" @@ -3869,25 +3911,6 @@ "max_rpc_timeout_millis": 60000, "total_timeout_millis": 600000 } - }, - "codeEnumMapping": { - "0": "OK", - "1": "CANCELLED", - "2": "UNKNOWN", - "3": "INVALID_ARGUMENT", - "4": "DEADLINE_EXCEEDED", - "5": "NOT_FOUND", - "6": "ALREADY_EXISTS", - "7": "PERMISSION_DENIED", - "8": "RESOURCE_EXHAUSTED", - "9": "FAILED_PRECONDITION", - "10": "ABORTED", - "11": "OUT_OF_RANGE", - "12": "UNIMPLEMENTED", - "13": "INTERNAL", - "14": "UNAVAILABLE", - "15": "DATA_LOSS", - "16": "UNAUTHENTICATED" } }, "grpcServiceConfig": {}, @@ -3914,7 +3937,8 @@ ], ".google.api.http": { "put": "/v1/{name=projects/*/topics/*}", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -3997,7 +4021,8 @@ "options": { ".google.api.http": { "patch": "/v1/{topic.name=projects/*/topics/*}", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -4049,7 +4074,8 @@ ], ".google.api.http": { "post": "/v1/{topic=projects/*/topics/*}:publish", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -4095,7 +4121,8 @@ "topic" ], ".google.api.http": { - "get": "/v1/{topic=projects/*/topics/*}" + "get": "/v1/{topic=projects/*/topics/*}", + "additionalBindings": [] } }, "paramComment": [ @@ -4137,7 +4164,8 @@ "topic" ], ".google.api.http": { - "delete": "/v1/{topic=projects/*/topics/*}" + "delete": "/v1/{topic=projects/*/topics/*}", + "additionalBindings": [] } }, "paramComment": [ @@ -4175,7 +4203,8 @@ "outputType": ".google.pubsub.v1.DetachSubscriptionResponse", "options": { ".google.api.http": { - "post": "/v1/{subscription=projects/*/subscriptions/*}:detach" + "post": "/v1/{subscription=projects/*/subscriptions/*}:detach", + "additionalBindings": [] } }, "paramComment": [ @@ -4206,7 +4235,6 @@ { "pagingFieldName": "topics", "pagingResponseType": ".google.pubsub.v1.Topic", - "ignoreMapPagingMethod": false, "inputInterface": ".google.pubsub.v1.ListTopicsRequest", "outputInterface": ".google.pubsub.v1.ListTopicsResponse", "comments": [ @@ -4224,7 +4252,8 @@ "project" ], ".google.api.http": { - "get": "/v1/{project=projects/*}/topics" + "get": "/v1/{project=projects/*}/topics", + "additionalBindings": [] } }, "paramComment": [ @@ -4263,7 +4292,6 @@ { "pagingFieldName": "subscriptions", "pagingResponseType": ".google.protobuf.FieldDescriptorProto.Type.TYPE_STRING", - "ignoreMapPagingMethod": false, "inputInterface": ".google.pubsub.v1.ListTopicSubscriptionsRequest", "outputInterface": ".google.pubsub.v1.ListTopicSubscriptionsResponse", "comments": [ @@ -4281,7 +4309,8 @@ "topic" ], ".google.api.http": { - "get": "/v1/{topic=projects/*/topics/*}/subscriptions" + "get": "/v1/{topic=projects/*/topics/*}/subscriptions", + "additionalBindings": [] } }, "paramComment": [ @@ -4320,7 +4349,6 @@ { "pagingFieldName": "snapshots", "pagingResponseType": ".google.protobuf.FieldDescriptorProto.Type.TYPE_STRING", - "ignoreMapPagingMethod": false, "inputInterface": ".google.pubsub.v1.ListTopicSnapshotsRequest", "outputInterface": ".google.pubsub.v1.ListTopicSnapshotsResponse", "comments": [ @@ -4342,7 +4370,8 @@ "topic" ], ".google.api.http": { - "get": "/v1/{topic=projects/*/topics/*}/snapshots" + "get": "/v1/{topic=projects/*/topics/*}/snapshots", + "additionalBindings": [] } }, "paramComment": [ @@ -4391,11 +4420,10 @@ "params": [ "project" ], + "type": "cloudresourcemanager.googleapis.com/Project", "pattern": [ "projects/{project}" - ], - "style": [], - "type": "cloudresourcemanager.googleapis.com/Project" + ] }, { "name": "project_topic", @@ -4414,11 +4442,10 @@ "project", "schema" ], + "type": "pubsub.googleapis.com/Schema", "pattern": [ "projects/{project}/schemas/{schema}" - ], - "style": [], - "type": "pubsub.googleapis.com/Schema" + ] }, { "name": "Snapshot", @@ -4426,11 +4453,10 @@ "project", "snapshot" ], + "type": "pubsub.googleapis.com/Snapshot", "pattern": [ "projects/{project}/snapshots/{snapshot}" - ], - "style": [], - "type": "pubsub.googleapis.com/Snapshot" + ] }, { "name": "Subscription", @@ -4438,15 +4464,15 @@ "project", "subscription" ], + "type": "pubsub.googleapis.com/Subscription", "pattern": [ "projects/{project}/subscriptions/{subscription}" - ], - "style": [], - "type": "pubsub.googleapis.com/Subscription" + ] } ] }, { + "name": "SchemaService", "method": [ { "inputInterface": ".google.pubsub.v1.CreateSchemaRequest", @@ -4467,7 +4493,8 @@ ], ".google.api.http": { "post": "/v1/{parent=projects/*}/schemas", - "body": "schema" + "body": "schema", + "additionalBindings": [] } }, "paramComment": [ @@ -4528,7 +4555,8 @@ "name" ], ".google.api.http": { - "get": "/v1/{name=projects/*/schemas/*}" + "get": "/v1/{name=projects/*/schemas/*}", + "additionalBindings": [] } }, "paramComment": [ @@ -4560,7 +4588,6 @@ { "pagingFieldName": "schemas", "pagingResponseType": ".google.pubsub.v1.Schema", - "ignoreMapPagingMethod": false, "inputInterface": ".google.pubsub.v1.ListSchemasRequest", "outputInterface": ".google.pubsub.v1.ListSchemasResponse", "comments": [ @@ -4578,7 +4605,8 @@ "parent" ], ".google.api.http": { - "get": "/v1/{parent=projects/*}/schemas" + "get": "/v1/{parent=projects/*}/schemas", + "additionalBindings": [] } }, "paramComment": [ @@ -4641,7 +4669,8 @@ "name" ], ".google.api.http": { - "delete": "/v1/{name=projects/*/schemas/*}" + "delete": "/v1/{name=projects/*/schemas/*}", + "additionalBindings": [] } }, "paramComment": [ @@ -4680,7 +4709,8 @@ ], ".google.api.http": { "post": "/v1/{parent=projects/*}/schemas:validate", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -4724,7 +4754,8 @@ "options": { ".google.api.http": { "post": "/v1/{parent=projects/*}/schemas:validateMessage", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -4775,7 +4806,6 @@ ] } ], - "name": "SchemaService", "options": { ".google.api.defaultHost": "pubsub.googleapis.com", ".google.api.oauthScopes": "https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/pubsub" @@ -8127,6 +8157,42 @@ } }, "retryableCodeMap": { + "codeEnumMapping": { + "0": "OK", + "1": "CANCELLED", + "2": "UNKNOWN", + "3": "INVALID_ARGUMENT", + "4": "DEADLINE_EXCEEDED", + "5": "NOT_FOUND", + "6": "ALREADY_EXISTS", + "7": "PERMISSION_DENIED", + "8": "RESOURCE_EXHAUSTED", + "9": "FAILED_PRECONDITION", + "10": "ABORTED", + "11": "OUT_OF_RANGE", + "12": "UNIMPLEMENTED", + "13": "INTERNAL", + "14": "UNAVAILABLE", + "15": "DATA_LOSS", + "16": "UNAUTHENTICATED", + "OK": "0", + "CANCELLED": "1", + "UNKNOWN": "2", + "INVALID_ARGUMENT": "3", + "DEADLINE_EXCEEDED": "4", + "NOT_FOUND": "5", + "ALREADY_EXISTS": "6", + "PERMISSION_DENIED": "7", + "RESOURCE_EXHAUSTED": "8", + "FAILED_PRECONDITION": "9", + "ABORTED": "10", + "OUT_OF_RANGE": "11", + "UNIMPLEMENTED": "12", + "INTERNAL": "13", + "UNAVAILABLE": "14", + "DATA_LOSS": "15", + "UNAUTHENTICATED": "16" + }, "uniqueCodesNamesMap": { "": "non_idempotent", "deadline_exceeded_unavailable": "idempotent" @@ -8151,25 +8217,6 @@ "max_rpc_timeout_millis": 60000, "total_timeout_millis": 600000 } - }, - "codeEnumMapping": { - "0": "OK", - "1": "CANCELLED", - "2": "UNKNOWN", - "3": "INVALID_ARGUMENT", - "4": "DEADLINE_EXCEEDED", - "5": "NOT_FOUND", - "6": "ALREADY_EXISTS", - "7": "PERMISSION_DENIED", - "8": "RESOURCE_EXHAUSTED", - "9": "FAILED_PRECONDITION", - "10": "ABORTED", - "11": "OUT_OF_RANGE", - "12": "UNIMPLEMENTED", - "13": "INTERNAL", - "14": "UNAVAILABLE", - "15": "DATA_LOSS", - "16": "UNAUTHENTICATED" } }, "grpcServiceConfig": {}, @@ -8195,7 +8242,8 @@ ], ".google.api.http": { "post": "/v1/{parent=projects/*}/schemas", - "body": "schema" + "body": "schema", + "additionalBindings": [] } }, "paramComment": [ @@ -8256,7 +8304,8 @@ "name" ], ".google.api.http": { - "get": "/v1/{name=projects/*/schemas/*}" + "get": "/v1/{name=projects/*/schemas/*}", + "additionalBindings": [] } }, "paramComment": [ @@ -8303,7 +8352,8 @@ "name" ], ".google.api.http": { - "delete": "/v1/{name=projects/*/schemas/*}" + "delete": "/v1/{name=projects/*/schemas/*}", + "additionalBindings": [] } }, "paramComment": [ @@ -8342,7 +8392,8 @@ ], ".google.api.http": { "post": "/v1/{parent=projects/*}/schemas:validate", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -8386,7 +8437,8 @@ "options": { ".google.api.http": { "post": "/v1/{parent=projects/*}/schemas:validateMessage", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -8447,7 +8499,6 @@ { "pagingFieldName": "schemas", "pagingResponseType": ".google.pubsub.v1.Schema", - "ignoreMapPagingMethod": false, "inputInterface": ".google.pubsub.v1.ListSchemasRequest", "outputInterface": ".google.pubsub.v1.ListSchemasResponse", "comments": [ @@ -8465,7 +8516,8 @@ "parent" ], ".google.api.http": { - "get": "/v1/{parent=projects/*}/schemas" + "get": "/v1/{parent=projects/*}/schemas", + "additionalBindings": [] } }, "paramComment": [ @@ -8523,11 +8575,10 @@ "params": [ "project" ], + "type": "cloudresourcemanager.googleapis.com/Project", "pattern": [ "projects/{project}" - ], - "style": [], - "type": "cloudresourcemanager.googleapis.com/Project" + ] }, { "name": "project_topic", @@ -8546,11 +8597,10 @@ "project", "schema" ], + "type": "pubsub.googleapis.com/Schema", "pattern": [ "projects/{project}/schemas/{schema}" - ], - "style": [], - "type": "pubsub.googleapis.com/Schema" + ] }, { "name": "Snapshot", @@ -8558,11 +8608,10 @@ "project", "snapshot" ], + "type": "pubsub.googleapis.com/Snapshot", "pattern": [ "projects/{project}/snapshots/{snapshot}" - ], - "style": [], - "type": "pubsub.googleapis.com/Snapshot" + ] }, { "name": "Subscription", @@ -8570,15 +8619,15 @@ "project", "subscription" ], + "type": "pubsub.googleapis.com/Subscription", "pattern": [ "projects/{project}/subscriptions/{subscription}" - ], - "style": [], - "type": "pubsub.googleapis.com/Subscription" + ] } ] }, { + "name": "Subscriber", "method": [ { "inputInterface": ".google.pubsub.v1.Subscription", @@ -8609,7 +8658,8 @@ ], ".google.api.http": { "put": "/v1/{name=projects/*/subscriptions/*}", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -8798,7 +8848,8 @@ "subscription" ], ".google.api.http": { - "get": "/v1/{subscription=projects/*/subscriptions/*}" + "get": "/v1/{subscription=projects/*/subscriptions/*}", + "additionalBindings": [] } }, "paramComment": [ @@ -8835,7 +8886,8 @@ "options": { ".google.api.http": { "patch": "/v1/{subscription.name=projects/*/subscriptions/*}", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -8867,7 +8919,6 @@ { "pagingFieldName": "subscriptions", "pagingResponseType": ".google.pubsub.v1.Subscription", - "ignoreMapPagingMethod": false, "inputInterface": ".google.pubsub.v1.ListSubscriptionsRequest", "outputInterface": ".google.pubsub.v1.ListSubscriptionsResponse", "comments": [ @@ -8885,7 +8936,8 @@ "project" ], ".google.api.http": { - "get": "/v1/{project=projects/*}/subscriptions" + "get": "/v1/{project=projects/*}/subscriptions", + "additionalBindings": [] } }, "paramComment": [ @@ -8943,7 +8995,8 @@ "subscription" ], ".google.api.http": { - "delete": "/v1/{subscription=projects/*/subscriptions/*}" + "delete": "/v1/{subscription=projects/*/subscriptions/*}", + "additionalBindings": [] } }, "paramComment": [ @@ -8986,7 +9039,8 @@ ], ".google.api.http": { "post": "/v1/{subscription=projects/*/subscriptions/*}:modifyAckDeadline", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -9054,7 +9108,8 @@ ], ".google.api.http": { "post": "/v1/{subscription=projects/*/subscriptions/*}:acknowledge", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -9105,7 +9160,8 @@ ], ".google.api.http": { "post": "/v1/{subscription=projects/*/subscriptions/*}:pull", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -9303,7 +9359,8 @@ ], ".google.api.http": { "post": "/v1/{subscription=projects/*/subscriptions/*}:modifyPushConfig", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -9358,7 +9415,8 @@ "snapshot" ], ".google.api.http": { - "get": "/v1/{snapshot=projects/*/snapshots/*}" + "get": "/v1/{snapshot=projects/*/snapshots/*}", + "additionalBindings": [] } }, "paramComment": [ @@ -9381,7 +9439,6 @@ { "pagingFieldName": "snapshots", "pagingResponseType": ".google.pubsub.v1.Snapshot", - "ignoreMapPagingMethod": false, "inputInterface": ".google.pubsub.v1.ListSnapshotsRequest", "outputInterface": ".google.pubsub.v1.ListSnapshotsResponse", "comments": [ @@ -9403,7 +9460,8 @@ "project" ], ".google.api.http": { - "get": "/v1/{project=projects/*}/snapshots" + "get": "/v1/{project=projects/*}/snapshots", + "additionalBindings": [] } }, "paramComment": [ @@ -9473,7 +9531,8 @@ ], ".google.api.http": { "put": "/v1/{name=projects/*/snapshots/*}", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -9542,7 +9601,8 @@ "options": { ".google.api.http": { "patch": "/v1/{snapshot.name=projects/*/snapshots/*}", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -9597,7 +9657,8 @@ "snapshot" ], ".google.api.http": { - "delete": "/v1/{snapshot=projects/*/snapshots/*}" + "delete": "/v1/{snapshot=projects/*/snapshots/*}", + "additionalBindings": [] } }, "paramComment": [ @@ -9639,7 +9700,8 @@ "options": { ".google.api.http": { "post": "/v1/{subscription=projects/*/subscriptions/*}:seek", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -9685,7 +9747,6 @@ ] } ], - "name": "Subscriber", "options": { ".google.api.defaultHost": "pubsub.googleapis.com", ".google.api.oauthScopes": "https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/pubsub" @@ -13039,6 +13100,42 @@ } }, "retryableCodeMap": { + "codeEnumMapping": { + "0": "OK", + "1": "CANCELLED", + "2": "UNKNOWN", + "3": "INVALID_ARGUMENT", + "4": "DEADLINE_EXCEEDED", + "5": "NOT_FOUND", + "6": "ALREADY_EXISTS", + "7": "PERMISSION_DENIED", + "8": "RESOURCE_EXHAUSTED", + "9": "FAILED_PRECONDITION", + "10": "ABORTED", + "11": "OUT_OF_RANGE", + "12": "UNIMPLEMENTED", + "13": "INTERNAL", + "14": "UNAVAILABLE", + "15": "DATA_LOSS", + "16": "UNAUTHENTICATED", + "OK": "0", + "CANCELLED": "1", + "UNKNOWN": "2", + "INVALID_ARGUMENT": "3", + "DEADLINE_EXCEEDED": "4", + "NOT_FOUND": "5", + "ALREADY_EXISTS": "6", + "PERMISSION_DENIED": "7", + "RESOURCE_EXHAUSTED": "8", + "FAILED_PRECONDITION": "9", + "ABORTED": "10", + "OUT_OF_RANGE": "11", + "UNIMPLEMENTED": "12", + "INTERNAL": "13", + "UNAVAILABLE": "14", + "DATA_LOSS": "15", + "UNAUTHENTICATED": "16" + }, "uniqueCodesNamesMap": { "": "non_idempotent", "deadline_exceeded_unavailable": "idempotent" @@ -13063,25 +13160,6 @@ "max_rpc_timeout_millis": 60000, "total_timeout_millis": 600000 } - }, - "codeEnumMapping": { - "0": "OK", - "1": "CANCELLED", - "2": "UNKNOWN", - "3": "INVALID_ARGUMENT", - "4": "DEADLINE_EXCEEDED", - "5": "NOT_FOUND", - "6": "ALREADY_EXISTS", - "7": "PERMISSION_DENIED", - "8": "RESOURCE_EXHAUSTED", - "9": "FAILED_PRECONDITION", - "10": "ABORTED", - "11": "OUT_OF_RANGE", - "12": "UNIMPLEMENTED", - "13": "INTERNAL", - "14": "UNAVAILABLE", - "15": "DATA_LOSS", - "16": "UNAUTHENTICATED" } }, "grpcServiceConfig": {}, @@ -13117,7 +13195,8 @@ ], ".google.api.http": { "put": "/v1/{name=projects/*/subscriptions/*}", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -13306,7 +13385,8 @@ "subscription" ], ".google.api.http": { - "get": "/v1/{subscription=projects/*/subscriptions/*}" + "get": "/v1/{subscription=projects/*/subscriptions/*}", + "additionalBindings": [] } }, "paramComment": [ @@ -13343,7 +13423,8 @@ "options": { ".google.api.http": { "patch": "/v1/{subscription.name=projects/*/subscriptions/*}", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -13394,7 +13475,8 @@ "subscription" ], ".google.api.http": { - "delete": "/v1/{subscription=projects/*/subscriptions/*}" + "delete": "/v1/{subscription=projects/*/subscriptions/*}", + "additionalBindings": [] } }, "paramComment": [ @@ -13437,7 +13519,8 @@ ], ".google.api.http": { "post": "/v1/{subscription=projects/*/subscriptions/*}:modifyAckDeadline", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -13505,7 +13588,8 @@ ], ".google.api.http": { "post": "/v1/{subscription=projects/*/subscriptions/*}:acknowledge", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -13556,7 +13640,8 @@ ], ".google.api.http": { "post": "/v1/{subscription=projects/*/subscriptions/*}:pull", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -13624,7 +13709,8 @@ ], ".google.api.http": { "post": "/v1/{subscription=projects/*/subscriptions/*}:modifyPushConfig", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -13679,7 +13765,8 @@ "snapshot" ], ".google.api.http": { - "get": "/v1/{snapshot=projects/*/snapshots/*}" + "get": "/v1/{snapshot=projects/*/snapshots/*}", + "additionalBindings": [] } }, "paramComment": [ @@ -13733,7 +13820,8 @@ ], ".google.api.http": { "put": "/v1/{name=projects/*/snapshots/*}", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -13802,7 +13890,8 @@ "options": { ".google.api.http": { "patch": "/v1/{snapshot.name=projects/*/snapshots/*}", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -13857,7 +13946,8 @@ "snapshot" ], ".google.api.http": { - "delete": "/v1/{snapshot=projects/*/snapshots/*}" + "delete": "/v1/{snapshot=projects/*/snapshots/*}", + "additionalBindings": [] } }, "paramComment": [ @@ -13899,7 +13989,8 @@ "options": { ".google.api.http": { "post": "/v1/{subscription=projects/*/subscriptions/*}:seek", - "body": "*" + "body": "*", + "additionalBindings": [] } }, "paramComment": [ @@ -14217,7 +14308,6 @@ { "pagingFieldName": "subscriptions", "pagingResponseType": ".google.pubsub.v1.Subscription", - "ignoreMapPagingMethod": false, "inputInterface": ".google.pubsub.v1.ListSubscriptionsRequest", "outputInterface": ".google.pubsub.v1.ListSubscriptionsResponse", "comments": [ @@ -14235,7 +14325,8 @@ "project" ], ".google.api.http": { - "get": "/v1/{project=projects/*}/subscriptions" + "get": "/v1/{project=projects/*}/subscriptions", + "additionalBindings": [] } }, "paramComment": [ @@ -14274,7 +14365,6 @@ { "pagingFieldName": "snapshots", "pagingResponseType": ".google.pubsub.v1.Snapshot", - "ignoreMapPagingMethod": false, "inputInterface": ".google.pubsub.v1.ListSnapshotsRequest", "outputInterface": ".google.pubsub.v1.ListSnapshotsResponse", "comments": [ @@ -14296,7 +14386,8 @@ "project" ], ".google.api.http": { - "get": "/v1/{project=projects/*}/snapshots" + "get": "/v1/{project=projects/*}/snapshots", + "additionalBindings": [] } }, "paramComment": [ @@ -14345,11 +14436,10 @@ "params": [ "project" ], + "type": "cloudresourcemanager.googleapis.com/Project", "pattern": [ "projects/{project}" - ], - "style": [], - "type": "cloudresourcemanager.googleapis.com/Project" + ] }, { "name": "project_topic", @@ -14368,11 +14458,10 @@ "project", "schema" ], + "type": "pubsub.googleapis.com/Schema", "pattern": [ "projects/{project}/schemas/{schema}" - ], - "style": [], - "type": "pubsub.googleapis.com/Schema" + ] }, { "name": "Snapshot", @@ -14380,11 +14469,10 @@ "project", "snapshot" ], + "type": "pubsub.googleapis.com/Snapshot", "pattern": [ "projects/{project}/snapshots/{snapshot}" - ], - "style": [], - "type": "pubsub.googleapis.com/Snapshot" + ] }, { "name": "Subscription", @@ -14392,11 +14480,10 @@ "project", "subscription" ], + "type": "pubsub.googleapis.com/Subscription", "pattern": [ "projects/{project}/subscriptions/{subscription}" - ], - "style": [], - "type": "pubsub.googleapis.com/Subscription" + ] } ] } diff --git a/baselines/redis/.jsdoc.js.baseline b/baselines/redis/.jsdoc.js.baseline index 2fb39391a..fb2872827 100644 --- a/baselines/redis/.jsdoc.js.baseline +++ b/baselines/redis/.jsdoc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ module.exports = { includePattern: '\\.js$' }, templates: { - copyright: 'Copyright 2022 Google LLC', + copyright: 'Copyright 2023 Google LLC', includeDate: false, sourceFiles: false, systemName: 'redis', diff --git a/baselines/redis/.mocharc.js.baseline b/baselines/redis/.mocharc.js.baseline index 481c522b0..1a38f257d 100644 --- a/baselines/redis/.mocharc.js.baseline +++ b/baselines/redis/.mocharc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/redis/.prettierrc.js.baseline b/baselines/redis/.prettierrc.js.baseline index 494e14786..55639e70f 100644 --- a/baselines/redis/.prettierrc.js.baseline +++ b/baselines/redis/.prettierrc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/redis/samples/generated/v1beta1/cloud_redis.create_instance.js.baseline b/baselines/redis/samples/generated/v1beta1/cloud_redis.create_instance.js.baseline index 0bdbd6df1..aeba38e9c 100644 --- a/baselines/redis/samples/generated/v1beta1/cloud_redis.create_instance.js.baseline +++ b/baselines/redis/samples/generated/v1beta1/cloud_redis.create_instance.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/redis/samples/generated/v1beta1/cloud_redis.delete_instance.js.baseline b/baselines/redis/samples/generated/v1beta1/cloud_redis.delete_instance.js.baseline index aa0cdc64b..69233d133 100644 --- a/baselines/redis/samples/generated/v1beta1/cloud_redis.delete_instance.js.baseline +++ b/baselines/redis/samples/generated/v1beta1/cloud_redis.delete_instance.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/redis/samples/generated/v1beta1/cloud_redis.export_instance.js.baseline b/baselines/redis/samples/generated/v1beta1/cloud_redis.export_instance.js.baseline index 6ae0a7259..25c83fc5a 100644 --- a/baselines/redis/samples/generated/v1beta1/cloud_redis.export_instance.js.baseline +++ b/baselines/redis/samples/generated/v1beta1/cloud_redis.export_instance.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/redis/samples/generated/v1beta1/cloud_redis.failover_instance.js.baseline b/baselines/redis/samples/generated/v1beta1/cloud_redis.failover_instance.js.baseline index 20592aec2..604793c65 100644 --- a/baselines/redis/samples/generated/v1beta1/cloud_redis.failover_instance.js.baseline +++ b/baselines/redis/samples/generated/v1beta1/cloud_redis.failover_instance.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/redis/samples/generated/v1beta1/cloud_redis.get_instance.js.baseline b/baselines/redis/samples/generated/v1beta1/cloud_redis.get_instance.js.baseline index dfa6634dd..89a3050e1 100644 --- a/baselines/redis/samples/generated/v1beta1/cloud_redis.get_instance.js.baseline +++ b/baselines/redis/samples/generated/v1beta1/cloud_redis.get_instance.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/redis/samples/generated/v1beta1/cloud_redis.import_instance.js.baseline b/baselines/redis/samples/generated/v1beta1/cloud_redis.import_instance.js.baseline index 236c31b79..eb9ffa500 100644 --- a/baselines/redis/samples/generated/v1beta1/cloud_redis.import_instance.js.baseline +++ b/baselines/redis/samples/generated/v1beta1/cloud_redis.import_instance.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/redis/samples/generated/v1beta1/cloud_redis.list_instances.js.baseline b/baselines/redis/samples/generated/v1beta1/cloud_redis.list_instances.js.baseline index 8062e97a5..6e611bb09 100644 --- a/baselines/redis/samples/generated/v1beta1/cloud_redis.list_instances.js.baseline +++ b/baselines/redis/samples/generated/v1beta1/cloud_redis.list_instances.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/redis/samples/generated/v1beta1/cloud_redis.update_instance.js.baseline b/baselines/redis/samples/generated/v1beta1/cloud_redis.update_instance.js.baseline index 2d7775af6..6cf707832 100644 --- a/baselines/redis/samples/generated/v1beta1/cloud_redis.update_instance.js.baseline +++ b/baselines/redis/samples/generated/v1beta1/cloud_redis.update_instance.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/redis/src/index.ts.baseline b/baselines/redis/src/index.ts.baseline index 207a8020c..2ece0fa69 100644 --- a/baselines/redis/src/index.ts.baseline +++ b/baselines/redis/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/redis/src/v1beta1/cloud_redis_client.ts.baseline b/baselines/redis/src/v1beta1/cloud_redis_client.ts.baseline index 25558a3de..c75521385 100644 --- a/baselines/redis/src/v1beta1/cloud_redis_client.ts.baseline +++ b/baselines/redis/src/v1beta1/cloud_redis_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/redis/src/v1beta1/index.ts.baseline b/baselines/redis/src/v1beta1/index.ts.baseline index b07180428..036e9efba 100644 --- a/baselines/redis/src/v1beta1/index.ts.baseline +++ b/baselines/redis/src/v1beta1/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/redis/system-test/fixtures/sample/src/index.js.baseline b/baselines/redis/system-test/fixtures/sample/src/index.js.baseline index 3b9fd1e3e..195f1c4a8 100644 --- a/baselines/redis/system-test/fixtures/sample/src/index.js.baseline +++ b/baselines/redis/system-test/fixtures/sample/src/index.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/redis/system-test/fixtures/sample/src/index.ts.baseline b/baselines/redis/system-test/fixtures/sample/src/index.ts.baseline index 6de877884..a41d8c4a5 100644 --- a/baselines/redis/system-test/fixtures/sample/src/index.ts.baseline +++ b/baselines/redis/system-test/fixtures/sample/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/redis/system-test/install.ts.baseline b/baselines/redis/system-test/install.ts.baseline index 557a57558..c8f81b25a 100644 --- a/baselines/redis/system-test/install.ts.baseline +++ b/baselines/redis/system-test/install.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/redis/test/gapic_cloud_redis_v1beta1.ts.baseline b/baselines/redis/test/gapic_cloud_redis_v1beta1.ts.baseline index 0cf058b5b..deef2d679 100644 --- a/baselines/redis/test/gapic_cloud_redis_v1beta1.ts.baseline +++ b/baselines/redis/test/gapic_cloud_redis_v1beta1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/routingtest/.jsdoc.js.baseline b/baselines/routingtest/.jsdoc.js.baseline index 091d5d7c1..0c969e885 100644 --- a/baselines/routingtest/.jsdoc.js.baseline +++ b/baselines/routingtest/.jsdoc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ module.exports = { includePattern: '\\.js$' }, templates: { - copyright: 'Copyright 2022 Google LLC', + copyright: 'Copyright 2023 Google LLC', includeDate: false, sourceFiles: false, systemName: 'routingtest', diff --git a/baselines/routingtest/.mocharc.js.baseline b/baselines/routingtest/.mocharc.js.baseline index 481c522b0..1a38f257d 100644 --- a/baselines/routingtest/.mocharc.js.baseline +++ b/baselines/routingtest/.mocharc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/routingtest/.prettierrc.js.baseline b/baselines/routingtest/.prettierrc.js.baseline index 494e14786..55639e70f 100644 --- a/baselines/routingtest/.prettierrc.js.baseline +++ b/baselines/routingtest/.prettierrc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/routingtest/samples/generated/v1/test_service.fast_fibonacci.js.baseline b/baselines/routingtest/samples/generated/v1/test_service.fast_fibonacci.js.baseline index c99a8e82d..cd0d5135d 100644 --- a/baselines/routingtest/samples/generated/v1/test_service.fast_fibonacci.js.baseline +++ b/baselines/routingtest/samples/generated/v1/test_service.fast_fibonacci.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/routingtest/samples/generated/v1/test_service.random_fibonacci.js.baseline b/baselines/routingtest/samples/generated/v1/test_service.random_fibonacci.js.baseline index f4150b7ef..b21944b51 100644 --- a/baselines/routingtest/samples/generated/v1/test_service.random_fibonacci.js.baseline +++ b/baselines/routingtest/samples/generated/v1/test_service.random_fibonacci.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/routingtest/samples/generated/v1/test_service.slow_fibonacci.js.baseline b/baselines/routingtest/samples/generated/v1/test_service.slow_fibonacci.js.baseline index 6d1721370..2f6b27cba 100644 --- a/baselines/routingtest/samples/generated/v1/test_service.slow_fibonacci.js.baseline +++ b/baselines/routingtest/samples/generated/v1/test_service.slow_fibonacci.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/routingtest/src/index.ts.baseline b/baselines/routingtest/src/index.ts.baseline index d769d4576..117e23625 100644 --- a/baselines/routingtest/src/index.ts.baseline +++ b/baselines/routingtest/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/routingtest/src/v1/index.ts.baseline b/baselines/routingtest/src/v1/index.ts.baseline index 3bf916eb3..93a5a8ed6 100644 --- a/baselines/routingtest/src/v1/index.ts.baseline +++ b/baselines/routingtest/src/v1/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/routingtest/src/v1/test_service_client.ts.baseline b/baselines/routingtest/src/v1/test_service_client.ts.baseline index c4381e558..8b7c39f96 100644 --- a/baselines/routingtest/src/v1/test_service_client.ts.baseline +++ b/baselines/routingtest/src/v1/test_service_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/routingtest/system-test/fixtures/sample/src/index.js.baseline b/baselines/routingtest/system-test/fixtures/sample/src/index.js.baseline index 156420443..d8dd42373 100644 --- a/baselines/routingtest/system-test/fixtures/sample/src/index.js.baseline +++ b/baselines/routingtest/system-test/fixtures/sample/src/index.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/routingtest/system-test/fixtures/sample/src/index.ts.baseline b/baselines/routingtest/system-test/fixtures/sample/src/index.ts.baseline index cb54b4879..54677371f 100644 --- a/baselines/routingtest/system-test/fixtures/sample/src/index.ts.baseline +++ b/baselines/routingtest/system-test/fixtures/sample/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/routingtest/system-test/install.ts.baseline b/baselines/routingtest/system-test/install.ts.baseline index 557a57558..c8f81b25a 100644 --- a/baselines/routingtest/system-test/install.ts.baseline +++ b/baselines/routingtest/system-test/install.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/routingtest/test/gapic_test_service_v1.ts.baseline b/baselines/routingtest/test/gapic_test_service_v1.ts.baseline index 6b6ab7703..882cc4e31 100644 --- a/baselines/routingtest/test/gapic_test_service_v1.ts.baseline +++ b/baselines/routingtest/test/gapic_test_service_v1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase-legacy/.jsdoc.js.baseline b/baselines/showcase-legacy/.jsdoc.js.baseline index 01638346f..776b2117b 100644 --- a/baselines/showcase-legacy/.jsdoc.js.baseline +++ b/baselines/showcase-legacy/.jsdoc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ module.exports = { includePattern: '\\.js$' }, templates: { - copyright: 'Copyright 2022 Google LLC', + copyright: 'Copyright 2023 Google LLC', includeDate: false, sourceFiles: false, systemName: 'showcase', diff --git a/baselines/showcase-legacy/.mocharc.js.baseline b/baselines/showcase-legacy/.mocharc.js.baseline index 481c522b0..1a38f257d 100644 --- a/baselines/showcase-legacy/.mocharc.js.baseline +++ b/baselines/showcase-legacy/.mocharc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase-legacy/.prettierrc.js.baseline b/baselines/showcase-legacy/.prettierrc.js.baseline index 494e14786..55639e70f 100644 --- a/baselines/showcase-legacy/.prettierrc.js.baseline +++ b/baselines/showcase-legacy/.prettierrc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase-legacy/samples/generated/v1beta1/echo.block.js.baseline b/baselines/showcase-legacy/samples/generated/v1beta1/echo.block.js.baseline index 793a432b8..8c0531922 100644 --- a/baselines/showcase-legacy/samples/generated/v1beta1/echo.block.js.baseline +++ b/baselines/showcase-legacy/samples/generated/v1beta1/echo.block.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase-legacy/samples/generated/v1beta1/echo.chat.js.baseline b/baselines/showcase-legacy/samples/generated/v1beta1/echo.chat.js.baseline index cfea8697e..4a6352b4f 100644 --- a/baselines/showcase-legacy/samples/generated/v1beta1/echo.chat.js.baseline +++ b/baselines/showcase-legacy/samples/generated/v1beta1/echo.chat.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase-legacy/samples/generated/v1beta1/echo.collect.js.baseline b/baselines/showcase-legacy/samples/generated/v1beta1/echo.collect.js.baseline index 17427bc88..d9595dcf0 100644 --- a/baselines/showcase-legacy/samples/generated/v1beta1/echo.collect.js.baseline +++ b/baselines/showcase-legacy/samples/generated/v1beta1/echo.collect.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase-legacy/samples/generated/v1beta1/echo.echo.js.baseline b/baselines/showcase-legacy/samples/generated/v1beta1/echo.echo.js.baseline index 0d85a5373..fbcacf649 100644 --- a/baselines/showcase-legacy/samples/generated/v1beta1/echo.echo.js.baseline +++ b/baselines/showcase-legacy/samples/generated/v1beta1/echo.echo.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase-legacy/samples/generated/v1beta1/echo.expand.js.baseline b/baselines/showcase-legacy/samples/generated/v1beta1/echo.expand.js.baseline index c27294ff4..585a82a9c 100644 --- a/baselines/showcase-legacy/samples/generated/v1beta1/echo.expand.js.baseline +++ b/baselines/showcase-legacy/samples/generated/v1beta1/echo.expand.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase-legacy/samples/generated/v1beta1/echo.paged_expand.js.baseline b/baselines/showcase-legacy/samples/generated/v1beta1/echo.paged_expand.js.baseline index 9d38f3004..5bfd897e8 100644 --- a/baselines/showcase-legacy/samples/generated/v1beta1/echo.paged_expand.js.baseline +++ b/baselines/showcase-legacy/samples/generated/v1beta1/echo.paged_expand.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase-legacy/samples/generated/v1beta1/echo.paged_expand_legacy.js.baseline b/baselines/showcase-legacy/samples/generated/v1beta1/echo.paged_expand_legacy.js.baseline index 336011979..abd21d758 100644 --- a/baselines/showcase-legacy/samples/generated/v1beta1/echo.paged_expand_legacy.js.baseline +++ b/baselines/showcase-legacy/samples/generated/v1beta1/echo.paged_expand_legacy.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase-legacy/samples/generated/v1beta1/echo.paged_expand_legacy_mapped.js.baseline b/baselines/showcase-legacy/samples/generated/v1beta1/echo.paged_expand_legacy_mapped.js.baseline index 84aaf832a..115e7b8f4 100644 --- a/baselines/showcase-legacy/samples/generated/v1beta1/echo.paged_expand_legacy_mapped.js.baseline +++ b/baselines/showcase-legacy/samples/generated/v1beta1/echo.paged_expand_legacy_mapped.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase-legacy/samples/generated/v1beta1/echo.wait.js.baseline b/baselines/showcase-legacy/samples/generated/v1beta1/echo.wait.js.baseline index 8bca6feb9..6dd0262b3 100644 --- a/baselines/showcase-legacy/samples/generated/v1beta1/echo.wait.js.baseline +++ b/baselines/showcase-legacy/samples/generated/v1beta1/echo.wait.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase-legacy/src/index.ts.baseline b/baselines/showcase-legacy/src/index.ts.baseline index f85a7ad7b..f292af8e9 100644 --- a/baselines/showcase-legacy/src/index.ts.baseline +++ b/baselines/showcase-legacy/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase-legacy/src/v1beta1/echo_client.ts.baseline b/baselines/showcase-legacy/src/v1beta1/echo_client.ts.baseline index d6cd17eab..d02468627 100644 --- a/baselines/showcase-legacy/src/v1beta1/echo_client.ts.baseline +++ b/baselines/showcase-legacy/src/v1beta1/echo_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase-legacy/src/v1beta1/index.ts.baseline b/baselines/showcase-legacy/src/v1beta1/index.ts.baseline index eb1faebc8..aad0e4294 100644 --- a/baselines/showcase-legacy/src/v1beta1/index.ts.baseline +++ b/baselines/showcase-legacy/src/v1beta1/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase-legacy/system-test/fixtures/sample/src/index.js.baseline b/baselines/showcase-legacy/system-test/fixtures/sample/src/index.js.baseline index b37976381..d813c260e 100644 --- a/baselines/showcase-legacy/system-test/fixtures/sample/src/index.js.baseline +++ b/baselines/showcase-legacy/system-test/fixtures/sample/src/index.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase-legacy/system-test/fixtures/sample/src/index.ts.baseline b/baselines/showcase-legacy/system-test/fixtures/sample/src/index.ts.baseline index cda5a1727..be6e92ed9 100644 --- a/baselines/showcase-legacy/system-test/fixtures/sample/src/index.ts.baseline +++ b/baselines/showcase-legacy/system-test/fixtures/sample/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase-legacy/system-test/install.ts.baseline b/baselines/showcase-legacy/system-test/install.ts.baseline index 557a57558..c8f81b25a 100644 --- a/baselines/showcase-legacy/system-test/install.ts.baseline +++ b/baselines/showcase-legacy/system-test/install.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase-legacy/test/gapic_echo_v1beta1.ts.baseline b/baselines/showcase-legacy/test/gapic_echo_v1beta1.ts.baseline index ad10947c1..0f775f832 100644 --- a/baselines/showcase-legacy/test/gapic_echo_v1beta1.ts.baseline +++ b/baselines/showcase-legacy/test/gapic_echo_v1beta1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase/.jsdoc.js.baseline b/baselines/showcase/.jsdoc.js.baseline index 01638346f..776b2117b 100644 --- a/baselines/showcase/.jsdoc.js.baseline +++ b/baselines/showcase/.jsdoc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ module.exports = { includePattern: '\\.js$' }, templates: { - copyright: 'Copyright 2022 Google LLC', + copyright: 'Copyright 2023 Google LLC', includeDate: false, sourceFiles: false, systemName: 'showcase', diff --git a/baselines/showcase/.mocharc.js.baseline b/baselines/showcase/.mocharc.js.baseline index 481c522b0..1a38f257d 100644 --- a/baselines/showcase/.mocharc.js.baseline +++ b/baselines/showcase/.mocharc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase/.prettierrc.js.baseline b/baselines/showcase/.prettierrc.js.baseline index 494e14786..55639e70f 100644 --- a/baselines/showcase/.prettierrc.js.baseline +++ b/baselines/showcase/.prettierrc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase/src/index.ts.baseline b/baselines/showcase/src/index.ts.baseline index 4679513de..af97b0adc 100644 --- a/baselines/showcase/src/index.ts.baseline +++ b/baselines/showcase/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase/src/v1beta1/compliance_client.ts.baseline b/baselines/showcase/src/v1beta1/compliance_client.ts.baseline index b4b231cdc..9284ec9d7 100644 --- a/baselines/showcase/src/v1beta1/compliance_client.ts.baseline +++ b/baselines/showcase/src/v1beta1/compliance_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase/src/v1beta1/echo_client.ts.baseline b/baselines/showcase/src/v1beta1/echo_client.ts.baseline index c2eec241f..ba2acc508 100644 --- a/baselines/showcase/src/v1beta1/echo_client.ts.baseline +++ b/baselines/showcase/src/v1beta1/echo_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase/src/v1beta1/identity_client.ts.baseline b/baselines/showcase/src/v1beta1/identity_client.ts.baseline index 3a43ad4fd..017770618 100644 --- a/baselines/showcase/src/v1beta1/identity_client.ts.baseline +++ b/baselines/showcase/src/v1beta1/identity_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase/src/v1beta1/index.ts.baseline b/baselines/showcase/src/v1beta1/index.ts.baseline index fe53c41ac..b9d965553 100644 --- a/baselines/showcase/src/v1beta1/index.ts.baseline +++ b/baselines/showcase/src/v1beta1/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase/src/v1beta1/messaging_client.ts.baseline b/baselines/showcase/src/v1beta1/messaging_client.ts.baseline index b48e53914..fa8297c68 100644 --- a/baselines/showcase/src/v1beta1/messaging_client.ts.baseline +++ b/baselines/showcase/src/v1beta1/messaging_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase/src/v1beta1/sequence_service_client.ts.baseline b/baselines/showcase/src/v1beta1/sequence_service_client.ts.baseline index 684f3b980..e93d53001 100644 --- a/baselines/showcase/src/v1beta1/sequence_service_client.ts.baseline +++ b/baselines/showcase/src/v1beta1/sequence_service_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase/src/v1beta1/testing_client.ts.baseline b/baselines/showcase/src/v1beta1/testing_client.ts.baseline index 6b9421be4..d4e59ccff 100644 --- a/baselines/showcase/src/v1beta1/testing_client.ts.baseline +++ b/baselines/showcase/src/v1beta1/testing_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase/system-test/fixtures/sample/src/index.js.baseline b/baselines/showcase/system-test/fixtures/sample/src/index.js.baseline index 0ca92ab92..cbe70d18f 100644 --- a/baselines/showcase/system-test/fixtures/sample/src/index.js.baseline +++ b/baselines/showcase/system-test/fixtures/sample/src/index.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase/system-test/fixtures/sample/src/index.ts.baseline b/baselines/showcase/system-test/fixtures/sample/src/index.ts.baseline index acf2f6bd6..efc662115 100644 --- a/baselines/showcase/system-test/fixtures/sample/src/index.ts.baseline +++ b/baselines/showcase/system-test/fixtures/sample/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase/system-test/install.ts.baseline b/baselines/showcase/system-test/install.ts.baseline index 557a57558..c8f81b25a 100644 --- a/baselines/showcase/system-test/install.ts.baseline +++ b/baselines/showcase/system-test/install.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase/test/gapic_compliance_v1beta1.ts.baseline b/baselines/showcase/test/gapic_compliance_v1beta1.ts.baseline index 11b81715a..8ea27b8d0 100644 --- a/baselines/showcase/test/gapic_compliance_v1beta1.ts.baseline +++ b/baselines/showcase/test/gapic_compliance_v1beta1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase/test/gapic_echo_v1beta1.ts.baseline b/baselines/showcase/test/gapic_echo_v1beta1.ts.baseline index 71b994a15..fd2f8a86a 100644 --- a/baselines/showcase/test/gapic_echo_v1beta1.ts.baseline +++ b/baselines/showcase/test/gapic_echo_v1beta1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase/test/gapic_identity_v1beta1.ts.baseline b/baselines/showcase/test/gapic_identity_v1beta1.ts.baseline index c8949a578..218576c8a 100644 --- a/baselines/showcase/test/gapic_identity_v1beta1.ts.baseline +++ b/baselines/showcase/test/gapic_identity_v1beta1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase/test/gapic_messaging_v1beta1.ts.baseline b/baselines/showcase/test/gapic_messaging_v1beta1.ts.baseline index a8fbf2cda..5e5b45ce0 100644 --- a/baselines/showcase/test/gapic_messaging_v1beta1.ts.baseline +++ b/baselines/showcase/test/gapic_messaging_v1beta1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase/test/gapic_sequence_service_v1beta1.ts.baseline b/baselines/showcase/test/gapic_sequence_service_v1beta1.ts.baseline index 686e1a952..6819a5d6c 100644 --- a/baselines/showcase/test/gapic_sequence_service_v1beta1.ts.baseline +++ b/baselines/showcase/test/gapic_sequence_service_v1beta1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/showcase/test/gapic_testing_v1beta1.ts.baseline b/baselines/showcase/test/gapic_testing_v1beta1.ts.baseline index 4a0e45241..0b4a8b245 100644 --- a/baselines/showcase/test/gapic_testing_v1beta1.ts.baseline +++ b/baselines/showcase/test/gapic_testing_v1beta1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/.jsdoc.js.baseline b/baselines/tasks/.jsdoc.js.baseline index 395882501..b6dceb56b 100644 --- a/baselines/tasks/.jsdoc.js.baseline +++ b/baselines/tasks/.jsdoc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ module.exports = { includePattern: '\\.js$' }, templates: { - copyright: 'Copyright 2022 Google LLC', + copyright: 'Copyright 2023 Google LLC', includeDate: false, sourceFiles: false, systemName: 'tasks', diff --git a/baselines/tasks/.mocharc.js.baseline b/baselines/tasks/.mocharc.js.baseline index 481c522b0..1a38f257d 100644 --- a/baselines/tasks/.mocharc.js.baseline +++ b/baselines/tasks/.mocharc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/.prettierrc.js.baseline b/baselines/tasks/.prettierrc.js.baseline index 494e14786..55639e70f 100644 --- a/baselines/tasks/.prettierrc.js.baseline +++ b/baselines/tasks/.prettierrc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/samples/generated/v2/cloud_tasks.create_queue.js.baseline b/baselines/tasks/samples/generated/v2/cloud_tasks.create_queue.js.baseline index 3e2d6618b..89ac43a88 100644 --- a/baselines/tasks/samples/generated/v2/cloud_tasks.create_queue.js.baseline +++ b/baselines/tasks/samples/generated/v2/cloud_tasks.create_queue.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/samples/generated/v2/cloud_tasks.create_task.js.baseline b/baselines/tasks/samples/generated/v2/cloud_tasks.create_task.js.baseline index 9de3c6b74..fe4ceaacc 100644 --- a/baselines/tasks/samples/generated/v2/cloud_tasks.create_task.js.baseline +++ b/baselines/tasks/samples/generated/v2/cloud_tasks.create_task.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/samples/generated/v2/cloud_tasks.delete_queue.js.baseline b/baselines/tasks/samples/generated/v2/cloud_tasks.delete_queue.js.baseline index 568a2d8eb..a0d1b5253 100644 --- a/baselines/tasks/samples/generated/v2/cloud_tasks.delete_queue.js.baseline +++ b/baselines/tasks/samples/generated/v2/cloud_tasks.delete_queue.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/samples/generated/v2/cloud_tasks.delete_task.js.baseline b/baselines/tasks/samples/generated/v2/cloud_tasks.delete_task.js.baseline index b8c7f4d06..cfe18f0f7 100644 --- a/baselines/tasks/samples/generated/v2/cloud_tasks.delete_task.js.baseline +++ b/baselines/tasks/samples/generated/v2/cloud_tasks.delete_task.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/samples/generated/v2/cloud_tasks.get_iam_policy.js.baseline b/baselines/tasks/samples/generated/v2/cloud_tasks.get_iam_policy.js.baseline index ee717a1d8..4814da8bf 100644 --- a/baselines/tasks/samples/generated/v2/cloud_tasks.get_iam_policy.js.baseline +++ b/baselines/tasks/samples/generated/v2/cloud_tasks.get_iam_policy.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/samples/generated/v2/cloud_tasks.get_queue.js.baseline b/baselines/tasks/samples/generated/v2/cloud_tasks.get_queue.js.baseline index b985b83cd..ddacf7043 100644 --- a/baselines/tasks/samples/generated/v2/cloud_tasks.get_queue.js.baseline +++ b/baselines/tasks/samples/generated/v2/cloud_tasks.get_queue.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/samples/generated/v2/cloud_tasks.get_task.js.baseline b/baselines/tasks/samples/generated/v2/cloud_tasks.get_task.js.baseline index e4163161c..19e30ac14 100644 --- a/baselines/tasks/samples/generated/v2/cloud_tasks.get_task.js.baseline +++ b/baselines/tasks/samples/generated/v2/cloud_tasks.get_task.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/samples/generated/v2/cloud_tasks.list_queues.js.baseline b/baselines/tasks/samples/generated/v2/cloud_tasks.list_queues.js.baseline index 3d1095939..f26b49e3c 100644 --- a/baselines/tasks/samples/generated/v2/cloud_tasks.list_queues.js.baseline +++ b/baselines/tasks/samples/generated/v2/cloud_tasks.list_queues.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/samples/generated/v2/cloud_tasks.list_tasks.js.baseline b/baselines/tasks/samples/generated/v2/cloud_tasks.list_tasks.js.baseline index 1fe6ea631..946c29055 100644 --- a/baselines/tasks/samples/generated/v2/cloud_tasks.list_tasks.js.baseline +++ b/baselines/tasks/samples/generated/v2/cloud_tasks.list_tasks.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/samples/generated/v2/cloud_tasks.pause_queue.js.baseline b/baselines/tasks/samples/generated/v2/cloud_tasks.pause_queue.js.baseline index a8109913b..9bcb5f568 100644 --- a/baselines/tasks/samples/generated/v2/cloud_tasks.pause_queue.js.baseline +++ b/baselines/tasks/samples/generated/v2/cloud_tasks.pause_queue.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/samples/generated/v2/cloud_tasks.purge_queue.js.baseline b/baselines/tasks/samples/generated/v2/cloud_tasks.purge_queue.js.baseline index 9c7f6d492..bf85a07de 100644 --- a/baselines/tasks/samples/generated/v2/cloud_tasks.purge_queue.js.baseline +++ b/baselines/tasks/samples/generated/v2/cloud_tasks.purge_queue.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/samples/generated/v2/cloud_tasks.resume_queue.js.baseline b/baselines/tasks/samples/generated/v2/cloud_tasks.resume_queue.js.baseline index 6b0cdfa9a..3cb048f43 100644 --- a/baselines/tasks/samples/generated/v2/cloud_tasks.resume_queue.js.baseline +++ b/baselines/tasks/samples/generated/v2/cloud_tasks.resume_queue.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/samples/generated/v2/cloud_tasks.run_task.js.baseline b/baselines/tasks/samples/generated/v2/cloud_tasks.run_task.js.baseline index 9f7c7e4fb..e36b755c2 100644 --- a/baselines/tasks/samples/generated/v2/cloud_tasks.run_task.js.baseline +++ b/baselines/tasks/samples/generated/v2/cloud_tasks.run_task.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/samples/generated/v2/cloud_tasks.set_iam_policy.js.baseline b/baselines/tasks/samples/generated/v2/cloud_tasks.set_iam_policy.js.baseline index 03753d545..a9e378978 100644 --- a/baselines/tasks/samples/generated/v2/cloud_tasks.set_iam_policy.js.baseline +++ b/baselines/tasks/samples/generated/v2/cloud_tasks.set_iam_policy.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/samples/generated/v2/cloud_tasks.test_iam_permissions.js.baseline b/baselines/tasks/samples/generated/v2/cloud_tasks.test_iam_permissions.js.baseline index 9ba3ea1bc..16d527d31 100644 --- a/baselines/tasks/samples/generated/v2/cloud_tasks.test_iam_permissions.js.baseline +++ b/baselines/tasks/samples/generated/v2/cloud_tasks.test_iam_permissions.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/samples/generated/v2/cloud_tasks.update_queue.js.baseline b/baselines/tasks/samples/generated/v2/cloud_tasks.update_queue.js.baseline index 73e74bdf2..d7155bda8 100644 --- a/baselines/tasks/samples/generated/v2/cloud_tasks.update_queue.js.baseline +++ b/baselines/tasks/samples/generated/v2/cloud_tasks.update_queue.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/src/index.ts.baseline b/baselines/tasks/src/index.ts.baseline index 84c7a940a..c4fc56dd2 100644 --- a/baselines/tasks/src/index.ts.baseline +++ b/baselines/tasks/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/src/v2/cloud_tasks_client.ts.baseline b/baselines/tasks/src/v2/cloud_tasks_client.ts.baseline index c61be7a36..94d31eeaa 100644 --- a/baselines/tasks/src/v2/cloud_tasks_client.ts.baseline +++ b/baselines/tasks/src/v2/cloud_tasks_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/src/v2/index.ts.baseline b/baselines/tasks/src/v2/index.ts.baseline index 5241381a8..d424445e7 100644 --- a/baselines/tasks/src/v2/index.ts.baseline +++ b/baselines/tasks/src/v2/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/system-test/fixtures/sample/src/index.js.baseline b/baselines/tasks/system-test/fixtures/sample/src/index.js.baseline index 5d61001d7..822848e37 100644 --- a/baselines/tasks/system-test/fixtures/sample/src/index.js.baseline +++ b/baselines/tasks/system-test/fixtures/sample/src/index.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/system-test/fixtures/sample/src/index.ts.baseline b/baselines/tasks/system-test/fixtures/sample/src/index.ts.baseline index 19962d286..3f7a6018a 100644 --- a/baselines/tasks/system-test/fixtures/sample/src/index.ts.baseline +++ b/baselines/tasks/system-test/fixtures/sample/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/system-test/install.ts.baseline b/baselines/tasks/system-test/install.ts.baseline index 557a57558..c8f81b25a 100644 --- a/baselines/tasks/system-test/install.ts.baseline +++ b/baselines/tasks/system-test/install.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/tasks/test/gapic_cloud_tasks_v2.ts.baseline b/baselines/tasks/test/gapic_cloud_tasks_v2.ts.baseline index 5e143eff9..2895a4a96 100644 --- a/baselines/tasks/test/gapic_cloud_tasks_v2.ts.baseline +++ b/baselines/tasks/test/gapic_cloud_tasks_v2.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/texttospeech/.jsdoc.js.baseline b/baselines/texttospeech/.jsdoc.js.baseline index 929b3c598..ec1d8795a 100644 --- a/baselines/texttospeech/.jsdoc.js.baseline +++ b/baselines/texttospeech/.jsdoc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ module.exports = { includePattern: '\\.js$' }, templates: { - copyright: 'Copyright 2022 Google LLC', + copyright: 'Copyright 2023 Google LLC', includeDate: false, sourceFiles: false, systemName: '@google-cloud/text-to-speech', diff --git a/baselines/texttospeech/.mocharc.js.baseline b/baselines/texttospeech/.mocharc.js.baseline index 481c522b0..1a38f257d 100644 --- a/baselines/texttospeech/.mocharc.js.baseline +++ b/baselines/texttospeech/.mocharc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/texttospeech/.prettierrc.js.baseline b/baselines/texttospeech/.prettierrc.js.baseline index 494e14786..55639e70f 100644 --- a/baselines/texttospeech/.prettierrc.js.baseline +++ b/baselines/texttospeech/.prettierrc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/texttospeech/samples/generated/v1/text_to_speech.list_voices.js.baseline b/baselines/texttospeech/samples/generated/v1/text_to_speech.list_voices.js.baseline index 406567ce3..5608b81f5 100644 --- a/baselines/texttospeech/samples/generated/v1/text_to_speech.list_voices.js.baseline +++ b/baselines/texttospeech/samples/generated/v1/text_to_speech.list_voices.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/texttospeech/samples/generated/v1/text_to_speech.synthesize_speech.js.baseline b/baselines/texttospeech/samples/generated/v1/text_to_speech.synthesize_speech.js.baseline index e8a34543f..15dba94e4 100644 --- a/baselines/texttospeech/samples/generated/v1/text_to_speech.synthesize_speech.js.baseline +++ b/baselines/texttospeech/samples/generated/v1/text_to_speech.synthesize_speech.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/texttospeech/src/index.ts.baseline b/baselines/texttospeech/src/index.ts.baseline index 1b53e3f7a..0baf11648 100644 --- a/baselines/texttospeech/src/index.ts.baseline +++ b/baselines/texttospeech/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/texttospeech/src/v1/index.ts.baseline b/baselines/texttospeech/src/v1/index.ts.baseline index 65a0b58dd..b4099c420 100644 --- a/baselines/texttospeech/src/v1/index.ts.baseline +++ b/baselines/texttospeech/src/v1/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/texttospeech/src/v1/text_to_speech_client.ts.baseline b/baselines/texttospeech/src/v1/text_to_speech_client.ts.baseline index b460fd1a4..ca727e72c 100644 --- a/baselines/texttospeech/src/v1/text_to_speech_client.ts.baseline +++ b/baselines/texttospeech/src/v1/text_to_speech_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/texttospeech/system-test/fixtures/sample/src/index.js.baseline b/baselines/texttospeech/system-test/fixtures/sample/src/index.js.baseline index 6f4ad0821..9b1c62215 100644 --- a/baselines/texttospeech/system-test/fixtures/sample/src/index.js.baseline +++ b/baselines/texttospeech/system-test/fixtures/sample/src/index.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/texttospeech/system-test/fixtures/sample/src/index.ts.baseline b/baselines/texttospeech/system-test/fixtures/sample/src/index.ts.baseline index 78c11ac75..4837504df 100644 --- a/baselines/texttospeech/system-test/fixtures/sample/src/index.ts.baseline +++ b/baselines/texttospeech/system-test/fixtures/sample/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/texttospeech/system-test/install.ts.baseline b/baselines/texttospeech/system-test/install.ts.baseline index 557a57558..c8f81b25a 100644 --- a/baselines/texttospeech/system-test/install.ts.baseline +++ b/baselines/texttospeech/system-test/install.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/texttospeech/test/gapic_text_to_speech_v1.ts.baseline b/baselines/texttospeech/test/gapic_text_to_speech_v1.ts.baseline index c84d0500c..0b8361dbf 100644 --- a/baselines/texttospeech/test/gapic_text_to_speech_v1.ts.baseline +++ b/baselines/texttospeech/test/gapic_text_to_speech_v1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/translate/.jsdoc.js.baseline b/baselines/translate/.jsdoc.js.baseline index 59d9a3a49..c9cc5720b 100644 --- a/baselines/translate/.jsdoc.js.baseline +++ b/baselines/translate/.jsdoc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ module.exports = { includePattern: '\\.js$' }, templates: { - copyright: 'Copyright 2022 Google LLC', + copyright: 'Copyright 2023 Google LLC', includeDate: false, sourceFiles: false, systemName: 'translation', diff --git a/baselines/translate/.mocharc.js.baseline b/baselines/translate/.mocharc.js.baseline index 481c522b0..1a38f257d 100644 --- a/baselines/translate/.mocharc.js.baseline +++ b/baselines/translate/.mocharc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/translate/.prettierrc.js.baseline b/baselines/translate/.prettierrc.js.baseline index 494e14786..55639e70f 100644 --- a/baselines/translate/.prettierrc.js.baseline +++ b/baselines/translate/.prettierrc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/translate/samples/generated/v3beta1/translation_service.batch_translate_text.js.baseline b/baselines/translate/samples/generated/v3beta1/translation_service.batch_translate_text.js.baseline index ee70e98f8..d20cf4875 100644 --- a/baselines/translate/samples/generated/v3beta1/translation_service.batch_translate_text.js.baseline +++ b/baselines/translate/samples/generated/v3beta1/translation_service.batch_translate_text.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/translate/samples/generated/v3beta1/translation_service.create_glossary.js.baseline b/baselines/translate/samples/generated/v3beta1/translation_service.create_glossary.js.baseline index 63e5b10b7..888d6efc8 100644 --- a/baselines/translate/samples/generated/v3beta1/translation_service.create_glossary.js.baseline +++ b/baselines/translate/samples/generated/v3beta1/translation_service.create_glossary.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/translate/samples/generated/v3beta1/translation_service.delete_glossary.js.baseline b/baselines/translate/samples/generated/v3beta1/translation_service.delete_glossary.js.baseline index 5577c58e3..48dfacbf1 100644 --- a/baselines/translate/samples/generated/v3beta1/translation_service.delete_glossary.js.baseline +++ b/baselines/translate/samples/generated/v3beta1/translation_service.delete_glossary.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/translate/samples/generated/v3beta1/translation_service.detect_language.js.baseline b/baselines/translate/samples/generated/v3beta1/translation_service.detect_language.js.baseline index a44d267b5..923004615 100644 --- a/baselines/translate/samples/generated/v3beta1/translation_service.detect_language.js.baseline +++ b/baselines/translate/samples/generated/v3beta1/translation_service.detect_language.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/translate/samples/generated/v3beta1/translation_service.get_glossary.js.baseline b/baselines/translate/samples/generated/v3beta1/translation_service.get_glossary.js.baseline index d0e6ff06f..0f35b0b41 100644 --- a/baselines/translate/samples/generated/v3beta1/translation_service.get_glossary.js.baseline +++ b/baselines/translate/samples/generated/v3beta1/translation_service.get_glossary.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/translate/samples/generated/v3beta1/translation_service.get_supported_languages.js.baseline b/baselines/translate/samples/generated/v3beta1/translation_service.get_supported_languages.js.baseline index a0f0467da..3fbe22da8 100644 --- a/baselines/translate/samples/generated/v3beta1/translation_service.get_supported_languages.js.baseline +++ b/baselines/translate/samples/generated/v3beta1/translation_service.get_supported_languages.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/translate/samples/generated/v3beta1/translation_service.list_glossaries.js.baseline b/baselines/translate/samples/generated/v3beta1/translation_service.list_glossaries.js.baseline index 97775a06d..114c3980f 100644 --- a/baselines/translate/samples/generated/v3beta1/translation_service.list_glossaries.js.baseline +++ b/baselines/translate/samples/generated/v3beta1/translation_service.list_glossaries.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/translate/samples/generated/v3beta1/translation_service.translate_text.js.baseline b/baselines/translate/samples/generated/v3beta1/translation_service.translate_text.js.baseline index dace6c6e2..0967803ad 100644 --- a/baselines/translate/samples/generated/v3beta1/translation_service.translate_text.js.baseline +++ b/baselines/translate/samples/generated/v3beta1/translation_service.translate_text.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/translate/src/index.ts.baseline b/baselines/translate/src/index.ts.baseline index 732abb0bb..2bb8e6ccb 100644 --- a/baselines/translate/src/index.ts.baseline +++ b/baselines/translate/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/translate/src/v3beta1/index.ts.baseline b/baselines/translate/src/v3beta1/index.ts.baseline index 46c99bab7..6ee6c4caa 100644 --- a/baselines/translate/src/v3beta1/index.ts.baseline +++ b/baselines/translate/src/v3beta1/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/translate/src/v3beta1/translation_service_client.ts.baseline b/baselines/translate/src/v3beta1/translation_service_client.ts.baseline index e58b24b75..da0602787 100644 --- a/baselines/translate/src/v3beta1/translation_service_client.ts.baseline +++ b/baselines/translate/src/v3beta1/translation_service_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/translate/system-test/fixtures/sample/src/index.js.baseline b/baselines/translate/system-test/fixtures/sample/src/index.js.baseline index 5c7d79aa6..aa01bb571 100644 --- a/baselines/translate/system-test/fixtures/sample/src/index.js.baseline +++ b/baselines/translate/system-test/fixtures/sample/src/index.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/translate/system-test/fixtures/sample/src/index.ts.baseline b/baselines/translate/system-test/fixtures/sample/src/index.ts.baseline index 4f81a2d86..c3a91c0e6 100644 --- a/baselines/translate/system-test/fixtures/sample/src/index.ts.baseline +++ b/baselines/translate/system-test/fixtures/sample/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/translate/system-test/install.ts.baseline b/baselines/translate/system-test/install.ts.baseline index 557a57558..c8f81b25a 100644 --- a/baselines/translate/system-test/install.ts.baseline +++ b/baselines/translate/system-test/install.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/translate/test/gapic_translation_service_v3beta1.ts.baseline b/baselines/translate/test/gapic_translation_service_v3beta1.ts.baseline index afd47e4b9..60250910e 100644 --- a/baselines/translate/test/gapic_translation_service_v3beta1.ts.baseline +++ b/baselines/translate/test/gapic_translation_service_v3beta1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/videointelligence/.jsdoc.js.baseline b/baselines/videointelligence/.jsdoc.js.baseline index bb0151c5e..06a535495 100644 --- a/baselines/videointelligence/.jsdoc.js.baseline +++ b/baselines/videointelligence/.jsdoc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,7 @@ module.exports = { includePattern: '\\.js$' }, templates: { - copyright: 'Copyright 2022 Google LLC', + copyright: 'Copyright 2023 Google LLC', includeDate: false, sourceFiles: false, systemName: 'videointelligence', diff --git a/baselines/videointelligence/.mocharc.js.baseline b/baselines/videointelligence/.mocharc.js.baseline index 481c522b0..1a38f257d 100644 --- a/baselines/videointelligence/.mocharc.js.baseline +++ b/baselines/videointelligence/.mocharc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/videointelligence/.prettierrc.js.baseline b/baselines/videointelligence/.prettierrc.js.baseline index 494e14786..55639e70f 100644 --- a/baselines/videointelligence/.prettierrc.js.baseline +++ b/baselines/videointelligence/.prettierrc.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/videointelligence/samples/generated/v1/video_intelligence_service.annotate_video.js.baseline b/baselines/videointelligence/samples/generated/v1/video_intelligence_service.annotate_video.js.baseline index 311b57998..42a8a6d86 100644 --- a/baselines/videointelligence/samples/generated/v1/video_intelligence_service.annotate_video.js.baseline +++ b/baselines/videointelligence/samples/generated/v1/video_intelligence_service.annotate_video.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/videointelligence/src/index.ts.baseline b/baselines/videointelligence/src/index.ts.baseline index b79405472..636858220 100644 --- a/baselines/videointelligence/src/index.ts.baseline +++ b/baselines/videointelligence/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/videointelligence/src/v1/index.ts.baseline b/baselines/videointelligence/src/v1/index.ts.baseline index 6fcd19333..26f14e866 100644 --- a/baselines/videointelligence/src/v1/index.ts.baseline +++ b/baselines/videointelligence/src/v1/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/videointelligence/src/v1/video_intelligence_service_client.ts.baseline b/baselines/videointelligence/src/v1/video_intelligence_service_client.ts.baseline index e4994cac5..66aa96d59 100644 --- a/baselines/videointelligence/src/v1/video_intelligence_service_client.ts.baseline +++ b/baselines/videointelligence/src/v1/video_intelligence_service_client.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/videointelligence/system-test/fixtures/sample/src/index.js.baseline b/baselines/videointelligence/system-test/fixtures/sample/src/index.js.baseline index 06aa40cd5..524628f62 100644 --- a/baselines/videointelligence/system-test/fixtures/sample/src/index.js.baseline +++ b/baselines/videointelligence/system-test/fixtures/sample/src/index.js.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/videointelligence/system-test/fixtures/sample/src/index.ts.baseline b/baselines/videointelligence/system-test/fixtures/sample/src/index.ts.baseline index f070d10fd..b614c0b0f 100644 --- a/baselines/videointelligence/system-test/fixtures/sample/src/index.ts.baseline +++ b/baselines/videointelligence/system-test/fixtures/sample/src/index.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/videointelligence/system-test/install.ts.baseline b/baselines/videointelligence/system-test/install.ts.baseline index 557a57558..c8f81b25a 100644 --- a/baselines/videointelligence/system-test/install.ts.baseline +++ b/baselines/videointelligence/system-test/install.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/baselines/videointelligence/test/gapic_video_intelligence_service_v1.ts.baseline b/baselines/videointelligence/test/gapic_video_intelligence_service_v1.ts.baseline index 828183b60..a3340b29a 100644 --- a/baselines/videointelligence/test/gapic_video_intelligence_service_v1.ts.baseline +++ b/baselines/videointelligence/test/gapic_video_intelligence_service_v1.ts.baseline @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/package.json b/package.json index 0153c4004..824ffd119 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "@google-cloud/gapic-generator", "version": "2.18.2", + "type": "module", "description": "Google API Client Library Generator for TypeScript, written in TypeScript.", "homepage": "https://github.com/googleapis/gapic-generator-typescript#readme", "bugs": { @@ -27,11 +28,11 @@ "clean": "bazel clean && rm -rf build", "codecov": "c8 --reporter=lcov mocha bazel-bin/typescript/test/unit && c8 report", "compile": "bazel build //...", - "compile-protos": "pbjs -t static-module -o protos/index.js -p node_modules/google-gax/build/protos -p protos google/api/annotations.proto google/api/field_behavior.proto google/api/resource.proto google/api/routing.proto google/longrunning/operations.proto google/protobuf/compiler/plugin.proto service_config.proto snippet_index.proto && pbts protos/index.js -o protos/index.d.ts", + "compile-protos-json": "pbjs -t json -o protos/protos.json -p node_modules/google-gax/build/protos -p protos google/api/annotations.proto google/api/field_behavior.proto google/api/resource.proto google/api/routing.proto google/longrunning/operations.proto google/protobuf/compiler/plugin.proto service_config.proto snippet_index.proto", + "compile-protos-js": "pbjs -t static-module -o protos/index.js -p node_modules/google-gax/build/protos -p protos google/api/annotations.proto google/api/field_behavior.proto google/api/resource.proto google/api/routing.proto google/longrunning/operations.proto google/protobuf/compiler/plugin.proto service_config.proto snippet_index.proto", + "compile-protos-dts": "pbts protos/index.js -o protos/index.d.ts", "docker-test": "sh docker/test.sh", - "fix": "gts fix", "js-test-application": "mocha bazel-bin/typescript/test/test-application/test-js --timeout 600000", - "lint": "gts check", "prepack": "npm run compile && cd templates/typescript_gapic && rm -f package.json.njk && mv package.json package.json.njk && cd ../.. && mkdir -p build && cp -rf bazel-bin/typescript templates protos build/", "postpack": "cd templates/typescript_gapic && mv package.json.njk package.json && ln -s package.json package.json.njk", "test": "bazel test --test_output=errors //:unit_tests", @@ -39,36 +40,29 @@ }, "dependencies": { "@types/js-yaml": "^4.0.5", - "fs-extra": "^10.1.0", "google-gax": "^3.5.2", "js-yaml": "^4.1.0", - "long": "^5.2.0", + "long": "^5.2.1", "nunjucks": "^3.2.3", "object-hash": "^3.0.0", + "proto3-json-serializer": "^1.1.0", "protobufjs": "^7.1.2", - "yargs": "^17.6.0" + "yargs": "^17.6.2" }, "devDependencies": { "@bazel/bazelisk": "^1.12.1", - "@bazel/buildifier": "^5.1.0", - "@bazel/typescript": "~4.6.1", "@types/fs-extra": "^9.0.13", - "@types/long": "^4.0.2", - "@types/mocha": "^10.0.0", + "@types/mocha": "^10.0.1", "@types/module-alias": "^2.0.1", - "@types/node": "^16.11.68", + "@types/node": "^18.11.17", "@types/nunjucks": "^3.2.1", - "@types/object-hash": "^2.2.1", - "@types/sinon": "^10.0.13", - "@types/yargs": "^17.0.13", - "c8": "^7.12.0", + "@types/object-hash": "^3.0.2", + "@types/yargs": "^17.0.17", "espower-typescript": "^10.0.1", - "gts": "^3.1.1", - "mocha": "^10.1.0", - "sinon": "^14.0.1", - "typescript": "~4.8.4" + "mocha": "^10.2.0", + "typescript": "4.9.3" }, "engines": { - "node": ">=12" + "node": ">=18" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml new file mode 100644 index 000000000..afe2688c2 --- /dev/null +++ b/pnpm-lock.yaml @@ -0,0 +1,1862 @@ +lockfileVersion: 5.4 + +specifiers: + '@bazel/bazelisk': ^1.12.1 + '@types/fs-extra': ^9.0.13 + '@types/js-yaml': ^4.0.5 + '@types/mocha': ^10.0.1 + '@types/module-alias': ^2.0.1 + '@types/node': ^18.11.17 + '@types/nunjucks': ^3.2.1 + '@types/object-hash': ^3.0.2 + '@types/yargs': ^17.0.17 + espower-typescript: ^10.0.1 + google-gax: ^3.5.2 + js-yaml: ^4.1.0 + long: ^5.2.1 + mocha: ^10.2.0 + nunjucks: ^3.2.3 + object-hash: ^3.0.0 + proto3-json-serializer: ^1.1.0 + protobufjs: ^7.1.2 + typescript: 4.9.3 + yargs: ^17.6.2 + +dependencies: + '@types/js-yaml': 4.0.5 + google-gax: 3.5.2 + js-yaml: 4.1.0 + long: 5.2.1 + nunjucks: 3.2.3 + object-hash: 3.0.0 + proto3-json-serializer: 1.1.0 + protobufjs: 7.1.2 + yargs: 17.6.2 + +devDependencies: + '@bazel/bazelisk': 1.12.1 + '@types/fs-extra': 9.0.13 + '@types/mocha': 10.0.1 + '@types/module-alias': 2.0.1 + '@types/node': 18.11.17 + '@types/nunjucks': 3.2.1 + '@types/object-hash': 3.0.2 + '@types/yargs': 17.0.17 + espower-typescript: 10.0.1_uee4qiwqn3unkf63btmdmbbczi + mocha: 10.2.0 + typescript: 4.9.3 + +packages: + + /@babel/helper-string-parser/7.19.4: + resolution: {integrity: sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==} + engines: {node: '>=6.9.0'} + dev: false + + /@babel/helper-validator-identifier/7.19.1: + resolution: {integrity: sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==} + engines: {node: '>=6.9.0'} + dev: false + + /@babel/parser/7.20.13: + resolution: {integrity: sha512-gFDLKMfpiXCsjt4za2JA9oTMn70CeseCehb11kRZgvd7+F67Hih3OHOK24cRrWECJ/ljfPGac6ygXAs/C8kIvw==} + engines: {node: '>=6.0.0'} + hasBin: true + dependencies: + '@babel/types': 7.20.7 + dev: false + + /@babel/types/7.20.7: + resolution: {integrity: sha512-69OnhBxSSgK0OzTJai4kyPDiKTIe3j+ctaHdIGVbRahTLAT7L3R9oeXHC2aVSuGYt3cVnoAMDmOCgJ2yaiLMvg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/helper-string-parser': 7.19.4 + '@babel/helper-validator-identifier': 7.19.1 + to-fast-properties: 2.0.0 + dev: false + + /@bazel/bazelisk/1.12.1: + resolution: {integrity: sha512-TGCwVeIiVeQUP6yLpxAg8yluFOC+tBQnWw5l8lqwMxKhRtOA+WaH1CJKAXeCBAaS2MxohhkXq44zj/7AM+t2jg==} + hasBin: true + dev: true + + /@cspotcode/source-map-support/0.8.1: + resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} + engines: {node: '>=12'} + dependencies: + '@jridgewell/trace-mapping': 0.3.9 + dev: true + + /@grpc/grpc-js/1.7.3: + resolution: {integrity: sha512-H9l79u4kJ2PVSxUNA08HMYAnUBLj9v6KjYQ7SQ71hOZcEXhShE/y5iQCesP8+6/Ik/7i2O0a10bPquIcYfufog==} + engines: {node: ^8.13.0 || >=10.10.0} + dependencies: + '@grpc/proto-loader': 0.7.4 + '@types/node': 18.11.17 + dev: false + + /@grpc/proto-loader/0.7.4: + resolution: {integrity: sha512-MnWjkGwqQ3W8fx94/c1CwqLsNmHHv2t0CFn+9++6+cDphC1lolpg9M2OU0iebIjK//pBNX9e94ho+gjx6vz39w==} + engines: {node: '>=6'} + hasBin: true + dependencies: + '@types/long': 4.0.2 + lodash.camelcase: 4.3.0 + long: 4.0.0 + protobufjs: 7.1.2 + yargs: 16.2.0 + dev: false + + /@jridgewell/resolve-uri/3.1.0: + resolution: {integrity: sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==} + engines: {node: '>=6.0.0'} + dev: true + + /@jridgewell/sourcemap-codec/1.4.14: + resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==} + dev: true + + /@jridgewell/trace-mapping/0.3.9: + resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} + dependencies: + '@jridgewell/resolve-uri': 3.1.0 + '@jridgewell/sourcemap-codec': 1.4.14 + dev: true + + /@protobufjs/aspromise/1.1.2: + resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==} + dev: false + + /@protobufjs/base64/1.1.2: + resolution: {integrity: sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==} + dev: false + + /@protobufjs/codegen/2.0.4: + resolution: {integrity: sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==} + dev: false + + /@protobufjs/eventemitter/1.1.0: + resolution: {integrity: sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==} + dev: false + + /@protobufjs/fetch/1.1.0: + resolution: {integrity: sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==} + dependencies: + '@protobufjs/aspromise': 1.1.2 + '@protobufjs/inquire': 1.1.0 + dev: false + + /@protobufjs/float/1.0.2: + resolution: {integrity: sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==} + dev: false + + /@protobufjs/inquire/1.1.0: + resolution: {integrity: sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==} + dev: false + + /@protobufjs/path/1.1.2: + resolution: {integrity: sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==} + dev: false + + /@protobufjs/pool/1.1.0: + resolution: {integrity: sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==} + dev: false + + /@protobufjs/utf8/1.1.0: + resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==} + dev: false + + /@tsconfig/node10/1.0.9: + resolution: {integrity: sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==} + dev: true + + /@tsconfig/node12/1.0.11: + resolution: {integrity: sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==} + dev: true + + /@tsconfig/node14/1.0.3: + resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==} + dev: true + + /@tsconfig/node16/1.0.3: + resolution: {integrity: sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==} + dev: true + + /@types/fs-extra/9.0.13: + resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} + dependencies: + '@types/node': 18.11.17 + dev: true + + /@types/js-yaml/4.0.5: + resolution: {integrity: sha512-FhpRzf927MNQdRZP0J5DLIdTXhjLYzeUTmLAu69mnVksLH9CJY3IuSeEgbKUki7GQZm0WqDkGzyxju2EZGD2wA==} + dev: false + + /@types/linkify-it/3.0.2: + resolution: {integrity: sha512-HZQYqbiFVWufzCwexrvh694SOim8z2d+xJl5UNamcvQFejLY/2YUtzXHYi3cHdI7PMlS8ejH2slRAOJQ32aNbA==} + dev: false + + /@types/long/4.0.2: + resolution: {integrity: sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==} + dev: false + + /@types/markdown-it/12.2.3: + resolution: {integrity: sha512-GKMHFfv3458yYy+v/N8gjufHO6MSZKCOXpZc5GXIWWy8uldwfmPn98vp81gZ5f9SVw8YYBctgfJ22a2d7AOMeQ==} + dependencies: + '@types/linkify-it': 3.0.2 + '@types/mdurl': 1.0.2 + dev: false + + /@types/mdurl/1.0.2: + resolution: {integrity: sha512-eC4U9MlIcu2q0KQmXszyn5Akca/0jrQmwDRgpAMJai7qBWq4amIQhZyNau4VYGtCeALvW1/NtjzJJ567aZxfKA==} + dev: false + + /@types/mocha/10.0.1: + resolution: {integrity: sha512-/fvYntiO1GeICvqbQ3doGDIP97vWmvFt83GKguJ6prmQM2iXZfFcq6YE8KteFyRtX2/h5Hf91BYvPodJKFYv5Q==} + dev: true + + /@types/module-alias/2.0.1: + resolution: {integrity: sha512-DN/CCT1HQG6HquBNJdLkvV+4v5l/oEuwOHUPLxI+Eub0NED+lk0YUfba04WGH90EINiUrNgClkNnwGmbICeWMQ==} + dev: true + + /@types/node/18.11.17: + resolution: {integrity: sha512-HJSUJmni4BeDHhfzn6nF0sVmd1SMezP7/4F0Lq+aXzmp2xm9O7WXrUtHW/CHlYVtZUbByEvWidHqRtcJXGF2Ng==} + + /@types/nunjucks/3.2.1: + resolution: {integrity: sha512-hUh5HIC7peH+0MvlYU5KM2RydWxG1mBceivHsQGwlelU9zlczLICyJmjMwgjkI3m0+N50n46GVHkw35lIim6LQ==} + dev: true + + /@types/object-hash/3.0.2: + resolution: {integrity: sha512-tfyXl1JPCf2hzIDK29gO7qGqJjThKBzg/Cn3bA68R9NmWdOx+f7k5mm4to/n43BHspCwcoUC6FU4NpUoK/h9bQ==} + dev: true + + /@types/yargs-parser/21.0.0: + resolution: {integrity: sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==} + dev: true + + /@types/yargs/17.0.17: + resolution: {integrity: sha512-72bWxFKTK6uwWJAVT+3rF6Jo6RTojiJ27FQo8Rf60AL+VZbzoVPnMFhKsUnbjR8A3BTCYQ7Mv3hnl8T0A+CX9g==} + dependencies: + '@types/yargs-parser': 21.0.0 + dev: true + + /a-sync-waterfall/1.0.1: + resolution: {integrity: sha512-RYTOHHdWipFUliRFMCS4X2Yn2X8M87V/OpSqWzKKOGhzqyUxzyVmhHDH9sAvG+ZuQf/TAOFsLCpMw09I1ufUnA==} + dev: false + + /abort-controller/3.0.0: + resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==} + engines: {node: '>=6.5'} + dependencies: + event-target-shim: 5.0.1 + dev: false + + /acorn-es7-plugin/1.1.7: + resolution: {integrity: sha512-7D+8kscFMf6F2t+8ZRYmv82CncDZETsaZ4dEl5lh3qQez7FVABk2Vz616SAbnIq1PbNsLVaZjl2oSkk5BWAKng==} + dev: true + + /acorn-jsx/5.3.2_acorn@8.8.1: + resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} + peerDependencies: + acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 + dependencies: + acorn: 8.8.1 + dev: false + + /acorn-walk/8.2.0: + resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==} + engines: {node: '>=0.4.0'} + dev: true + + /acorn/5.7.4: + resolution: {integrity: sha512-1D++VG7BhrtvQpNbBzovKNc1FLGGEE/oGe7b9xJm/RFHMBeUaUGpluV9RLjZa47YFdPcDAenEYuq9pQPcMdLJg==} + engines: {node: '>=0.4.0'} + hasBin: true + dev: true + + /acorn/8.8.1: + resolution: {integrity: sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==} + engines: {node: '>=0.4.0'} + hasBin: true + + /agent-base/6.0.2: + resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} + engines: {node: '>= 6.0.0'} + dependencies: + debug: 4.3.4 + transitivePeerDependencies: + - supports-color + dev: false + + /amdefine/1.0.1: + resolution: {integrity: sha512-S2Hw0TtNkMJhIabBwIojKL9YHO5T0n5eNqWJ7Lrlel/zDbftQpxpapi8tZs3X1HWa+u+QeydGmzzNU0m09+Rcg==} + engines: {node: '>=0.4.2'} + dev: true + + /ansi-colors/4.1.1: + resolution: {integrity: sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==} + engines: {node: '>=6'} + dev: true + + /ansi-regex/5.0.1: + resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} + engines: {node: '>=8'} + + /ansi-styles/4.3.0: + resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} + engines: {node: '>=8'} + dependencies: + color-convert: 2.0.1 + + /anymatch/3.1.3: + resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} + engines: {node: '>= 8'} + dependencies: + normalize-path: 3.0.0 + picomatch: 2.3.1 + dev: true + + /arg/4.1.3: + resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} + dev: true + + /argparse/2.0.1: + resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} + + /array-find/1.0.0: + resolution: {integrity: sha512-kO/vVCacW9mnpn3WPWbTVlEnOabK2L7LWi2HViURtCM46y1zb6I8UMjx4LgbiqadTgHnLInUronwn3ampNTJtQ==} + dev: true + + /arrify/2.0.1: + resolution: {integrity: sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==} + engines: {node: '>=8'} + dev: false + + /asap/2.0.6: + resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==} + dev: false + + /balanced-match/1.0.2: + resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + + /base64-js/1.5.1: + resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} + dev: false + + /bignumber.js/9.1.1: + resolution: {integrity: sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig==} + dev: false + + /binary-extensions/2.2.0: + resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==} + engines: {node: '>=8'} + dev: true + + /bluebird/3.7.2: + resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==} + dev: false + + /brace-expansion/1.1.11: + resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} + dependencies: + balanced-match: 1.0.2 + concat-map: 0.0.1 + + /brace-expansion/2.0.1: + resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} + dependencies: + balanced-match: 1.0.2 + + /braces/3.0.2: + resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} + engines: {node: '>=8'} + dependencies: + fill-range: 7.0.1 + dev: true + + /browser-stdout/1.3.1: + resolution: {integrity: sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==} + dev: true + + /buffer-equal-constant-time/1.0.1: + resolution: {integrity: sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==} + dev: false + + /buffer-from/1.1.2: + resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} + dev: true + + /call-bind/1.0.2: + resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==} + dependencies: + function-bind: 1.1.1 + get-intrinsic: 1.2.0 + dev: true + + /call-matcher/1.1.0: + resolution: {integrity: sha512-IoQLeNwwf9KTNbtSA7aEBb1yfDbdnzwjCetjkC8io5oGeOmK2CBNdg0xr+tadRYKO0p7uQyZzvon0kXlZbvGrw==} + dependencies: + core-js: 2.6.12 + deep-equal: 1.1.1 + espurify: 1.8.1 + estraverse: 4.3.0 + dev: true + + /camelcase/6.3.0: + resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} + engines: {node: '>=10'} + dev: true + + /catharsis/0.9.0: + resolution: {integrity: sha512-prMTQVpcns/tzFgFVkVp6ak6RykZyWb3gu8ckUpd6YkTlacOd3DXGJjIpD4Q6zJirizvaiAjSSHlOsA+6sNh2A==} + engines: {node: '>= 10'} + dependencies: + lodash: 4.17.21 + dev: false + + /chalk/4.1.2: + resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} + engines: {node: '>=10'} + dependencies: + ansi-styles: 4.3.0 + supports-color: 7.2.0 + + /chokidar/3.5.3: + resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} + engines: {node: '>= 8.10.0'} + dependencies: + anymatch: 3.1.3 + braces: 3.0.2 + glob-parent: 5.1.2 + is-binary-path: 2.1.0 + is-glob: 4.0.3 + normalize-path: 3.0.0 + readdirp: 3.6.0 + optionalDependencies: + fsevents: 2.3.2 + dev: true + + /cliui/7.0.4: + resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} + dependencies: + string-width: 4.2.3 + strip-ansi: 6.0.1 + wrap-ansi: 7.0.0 + + /cliui/8.0.1: + resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} + engines: {node: '>=12'} + dependencies: + string-width: 4.2.3 + strip-ansi: 6.0.1 + wrap-ansi: 7.0.0 + dev: false + + /color-convert/2.0.1: + resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} + engines: {node: '>=7.0.0'} + dependencies: + color-name: 1.1.4 + + /color-name/1.1.4: + resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + + /commander/5.1.0: + resolution: {integrity: sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==} + engines: {node: '>= 6'} + dev: false + + /concat-map/0.0.1: + resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + + /convert-source-map/1.9.0: + resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==} + dev: true + + /core-js/2.6.12: + resolution: {integrity: sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==} + deprecated: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. + requiresBuild: true + dev: true + + /create-require/1.1.1: + resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} + dev: true + + /d/1.0.1: + resolution: {integrity: sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==} + dependencies: + es5-ext: 0.10.62 + type: 1.2.0 + dev: true + + /debug/4.3.4: + resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + dependencies: + ms: 2.1.2 + dev: false + + /debug/4.3.4_supports-color@8.1.1: + resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + dependencies: + ms: 2.1.2 + supports-color: 8.1.1 + dev: true + + /decamelize/4.0.0: + resolution: {integrity: sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==} + engines: {node: '>=10'} + dev: true + + /deep-equal/1.1.1: + resolution: {integrity: sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==} + dependencies: + is-arguments: 1.1.1 + is-date-object: 1.0.5 + is-regex: 1.1.4 + object-is: 1.1.5 + object-keys: 1.1.1 + regexp.prototype.flags: 1.4.3 + dev: true + + /deep-is/0.1.4: + resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} + + /define-properties/1.1.4: + resolution: {integrity: sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==} + engines: {node: '>= 0.4'} + dependencies: + has-property-descriptors: 1.0.0 + object-keys: 1.1.1 + dev: true + + /diff/4.0.2: + resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} + engines: {node: '>=0.3.1'} + dev: true + + /diff/5.0.0: + resolution: {integrity: sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==} + engines: {node: '>=0.3.1'} + dev: true + + /duplexify/4.1.2: + resolution: {integrity: sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw==} + dependencies: + end-of-stream: 1.4.4 + inherits: 2.0.4 + readable-stream: 3.6.0 + stream-shift: 1.0.1 + dev: false + + /ecdsa-sig-formatter/1.0.11: + resolution: {integrity: sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==} + dependencies: + safe-buffer: 5.2.1 + dev: false + + /emoji-regex/8.0.0: + resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} + + /empower-assert/1.1.0: + resolution: {integrity: sha512-Ylck0Q6p8y/LpNzYeBccaxAPm2ZyuqBgErgZpO9KT0HuQWF0sJckBKCLmgS1/DEXEiyBi9XtYh3clZm5cAdARw==} + dependencies: + estraverse: 4.3.0 + dev: true + + /end-of-stream/1.4.4: + resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==} + dependencies: + once: 1.4.0 + dev: false + + /entities/2.1.0: + resolution: {integrity: sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==} + dev: false + + /es5-ext/0.10.62: + resolution: {integrity: sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==} + engines: {node: '>=0.10'} + requiresBuild: true + dependencies: + es6-iterator: 2.0.3 + es6-symbol: 3.1.3 + next-tick: 1.1.0 + dev: true + + /es6-iterator/2.0.3: + resolution: {integrity: sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==} + dependencies: + d: 1.0.1 + es5-ext: 0.10.62 + es6-symbol: 3.1.3 + dev: true + + /es6-map/0.1.5: + resolution: {integrity: sha512-mz3UqCh0uPCIqsw1SSAkB/p0rOzF/M0V++vyN7JqlPtSW/VsYgQBvVvqMLmfBuyMzTpLnNqi6JmcSizs4jy19A==} + dependencies: + d: 1.0.1 + es5-ext: 0.10.62 + es6-iterator: 2.0.3 + es6-set: 0.1.6 + es6-symbol: 3.1.3 + event-emitter: 0.3.5 + dev: true + + /es6-set/0.1.6: + resolution: {integrity: sha512-TE3LgGLDIBX332jq3ypv6bcOpkLO0AslAQo7p2VqX/1N46YNsvIWgvjojjSEnWEGWMhr1qUbYeTSir5J6mFHOw==} + engines: {node: '>=0.12'} + dependencies: + d: 1.0.1 + es5-ext: 0.10.62 + es6-iterator: 2.0.3 + es6-symbol: 3.1.3 + event-emitter: 0.3.5 + type: 2.7.2 + dev: true + + /es6-symbol/3.1.3: + resolution: {integrity: sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==} + dependencies: + d: 1.0.1 + ext: 1.7.0 + dev: true + + /es6-weak-map/2.0.3: + resolution: {integrity: sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==} + dependencies: + d: 1.0.1 + es5-ext: 0.10.62 + es6-iterator: 2.0.3 + es6-symbol: 3.1.3 + dev: true + + /escalade/3.1.1: + resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} + engines: {node: '>=6'} + + /escallmatch/1.5.0: + resolution: {integrity: sha512-iMF4I4I2E16DPusKDgTtQeIBNX0oOS53Ih6sr/2fh+1SDRsXvG8Y3ZOXGWlDkNNo066XBIkfaDRLfZpqcD+vGA==} + dependencies: + call-matcher: 1.1.0 + esprima: 2.7.3 + dev: true + + /escape-string-regexp/2.0.0: + resolution: {integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==} + engines: {node: '>=8'} + dev: false + + /escape-string-regexp/4.0.0: + resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} + engines: {node: '>=10'} + dev: true + + /escodegen/1.14.3: + resolution: {integrity: sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==} + engines: {node: '>=4.0'} + hasBin: true + dependencies: + esprima: 4.0.1 + estraverse: 4.3.0 + esutils: 2.0.3 + optionator: 0.8.3 + optionalDependencies: + source-map: 0.6.1 + + /escope/3.6.0: + resolution: {integrity: sha512-75IUQsusDdalQEW/G/2esa87J7raqdJF+Ca0/Xm5C3Q58Nr4yVYjZGp/P1+2xiEVgXRrA39dpRb8LcshajbqDQ==} + engines: {node: '>=0.4.0'} + dependencies: + es6-map: 0.1.5 + es6-weak-map: 2.0.3 + esrecurse: 4.3.0 + estraverse: 4.3.0 + dev: true + + /eslint-visitor-keys/3.3.0: + resolution: {integrity: sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dev: false + + /espower-location-detector/1.0.0: + resolution: {integrity: sha512-Y/3H6ytYwqC3YcOc0gOU22Lp3eI5GAFGOymTdzFyfaiglKgtsw2dePOgXY3yrV+QcLPMPiVYwBU9RKaDoh2bbQ==} + dependencies: + is-url: 1.2.4 + path-is-absolute: 1.0.1 + source-map: 0.5.7 + xtend: 4.0.2 + dev: true + + /espower-source/2.3.0: + resolution: {integrity: sha512-Wc4kC4zUAEV7Qt31JRPoBUc5jjowHRylml2L2VaDQ1XEbnqQofGWx+gPR03TZAPokAMl5dqyL36h3ITyMXy3iA==} + engines: {node: '>=0.8.0', npm: '>=1.2.10'} + dependencies: + acorn: 5.7.4 + acorn-es7-plugin: 1.1.7 + convert-source-map: 1.9.0 + empower-assert: 1.1.0 + escodegen: 1.14.3 + espower: 2.1.2 + estraverse: 4.3.0 + merge-estraverse-visitors: 1.0.0 + multi-stage-sourcemap: 0.2.1 + path-is-absolute: 1.0.1 + xtend: 4.0.2 + dev: true + + /espower-typescript/10.0.1_uee4qiwqn3unkf63btmdmbbczi: + resolution: {integrity: sha512-Otz3g+JKQCPG3CxyUQnmcmr9LeYXe+bEU2F/WtBeaByIj+kgR+8lyYSa1Rcqh27b/sp9EjrDLDUTW+d7dsfJQw==} + engines: {node: '>=10.17'} + peerDependencies: + typescript: '>= 2.7' + dependencies: + espower-source: 2.3.0 + minimatch: 5.1.2 + source-map-support: 0.5.21 + ts-node: 10.9.1_uee4qiwqn3unkf63btmdmbbczi + typescript: 4.9.3 + transitivePeerDependencies: + - '@swc/core' + - '@swc/wasm' + - '@types/node' + dev: true + + /espower/2.1.2: + resolution: {integrity: sha512-2qa3aEFtcgPB782jTKDPu82hOdw8+zJsWdOn12Tey8XlexHTqsYUIdLC2B7cUECENXly0vZblH1CEZcqttPNjw==} + dependencies: + array-find: 1.0.0 + escallmatch: 1.5.0 + escodegen: 1.14.3 + escope: 3.6.0 + espower-location-detector: 1.0.0 + espurify: 1.8.1 + estraverse: 4.3.0 + source-map: 0.5.7 + type-name: 2.0.2 + dev: true + + /espree/9.4.1: + resolution: {integrity: sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dependencies: + acorn: 8.8.1 + acorn-jsx: 5.3.2_acorn@8.8.1 + eslint-visitor-keys: 3.3.0 + dev: false + + /esprima/2.7.3: + resolution: {integrity: sha512-OarPfz0lFCiW4/AV2Oy1Rp9qu0iusTKqykwTspGCZtPxmF81JR4MmIebvF1F9+UOKth2ZubLQ4XGGaU+hSn99A==} + engines: {node: '>=0.10.0'} + hasBin: true + dev: true + + /esprima/4.0.1: + resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} + engines: {node: '>=4'} + hasBin: true + + /espurify/1.8.1: + resolution: {integrity: sha512-ZDko6eY/o+D/gHCWyHTU85mKDgYcS4FJj7S+YD6WIInm7GQ6AnOjmcL4+buFV/JOztVLELi/7MmuGU5NHta0Mg==} + dependencies: + core-js: 2.6.12 + dev: true + + /esrecurse/4.3.0: + resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} + engines: {node: '>=4.0'} + dependencies: + estraverse: 5.3.0 + dev: true + + /estraverse/4.3.0: + resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} + engines: {node: '>=4.0'} + + /estraverse/5.3.0: + resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} + engines: {node: '>=4.0'} + + /esutils/2.0.3: + resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} + engines: {node: '>=0.10.0'} + + /event-emitter/0.3.5: + resolution: {integrity: sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==} + dependencies: + d: 1.0.1 + es5-ext: 0.10.62 + dev: true + + /event-target-shim/5.0.1: + resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==} + engines: {node: '>=6'} + dev: false + + /ext/1.7.0: + resolution: {integrity: sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==} + dependencies: + type: 2.7.2 + dev: true + + /extend/3.0.2: + resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==} + dev: false + + /fast-levenshtein/2.0.6: + resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} + + /fast-text-encoding/1.0.6: + resolution: {integrity: sha512-VhXlQgj9ioXCqGstD37E/HBeqEGV/qOD/kmbVG8h5xKBYvM1L3lR1Zn4555cQ8GkYbJa8aJSipLPndE1k6zK2w==} + dev: false + + /fill-range/7.0.1: + resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} + engines: {node: '>=8'} + dependencies: + to-regex-range: 5.0.1 + dev: true + + /find-up/5.0.0: + resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} + engines: {node: '>=10'} + dependencies: + locate-path: 6.0.0 + path-exists: 4.0.0 + dev: true + + /flat/5.0.2: + resolution: {integrity: sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==} + hasBin: true + dev: true + + /fs.realpath/1.0.0: + resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} + + /fsevents/2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /function-bind/1.1.1: + resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} + dev: true + + /functions-have-names/1.2.3: + resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} + dev: true + + /gaxios/5.0.2: + resolution: {integrity: sha512-TjtV2AJOZoMQqRYoy5eM8cCQogYwazWNYLQ72QB0kwa6vHHruYkGmhhyrlzbmgNHK1dNnuP2WSH81urfzyN2Og==} + engines: {node: '>=12'} + dependencies: + extend: 3.0.2 + https-proxy-agent: 5.0.1 + is-stream: 2.0.1 + node-fetch: 2.6.7 + transitivePeerDependencies: + - encoding + - supports-color + dev: false + + /gcp-metadata/5.1.0: + resolution: {integrity: sha512-QVjouEXvNVG/nde6VZDXXFTB02xQdztaumkWCHUff58qsdCS05/8OPh68fQ2QnArfAzZTwfEc979FHSHsU8EWg==} + engines: {node: '>=12'} + dependencies: + gaxios: 5.0.2 + json-bigint: 1.0.0 + transitivePeerDependencies: + - encoding + - supports-color + dev: false + + /get-caller-file/2.0.5: + resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} + engines: {node: 6.* || 8.* || >= 10.*} + + /get-intrinsic/1.2.0: + resolution: {integrity: sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==} + dependencies: + function-bind: 1.1.1 + has: 1.0.3 + has-symbols: 1.0.3 + dev: true + + /glob-parent/5.1.2: + resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} + engines: {node: '>= 6'} + dependencies: + is-glob: 4.0.3 + dev: true + + /glob/7.2.0: + resolution: {integrity: sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==} + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 3.1.2 + once: 1.4.0 + path-is-absolute: 1.0.1 + dev: true + + /glob/7.2.3: + resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 3.1.2 + once: 1.4.0 + path-is-absolute: 1.0.1 + dev: false + + /glob/8.0.3: + resolution: {integrity: sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==} + engines: {node: '>=12'} + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 5.1.2 + once: 1.4.0 + dev: false + + /google-auth-library/8.7.0: + resolution: {integrity: sha512-1M0NG5VDIvJZEnstHbRdckLZESoJwguinwN8Dhae0j2ZKIQFIV63zxm6Fo6nM4xkgqUr2bbMtV5Dgo+Hy6oo0Q==} + engines: {node: '>=12'} + dependencies: + arrify: 2.0.1 + base64-js: 1.5.1 + ecdsa-sig-formatter: 1.0.11 + fast-text-encoding: 1.0.6 + gaxios: 5.0.2 + gcp-metadata: 5.1.0 + gtoken: 6.1.2 + jws: 4.0.0 + lru-cache: 6.0.0 + transitivePeerDependencies: + - encoding + - supports-color + dev: false + + /google-gax/3.5.2: + resolution: {integrity: sha512-AyP53w0gHcWlzxm+jSgqCR3Xu4Ld7EpSjhtNBnNhzwwWaIUyphH9kBGNIEH+i4UGkTUXOY29K/Re8EiAvkBRGw==} + engines: {node: '>=12'} + hasBin: true + dependencies: + '@grpc/grpc-js': 1.7.3 + '@grpc/proto-loader': 0.7.4 + '@types/long': 4.0.2 + abort-controller: 3.0.0 + duplexify: 4.1.2 + fast-text-encoding: 1.0.6 + google-auth-library: 8.7.0 + is-stream-ended: 0.1.4 + node-fetch: 2.6.7 + object-hash: 3.0.0 + proto3-json-serializer: 1.1.0 + protobufjs: 7.1.2 + protobufjs-cli: 1.0.2_protobufjs@7.1.2 + retry-request: 5.0.2 + transitivePeerDependencies: + - encoding + - supports-color + dev: false + + /google-p12-pem/4.0.1: + resolution: {integrity: sha512-WPkN4yGtz05WZ5EhtlxNDWPhC4JIic6G8ePitwUWy4l+XPVYec+a0j0Ts47PDtW59y3RwAhUd9/h9ZZ63px6RQ==} + engines: {node: '>=12.0.0'} + hasBin: true + dependencies: + node-forge: 1.3.1 + dev: false + + /graceful-fs/4.2.10: + resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==} + dev: false + + /gtoken/6.1.2: + resolution: {integrity: sha512-4ccGpzz7YAr7lxrT2neugmXQ3hP9ho2gcaityLVkiUecAiwiy60Ii8gRbZeOsXV19fYaRjgBSshs8kXw+NKCPQ==} + engines: {node: '>=12.0.0'} + dependencies: + gaxios: 5.0.2 + google-p12-pem: 4.0.1 + jws: 4.0.0 + transitivePeerDependencies: + - encoding + - supports-color + dev: false + + /has-flag/4.0.0: + resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} + engines: {node: '>=8'} + + /has-property-descriptors/1.0.0: + resolution: {integrity: sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==} + dependencies: + get-intrinsic: 1.2.0 + dev: true + + /has-symbols/1.0.3: + resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} + engines: {node: '>= 0.4'} + dev: true + + /has-tostringtag/1.0.0: + resolution: {integrity: sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==} + engines: {node: '>= 0.4'} + dependencies: + has-symbols: 1.0.3 + dev: true + + /has/1.0.3: + resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==} + engines: {node: '>= 0.4.0'} + dependencies: + function-bind: 1.1.1 + dev: true + + /he/1.2.0: + resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==} + hasBin: true + dev: true + + /https-proxy-agent/5.0.1: + resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} + engines: {node: '>= 6'} + dependencies: + agent-base: 6.0.2 + debug: 4.3.4 + transitivePeerDependencies: + - supports-color + dev: false + + /inflight/1.0.6: + resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + dependencies: + once: 1.4.0 + wrappy: 1.0.2 + + /inherits/2.0.4: + resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} + + /is-arguments/1.1.1: + resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.2 + has-tostringtag: 1.0.0 + dev: true + + /is-binary-path/2.1.0: + resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} + engines: {node: '>=8'} + dependencies: + binary-extensions: 2.2.0 + dev: true + + /is-date-object/1.0.5: + resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==} + engines: {node: '>= 0.4'} + dependencies: + has-tostringtag: 1.0.0 + dev: true + + /is-extglob/2.1.1: + resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} + engines: {node: '>=0.10.0'} + dev: true + + /is-fullwidth-code-point/3.0.0: + resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} + engines: {node: '>=8'} + + /is-glob/4.0.3: + resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} + engines: {node: '>=0.10.0'} + dependencies: + is-extglob: 2.1.1 + dev: true + + /is-number/7.0.0: + resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} + engines: {node: '>=0.12.0'} + dev: true + + /is-plain-obj/2.1.0: + resolution: {integrity: sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==} + engines: {node: '>=8'} + dev: true + + /is-regex/1.1.4: + resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.2 + has-tostringtag: 1.0.0 + dev: true + + /is-stream-ended/0.1.4: + resolution: {integrity: sha512-xj0XPvmr7bQFTvirqnFr50o0hQIh6ZItDqloxt5aJrR4NQsYeSsyFQERYGCAzfindAcnKjINnwEEgLx4IqVzQw==} + dev: false + + /is-stream/2.0.1: + resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} + engines: {node: '>=8'} + dev: false + + /is-unicode-supported/0.1.0: + resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==} + engines: {node: '>=10'} + dev: true + + /is-url/1.2.4: + resolution: {integrity: sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==} + dev: true + + /js-yaml/4.1.0: + resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} + hasBin: true + dependencies: + argparse: 2.0.1 + + /js2xmlparser/4.0.2: + resolution: {integrity: sha512-6n4D8gLlLf1n5mNLQPRfViYzu9RATblzPEtm1SthMX1Pjao0r9YI9nw7ZIfRxQMERS87mcswrg+r/OYrPRX6jA==} + dependencies: + xmlcreate: 2.0.4 + dev: false + + /jsdoc/3.6.11: + resolution: {integrity: sha512-8UCU0TYeIYD9KeLzEcAu2q8N/mx9O3phAGl32nmHlE0LpaJL71mMkP4d+QE5zWfNt50qheHtOZ0qoxVrsX5TUg==} + engines: {node: '>=12.0.0'} + hasBin: true + dependencies: + '@babel/parser': 7.20.13 + '@types/markdown-it': 12.2.3 + bluebird: 3.7.2 + catharsis: 0.9.0 + escape-string-regexp: 2.0.0 + js2xmlparser: 4.0.2 + klaw: 3.0.0 + markdown-it: 12.3.2 + markdown-it-anchor: 8.6.6_2zb4u3vubltivolgu556vv4aom + marked: 4.2.4 + mkdirp: 1.0.4 + requizzle: 0.2.4 + strip-json-comments: 3.1.1 + taffydb: 2.6.2 + underscore: 1.13.6 + dev: false + + /json-bigint/1.0.0: + resolution: {integrity: sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==} + dependencies: + bignumber.js: 9.1.1 + dev: false + + /jwa/2.0.0: + resolution: {integrity: sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==} + dependencies: + buffer-equal-constant-time: 1.0.1 + ecdsa-sig-formatter: 1.0.11 + safe-buffer: 5.2.1 + dev: false + + /jws/4.0.0: + resolution: {integrity: sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==} + dependencies: + jwa: 2.0.0 + safe-buffer: 5.2.1 + dev: false + + /klaw/3.0.0: + resolution: {integrity: sha512-0Fo5oir+O9jnXu5EefYbVK+mHMBeEVEy2cmctR1O1NECcCkPRreJKrS6Qt/j3KC2C148Dfo9i3pCmCMsdqGr0g==} + dependencies: + graceful-fs: 4.2.10 + dev: false + + /levn/0.3.0: + resolution: {integrity: sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==} + engines: {node: '>= 0.8.0'} + dependencies: + prelude-ls: 1.1.2 + type-check: 0.3.2 + + /linkify-it/3.0.3: + resolution: {integrity: sha512-ynTsyrFSdE5oZ/O9GEf00kPngmOfVwazR5GKDq6EYfhlpFug3J2zybX56a2PRRpc9P+FuSoGNAwjlbDs9jJBPQ==} + dependencies: + uc.micro: 1.0.6 + dev: false + + /locate-path/6.0.0: + resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} + engines: {node: '>=10'} + dependencies: + p-locate: 5.0.0 + dev: true + + /lodash.camelcase/4.3.0: + resolution: {integrity: sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==} + dev: false + + /lodash/4.17.21: + resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + dev: false + + /log-symbols/4.1.0: + resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} + engines: {node: '>=10'} + dependencies: + chalk: 4.1.2 + is-unicode-supported: 0.1.0 + dev: true + + /long/4.0.0: + resolution: {integrity: sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==} + dev: false + + /long/5.2.1: + resolution: {integrity: sha512-GKSNGeNAtw8IryjjkhZxuKB3JzlcLTwjtiQCHKvqQet81I93kXslhDQruGI/QsddO83mcDToBVy7GqGS/zYf/A==} + dev: false + + /lru-cache/6.0.0: + resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} + engines: {node: '>=10'} + dependencies: + yallist: 4.0.0 + dev: false + + /make-error/1.3.6: + resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} + dev: true + + /markdown-it-anchor/8.6.6_2zb4u3vubltivolgu556vv4aom: + resolution: {integrity: sha512-jRW30YGywD2ESXDc+l17AiritL0uVaSnWsb26f+68qaW9zgbIIr1f4v2Nsvc0+s0Z2N3uX6t/yAw7BwCQ1wMsA==} + peerDependencies: + '@types/markdown-it': '*' + markdown-it: '*' + dependencies: + '@types/markdown-it': 12.2.3 + markdown-it: 12.3.2 + dev: false + + /markdown-it/12.3.2: + resolution: {integrity: sha512-TchMembfxfNVpHkbtriWltGWc+m3xszaRD0CZup7GFFhzIgQqxIfn3eGj1yZpfuflzPvfkt611B2Q/Bsk1YnGg==} + hasBin: true + dependencies: + argparse: 2.0.1 + entities: 2.1.0 + linkify-it: 3.0.3 + mdurl: 1.0.1 + uc.micro: 1.0.6 + dev: false + + /marked/4.2.4: + resolution: {integrity: sha512-Wcc9ikX7Q5E4BYDPvh1C6QNSxrjC9tBgz+A/vAhp59KXUgachw++uMvMKiSW8oA85nopmPZcEvBoex/YLMsiyA==} + engines: {node: '>= 12'} + hasBin: true + dev: false + + /mdurl/1.0.1: + resolution: {integrity: sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==} + dev: false + + /merge-estraverse-visitors/1.0.0: + resolution: {integrity: sha512-YcT59TImpdL2qe+I7OWI+ESjBVov9CWTQjK9Issk58BNQzyputg2s8wOE+DDvxtgmPHG4L6xAl0yAwbNCyXszg==} + dependencies: + estraverse: 4.3.0 + dev: true + + /minimatch/3.1.2: + resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} + dependencies: + brace-expansion: 1.1.11 + + /minimatch/5.0.1: + resolution: {integrity: sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==} + engines: {node: '>=10'} + dependencies: + brace-expansion: 2.0.1 + dev: true + + /minimatch/5.1.2: + resolution: {integrity: sha512-bNH9mmM9qsJ2X4r2Nat1B//1dJVcn3+iBLa3IgqJ7EbGaDNepL9QSHOxN4ng33s52VMMhhIfgCYDk3C4ZmlDAg==} + engines: {node: '>=10'} + dependencies: + brace-expansion: 2.0.1 + + /minimist/1.2.7: + resolution: {integrity: sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==} + dev: false + + /mkdirp/1.0.4: + resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} + engines: {node: '>=10'} + hasBin: true + dev: false + + /mocha/10.2.0: + resolution: {integrity: sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==} + engines: {node: '>= 14.0.0'} + hasBin: true + dependencies: + ansi-colors: 4.1.1 + browser-stdout: 1.3.1 + chokidar: 3.5.3 + debug: 4.3.4_supports-color@8.1.1 + diff: 5.0.0 + escape-string-regexp: 4.0.0 + find-up: 5.0.0 + glob: 7.2.0 + he: 1.2.0 + js-yaml: 4.1.0 + log-symbols: 4.1.0 + minimatch: 5.0.1 + ms: 2.1.3 + nanoid: 3.3.3 + serialize-javascript: 6.0.0 + strip-json-comments: 3.1.1 + supports-color: 8.1.1 + workerpool: 6.2.1 + yargs: 16.2.0 + yargs-parser: 20.2.4 + yargs-unparser: 2.0.0 + dev: true + + /ms/2.1.2: + resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} + + /ms/2.1.3: + resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + dev: true + + /multi-stage-sourcemap/0.2.1: + resolution: {integrity: sha512-umaOM+8BZByZIB/ciD3dQLzTv50rEkkGJV78ta/tIVc/J/rfGZY5y1R+fBD3oTaolx41mK8rRcyGtYbDXlzx8Q==} + dependencies: + source-map: 0.1.43 + dev: true + + /nanoid/3.3.3: + resolution: {integrity: sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + dev: true + + /next-tick/1.1.0: + resolution: {integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==} + dev: true + + /node-fetch/2.6.7: + resolution: {integrity: sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==} + engines: {node: 4.x || >=6.0.0} + peerDependencies: + encoding: ^0.1.0 + peerDependenciesMeta: + encoding: + optional: true + dependencies: + whatwg-url: 5.0.0 + dev: false + + /node-forge/1.3.1: + resolution: {integrity: sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==} + engines: {node: '>= 6.13.0'} + dev: false + + /normalize-path/3.0.0: + resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} + engines: {node: '>=0.10.0'} + dev: true + + /nunjucks/3.2.3: + resolution: {integrity: sha512-psb6xjLj47+fE76JdZwskvwG4MYsQKXUtMsPh6U0YMvmyjRtKRFcxnlXGWglNybtNTNVmGdp94K62/+NjF5FDQ==} + engines: {node: '>= 6.9.0'} + hasBin: true + peerDependencies: + chokidar: ^3.3.0 + peerDependenciesMeta: + chokidar: + optional: true + dependencies: + a-sync-waterfall: 1.0.1 + asap: 2.0.6 + commander: 5.1.0 + dev: false + + /object-hash/3.0.0: + resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==} + engines: {node: '>= 6'} + dev: false + + /object-is/1.1.5: + resolution: {integrity: sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.2 + define-properties: 1.1.4 + dev: true + + /object-keys/1.1.1: + resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} + engines: {node: '>= 0.4'} + dev: true + + /once/1.4.0: + resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} + dependencies: + wrappy: 1.0.2 + + /optionator/0.8.3: + resolution: {integrity: sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==} + engines: {node: '>= 0.8.0'} + dependencies: + deep-is: 0.1.4 + fast-levenshtein: 2.0.6 + levn: 0.3.0 + prelude-ls: 1.1.2 + type-check: 0.3.2 + word-wrap: 1.2.3 + + /p-limit/3.1.0: + resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} + engines: {node: '>=10'} + dependencies: + yocto-queue: 0.1.0 + dev: true + + /p-locate/5.0.0: + resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} + engines: {node: '>=10'} + dependencies: + p-limit: 3.1.0 + dev: true + + /path-exists/4.0.0: + resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} + engines: {node: '>=8'} + dev: true + + /path-is-absolute/1.0.1: + resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} + engines: {node: '>=0.10.0'} + + /picomatch/2.3.1: + resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} + engines: {node: '>=8.6'} + dev: true + + /prelude-ls/1.1.2: + resolution: {integrity: sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==} + engines: {node: '>= 0.8.0'} + + /proto3-json-serializer/1.1.0: + resolution: {integrity: sha512-SjXwUWe/vANGs/mJJTbw5++7U67nwsymg7qsoPtw6GiXqw3kUy8ByojrlEdVE2efxAdKreX8WkDafxvYW95ZQg==} + engines: {node: '>=12.0.0'} + dependencies: + protobufjs: 7.1.2 + dev: false + + /protobufjs-cli/1.0.2_protobufjs@7.1.2: + resolution: {integrity: sha512-cz9Pq9p/Zs7okc6avH20W7QuyjTclwJPgqXG11jNaulfS3nbVisID8rC+prfgq0gbZE0w9LBFd1OKFF03kgFzg==} + engines: {node: '>=12.0.0'} + hasBin: true + peerDependencies: + protobufjs: ^7.0.0 + dependencies: + chalk: 4.1.2 + escodegen: 1.14.3 + espree: 9.4.1 + estraverse: 5.3.0 + glob: 8.0.3 + jsdoc: 3.6.11 + minimist: 1.2.7 + protobufjs: 7.1.2 + semver: 7.3.8 + tmp: 0.2.1 + uglify-js: 3.17.4 + dev: false + + /protobufjs/7.1.2: + resolution: {integrity: sha512-4ZPTPkXCdel3+L81yw3dG6+Kq3umdWKh7Dc7GW/CpNk4SX3hK58iPCWeCyhVTDrbkNeKrYNZ7EojM5WDaEWTLQ==} + engines: {node: '>=12.0.0'} + requiresBuild: true + dependencies: + '@protobufjs/aspromise': 1.1.2 + '@protobufjs/base64': 1.1.2 + '@protobufjs/codegen': 2.0.4 + '@protobufjs/eventemitter': 1.1.0 + '@protobufjs/fetch': 1.1.0 + '@protobufjs/float': 1.0.2 + '@protobufjs/inquire': 1.1.0 + '@protobufjs/path': 1.1.2 + '@protobufjs/pool': 1.1.0 + '@protobufjs/utf8': 1.1.0 + '@types/node': 18.11.17 + long: 5.2.1 + dev: false + + /randombytes/2.1.0: + resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} + dependencies: + safe-buffer: 5.2.1 + dev: true + + /readable-stream/3.6.0: + resolution: {integrity: sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==} + engines: {node: '>= 6'} + dependencies: + inherits: 2.0.4 + string_decoder: 1.3.0 + util-deprecate: 1.0.2 + dev: false + + /readdirp/3.6.0: + resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} + engines: {node: '>=8.10.0'} + dependencies: + picomatch: 2.3.1 + dev: true + + /regexp.prototype.flags/1.4.3: + resolution: {integrity: sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.2 + define-properties: 1.1.4 + functions-have-names: 1.2.3 + dev: true + + /require-directory/2.1.1: + resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} + engines: {node: '>=0.10.0'} + + /requizzle/0.2.4: + resolution: {integrity: sha512-JRrFk1D4OQ4SqovXOgdav+K8EAhSB/LJZqCz8tbX0KObcdeM15Ss59ozWMBWmmINMagCwmqn4ZNryUGpBsl6Jw==} + dependencies: + lodash: 4.17.21 + dev: false + + /retry-request/5.0.2: + resolution: {integrity: sha512-wfI3pk7EE80lCIXprqh7ym48IHYdwmAAzESdbU8Q9l7pnRCk9LEhpbOTNKjz6FARLm/Bl5m+4F0ABxOkYUujSQ==} + engines: {node: '>=12'} + dependencies: + debug: 4.3.4 + extend: 3.0.2 + transitivePeerDependencies: + - supports-color + dev: false + + /rimraf/3.0.2: + resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} + hasBin: true + dependencies: + glob: 7.2.3 + dev: false + + /safe-buffer/5.2.1: + resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} + + /semver/7.3.8: + resolution: {integrity: sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==} + engines: {node: '>=10'} + hasBin: true + dependencies: + lru-cache: 6.0.0 + dev: false + + /serialize-javascript/6.0.0: + resolution: {integrity: sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==} + dependencies: + randombytes: 2.1.0 + dev: true + + /source-map-support/0.5.21: + resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} + dependencies: + buffer-from: 1.1.2 + source-map: 0.6.1 + dev: true + + /source-map/0.1.43: + resolution: {integrity: sha512-VtCvB9SIQhk3aF6h+N85EaqIaBFIAfZ9Cu+NJHHVvc8BbEcnvDcFw6sqQ2dQrT6SlOrZq3tIvyD9+EGq/lJryQ==} + engines: {node: '>=0.8.0'} + dependencies: + amdefine: 1.0.1 + dev: true + + /source-map/0.5.7: + resolution: {integrity: sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==} + engines: {node: '>=0.10.0'} + dev: true + + /source-map/0.6.1: + resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} + engines: {node: '>=0.10.0'} + requiresBuild: true + + /stream-shift/1.0.1: + resolution: {integrity: sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==} + dev: false + + /string-width/4.2.3: + resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} + engines: {node: '>=8'} + dependencies: + emoji-regex: 8.0.0 + is-fullwidth-code-point: 3.0.0 + strip-ansi: 6.0.1 + + /string_decoder/1.3.0: + resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} + dependencies: + safe-buffer: 5.2.1 + dev: false + + /strip-ansi/6.0.1: + resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} + engines: {node: '>=8'} + dependencies: + ansi-regex: 5.0.1 + + /strip-json-comments/3.1.1: + resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} + engines: {node: '>=8'} + + /supports-color/7.2.0: + resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} + engines: {node: '>=8'} + dependencies: + has-flag: 4.0.0 + + /supports-color/8.1.1: + resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} + engines: {node: '>=10'} + dependencies: + has-flag: 4.0.0 + dev: true + + /taffydb/2.6.2: + resolution: {integrity: sha512-y3JaeRSplks6NYQuCOj3ZFMO3j60rTwbuKCvZxsAraGYH2epusatvZ0baZYA01WsGqJBq/Dl6vOrMUJqyMj8kA==} + dev: false + + /tmp/0.2.1: + resolution: {integrity: sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==} + engines: {node: '>=8.17.0'} + dependencies: + rimraf: 3.0.2 + dev: false + + /to-fast-properties/2.0.0: + resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} + engines: {node: '>=4'} + dev: false + + /to-regex-range/5.0.1: + resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} + engines: {node: '>=8.0'} + dependencies: + is-number: 7.0.0 + dev: true + + /tr46/0.0.3: + resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} + dev: false + + /ts-node/10.9.1_uee4qiwqn3unkf63btmdmbbczi: + resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} + hasBin: true + peerDependencies: + '@swc/core': '>=1.2.50' + '@swc/wasm': '>=1.2.50' + '@types/node': '*' + typescript: '>=2.7' + peerDependenciesMeta: + '@swc/core': + optional: true + '@swc/wasm': + optional: true + dependencies: + '@cspotcode/source-map-support': 0.8.1 + '@tsconfig/node10': 1.0.9 + '@tsconfig/node12': 1.0.11 + '@tsconfig/node14': 1.0.3 + '@tsconfig/node16': 1.0.3 + '@types/node': 18.11.17 + acorn: 8.8.1 + acorn-walk: 8.2.0 + arg: 4.1.3 + create-require: 1.1.1 + diff: 4.0.2 + make-error: 1.3.6 + typescript: 4.9.3 + v8-compile-cache-lib: 3.0.1 + yn: 3.1.1 + dev: true + + /type-check/0.3.2: + resolution: {integrity: sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==} + engines: {node: '>= 0.8.0'} + dependencies: + prelude-ls: 1.1.2 + + /type-name/2.0.2: + resolution: {integrity: sha512-kkgkuqR/jKdKO5oh/I2SMu2dGbLXoJq0zkdgbxaqYK+hr9S9edwVVGf+tMUFTx2gH9TN2+Zu9JZ/Njonb3cjhA==} + dev: true + + /type/1.2.0: + resolution: {integrity: sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==} + dev: true + + /type/2.7.2: + resolution: {integrity: sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==} + dev: true + + /typescript/4.9.3: + resolution: {integrity: sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==} + engines: {node: '>=4.2.0'} + hasBin: true + dev: true + + /uc.micro/1.0.6: + resolution: {integrity: sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==} + dev: false + + /uglify-js/3.17.4: + resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==} + engines: {node: '>=0.8.0'} + hasBin: true + dev: false + + /underscore/1.13.6: + resolution: {integrity: sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==} + dev: false + + /util-deprecate/1.0.2: + resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + dev: false + + /v8-compile-cache-lib/3.0.1: + resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} + dev: true + + /webidl-conversions/3.0.1: + resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} + dev: false + + /whatwg-url/5.0.0: + resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} + dependencies: + tr46: 0.0.3 + webidl-conversions: 3.0.1 + dev: false + + /word-wrap/1.2.3: + resolution: {integrity: sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==} + engines: {node: '>=0.10.0'} + + /workerpool/6.2.1: + resolution: {integrity: sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==} + dev: true + + /wrap-ansi/7.0.0: + resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} + engines: {node: '>=10'} + dependencies: + ansi-styles: 4.3.0 + string-width: 4.2.3 + strip-ansi: 6.0.1 + + /wrappy/1.0.2: + resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} + + /xmlcreate/2.0.4: + resolution: {integrity: sha512-nquOebG4sngPmGPICTS5EnxqhKbCmz5Ox5hsszI2T6U5qdrJizBc+0ilYSEjTSzU0yZcmvppztXe/5Al5fUwdg==} + dev: false + + /xtend/4.0.2: + resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} + engines: {node: '>=0.4'} + dev: true + + /y18n/5.0.8: + resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} + engines: {node: '>=10'} + + /yallist/4.0.0: + resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} + dev: false + + /yargs-parser/20.2.4: + resolution: {integrity: sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==} + engines: {node: '>=10'} + dev: true + + /yargs-parser/20.2.9: + resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} + engines: {node: '>=10'} + + /yargs-parser/21.1.1: + resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} + engines: {node: '>=12'} + dev: false + + /yargs-unparser/2.0.0: + resolution: {integrity: sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==} + engines: {node: '>=10'} + dependencies: + camelcase: 6.3.0 + decamelize: 4.0.0 + flat: 5.0.2 + is-plain-obj: 2.1.0 + dev: true + + /yargs/16.2.0: + resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==} + engines: {node: '>=10'} + dependencies: + cliui: 7.0.4 + escalade: 3.1.1 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + string-width: 4.2.3 + y18n: 5.0.8 + yargs-parser: 20.2.9 + + /yargs/17.6.2: + resolution: {integrity: sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw==} + engines: {node: '>=12'} + dependencies: + cliui: 8.0.1 + escalade: 3.1.1 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + string-width: 4.2.3 + y18n: 5.0.8 + yargs-parser: 21.1.1 + dev: false + + /yn/3.1.1: + resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} + engines: {node: '>=6'} + dev: true + + /yocto-queue/0.1.0: + resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} + engines: {node: '>=10'} + dev: true diff --git a/protos/index.d.ts b/protos/index.d.ts index c3558239b..3807e5e6f 100644 --- a/protos/index.d.ts +++ b/protos/index.d.ts @@ -1,4 +1,7 @@ import * as $protobuf from "protobufjs"; + +// Note: this file was manually edited to remove references to Long which are not needed in this project. + /** Namespace grpc. */ export namespace grpc { @@ -132,6 +135,13 @@ export namespace grpc { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MethodConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MethodConfig { @@ -230,6 +240,13 @@ export namespace grpc { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Name + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RetryPolicy. */ @@ -344,6 +361,13 @@ export namespace grpc { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RetryPolicy + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HedgingPolicy. */ @@ -446,6 +470,13 @@ export namespace grpc { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for HedgingPolicy + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -531,6 +562,13 @@ export namespace grpc { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for PickFirstConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RoundRobinConfig. */ @@ -615,6 +653,13 @@ export namespace grpc { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RoundRobinConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GrpcLbConfig. */ @@ -705,6 +750,13 @@ export namespace grpc { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GrpcLbConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a XdsConfig. */ @@ -807,6 +859,13 @@ export namespace grpc { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for XdsConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LoadBalancingConfig. */ @@ -924,6 +983,13 @@ export namespace grpc { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for LoadBalancingConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ServiceConfig. */ @@ -1038,6 +1104,13 @@ export namespace grpc { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ServiceConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ServiceConfig { @@ -1142,6 +1215,13 @@ export namespace grpc { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RetryThrottlingPolicy + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HealthCheckConfig. */ @@ -1232,6 +1312,13 @@ export namespace grpc { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for HealthCheckConfig + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } } @@ -1337,6 +1424,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Http + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a HttpRule. */ @@ -1484,6 +1578,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for HttpRule + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CustomHttpPattern. */ @@ -1580,6 +1681,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CustomHttpPattern + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** FieldBehavior enum. */ @@ -1718,6 +1826,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResourceDescriptor + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ResourceDescriptor { @@ -1830,6 +1945,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ResourceReference + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RoutingRule. */ @@ -1920,6 +2042,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RoutingRule + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a RoutingParameter. */ @@ -2016,6 +2145,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for RoutingParameter + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -2110,6 +2246,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FileDescriptorSet + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FileDescriptorProto. */ @@ -2150,6 +2293,9 @@ export namespace google { /** FileDescriptorProto syntax */ syntax?: (string|null); + + /** FileDescriptorProto edition */ + edition?: (string|null); } /** Represents a FileDescriptorProto. */ @@ -2197,6 +2343,9 @@ export namespace google { /** FileDescriptorProto syntax. */ public syntax: string; + /** FileDescriptorProto edition. */ + public edition: string; + /** * Creates a new FileDescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -2266,6 +2415,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FileDescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DescriptorProto. */ @@ -2410,6 +2566,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace DescriptorProto { @@ -2514,6 +2677,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExtensionRange + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ReservedRange. */ @@ -2610,6 +2780,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ReservedRange + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -2701,6 +2878,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ExtensionRangeOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FieldDescriptorProto. */ @@ -2851,6 +3035,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FieldDescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace FieldDescriptorProto { @@ -2979,6 +3170,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for OneofDescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EnumDescriptorProto. */ @@ -3093,6 +3291,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EnumDescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace EnumDescriptorProto { @@ -3191,6 +3396,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EnumReservedRange + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -3294,6 +3506,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EnumValueDescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ServiceDescriptorProto. */ @@ -3396,6 +3615,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ServiceDescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MethodDescriptorProto. */ @@ -3516,6 +3742,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MethodDescriptorProto + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FileOptions. */ @@ -3729,6 +3962,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FileOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace FileOptions { @@ -3856,6 +4096,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MessageOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FieldOptions. */ @@ -3873,6 +4120,9 @@ export namespace google { /** FieldOptions lazy */ lazy?: (boolean|null); + /** FieldOptions unverifiedLazy */ + unverifiedLazy?: (boolean|null); + /** FieldOptions deprecated */ deprecated?: (boolean|null); @@ -3910,6 +4160,9 @@ export namespace google { /** FieldOptions lazy. */ public lazy: boolean; + /** FieldOptions unverifiedLazy. */ + public unverifiedLazy: boolean; + /** FieldOptions deprecated. */ public deprecated: boolean; @@ -3988,6 +4241,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FieldOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace FieldOptions { @@ -4095,6 +4355,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for OneofOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EnumOptions. */ @@ -4197,6 +4464,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EnumOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an EnumValueOptions. */ @@ -4293,6 +4567,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EnumValueOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ServiceOptions. */ @@ -4395,6 +4676,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ServiceOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a MethodOptions. */ @@ -4509,6 +4797,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for MethodOptions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace MethodOptions { @@ -4531,10 +4826,10 @@ export namespace google { identifierValue?: (string|null); /** UninterpretedOption positiveIntValue */ - positiveIntValue?: (number|Long|null); + positiveIntValue?: (number|null); /** UninterpretedOption negativeIntValue */ - negativeIntValue?: (number|Long|null); + negativeIntValue?: (number|null); /** UninterpretedOption doubleValue */ doubleValue?: (number|null); @@ -4562,10 +4857,10 @@ export namespace google { public identifierValue: string; /** UninterpretedOption positiveIntValue. */ - public positiveIntValue: (number|Long); + public positiveIntValue: (number); /** UninterpretedOption negativeIntValue. */ - public negativeIntValue: (number|Long); + public negativeIntValue: (number); /** UninterpretedOption doubleValue. */ public doubleValue: number; @@ -4645,6 +4940,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UninterpretedOption + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace UninterpretedOption { @@ -4743,6 +5045,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for NamePart + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -4834,6 +5143,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SourceCodeInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SourceCodeInfo { @@ -4950,6 +5266,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Location + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -5041,6 +5364,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GeneratedCodeInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace GeneratedCodeInfo { @@ -5059,6 +5389,9 @@ export namespace google { /** Annotation end */ end?: (number|null); + + /** Annotation semantic */ + semantic?: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|null); } /** Represents an Annotation. */ @@ -5082,6 +5415,9 @@ export namespace google { /** Annotation end. */ public end: number; + /** Annotation semantic. */ + public semantic: google.protobuf.GeneratedCodeInfo.Annotation.Semantic; + /** * Creates a new Annotation instance using the specified properties. * @param [properties] Properties to set @@ -5151,6 +5487,23 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Annotation + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + namespace Annotation { + + /** Semantic enum. */ + enum Semantic { + NONE = 0, + SET = 1, + ALIAS = 2 + } } } @@ -5248,13 +5601,20 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Any + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Duration. */ interface IDuration { /** Duration seconds */ - seconds?: (number|Long|null); + seconds?: (number|null); /** Duration nanos */ nanos?: (number|null); @@ -5270,7 +5630,7 @@ export namespace google { constructor(properties?: google.protobuf.IDuration); /** Duration seconds. */ - public seconds: (number|Long); + public seconds: (number); /** Duration nanos. */ public nanos: number; @@ -5344,6 +5704,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Duration + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Empty. */ @@ -5428,6 +5795,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Empty + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Namespace compiler. */ @@ -5539,6 +5913,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Version + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CodeGeneratorRequest. */ @@ -5647,6 +6028,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CodeGeneratorRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CodeGeneratorResponse. */ @@ -5656,7 +6044,7 @@ export namespace google { error?: (string|null); /** CodeGeneratorResponse supportedFeatures */ - supportedFeatures?: (number|Long|null); + supportedFeatures?: (number|null); /** CodeGeneratorResponse file */ file?: (google.protobuf.compiler.CodeGeneratorResponse.IFile[]|null); @@ -5675,7 +6063,7 @@ export namespace google { public error: string; /** CodeGeneratorResponse supportedFeatures. */ - public supportedFeatures: (number|Long); + public supportedFeatures: (number); /** CodeGeneratorResponse file. */ public file: google.protobuf.compiler.CodeGeneratorResponse.IFile[]; @@ -5749,6 +6137,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CodeGeneratorResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace CodeGeneratorResponse { @@ -5865,6 +6260,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for File + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } } @@ -5957,6 +6359,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DoubleValue + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a FloatValue. */ @@ -6047,13 +6456,20 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for FloatValue + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Int64Value. */ interface IInt64Value { /** Int64Value value */ - value?: (number|Long|null); + value?: (number|null); } /** Represents an Int64Value. */ @@ -6066,7 +6482,7 @@ export namespace google { constructor(properties?: google.protobuf.IInt64Value); /** Int64Value value. */ - public value: (number|Long); + public value: (number); /** * Creates a new Int64Value instance using the specified properties. @@ -6137,13 +6553,20 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Int64Value + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a UInt64Value. */ interface IUInt64Value { /** UInt64Value value */ - value?: (number|Long|null); + value?: (number|null); } /** Represents a UInt64Value. */ @@ -6156,7 +6579,7 @@ export namespace google { constructor(properties?: google.protobuf.IUInt64Value); /** UInt64Value value. */ - public value: (number|Long); + public value: (number); /** * Creates a new UInt64Value instance using the specified properties. @@ -6227,6 +6650,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UInt64Value + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Int32Value. */ @@ -6317,6 +6747,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Int32Value + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a UInt32Value. */ @@ -6407,6 +6844,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UInt32Value + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BoolValue. */ @@ -6497,6 +6941,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BoolValue + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a StringValue. */ @@ -6587,6 +7038,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for StringValue + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BytesValue. */ @@ -6677,6 +7135,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for BytesValue + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -6927,6 +7392,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Operation + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GetOperationRequest. */ @@ -7017,6 +7489,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetOperationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListOperationsRequest. */ @@ -7125,6 +7604,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListOperationsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ListOperationsResponse. */ @@ -7221,6 +7707,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListOperationsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CancelOperationRequest. */ @@ -7311,6 +7804,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CancelOperationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DeleteOperationRequest. */ @@ -7401,6 +7901,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteOperationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a WaitOperationRequest. */ @@ -7497,6 +8004,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for WaitOperationRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an OperationInfo. */ @@ -7593,6 +8107,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for OperationInfo + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -7699,6 +8220,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Status + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Code enum. */ @@ -7832,6 +8360,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Index + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Snippet. */ @@ -7970,6 +8505,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Snippet + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Snippet { @@ -8082,6 +8624,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Segment + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace Segment { @@ -8223,6 +8772,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ClientMethod + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ClientMethod { @@ -8321,6 +8877,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Parameter + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } } @@ -8418,6 +8981,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ServiceClient + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ClientLibrary. */ @@ -8526,6 +9096,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ClientLibrary + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Method. */ @@ -8628,6 +9205,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Method + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Service. */ @@ -8724,6 +9308,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Service + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an Api. */ @@ -8820,6 +9411,13 @@ export namespace google { * @returns JSON object */ public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Api + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; } /** Language enum. */ diff --git a/protos/index.js b/protos/index.js index 922f4f4f2..13bab18ac 100644 --- a/protos/index.js +++ b/protos/index.js @@ -208,29 +208,36 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.name && message.name.length)) - message.name = []; - message.name.push($root.grpc.service_config.MethodConfig.Name.decode(reader, reader.uint32())); - break; - case 2: - message.waitForReady = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); - break; - case 3: - message.timeout = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; - case 4: - message.maxRequestMessageBytes = $root.google.protobuf.UInt32Value.decode(reader, reader.uint32()); - break; - case 5: - message.maxResponseMessageBytes = $root.google.protobuf.UInt32Value.decode(reader, reader.uint32()); - break; - case 6: - message.retryPolicy = $root.grpc.service_config.MethodConfig.RetryPolicy.decode(reader, reader.uint32()); - break; - case 7: - message.hedgingPolicy = $root.grpc.service_config.MethodConfig.HedgingPolicy.decode(reader, reader.uint32()); - break; + case 1: { + if (!(message.name && message.name.length)) + message.name = []; + message.name.push($root.grpc.service_config.MethodConfig.Name.decode(reader, reader.uint32())); + break; + } + case 2: { + message.waitForReady = $root.google.protobuf.BoolValue.decode(reader, reader.uint32()); + break; + } + case 3: { + message.timeout = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + } + case 4: { + message.maxRequestMessageBytes = $root.google.protobuf.UInt32Value.decode(reader, reader.uint32()); + break; + } + case 5: { + message.maxResponseMessageBytes = $root.google.protobuf.UInt32Value.decode(reader, reader.uint32()); + break; + } + case 6: { + message.retryPolicy = $root.grpc.service_config.MethodConfig.RetryPolicy.decode(reader, reader.uint32()); + break; + } + case 7: { + message.hedgingPolicy = $root.grpc.service_config.MethodConfig.HedgingPolicy.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -430,6 +437,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for MethodConfig + * @function getTypeUrl + * @memberof grpc.service_config.MethodConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + MethodConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/grpc.service_config.MethodConfig"; + }; + MethodConfig.Name = (function() { /** @@ -533,12 +555,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.service = reader.string(); - break; - case 2: - message.method = reader.string(); - break; + case 1: { + message.service = reader.string(); + break; + } + case 2: { + message.method = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -637,6 +661,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Name + * @function getTypeUrl + * @memberof grpc.service_config.MethodConfig.Name + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Name.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/grpc.service_config.MethodConfig.Name"; + }; + return Name; })(); @@ -781,28 +820,33 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.maxAttempts = reader.uint32(); - break; - case 2: - message.initialBackoff = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; - case 3: - message.maxBackoff = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; - case 4: - message.backoffMultiplier = reader.float(); - break; - case 5: - if (!(message.retryableStatusCodes && message.retryableStatusCodes.length)) - message.retryableStatusCodes = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + message.maxAttempts = reader.uint32(); + break; + } + case 2: { + message.initialBackoff = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + } + case 3: { + message.maxBackoff = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + } + case 4: { + message.backoffMultiplier = reader.float(); + break; + } + case 5: { + if (!(message.retryableStatusCodes && message.retryableStatusCodes.length)) + message.retryableStatusCodes = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.retryableStatusCodes.push(reader.int32()); + } else message.retryableStatusCodes.push(reader.int32()); - } else - message.retryableStatusCodes.push(reader.int32()); - break; + break; + } default: reader.skipType(tag & 7); break; @@ -917,6 +961,10 @@ for (var i = 0; i < object.retryableStatusCodes.length; ++i) switch (object.retryableStatusCodes[i]) { default: + if (typeof object.retryableStatusCodes[i] === "number") { + message.retryableStatusCodes[i] = object.retryableStatusCodes[i]; + break; + } case "OK": case 0: message.retryableStatusCodes[i] = 0; @@ -1022,7 +1070,7 @@ if (message.retryableStatusCodes && message.retryableStatusCodes.length) { object.retryableStatusCodes = []; for (var j = 0; j < message.retryableStatusCodes.length; ++j) - object.retryableStatusCodes[j] = options.enums === String ? $root.google.rpc.Code[message.retryableStatusCodes[j]] : message.retryableStatusCodes[j]; + object.retryableStatusCodes[j] = options.enums === String ? $root.google.rpc.Code[message.retryableStatusCodes[j]] === undefined ? message.retryableStatusCodes[j] : $root.google.rpc.Code[message.retryableStatusCodes[j]] : message.retryableStatusCodes[j]; } return object; }; @@ -1038,6 +1086,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for RetryPolicy + * @function getTypeUrl + * @memberof grpc.service_config.MethodConfig.RetryPolicy + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + RetryPolicy.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/grpc.service_config.MethodConfig.RetryPolicy"; + }; + return RetryPolicy; })(); @@ -1160,22 +1223,25 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.maxAttempts = reader.uint32(); - break; - case 2: - message.hedgingDelay = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; - case 3: - if (!(message.nonFatalStatusCodes && message.nonFatalStatusCodes.length)) - message.nonFatalStatusCodes = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + message.maxAttempts = reader.uint32(); + break; + } + case 2: { + message.hedgingDelay = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + } + case 3: { + if (!(message.nonFatalStatusCodes && message.nonFatalStatusCodes.length)) + message.nonFatalStatusCodes = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.nonFatalStatusCodes.push(reader.int32()); + } else message.nonFatalStatusCodes.push(reader.int32()); - } else - message.nonFatalStatusCodes.push(reader.int32()); - break; + break; + } default: reader.skipType(tag & 7); break; @@ -1275,6 +1341,10 @@ for (var i = 0; i < object.nonFatalStatusCodes.length; ++i) switch (object.nonFatalStatusCodes[i]) { default: + if (typeof object.nonFatalStatusCodes[i] === "number") { + message.nonFatalStatusCodes[i] = object.nonFatalStatusCodes[i]; + break; + } case "OK": case 0: message.nonFatalStatusCodes[i] = 0; @@ -1374,7 +1444,7 @@ if (message.nonFatalStatusCodes && message.nonFatalStatusCodes.length) { object.nonFatalStatusCodes = []; for (var j = 0; j < message.nonFatalStatusCodes.length; ++j) - object.nonFatalStatusCodes[j] = options.enums === String ? $root.google.rpc.Code[message.nonFatalStatusCodes[j]] : message.nonFatalStatusCodes[j]; + object.nonFatalStatusCodes[j] = options.enums === String ? $root.google.rpc.Code[message.nonFatalStatusCodes[j]] === undefined ? message.nonFatalStatusCodes[j] : $root.google.rpc.Code[message.nonFatalStatusCodes[j]] : message.nonFatalStatusCodes[j]; } return object; }; @@ -1390,6 +1460,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for HedgingPolicy + * @function getTypeUrl + * @memberof grpc.service_config.MethodConfig.HedgingPolicy + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + HedgingPolicy.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/grpc.service_config.MethodConfig.HedgingPolicy"; + }; + return HedgingPolicy; })(); @@ -1553,6 +1638,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for PickFirstConfig + * @function getTypeUrl + * @memberof grpc.service_config.PickFirstConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + PickFirstConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/grpc.service_config.PickFirstConfig"; + }; + return PickFirstConfig; })(); @@ -1713,6 +1813,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for RoundRobinConfig + * @function getTypeUrl + * @memberof grpc.service_config.RoundRobinConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + RoundRobinConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/grpc.service_config.RoundRobinConfig"; + }; + return RoundRobinConfig; })(); @@ -1810,11 +1925,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.childPolicy && message.childPolicy.length)) - message.childPolicy = []; - message.childPolicy.push($root.grpc.service_config.LoadBalancingConfig.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.childPolicy && message.childPolicy.length)) + message.childPolicy = []; + message.childPolicy.push($root.grpc.service_config.LoadBalancingConfig.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -1921,6 +2037,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GrpcLbConfig + * @function getTypeUrl + * @memberof grpc.service_config.GrpcLbConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GrpcLbConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/grpc.service_config.GrpcLbConfig"; + }; + return GrpcLbConfig; })(); @@ -2042,19 +2173,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.balancerName = reader.string(); - break; - case 2: - if (!(message.childPolicy && message.childPolicy.length)) - message.childPolicy = []; - message.childPolicy.push($root.grpc.service_config.LoadBalancingConfig.decode(reader, reader.uint32())); - break; - case 3: - if (!(message.fallbackPolicy && message.fallbackPolicy.length)) - message.fallbackPolicy = []; - message.fallbackPolicy.push($root.grpc.service_config.LoadBalancingConfig.decode(reader, reader.uint32())); - break; + case 1: { + message.balancerName = reader.string(); + break; + } + case 2: { + if (!(message.childPolicy && message.childPolicy.length)) + message.childPolicy = []; + message.childPolicy.push($root.grpc.service_config.LoadBalancingConfig.decode(reader, reader.uint32())); + break; + } + case 3: { + if (!(message.fallbackPolicy && message.fallbackPolicy.length)) + message.fallbackPolicy = []; + message.fallbackPolicy.push($root.grpc.service_config.LoadBalancingConfig.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -2196,6 +2330,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for XdsConfig + * @function getTypeUrl + * @memberof grpc.service_config.XdsConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + XdsConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/grpc.service_config.XdsConfig"; + }; + return XdsConfig; })(); @@ -2349,21 +2498,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 4: - message.pickFirst = $root.grpc.service_config.PickFirstConfig.decode(reader, reader.uint32()); - break; - case 1: - message.roundRobin = $root.grpc.service_config.RoundRobinConfig.decode(reader, reader.uint32()); - break; - case 3: - message.grpclb = $root.grpc.service_config.GrpcLbConfig.decode(reader, reader.uint32()); - break; - case 2: - message.xds = $root.grpc.service_config.XdsConfig.decode(reader, reader.uint32()); - break; - case 5: - message.xdsExperimental = $root.grpc.service_config.XdsConfig.decode(reader, reader.uint32()); - break; + case 4: { + message.pickFirst = $root.grpc.service_config.PickFirstConfig.decode(reader, reader.uint32()); + break; + } + case 1: { + message.roundRobin = $root.grpc.service_config.RoundRobinConfig.decode(reader, reader.uint32()); + break; + } + case 3: { + message.grpclb = $root.grpc.service_config.GrpcLbConfig.decode(reader, reader.uint32()); + break; + } + case 2: { + message.xds = $root.grpc.service_config.XdsConfig.decode(reader, reader.uint32()); + break; + } + case 5: { + message.xdsExperimental = $root.grpc.service_config.XdsConfig.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -2543,6 +2697,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for LoadBalancingConfig + * @function getTypeUrl + * @memberof grpc.service_config.LoadBalancingConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + LoadBalancingConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/grpc.service_config.LoadBalancingConfig"; + }; + return LoadBalancingConfig; })(); @@ -2686,25 +2855,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.loadBalancingPolicy = reader.int32(); - break; - case 4: - if (!(message.loadBalancingConfig && message.loadBalancingConfig.length)) - message.loadBalancingConfig = []; - message.loadBalancingConfig.push($root.grpc.service_config.LoadBalancingConfig.decode(reader, reader.uint32())); - break; - case 2: - if (!(message.methodConfig && message.methodConfig.length)) - message.methodConfig = []; - message.methodConfig.push($root.grpc.service_config.MethodConfig.decode(reader, reader.uint32())); - break; - case 3: - message.retryThrottling = $root.grpc.service_config.ServiceConfig.RetryThrottlingPolicy.decode(reader, reader.uint32()); - break; - case 5: - message.healthCheckConfig = $root.grpc.service_config.ServiceConfig.HealthCheckConfig.decode(reader, reader.uint32()); - break; + case 1: { + message.loadBalancingPolicy = reader.int32(); + break; + } + case 4: { + if (!(message.loadBalancingConfig && message.loadBalancingConfig.length)) + message.loadBalancingConfig = []; + message.loadBalancingConfig.push($root.grpc.service_config.LoadBalancingConfig.decode(reader, reader.uint32())); + break; + } + case 2: { + if (!(message.methodConfig && message.methodConfig.length)) + message.methodConfig = []; + message.methodConfig.push($root.grpc.service_config.MethodConfig.decode(reader, reader.uint32())); + break; + } + case 3: { + message.retryThrottling = $root.grpc.service_config.ServiceConfig.RetryThrottlingPolicy.decode(reader, reader.uint32()); + break; + } + case 5: { + message.healthCheckConfig = $root.grpc.service_config.ServiceConfig.HealthCheckConfig.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -2792,6 +2966,12 @@ return object; var message = new $root.grpc.service_config.ServiceConfig(); switch (object.loadBalancingPolicy) { + default: + if (typeof object.loadBalancingPolicy === "number") { + message.loadBalancingPolicy = object.loadBalancingPolicy; + break; + } + break; case "UNSPECIFIED": case 0: message.loadBalancingPolicy = 0; @@ -2857,7 +3037,7 @@ object.healthCheckConfig = null; } if (message.loadBalancingPolicy != null && message.hasOwnProperty("loadBalancingPolicy")) - object.loadBalancingPolicy = options.enums === String ? $root.grpc.service_config.ServiceConfig.LoadBalancingPolicy[message.loadBalancingPolicy] : message.loadBalancingPolicy; + object.loadBalancingPolicy = options.enums === String ? $root.grpc.service_config.ServiceConfig.LoadBalancingPolicy[message.loadBalancingPolicy] === undefined ? message.loadBalancingPolicy : $root.grpc.service_config.ServiceConfig.LoadBalancingPolicy[message.loadBalancingPolicy] : message.loadBalancingPolicy; if (message.methodConfig && message.methodConfig.length) { object.methodConfig = []; for (var j = 0; j < message.methodConfig.length; ++j) @@ -2886,6 +3066,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ServiceConfig + * @function getTypeUrl + * @memberof grpc.service_config.ServiceConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ServiceConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/grpc.service_config.ServiceConfig"; + }; + /** * LoadBalancingPolicy enum. * @name grpc.service_config.ServiceConfig.LoadBalancingPolicy @@ -3003,12 +3198,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.maxTokens = reader.uint32(); - break; - case 2: - message.tokenRatio = reader.float(); - break; + case 1: { + message.maxTokens = reader.uint32(); + break; + } + case 2: { + message.tokenRatio = reader.float(); + break; + } default: reader.skipType(tag & 7); break; @@ -3107,6 +3304,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for RetryThrottlingPolicy + * @function getTypeUrl + * @memberof grpc.service_config.ServiceConfig.RetryThrottlingPolicy + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + RetryThrottlingPolicy.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/grpc.service_config.ServiceConfig.RetryThrottlingPolicy"; + }; + return RetryThrottlingPolicy; })(); @@ -3202,9 +3414,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.serviceName = $root.google.protobuf.StringValue.decode(reader, reader.uint32()); - break; + case 1: { + message.serviceName = $root.google.protobuf.StringValue.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -3299,6 +3512,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for HealthCheckConfig + * @function getTypeUrl + * @memberof grpc.service_config.ServiceConfig.HealthCheckConfig + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + HealthCheckConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/grpc.service_config.ServiceConfig.HealthCheckConfig"; + }; + return HealthCheckConfig; })(); @@ -3434,14 +3662,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.rules && message.rules.length)) - message.rules = []; - message.rules.push($root.google.api.HttpRule.decode(reader, reader.uint32())); - break; - case 2: - message.fullyDecodeReservedExpansion = reader.bool(); - break; + case 1: { + if (!(message.rules && message.rules.length)) + message.rules = []; + message.rules.push($root.google.api.HttpRule.decode(reader, reader.uint32())); + break; + } + case 2: { + message.fullyDecodeReservedExpansion = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -3557,6 +3787,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Http + * @function getTypeUrl + * @memberof google.api.Http + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Http.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.api.Http"; + }; + return Http; })(); @@ -3767,38 +4012,48 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.selector = reader.string(); - break; - case 2: - message.get = reader.string(); - break; - case 3: - message.put = reader.string(); - break; - case 4: - message.post = reader.string(); - break; - case 5: - message["delete"] = reader.string(); - break; - case 6: - message.patch = reader.string(); - break; - case 8: - message.custom = $root.google.api.CustomHttpPattern.decode(reader, reader.uint32()); - break; - case 7: - message.body = reader.string(); - break; - case 12: - message.responseBody = reader.string(); - break; - case 11: - if (!(message.additionalBindings && message.additionalBindings.length)) - message.additionalBindings = []; - message.additionalBindings.push($root.google.api.HttpRule.decode(reader, reader.uint32())); - break; + case 1: { + message.selector = reader.string(); + break; + } + case 2: { + message.get = reader.string(); + break; + } + case 3: { + message.put = reader.string(); + break; + } + case 4: { + message.post = reader.string(); + break; + } + case 5: { + message["delete"] = reader.string(); + break; + } + case 6: { + message.patch = reader.string(); + break; + } + case 8: { + message.custom = $root.google.api.CustomHttpPattern.decode(reader, reader.uint32()); + break; + } + case 7: { + message.body = reader.string(); + break; + } + case 12: { + message.responseBody = reader.string(); + break; + } + case 11: { + if (!(message.additionalBindings && message.additionalBindings.length)) + message.additionalBindings = []; + message.additionalBindings.push($root.google.api.HttpRule.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -4020,6 +4275,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for HttpRule + * @function getTypeUrl + * @memberof google.api.HttpRule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + HttpRule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.api.HttpRule"; + }; + return HttpRule; })(); @@ -4126,12 +4396,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.kind = reader.string(); - break; - case 2: - message.path = reader.string(); - break; + case 1: { + message.kind = reader.string(); + break; + } + case 2: { + message.path = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -4230,6 +4502,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CustomHttpPattern + * @function getTypeUrl + * @memberof google.api.CustomHttpPattern + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CustomHttpPattern.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.api.CustomHttpPattern"; + }; + return CustomHttpPattern; })(); @@ -4424,36 +4711,43 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.type = reader.string(); - break; - case 2: - if (!(message.pattern && message.pattern.length)) - message.pattern = []; - message.pattern.push(reader.string()); - break; - case 3: - message.nameField = reader.string(); - break; - case 4: - message.history = reader.int32(); - break; - case 5: - message.plural = reader.string(); - break; - case 6: - message.singular = reader.string(); - break; - case 10: - if (!(message.style && message.style.length)) - message.style = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + message.type = reader.string(); + break; + } + case 2: { + if (!(message.pattern && message.pattern.length)) + message.pattern = []; + message.pattern.push(reader.string()); + break; + } + case 3: { + message.nameField = reader.string(); + break; + } + case 4: { + message.history = reader.int32(); + break; + } + case 5: { + message.plural = reader.string(); + break; + } + case 6: { + message.singular = reader.string(); + break; + } + case 10: { + if (!(message.style && message.style.length)) + message.style = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.style.push(reader.int32()); + } else message.style.push(reader.int32()); - } else - message.style.push(reader.int32()); - break; + break; + } default: reader.skipType(tag & 7); break; @@ -4556,6 +4850,12 @@ if (object.nameField != null) message.nameField = String(object.nameField); switch (object.history) { + default: + if (typeof object.history === "number") { + message.history = object.history; + break; + } + break; case "HISTORY_UNSPECIFIED": case 0: message.history = 0; @@ -4580,6 +4880,10 @@ for (var i = 0; i < object.style.length; ++i) switch (object.style[i]) { default: + if (typeof object.style[i] === "number") { + message.style[i] = object.style[i]; + break; + } case "STYLE_UNSPECIFIED": case 0: message.style[i] = 0; @@ -4627,7 +4931,7 @@ if (message.nameField != null && message.hasOwnProperty("nameField")) object.nameField = message.nameField; if (message.history != null && message.hasOwnProperty("history")) - object.history = options.enums === String ? $root.google.api.ResourceDescriptor.History[message.history] : message.history; + object.history = options.enums === String ? $root.google.api.ResourceDescriptor.History[message.history] === undefined ? message.history : $root.google.api.ResourceDescriptor.History[message.history] : message.history; if (message.plural != null && message.hasOwnProperty("plural")) object.plural = message.plural; if (message.singular != null && message.hasOwnProperty("singular")) @@ -4635,7 +4939,7 @@ if (message.style && message.style.length) { object.style = []; for (var j = 0; j < message.style.length; ++j) - object.style[j] = options.enums === String ? $root.google.api.ResourceDescriptor.Style[message.style[j]] : message.style[j]; + object.style[j] = options.enums === String ? $root.google.api.ResourceDescriptor.Style[message.style[j]] === undefined ? message.style[j] : $root.google.api.ResourceDescriptor.Style[message.style[j]] : message.style[j]; } return object; }; @@ -4651,6 +4955,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ResourceDescriptor + * @function getTypeUrl + * @memberof google.api.ResourceDescriptor + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResourceDescriptor.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.api.ResourceDescriptor"; + }; + /** * History enum. * @name google.api.ResourceDescriptor.History @@ -4787,12 +5106,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.type = reader.string(); - break; - case 2: - message.childType = reader.string(); - break; + case 1: { + message.type = reader.string(); + break; + } + case 2: { + message.childType = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -4891,6 +5212,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ResourceReference + * @function getTypeUrl + * @memberof google.api.ResourceReference + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ResourceReference.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.api.ResourceReference"; + }; + return ResourceReference; })(); @@ -4988,11 +5324,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 2: - if (!(message.routingParameters && message.routingParameters.length)) - message.routingParameters = []; - message.routingParameters.push($root.google.api.RoutingParameter.decode(reader, reader.uint32())); - break; + case 2: { + if (!(message.routingParameters && message.routingParameters.length)) + message.routingParameters = []; + message.routingParameters.push($root.google.api.RoutingParameter.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -5099,6 +5436,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for RoutingRule + * @function getTypeUrl + * @memberof google.api.RoutingRule + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + RoutingRule.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.api.RoutingRule"; + }; + return RoutingRule; })(); @@ -5205,12 +5557,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.field = reader.string(); - break; - case 2: - message.pathTemplate = reader.string(); - break; + case 1: { + message.field = reader.string(); + break; + } + case 2: { + message.pathTemplate = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -5309,6 +5663,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for RoutingParameter + * @function getTypeUrl + * @memberof google.api.RoutingParameter + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + RoutingParameter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.api.RoutingParameter"; + }; + return RoutingParameter; })(); @@ -5418,11 +5787,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.file && message.file.length)) - message.file = []; - message.file.push($root.google.protobuf.FileDescriptorProto.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.file && message.file.length)) + message.file = []; + message.file.push($root.google.protobuf.FileDescriptorProto.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -5529,6 +5899,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FileDescriptorSet + * @function getTypeUrl + * @memberof google.protobuf.FileDescriptorSet + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FileDescriptorSet.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.FileDescriptorSet"; + }; + return FileDescriptorSet; })(); @@ -5550,6 +5935,7 @@ * @property {google.protobuf.IFileOptions|null} [options] FileDescriptorProto options * @property {google.protobuf.ISourceCodeInfo|null} [sourceCodeInfo] FileDescriptorProto sourceCodeInfo * @property {string|null} [syntax] FileDescriptorProto syntax + * @property {string|null} [edition] FileDescriptorProto edition */ /** @@ -5670,6 +6056,14 @@ */ FileDescriptorProto.prototype.syntax = ""; + /** + * FileDescriptorProto edition. + * @member {string} edition + * @memberof google.protobuf.FileDescriptorProto + * @instance + */ + FileDescriptorProto.prototype.edition = ""; + /** * Creates a new FileDescriptorProto instance using the specified properties. * @function create @@ -5725,6 +6119,8 @@ writer.uint32(/* id 11, wireType 0 =*/88).int32(message.weakDependency[i]); if (message.syntax != null && Object.hasOwnProperty.call(message, "syntax")) writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax); + if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) + writer.uint32(/* id 13, wireType 2 =*/106).string(message.edition); return writer; }; @@ -5759,66 +6155,82 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message["package"] = reader.string(); - break; - case 3: - if (!(message.dependency && message.dependency.length)) - message.dependency = []; - message.dependency.push(reader.string()); - break; - case 10: - if (!(message.publicDependency && message.publicDependency.length)) - message.publicDependency = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message["package"] = reader.string(); + break; + } + case 3: { + if (!(message.dependency && message.dependency.length)) + message.dependency = []; + message.dependency.push(reader.string()); + break; + } + case 10: { + if (!(message.publicDependency && message.publicDependency.length)) + message.publicDependency = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.publicDependency.push(reader.int32()); + } else message.publicDependency.push(reader.int32()); - } else - message.publicDependency.push(reader.int32()); - break; - case 11: - if (!(message.weakDependency && message.weakDependency.length)) - message.weakDependency = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + break; + } + case 11: { + if (!(message.weakDependency && message.weakDependency.length)) + message.weakDependency = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.weakDependency.push(reader.int32()); + } else message.weakDependency.push(reader.int32()); - } else - message.weakDependency.push(reader.int32()); - break; - case 4: - if (!(message.messageType && message.messageType.length)) - message.messageType = []; - message.messageType.push($root.google.protobuf.DescriptorProto.decode(reader, reader.uint32())); - break; - case 5: - if (!(message.enumType && message.enumType.length)) - message.enumType = []; - message.enumType.push($root.google.protobuf.EnumDescriptorProto.decode(reader, reader.uint32())); - break; - case 6: - if (!(message.service && message.service.length)) - message.service = []; - message.service.push($root.google.protobuf.ServiceDescriptorProto.decode(reader, reader.uint32())); - break; - case 7: - if (!(message.extension && message.extension.length)) - message.extension = []; - message.extension.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32())); - break; - case 8: - message.options = $root.google.protobuf.FileOptions.decode(reader, reader.uint32()); - break; - case 9: - message.sourceCodeInfo = $root.google.protobuf.SourceCodeInfo.decode(reader, reader.uint32()); - break; - case 12: - message.syntax = reader.string(); - break; + break; + } + case 4: { + if (!(message.messageType && message.messageType.length)) + message.messageType = []; + message.messageType.push($root.google.protobuf.DescriptorProto.decode(reader, reader.uint32())); + break; + } + case 5: { + if (!(message.enumType && message.enumType.length)) + message.enumType = []; + message.enumType.push($root.google.protobuf.EnumDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 6: { + if (!(message.service && message.service.length)) + message.service = []; + message.service.push($root.google.protobuf.ServiceDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 7: { + if (!(message.extension && message.extension.length)) + message.extension = []; + message.extension.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 8: { + message.options = $root.google.protobuf.FileOptions.decode(reader, reader.uint32()); + break; + } + case 9: { + message.sourceCodeInfo = $root.google.protobuf.SourceCodeInfo.decode(reader, reader.uint32()); + break; + } + case 12: { + message.syntax = reader.string(); + break; + } + case 13: { + message.edition = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -5930,6 +6342,9 @@ if (message.syntax != null && message.hasOwnProperty("syntax")) if (!$util.isString(message.syntax)) return "syntax: string expected"; + if (message.edition != null && message.hasOwnProperty("edition")) + if (!$util.isString(message.edition)) + return "edition: string expected"; return null; }; @@ -6022,6 +6437,8 @@ } if (object.syntax != null) message.syntax = String(object.syntax); + if (object.edition != null) + message.edition = String(object.edition); return message; }; @@ -6053,6 +6470,7 @@ object.options = null; object.sourceCodeInfo = null; object.syntax = ""; + object.edition = ""; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -6099,6 +6517,8 @@ } if (message.syntax != null && message.hasOwnProperty("syntax")) object.syntax = message.syntax; + if (message.edition != null && message.hasOwnProperty("edition")) + object.edition = message.edition; return object; }; @@ -6113,6 +6533,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FileDescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.FileDescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FileDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.FileDescriptorProto"; + }; + return FileDescriptorProto; })(); @@ -6323,52 +6758,62 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - if (!(message.field && message.field.length)) - message.field = []; - message.field.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32())); - break; - case 6: - if (!(message.extension && message.extension.length)) - message.extension = []; - message.extension.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32())); - break; - case 3: - if (!(message.nestedType && message.nestedType.length)) - message.nestedType = []; - message.nestedType.push($root.google.protobuf.DescriptorProto.decode(reader, reader.uint32())); - break; - case 4: - if (!(message.enumType && message.enumType.length)) - message.enumType = []; - message.enumType.push($root.google.protobuf.EnumDescriptorProto.decode(reader, reader.uint32())); - break; - case 5: - if (!(message.extensionRange && message.extensionRange.length)) - message.extensionRange = []; - message.extensionRange.push($root.google.protobuf.DescriptorProto.ExtensionRange.decode(reader, reader.uint32())); - break; - case 8: - if (!(message.oneofDecl && message.oneofDecl.length)) - message.oneofDecl = []; - message.oneofDecl.push($root.google.protobuf.OneofDescriptorProto.decode(reader, reader.uint32())); - break; - case 7: - message.options = $root.google.protobuf.MessageOptions.decode(reader, reader.uint32()); - break; - case 9: - if (!(message.reservedRange && message.reservedRange.length)) - message.reservedRange = []; - message.reservedRange.push($root.google.protobuf.DescriptorProto.ReservedRange.decode(reader, reader.uint32())); - break; - case 10: - if (!(message.reservedName && message.reservedName.length)) - message.reservedName = []; - message.reservedName.push(reader.string()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + if (!(message.field && message.field.length)) + message.field = []; + message.field.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 6: { + if (!(message.extension && message.extension.length)) + message.extension = []; + message.extension.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 3: { + if (!(message.nestedType && message.nestedType.length)) + message.nestedType = []; + message.nestedType.push($root.google.protobuf.DescriptorProto.decode(reader, reader.uint32())); + break; + } + case 4: { + if (!(message.enumType && message.enumType.length)) + message.enumType = []; + message.enumType.push($root.google.protobuf.EnumDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 5: { + if (!(message.extensionRange && message.extensionRange.length)) + message.extensionRange = []; + message.extensionRange.push($root.google.protobuf.DescriptorProto.ExtensionRange.decode(reader, reader.uint32())); + break; + } + case 8: { + if (!(message.oneofDecl && message.oneofDecl.length)) + message.oneofDecl = []; + message.oneofDecl.push($root.google.protobuf.OneofDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 7: { + message.options = $root.google.protobuf.MessageOptions.decode(reader, reader.uint32()); + break; + } + case 9: { + if (!(message.reservedRange && message.reservedRange.length)) + message.reservedRange = []; + message.reservedRange.push($root.google.protobuf.DescriptorProto.ReservedRange.decode(reader, reader.uint32())); + break; + } + case 10: { + if (!(message.reservedName && message.reservedName.length)) + message.reservedName = []; + message.reservedName.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -6669,6 +7114,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.DescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.DescriptorProto"; + }; + DescriptorProto.ExtensionRange = (function() { /** @@ -6783,15 +7243,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.start = reader.int32(); - break; - case 2: - message.end = reader.int32(); - break; - case 3: - message.options = $root.google.protobuf.ExtensionRangeOptions.decode(reader, reader.uint32()); - break; + case 1: { + message.start = reader.int32(); + break; + } + case 2: { + message.end = reader.int32(); + break; + } + case 3: { + message.options = $root.google.protobuf.ExtensionRangeOptions.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -6903,6 +7366,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ExtensionRange + * @function getTypeUrl + * @memberof google.protobuf.DescriptorProto.ExtensionRange + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ExtensionRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.DescriptorProto.ExtensionRange"; + }; + return ExtensionRange; })(); @@ -7009,12 +7487,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.start = reader.int32(); - break; - case 2: - message.end = reader.int32(); - break; + case 1: { + message.start = reader.int32(); + break; + } + case 2: { + message.end = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -7113,6 +7593,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ReservedRange + * @function getTypeUrl + * @memberof google.protobuf.DescriptorProto.ReservedRange + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ReservedRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.DescriptorProto.ReservedRange"; + }; + return ReservedRange; })(); @@ -7213,11 +7708,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -7324,6 +7820,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ExtensionRangeOptions + * @function getTypeUrl + * @memberof google.protobuf.ExtensionRangeOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ExtensionRangeOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.ExtensionRangeOptions"; + }; + return ExtensionRangeOptions; })(); @@ -7529,39 +8040,50 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 3: - message.number = reader.int32(); - break; - case 4: - message.label = reader.int32(); - break; - case 5: - message.type = reader.int32(); - break; - case 6: - message.typeName = reader.string(); - break; - case 2: - message.extendee = reader.string(); - break; - case 7: - message.defaultValue = reader.string(); - break; - case 9: - message.oneofIndex = reader.int32(); - break; - case 10: - message.jsonName = reader.string(); - break; - case 8: - message.options = $root.google.protobuf.FieldOptions.decode(reader, reader.uint32()); - break; - case 17: - message.proto3Optional = reader.bool(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 3: { + message.number = reader.int32(); + break; + } + case 4: { + message.label = reader.int32(); + break; + } + case 5: { + message.type = reader.int32(); + break; + } + case 6: { + message.typeName = reader.string(); + break; + } + case 2: { + message.extendee = reader.string(); + break; + } + case 7: { + message.defaultValue = reader.string(); + break; + } + case 9: { + message.oneofIndex = reader.int32(); + break; + } + case 10: { + message.jsonName = reader.string(); + break; + } + case 8: { + message.options = $root.google.protobuf.FieldOptions.decode(reader, reader.uint32()); + break; + } + case 17: { + message.proto3Optional = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -7679,6 +8201,12 @@ if (object.number != null) message.number = object.number | 0; switch (object.label) { + default: + if (typeof object.label === "number") { + message.label = object.label; + break; + } + break; case "LABEL_OPTIONAL": case 1: message.label = 1; @@ -7693,6 +8221,12 @@ break; } switch (object.type) { + default: + if (typeof object.type === "number") { + message.type = object.type; + break; + } + break; case "TYPE_DOUBLE": case 1: message.type = 1; @@ -7819,9 +8353,9 @@ if (message.number != null && message.hasOwnProperty("number")) object.number = message.number; if (message.label != null && message.hasOwnProperty("label")) - object.label = options.enums === String ? $root.google.protobuf.FieldDescriptorProto.Label[message.label] : message.label; + object.label = options.enums === String ? $root.google.protobuf.FieldDescriptorProto.Label[message.label] === undefined ? message.label : $root.google.protobuf.FieldDescriptorProto.Label[message.label] : message.label; if (message.type != null && message.hasOwnProperty("type")) - object.type = options.enums === String ? $root.google.protobuf.FieldDescriptorProto.Type[message.type] : message.type; + object.type = options.enums === String ? $root.google.protobuf.FieldDescriptorProto.Type[message.type] === undefined ? message.type : $root.google.protobuf.FieldDescriptorProto.Type[message.type] : message.type; if (message.typeName != null && message.hasOwnProperty("typeName")) object.typeName = message.typeName; if (message.defaultValue != null && message.hasOwnProperty("defaultValue")) @@ -7848,6 +8382,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FieldDescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.FieldDescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FieldDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.FieldDescriptorProto"; + }; + /** * Type enum. * @name google.protobuf.FieldDescriptorProto.Type @@ -8016,12 +8565,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.options = $root.google.protobuf.OneofOptions.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.options = $root.google.protobuf.OneofOptions.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -8125,6 +8676,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for OneofDescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.OneofDescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + OneofDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.OneofDescriptorProto"; + }; + return OneofDescriptorProto; })(); @@ -8270,27 +8836,32 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - if (!(message.value && message.value.length)) - message.value = []; - message.value.push($root.google.protobuf.EnumValueDescriptorProto.decode(reader, reader.uint32())); - break; - case 3: - message.options = $root.google.protobuf.EnumOptions.decode(reader, reader.uint32()); - break; - case 4: - if (!(message.reservedRange && message.reservedRange.length)) - message.reservedRange = []; - message.reservedRange.push($root.google.protobuf.EnumDescriptorProto.EnumReservedRange.decode(reader, reader.uint32())); - break; - case 5: - if (!(message.reservedName && message.reservedName.length)) - message.reservedName = []; - message.reservedName.push(reader.string()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + if (!(message.value && message.value.length)) + message.value = []; + message.value.push($root.google.protobuf.EnumValueDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 3: { + message.options = $root.google.protobuf.EnumOptions.decode(reader, reader.uint32()); + break; + } + case 4: { + if (!(message.reservedRange && message.reservedRange.length)) + message.reservedRange = []; + message.reservedRange.push($root.google.protobuf.EnumDescriptorProto.EnumReservedRange.decode(reader, reader.uint32())); + break; + } + case 5: { + if (!(message.reservedName && message.reservedName.length)) + message.reservedName = []; + message.reservedName.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -8466,6 +9037,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EnumDescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.EnumDescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EnumDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.EnumDescriptorProto"; + }; + EnumDescriptorProto.EnumReservedRange = (function() { /** @@ -8569,12 +9155,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.start = reader.int32(); - break; - case 2: - message.end = reader.int32(); - break; + case 1: { + message.start = reader.int32(); + break; + } + case 2: { + message.end = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -8673,6 +9261,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EnumReservedRange + * @function getTypeUrl + * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EnumReservedRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.EnumDescriptorProto.EnumReservedRange"; + }; + return EnumReservedRange; })(); @@ -8793,15 +9396,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.number = reader.int32(); - break; - case 3: - message.options = $root.google.protobuf.EnumValueOptions.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.number = reader.int32(); + break; + } + case 3: { + message.options = $root.google.protobuf.EnumValueOptions.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -8913,6 +9519,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EnumValueDescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.EnumValueDescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EnumValueDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.EnumValueDescriptorProto"; + }; + return EnumValueDescriptorProto; })(); @@ -9032,17 +9653,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - if (!(message.method && message.method.length)) - message.method = []; - message.method.push($root.google.protobuf.MethodDescriptorProto.decode(reader, reader.uint32())); - break; - case 3: - message.options = $root.google.protobuf.ServiceOptions.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + if (!(message.method && message.method.length)) + message.method = []; + message.method.push($root.google.protobuf.MethodDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 3: { + message.options = $root.google.protobuf.ServiceOptions.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -9172,6 +9796,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ServiceDescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.ServiceDescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ServiceDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.ServiceDescriptorProto"; + }; + return ServiceDescriptorProto; })(); @@ -9322,24 +9961,30 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.inputType = reader.string(); - break; - case 3: - message.outputType = reader.string(); - break; - case 4: - message.options = $root.google.protobuf.MethodOptions.decode(reader, reader.uint32()); - break; - case 5: - message.clientStreaming = reader.bool(); - break; - case 6: - message.serverStreaming = reader.bool(); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.inputType = reader.string(); + break; + } + case 3: { + message.outputType = reader.string(); + break; + } + case 4: { + message.options = $root.google.protobuf.MethodOptions.decode(reader, reader.uint32()); + break; + } + case 5: { + message.clientStreaming = reader.bool(); + break; + } + case 6: { + message.serverStreaming = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -9475,6 +10120,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for MethodDescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.MethodDescriptorProto + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + MethodDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.MethodDescriptorProto"; + }; + return MethodDescriptorProto; })(); @@ -9805,76 +10465,98 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.javaPackage = reader.string(); - break; - case 8: - message.javaOuterClassname = reader.string(); - break; - case 10: - message.javaMultipleFiles = reader.bool(); - break; - case 20: - message.javaGenerateEqualsAndHash = reader.bool(); - break; - case 27: - message.javaStringCheckUtf8 = reader.bool(); - break; - case 9: - message.optimizeFor = reader.int32(); - break; - case 11: - message.goPackage = reader.string(); - break; - case 16: - message.ccGenericServices = reader.bool(); - break; - case 17: - message.javaGenericServices = reader.bool(); - break; - case 18: - message.pyGenericServices = reader.bool(); - break; - case 42: - message.phpGenericServices = reader.bool(); - break; - case 23: - message.deprecated = reader.bool(); - break; - case 31: - message.ccEnableArenas = reader.bool(); - break; - case 36: - message.objcClassPrefix = reader.string(); - break; - case 37: - message.csharpNamespace = reader.string(); - break; - case 39: - message.swiftPrefix = reader.string(); - break; - case 40: - message.phpClassPrefix = reader.string(); - break; - case 41: - message.phpNamespace = reader.string(); - break; - case 44: - message.phpMetadataNamespace = reader.string(); - break; - case 45: - message.rubyPackage = reader.string(); - break; - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; - case 1053: - if (!(message[".google.api.resourceDefinition"] && message[".google.api.resourceDefinition"].length)) - message[".google.api.resourceDefinition"] = []; - message[".google.api.resourceDefinition"].push($root.google.api.ResourceDescriptor.decode(reader, reader.uint32())); - break; + case 1: { + message.javaPackage = reader.string(); + break; + } + case 8: { + message.javaOuterClassname = reader.string(); + break; + } + case 10: { + message.javaMultipleFiles = reader.bool(); + break; + } + case 20: { + message.javaGenerateEqualsAndHash = reader.bool(); + break; + } + case 27: { + message.javaStringCheckUtf8 = reader.bool(); + break; + } + case 9: { + message.optimizeFor = reader.int32(); + break; + } + case 11: { + message.goPackage = reader.string(); + break; + } + case 16: { + message.ccGenericServices = reader.bool(); + break; + } + case 17: { + message.javaGenericServices = reader.bool(); + break; + } + case 18: { + message.pyGenericServices = reader.bool(); + break; + } + case 42: { + message.phpGenericServices = reader.bool(); + break; + } + case 23: { + message.deprecated = reader.bool(); + break; + } + case 31: { + message.ccEnableArenas = reader.bool(); + break; + } + case 36: { + message.objcClassPrefix = reader.string(); + break; + } + case 37: { + message.csharpNamespace = reader.string(); + break; + } + case 39: { + message.swiftPrefix = reader.string(); + break; + } + case 40: { + message.phpClassPrefix = reader.string(); + break; + } + case 41: { + message.phpNamespace = reader.string(); + break; + } + case 44: { + message.phpMetadataNamespace = reader.string(); + break; + } + case 45: { + message.rubyPackage = reader.string(); + break; + } + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } + case 1053: { + if (!(message[".google.api.resourceDefinition"] && message[".google.api.resourceDefinition"].length)) + message[".google.api.resourceDefinition"] = []; + message[".google.api.resourceDefinition"].push($root.google.api.ResourceDescriptor.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -10020,6 +10702,12 @@ if (object.javaStringCheckUtf8 != null) message.javaStringCheckUtf8 = Boolean(object.javaStringCheckUtf8); switch (object.optimizeFor) { + default: + if (typeof object.optimizeFor === "number") { + message.optimizeFor = object.optimizeFor; + break; + } + break; case "SPEED": case 1: message.optimizeFor = 1; @@ -10128,7 +10816,7 @@ if (message.javaOuterClassname != null && message.hasOwnProperty("javaOuterClassname")) object.javaOuterClassname = message.javaOuterClassname; if (message.optimizeFor != null && message.hasOwnProperty("optimizeFor")) - object.optimizeFor = options.enums === String ? $root.google.protobuf.FileOptions.OptimizeMode[message.optimizeFor] : message.optimizeFor; + object.optimizeFor = options.enums === String ? $root.google.protobuf.FileOptions.OptimizeMode[message.optimizeFor] === undefined ? message.optimizeFor : $root.google.protobuf.FileOptions.OptimizeMode[message.optimizeFor] : message.optimizeFor; if (message.javaMultipleFiles != null && message.hasOwnProperty("javaMultipleFiles")) object.javaMultipleFiles = message.javaMultipleFiles; if (message.goPackage != null && message.hasOwnProperty("goPackage")) @@ -10187,6 +10875,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FileOptions + * @function getTypeUrl + * @memberof google.protobuf.FileOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FileOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.FileOptions"; + }; + /** * OptimizeMode enum. * @name google.protobuf.FileOptions.OptimizeMode @@ -10355,26 +11058,32 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.messageSetWireFormat = reader.bool(); - break; - case 2: - message.noStandardDescriptorAccessor = reader.bool(); - break; - case 3: - message.deprecated = reader.bool(); - break; - case 7: - message.mapEntry = reader.bool(); - break; - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; - case 1053: - message[".google.api.resource"] = $root.google.api.ResourceDescriptor.decode(reader, reader.uint32()); - break; + case 1: { + message.messageSetWireFormat = reader.bool(); + break; + } + case 2: { + message.noStandardDescriptorAccessor = reader.bool(); + break; + } + case 3: { + message.deprecated = reader.bool(); + break; + } + case 7: { + message.mapEntry = reader.bool(); + break; + } + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } + case 1053: { + message[".google.api.resource"] = $root.google.api.ResourceDescriptor.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -10528,6 +11237,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for MessageOptions + * @function getTypeUrl + * @memberof google.protobuf.MessageOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + MessageOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.MessageOptions"; + }; + return MessageOptions; })(); @@ -10541,6 +11265,7 @@ * @property {boolean|null} [packed] FieldOptions packed * @property {google.protobuf.FieldOptions.JSType|null} [jstype] FieldOptions jstype * @property {boolean|null} [lazy] FieldOptions lazy + * @property {boolean|null} [unverifiedLazy] FieldOptions unverifiedLazy * @property {boolean|null} [deprecated] FieldOptions deprecated * @property {boolean|null} [weak] FieldOptions weak * @property {Array.|null} [uninterpretedOption] FieldOptions uninterpretedOption @@ -10597,6 +11322,14 @@ */ FieldOptions.prototype.lazy = false; + /** + * FieldOptions unverifiedLazy. + * @member {boolean} unverifiedLazy + * @memberof google.protobuf.FieldOptions + * @instance + */ + FieldOptions.prototype.unverifiedLazy = false; + /** * FieldOptions deprecated. * @member {boolean} deprecated @@ -10673,6 +11406,8 @@ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jstype); if (message.weak != null && Object.hasOwnProperty.call(message, "weak")) writer.uint32(/* id 10, wireType 0 =*/80).bool(message.weak); + if (message.unverifiedLazy != null && Object.hasOwnProperty.call(message, "unverifiedLazy")) + writer.uint32(/* id 15, wireType 0 =*/120).bool(message.unverifiedLazy); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -10718,42 +11453,55 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.ctype = reader.int32(); - break; - case 2: - message.packed = reader.bool(); - break; - case 6: - message.jstype = reader.int32(); - break; - case 5: - message.lazy = reader.bool(); - break; - case 3: - message.deprecated = reader.bool(); - break; - case 10: - message.weak = reader.bool(); - break; - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; - case 1052: - if (!(message[".google.api.fieldBehavior"] && message[".google.api.fieldBehavior"].length)) - message[".google.api.fieldBehavior"] = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + message.ctype = reader.int32(); + break; + } + case 2: { + message.packed = reader.bool(); + break; + } + case 6: { + message.jstype = reader.int32(); + break; + } + case 5: { + message.lazy = reader.bool(); + break; + } + case 15: { + message.unverifiedLazy = reader.bool(); + break; + } + case 3: { + message.deprecated = reader.bool(); + break; + } + case 10: { + message.weak = reader.bool(); + break; + } + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } + case 1052: { + if (!(message[".google.api.fieldBehavior"] && message[".google.api.fieldBehavior"].length)) + message[".google.api.fieldBehavior"] = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message[".google.api.fieldBehavior"].push(reader.int32()); + } else message[".google.api.fieldBehavior"].push(reader.int32()); - } else - message[".google.api.fieldBehavior"].push(reader.int32()); - break; - case 1055: - message[".google.api.resourceReference"] = $root.google.api.ResourceReference.decode(reader, reader.uint32()); - break; + break; + } + case 1055: { + message[".google.api.resourceReference"] = $root.google.api.ResourceReference.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -10813,6 +11561,9 @@ if (message.lazy != null && message.hasOwnProperty("lazy")) if (typeof message.lazy !== "boolean") return "lazy: boolean expected"; + if (message.unverifiedLazy != null && message.hasOwnProperty("unverifiedLazy")) + if (typeof message.unverifiedLazy !== "boolean") + return "unverifiedLazy: boolean expected"; if (message.deprecated != null && message.hasOwnProperty("deprecated")) if (typeof message.deprecated !== "boolean") return "deprecated: boolean expected"; @@ -10867,6 +11618,12 @@ return object; var message = new $root.google.protobuf.FieldOptions(); switch (object.ctype) { + default: + if (typeof object.ctype === "number") { + message.ctype = object.ctype; + break; + } + break; case "STRING": case 0: message.ctype = 0; @@ -10883,6 +11640,12 @@ if (object.packed != null) message.packed = Boolean(object.packed); switch (object.jstype) { + default: + if (typeof object.jstype === "number") { + message.jstype = object.jstype; + break; + } + break; case "JS_NORMAL": case 0: message.jstype = 0; @@ -10898,6 +11661,8 @@ } if (object.lazy != null) message.lazy = Boolean(object.lazy); + if (object.unverifiedLazy != null) + message.unverifiedLazy = Boolean(object.unverifiedLazy); if (object.deprecated != null) message.deprecated = Boolean(object.deprecated); if (object.weak != null) @@ -10919,6 +11684,10 @@ for (var i = 0; i < object[".google.api.fieldBehavior"].length; ++i) switch (object[".google.api.fieldBehavior"][i]) { default: + if (typeof object[".google.api.fieldBehavior"][i] === "number") { + message[".google.api.fieldBehavior"][i] = object[".google.api.fieldBehavior"][i]; + break; + } case "FIELD_BEHAVIOR_UNSPECIFIED": case 0: message[".google.api.fieldBehavior"][i] = 0; @@ -10985,10 +11754,11 @@ object.lazy = false; object.jstype = options.enums === String ? "JS_NORMAL" : 0; object.weak = false; + object.unverifiedLazy = false; object[".google.api.resourceReference"] = null; } if (message.ctype != null && message.hasOwnProperty("ctype")) - object.ctype = options.enums === String ? $root.google.protobuf.FieldOptions.CType[message.ctype] : message.ctype; + object.ctype = options.enums === String ? $root.google.protobuf.FieldOptions.CType[message.ctype] === undefined ? message.ctype : $root.google.protobuf.FieldOptions.CType[message.ctype] : message.ctype; if (message.packed != null && message.hasOwnProperty("packed")) object.packed = message.packed; if (message.deprecated != null && message.hasOwnProperty("deprecated")) @@ -10996,9 +11766,11 @@ if (message.lazy != null && message.hasOwnProperty("lazy")) object.lazy = message.lazy; if (message.jstype != null && message.hasOwnProperty("jstype")) - object.jstype = options.enums === String ? $root.google.protobuf.FieldOptions.JSType[message.jstype] : message.jstype; + object.jstype = options.enums === String ? $root.google.protobuf.FieldOptions.JSType[message.jstype] === undefined ? message.jstype : $root.google.protobuf.FieldOptions.JSType[message.jstype] : message.jstype; if (message.weak != null && message.hasOwnProperty("weak")) object.weak = message.weak; + if (message.unverifiedLazy != null && message.hasOwnProperty("unverifiedLazy")) + object.unverifiedLazy = message.unverifiedLazy; if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -11007,7 +11779,7 @@ if (message[".google.api.fieldBehavior"] && message[".google.api.fieldBehavior"].length) { object[".google.api.fieldBehavior"] = []; for (var j = 0; j < message[".google.api.fieldBehavior"].length; ++j) - object[".google.api.fieldBehavior"][j] = options.enums === String ? $root.google.api.FieldBehavior[message[".google.api.fieldBehavior"][j]] : message[".google.api.fieldBehavior"][j]; + object[".google.api.fieldBehavior"][j] = options.enums === String ? $root.google.api.FieldBehavior[message[".google.api.fieldBehavior"][j]] === undefined ? message[".google.api.fieldBehavior"][j] : $root.google.api.FieldBehavior[message[".google.api.fieldBehavior"][j]] : message[".google.api.fieldBehavior"][j]; } if (message[".google.api.resourceReference"] != null && message.hasOwnProperty(".google.api.resourceReference")) object[".google.api.resourceReference"] = $root.google.api.ResourceReference.toObject(message[".google.api.resourceReference"], options); @@ -11025,6 +11797,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FieldOptions + * @function getTypeUrl + * @memberof google.protobuf.FieldOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FieldOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.FieldOptions"; + }; + /** * CType enum. * @name google.protobuf.FieldOptions.CType @@ -11154,11 +11941,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -11265,6 +12053,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for OneofOptions + * @function getTypeUrl + * @memberof google.protobuf.OneofOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + OneofOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.OneofOptions"; + }; + return OneofOptions; })(); @@ -11384,17 +12187,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 2: - message.allowAlias = reader.bool(); - break; - case 3: - message.deprecated = reader.bool(); - break; - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; + case 2: { + message.allowAlias = reader.bool(); + break; + } + case 3: { + message.deprecated = reader.bool(); + break; + } + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -11519,6 +12325,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EnumOptions + * @function getTypeUrl + * @memberof google.protobuf.EnumOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EnumOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.EnumOptions"; + }; + return EnumOptions; })(); @@ -11627,14 +12448,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.deprecated = reader.bool(); - break; - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; + case 1: { + message.deprecated = reader.bool(); + break; + } + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -11750,6 +12573,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for EnumValueOptions + * @function getTypeUrl + * @memberof google.protobuf.EnumValueOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + EnumValueOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.EnumValueOptions"; + }; + return EnumValueOptions; })(); @@ -11880,20 +12718,24 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 33: - message.deprecated = reader.bool(); - break; - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; - case 1049: - message[".google.api.defaultHost"] = reader.string(); - break; - case 1050: - message[".google.api.oauthScopes"] = reader.string(); - break; + case 33: { + message.deprecated = reader.bool(); + break; + } + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } + case 1049: { + message[".google.api.defaultHost"] = reader.string(); + break; + } + case 1050: { + message[".google.api.oauthScopes"] = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -12026,6 +12868,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ServiceOptions + * @function getTypeUrl + * @memberof google.protobuf.ServiceOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ServiceOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.ServiceOptions"; + }; + return ServiceOptions; })(); @@ -12191,31 +13048,38 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 33: - message.deprecated = reader.bool(); - break; - case 34: - message.idempotencyLevel = reader.int32(); - break; - case 999: - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; - case 72295728: - message[".google.api.http"] = $root.google.api.HttpRule.decode(reader, reader.uint32()); - break; - case 72295729: - message[".google.api.routing"] = $root.google.api.RoutingRule.decode(reader, reader.uint32()); - break; - case 1051: - if (!(message[".google.api.methodSignature"] && message[".google.api.methodSignature"].length)) - message[".google.api.methodSignature"] = []; - message[".google.api.methodSignature"].push(reader.string()); - break; - case 1049: - message[".google.longrunning.operationInfo"] = $root.google.longrunning.OperationInfo.decode(reader, reader.uint32()); - break; + case 33: { + message.deprecated = reader.bool(); + break; + } + case 34: { + message.idempotencyLevel = reader.int32(); + break; + } + case 999: { + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); + break; + } + case 72295728: { + message[".google.api.http"] = $root.google.api.HttpRule.decode(reader, reader.uint32()); + break; + } + case 72295729: { + message[".google.api.routing"] = $root.google.api.RoutingRule.decode(reader, reader.uint32()); + break; + } + case 1051: { + if (!(message[".google.api.methodSignature"] && message[".google.api.methodSignature"].length)) + message[".google.api.methodSignature"] = []; + message[".google.api.methodSignature"].push(reader.string()); + break; + } + case 1049: { + message[".google.longrunning.operationInfo"] = $root.google.longrunning.OperationInfo.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -12312,6 +13176,12 @@ if (object.deprecated != null) message.deprecated = Boolean(object.deprecated); switch (object.idempotencyLevel) { + default: + if (typeof object.idempotencyLevel === "number") { + message.idempotencyLevel = object.idempotencyLevel; + break; + } + break; case "IDEMPOTENCY_UNKNOWN": case 0: message.idempotencyLevel = 0; @@ -12387,7 +13257,7 @@ if (message.deprecated != null && message.hasOwnProperty("deprecated")) object.deprecated = message.deprecated; if (message.idempotencyLevel != null && message.hasOwnProperty("idempotencyLevel")) - object.idempotencyLevel = options.enums === String ? $root.google.protobuf.MethodOptions.IdempotencyLevel[message.idempotencyLevel] : message.idempotencyLevel; + object.idempotencyLevel = options.enums === String ? $root.google.protobuf.MethodOptions.IdempotencyLevel[message.idempotencyLevel] === undefined ? message.idempotencyLevel : $root.google.protobuf.MethodOptions.IdempotencyLevel[message.idempotencyLevel] : message.idempotencyLevel; if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -12418,6 +13288,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for MethodOptions + * @function getTypeUrl + * @memberof google.protobuf.MethodOptions + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + MethodOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.MethodOptions"; + }; + /** * IdempotencyLevel enum. * @name google.protobuf.MethodOptions.IdempotencyLevel @@ -12597,29 +13482,36 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 2: - if (!(message.name && message.name.length)) - message.name = []; - message.name.push($root.google.protobuf.UninterpretedOption.NamePart.decode(reader, reader.uint32())); - break; - case 3: - message.identifierValue = reader.string(); - break; - case 4: - message.positiveIntValue = reader.uint64(); - break; - case 5: - message.negativeIntValue = reader.int64(); - break; - case 6: - message.doubleValue = reader.double(); - break; - case 7: - message.stringValue = reader.bytes(); - break; - case 8: - message.aggregateValue = reader.string(); - break; + case 2: { + if (!(message.name && message.name.length)) + message.name = []; + message.name.push($root.google.protobuf.UninterpretedOption.NamePart.decode(reader, reader.uint32())); + break; + } + case 3: { + message.identifierValue = reader.string(); + break; + } + case 4: { + message.positiveIntValue = reader.uint64(); + break; + } + case 5: { + message.negativeIntValue = reader.int64(); + break; + } + case 6: { + message.doubleValue = reader.double(); + break; + } + case 7: { + message.stringValue = reader.bytes(); + break; + } + case 8: { + message.aggregateValue = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -12732,7 +13624,7 @@ if (object.stringValue != null) if (typeof object.stringValue === "string") $util.base64.decode(object.stringValue, message.stringValue = $util.newBuffer($util.base64.length(object.stringValue)), 0); - else if (object.stringValue.length) + else if (object.stringValue.length >= 0) message.stringValue = object.stringValue; if (object.aggregateValue != null) message.aggregateValue = String(object.aggregateValue); @@ -12813,6 +13705,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UninterpretedOption + * @function getTypeUrl + * @memberof google.protobuf.UninterpretedOption + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UninterpretedOption.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.UninterpretedOption"; + }; + UninterpretedOption.NamePart = (function() { /** @@ -12914,12 +13821,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.namePart = reader.string(); - break; - case 2: - message.isExtension = reader.bool(); - break; + case 1: { + message.namePart = reader.string(); + break; + } + case 2: { + message.isExtension = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -13020,6 +13929,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for NamePart + * @function getTypeUrl + * @memberof google.protobuf.UninterpretedOption.NamePart + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + NamePart.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.UninterpretedOption.NamePart"; + }; + return NamePart; })(); @@ -13120,11 +14044,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.location && message.location.length)) - message.location = []; - message.location.push($root.google.protobuf.SourceCodeInfo.Location.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.location && message.location.length)) + message.location = []; + message.location.push($root.google.protobuf.SourceCodeInfo.Location.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -13231,6 +14156,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for SourceCodeInfo + * @function getTypeUrl + * @memberof google.protobuf.SourceCodeInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + SourceCodeInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.SourceCodeInfo"; + }; + SourceCodeInfo.Location = (function() { /** @@ -13379,37 +14319,42 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.path && message.path.length)) - message.path = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + if (!(message.path && message.path.length)) + message.path = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.path.push(reader.int32()); + } else message.path.push(reader.int32()); - } else - message.path.push(reader.int32()); - break; - case 2: - if (!(message.span && message.span.length)) - message.span = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + break; + } + case 2: { + if (!(message.span && message.span.length)) + message.span = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.span.push(reader.int32()); + } else message.span.push(reader.int32()); - } else - message.span.push(reader.int32()); - break; - case 3: - message.leadingComments = reader.string(); - break; - case 4: - message.trailingComments = reader.string(); - break; - case 6: - if (!(message.leadingDetachedComments && message.leadingDetachedComments.length)) - message.leadingDetachedComments = []; - message.leadingDetachedComments.push(reader.string()); - break; + break; + } + case 3: { + message.leadingComments = reader.string(); + break; + } + case 4: { + message.trailingComments = reader.string(); + break; + } + case 6: { + if (!(message.leadingDetachedComments && message.leadingDetachedComments.length)) + message.leadingDetachedComments = []; + message.leadingDetachedComments.push(reader.string()); + break; + } default: reader.skipType(tag & 7); break; @@ -13570,6 +14515,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Location + * @function getTypeUrl + * @memberof google.protobuf.SourceCodeInfo.Location + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Location.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.SourceCodeInfo.Location"; + }; + return Location; })(); @@ -13670,11 +14630,12 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.annotation && message.annotation.length)) - message.annotation = []; - message.annotation.push($root.google.protobuf.GeneratedCodeInfo.Annotation.decode(reader, reader.uint32())); - break; + case 1: { + if (!(message.annotation && message.annotation.length)) + message.annotation = []; + message.annotation.push($root.google.protobuf.GeneratedCodeInfo.Annotation.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -13781,6 +14742,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GeneratedCodeInfo + * @function getTypeUrl + * @memberof google.protobuf.GeneratedCodeInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GeneratedCodeInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.GeneratedCodeInfo"; + }; + GeneratedCodeInfo.Annotation = (function() { /** @@ -13791,6 +14767,7 @@ * @property {string|null} [sourceFile] Annotation sourceFile * @property {number|null} [begin] Annotation begin * @property {number|null} [end] Annotation end + * @property {google.protobuf.GeneratedCodeInfo.Annotation.Semantic|null} [semantic] Annotation semantic */ /** @@ -13841,6 +14818,14 @@ */ Annotation.prototype.end = 0; + /** + * Annotation semantic. + * @member {google.protobuf.GeneratedCodeInfo.Annotation.Semantic} semantic + * @memberof google.protobuf.GeneratedCodeInfo.Annotation + * @instance + */ + Annotation.prototype.semantic = 0; + /** * Creates a new Annotation instance using the specified properties. * @function create @@ -13877,6 +14862,8 @@ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.begin); if (message.end != null && Object.hasOwnProperty.call(message, "end")) writer.uint32(/* id 4, wireType 0 =*/32).int32(message.end); + if (message.semantic != null && Object.hasOwnProperty.call(message, "semantic")) + writer.uint32(/* id 5, wireType 0 =*/40).int32(message.semantic); return writer; }; @@ -13911,25 +14898,33 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.path && message.path.length)) - message.path = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) + case 1: { + if (!(message.path && message.path.length)) + message.path = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.path.push(reader.int32()); + } else message.path.push(reader.int32()); - } else - message.path.push(reader.int32()); - break; - case 2: - message.sourceFile = reader.string(); - break; - case 3: - message.begin = reader.int32(); - break; - case 4: - message.end = reader.int32(); - break; + break; + } + case 2: { + message.sourceFile = reader.string(); + break; + } + case 3: { + message.begin = reader.int32(); + break; + } + case 4: { + message.end = reader.int32(); + break; + } + case 5: { + message.semantic = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -13981,6 +14976,15 @@ if (message.end != null && message.hasOwnProperty("end")) if (!$util.isInteger(message.end)) return "end: integer expected"; + if (message.semantic != null && message.hasOwnProperty("semantic")) + switch (message.semantic) { + default: + return "semantic: enum value expected"; + case 0: + case 1: + case 2: + break; + } return null; }; @@ -14009,6 +15013,26 @@ message.begin = object.begin | 0; if (object.end != null) message.end = object.end | 0; + switch (object.semantic) { + default: + if (typeof object.semantic === "number") { + message.semantic = object.semantic; + break; + } + break; + case "NONE": + case 0: + message.semantic = 0; + break; + case "SET": + case 1: + message.semantic = 1; + break; + case "ALIAS": + case 2: + message.semantic = 2; + break; + } return message; }; @@ -14031,6 +15055,7 @@ object.sourceFile = ""; object.begin = 0; object.end = 0; + object.semantic = options.enums === String ? "NONE" : 0; } if (message.path && message.path.length) { object.path = []; @@ -14043,6 +15068,8 @@ object.begin = message.begin; if (message.end != null && message.hasOwnProperty("end")) object.end = message.end; + if (message.semantic != null && message.hasOwnProperty("semantic")) + object.semantic = options.enums === String ? $root.google.protobuf.GeneratedCodeInfo.Annotation.Semantic[message.semantic] === undefined ? message.semantic : $root.google.protobuf.GeneratedCodeInfo.Annotation.Semantic[message.semantic] : message.semantic; return object; }; @@ -14057,6 +15084,37 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Annotation + * @function getTypeUrl + * @memberof google.protobuf.GeneratedCodeInfo.Annotation + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Annotation.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.GeneratedCodeInfo.Annotation"; + }; + + /** + * Semantic enum. + * @name google.protobuf.GeneratedCodeInfo.Annotation.Semantic + * @enum {number} + * @property {number} NONE=0 NONE value + * @property {number} SET=1 SET value + * @property {number} ALIAS=2 ALIAS value + */ + Annotation.Semantic = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "NONE"] = 0; + values[valuesById[1] = "SET"] = 1; + values[valuesById[2] = "ALIAS"] = 2; + return values; + })(); + return Annotation; })(); @@ -14166,12 +15224,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.type_url = reader.string(); - break; - case 2: - message.value = reader.bytes(); - break; + case 1: { + message.type_url = reader.string(); + break; + } + case 2: { + message.value = reader.bytes(); + break; + } default: reader.skipType(tag & 7); break; @@ -14233,7 +15293,7 @@ if (object.value != null) if (typeof object.value === "string") $util.base64.decode(object.value, message.value = $util.newBuffer($util.base64.length(object.value)), 0); - else if (object.value.length) + else if (object.value.length >= 0) message.value = object.value; return message; }; @@ -14279,6 +15339,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Any + * @function getTypeUrl + * @memberof google.protobuf.Any + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Any.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.Any"; + }; + return Any; })(); @@ -14385,12 +15460,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.seconds = reader.int64(); - break; - case 2: - message.nanos = reader.int32(); - break; + case 1: { + message.seconds = reader.int64(); + break; + } + case 2: { + message.nanos = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -14503,6 +15580,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Duration + * @function getTypeUrl + * @memberof google.protobuf.Duration + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Duration.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.Duration"; + }; + return Duration; })(); @@ -14663,6 +15755,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Empty + * @function getTypeUrl + * @memberof google.protobuf.Empty + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Empty.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.Empty"; + }; + return Empty; })(); @@ -14800,18 +15907,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.major = reader.int32(); - break; - case 2: - message.minor = reader.int32(); - break; - case 3: - message.patch = reader.int32(); - break; - case 4: - message.suffix = reader.string(); - break; + case 1: { + message.major = reader.int32(); + break; + } + case 2: { + message.minor = reader.int32(); + break; + } + case 3: { + message.patch = reader.int32(); + break; + } + case 4: { + message.suffix = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -14926,6 +16037,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Version + * @function getTypeUrl + * @memberof google.protobuf.compiler.Version + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Version.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.compiler.Version"; + }; + return Version; })(); @@ -15058,22 +16184,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.fileToGenerate && message.fileToGenerate.length)) - message.fileToGenerate = []; - message.fileToGenerate.push(reader.string()); - break; - case 2: - message.parameter = reader.string(); - break; - case 15: - if (!(message.protoFile && message.protoFile.length)) - message.protoFile = []; - message.protoFile.push($root.google.protobuf.FileDescriptorProto.decode(reader, reader.uint32())); - break; - case 3: - message.compilerVersion = $root.google.protobuf.compiler.Version.decode(reader, reader.uint32()); - break; + case 1: { + if (!(message.fileToGenerate && message.fileToGenerate.length)) + message.fileToGenerate = []; + message.fileToGenerate.push(reader.string()); + break; + } + case 2: { + message.parameter = reader.string(); + break; + } + case 15: { + if (!(message.protoFile && message.protoFile.length)) + message.protoFile = []; + message.protoFile.push($root.google.protobuf.FileDescriptorProto.decode(reader, reader.uint32())); + break; + } + case 3: { + message.compilerVersion = $root.google.protobuf.compiler.Version.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -15224,6 +16354,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CodeGeneratorRequest + * @function getTypeUrl + * @memberof google.protobuf.compiler.CodeGeneratorRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CodeGeneratorRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.compiler.CodeGeneratorRequest"; + }; + return CodeGeneratorRequest; })(); @@ -15343,17 +16488,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.error = reader.string(); - break; - case 2: - message.supportedFeatures = reader.uint64(); - break; - case 15: - if (!(message.file && message.file.length)) - message.file = []; - message.file.push($root.google.protobuf.compiler.CodeGeneratorResponse.File.decode(reader, reader.uint32())); - break; + case 1: { + message.error = reader.string(); + break; + } + case 2: { + message.supportedFeatures = reader.uint64(); + break; + } + case 15: { + if (!(message.file && message.file.length)) + message.file = []; + message.file.push($root.google.protobuf.compiler.CodeGeneratorResponse.File.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -15492,6 +16640,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CodeGeneratorResponse + * @function getTypeUrl + * @memberof google.protobuf.compiler.CodeGeneratorResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CodeGeneratorResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.compiler.CodeGeneratorResponse"; + }; + /** * Feature enum. * @name google.protobuf.compiler.CodeGeneratorResponse.Feature @@ -15631,18 +16794,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.insertionPoint = reader.string(); - break; - case 15: - message.content = reader.string(); - break; - case 16: - message.generatedCodeInfo = $root.google.protobuf.GeneratedCodeInfo.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.insertionPoint = reader.string(); + break; + } + case 15: { + message.content = reader.string(); + break; + } + case 16: { + message.generatedCodeInfo = $root.google.protobuf.GeneratedCodeInfo.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -15762,6 +16929,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for File + * @function getTypeUrl + * @memberof google.protobuf.compiler.CodeGeneratorResponse.File + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + File.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.compiler.CodeGeneratorResponse.File"; + }; + return File; })(); @@ -15863,9 +17045,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.value = reader.double(); - break; + case 1: { + message.value = reader.double(); + break; + } default: reader.skipType(tag & 7); break; @@ -15955,6 +17138,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DoubleValue + * @function getTypeUrl + * @memberof google.protobuf.DoubleValue + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DoubleValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.DoubleValue"; + }; + return DoubleValue; })(); @@ -16050,9 +17248,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.value = reader.float(); - break; + case 1: { + message.value = reader.float(); + break; + } default: reader.skipType(tag & 7); break; @@ -16142,6 +17341,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for FloatValue + * @function getTypeUrl + * @memberof google.protobuf.FloatValue + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + FloatValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.FloatValue"; + }; + return FloatValue; })(); @@ -16237,9 +17451,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.value = reader.int64(); - break; + case 1: { + message.value = reader.int64(); + break; + } default: reader.skipType(tag & 7); break; @@ -16343,6 +17558,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Int64Value + * @function getTypeUrl + * @memberof google.protobuf.Int64Value + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Int64Value.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.Int64Value"; + }; + return Int64Value; })(); @@ -16438,9 +17668,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.value = reader.uint64(); - break; + case 1: { + message.value = reader.uint64(); + break; + } default: reader.skipType(tag & 7); break; @@ -16544,6 +17775,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UInt64Value + * @function getTypeUrl + * @memberof google.protobuf.UInt64Value + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UInt64Value.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.UInt64Value"; + }; + return UInt64Value; })(); @@ -16639,9 +17885,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.value = reader.int32(); - break; + case 1: { + message.value = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -16731,6 +17978,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Int32Value + * @function getTypeUrl + * @memberof google.protobuf.Int32Value + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Int32Value.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.Int32Value"; + }; + return Int32Value; })(); @@ -16826,9 +18088,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.value = reader.uint32(); - break; + case 1: { + message.value = reader.uint32(); + break; + } default: reader.skipType(tag & 7); break; @@ -16918,6 +18181,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for UInt32Value + * @function getTypeUrl + * @memberof google.protobuf.UInt32Value + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UInt32Value.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.UInt32Value"; + }; + return UInt32Value; })(); @@ -17013,9 +18291,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.value = reader.bool(); - break; + case 1: { + message.value = reader.bool(); + break; + } default: reader.skipType(tag & 7); break; @@ -17105,6 +18384,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BoolValue + * @function getTypeUrl + * @memberof google.protobuf.BoolValue + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BoolValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.BoolValue"; + }; + return BoolValue; })(); @@ -17200,9 +18494,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.value = reader.string(); - break; + case 1: { + message.value = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -17292,6 +18587,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for StringValue + * @function getTypeUrl + * @memberof google.protobuf.StringValue + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + StringValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.StringValue"; + }; + return StringValue; })(); @@ -17387,9 +18697,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.value = reader.bytes(); - break; + case 1: { + message.value = reader.bytes(); + break; + } default: reader.skipType(tag & 7); break; @@ -17446,7 +18757,7 @@ if (object.value != null) if (typeof object.value === "string") $util.base64.decode(object.value, message.value = $util.newBuffer($util.base64.length(object.value)), 0); - else if (object.value.length) + else if (object.value.length >= 0) message.value = object.value; return message; }; @@ -17488,6 +18799,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for BytesValue + * @function getTypeUrl + * @memberof google.protobuf.BytesValue + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + BytesValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.protobuf.BytesValue"; + }; + return BytesValue; })(); @@ -17853,21 +19179,26 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.metadata = $root.google.protobuf.Any.decode(reader, reader.uint32()); - break; - case 3: - message.done = reader.bool(); - break; - case 4: - message.error = $root.google.rpc.Status.decode(reader, reader.uint32()); - break; - case 5: - message.response = $root.google.protobuf.Any.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.metadata = $root.google.protobuf.Any.decode(reader, reader.uint32()); + break; + } + case 3: { + message.done = reader.bool(); + break; + } + case 4: { + message.error = $root.google.rpc.Status.decode(reader, reader.uint32()); + break; + } + case 5: { + message.response = $root.google.protobuf.Any.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -18018,6 +19349,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Operation + * @function getTypeUrl + * @memberof google.longrunning.Operation + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Operation.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.Operation"; + }; + return Operation; })(); @@ -18113,9 +19459,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -18205,6 +19552,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for GetOperationRequest + * @function getTypeUrl + * @memberof google.longrunning.GetOperationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + GetOperationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.GetOperationRequest"; + }; + return GetOperationRequest; })(); @@ -18333,18 +19695,22 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 4: - message.name = reader.string(); - break; - case 1: - message.filter = reader.string(); - break; - case 2: - message.pageSize = reader.int32(); - break; - case 3: - message.pageToken = reader.string(); - break; + case 4: { + message.name = reader.string(); + break; + } + case 1: { + message.filter = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -18459,6 +19825,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListOperationsRequest + * @function getTypeUrl + * @memberof google.longrunning.ListOperationsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListOperationsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.ListOperationsRequest"; + }; + return ListOperationsRequest; })(); @@ -18567,14 +19948,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (!(message.operations && message.operations.length)) - message.operations = []; - message.operations.push($root.google.longrunning.Operation.decode(reader, reader.uint32())); - break; - case 2: - message.nextPageToken = reader.string(); - break; + case 1: { + if (!(message.operations && message.operations.length)) + message.operations = []; + message.operations.push($root.google.longrunning.Operation.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -18690,6 +20073,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ListOperationsResponse + * @function getTypeUrl + * @memberof google.longrunning.ListOperationsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListOperationsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.ListOperationsResponse"; + }; + return ListOperationsResponse; })(); @@ -18785,9 +20183,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -18877,6 +20276,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for CancelOperationRequest + * @function getTypeUrl + * @memberof google.longrunning.CancelOperationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + CancelOperationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.CancelOperationRequest"; + }; + return CancelOperationRequest; })(); @@ -18972,9 +20386,10 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; + case 1: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -19064,6 +20479,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for DeleteOperationRequest + * @function getTypeUrl + * @memberof google.longrunning.DeleteOperationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteOperationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.DeleteOperationRequest"; + }; + return DeleteOperationRequest; })(); @@ -19170,12 +20600,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.timeout = $root.google.protobuf.Duration.decode(reader, reader.uint32()); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.timeout = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -19275,8 +20707,23 @@ * @instance * @returns {Object.} JSON object */ - WaitOperationRequest.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + WaitOperationRequest.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for WaitOperationRequest + * @function getTypeUrl + * @memberof google.longrunning.WaitOperationRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + WaitOperationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.WaitOperationRequest"; }; return WaitOperationRequest; @@ -19385,12 +20832,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.responseType = reader.string(); - break; - case 2: - message.metadataType = reader.string(); - break; + case 1: { + message.responseType = reader.string(); + break; + } + case 2: { + message.metadataType = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -19489,6 +20938,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for OperationInfo + * @function getTypeUrl + * @memberof google.longrunning.OperationInfo + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + OperationInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.longrunning.OperationInfo"; + }; + return OperationInfo; })(); @@ -19620,17 +21084,20 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.code = reader.int32(); - break; - case 2: - message.message = reader.string(); - break; - case 3: - if (!(message.details && message.details.length)) - message.details = []; - message.details.push($root.google.protobuf.Any.decode(reader, reader.uint32())); - break; + case 1: { + message.code = reader.int32(); + break; + } + case 2: { + message.message = reader.string(); + break; + } + case 3: { + if (!(message.details && message.details.length)) + message.details = []; + message.details.push($root.google.protobuf.Any.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -19755,6 +21222,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Status + * @function getTypeUrl + * @memberof google.rpc.Status + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Status.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.rpc.Status"; + }; + return Status; })(); @@ -19955,14 +21437,16 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.clientLibrary = $root.google.cloud.tools.snippetgen.snippetindex.v1.ClientLibrary.decode(reader, reader.uint32()); - break; - case 2: - if (!(message.snippets && message.snippets.length)) - message.snippets = []; - message.snippets.push($root.google.cloud.tools.snippetgen.snippetindex.v1.Snippet.decode(reader, reader.uint32())); - break; + case 1: { + message.clientLibrary = $root.google.cloud.tools.snippetgen.snippetindex.v1.ClientLibrary.decode(reader, reader.uint32()); + break; + } + case 2: { + if (!(message.snippets && message.snippets.length)) + message.snippets = []; + message.snippets.push($root.google.cloud.tools.snippetgen.snippetindex.v1.Snippet.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -20083,6 +21567,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Index + * @function getTypeUrl + * @memberof google.cloud.tools.snippetgen.snippetindex.v1.Index + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Index.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.tools.snippetgen.snippetindex.v1.Index"; + }; + return Index; })(); @@ -20268,35 +21767,44 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.regionTag = reader.string(); - break; - case 2: - message.title = reader.string(); - break; - case 3: - message.description = reader.string(); - break; - case 4: - message.file = reader.string(); - break; - case 5: - message.language = reader.int32(); - break; - case 6: - message.clientMethod = $root.google.cloud.tools.snippetgen.snippetindex.v1.ClientMethod.decode(reader, reader.uint32()); - break; - case 7: - message.canonical = reader.bool(); - break; - case 8: - message.origin = reader.int32(); - break; - case 9: - if (!(message.segments && message.segments.length)) - message.segments = []; - message.segments.push($root.google.cloud.tools.snippetgen.snippetindex.v1.Snippet.Segment.decode(reader, reader.uint32())); - break; + case 1: { + message.regionTag = reader.string(); + break; + } + case 2: { + message.title = reader.string(); + break; + } + case 3: { + message.description = reader.string(); + break; + } + case 4: { + message.file = reader.string(); + break; + } + case 5: { + message.language = reader.int32(); + break; + } + case 6: { + message.clientMethod = $root.google.cloud.tools.snippetgen.snippetindex.v1.ClientMethod.decode(reader, reader.uint32()); + break; + } + case 7: { + message.canonical = reader.bool(); + break; + } + case 8: { + message.origin = reader.int32(); + break; + } + case 9: { + if (!(message.segments && message.segments.length)) + message.segments = []; + message.segments.push($root.google.cloud.tools.snippetgen.snippetindex.v1.Snippet.Segment.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -20419,6 +21927,12 @@ if (object.file != null) message.file = String(object.file); switch (object.language) { + default: + if (typeof object.language === "number") { + message.language = object.language; + break; + } + break; case "LANGUAGE_UNSPECIFIED": case 0: message.language = 0; @@ -20500,6 +22014,12 @@ if (object.canonical != null) message.canonical = Boolean(object.canonical); switch (object.origin) { + default: + if (typeof object.origin === "number") { + message.origin = object.origin; + break; + } + break; case "ORIGIN_UNSPECIFIED": case 0: message.origin = 0; @@ -20564,13 +22084,13 @@ if (message.file != null && message.hasOwnProperty("file")) object.file = message.file; if (message.language != null && message.hasOwnProperty("language")) - object.language = options.enums === String ? $root.google.cloud.tools.snippetgen.snippetindex.v1.Language[message.language] : message.language; + object.language = options.enums === String ? $root.google.cloud.tools.snippetgen.snippetindex.v1.Language[message.language] === undefined ? message.language : $root.google.cloud.tools.snippetgen.snippetindex.v1.Language[message.language] : message.language; if (message.clientMethod != null && message.hasOwnProperty("clientMethod")) object.clientMethod = $root.google.cloud.tools.snippetgen.snippetindex.v1.ClientMethod.toObject(message.clientMethod, options); if (message.canonical != null && message.hasOwnProperty("canonical")) object.canonical = message.canonical; if (message.origin != null && message.hasOwnProperty("origin")) - object.origin = options.enums === String ? $root.google.cloud.tools.snippetgen.snippetindex.v1.Snippet.Origin[message.origin] : message.origin; + object.origin = options.enums === String ? $root.google.cloud.tools.snippetgen.snippetindex.v1.Snippet.Origin[message.origin] === undefined ? message.origin : $root.google.cloud.tools.snippetgen.snippetindex.v1.Snippet.Origin[message.origin] : message.origin; if (message.segments && message.segments.length) { object.segments = []; for (var j = 0; j < message.segments.length; ++j) @@ -20590,6 +22110,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Snippet + * @function getTypeUrl + * @memberof google.cloud.tools.snippetgen.snippetindex.v1.Snippet + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Snippet.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.tools.snippetgen.snippetindex.v1.Snippet"; + }; + /** * Origin enum. * @name google.cloud.tools.snippetgen.snippetindex.v1.Snippet.Origin @@ -20722,15 +22257,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.start = reader.int32(); - break; - case 2: - message.end = reader.int32(); - break; - case 3: - message.type = reader.int32(); - break; + case 1: { + message.start = reader.int32(); + break; + } + case 2: { + message.end = reader.int32(); + break; + } + case 3: { + message.type = reader.int32(); + break; + } default: reader.skipType(tag & 7); break; @@ -20805,6 +22343,12 @@ if (object.end != null) message.end = object.end | 0; switch (object.type) { + default: + if (typeof object.type === "number") { + message.type = object.type; + break; + } + break; case "SEGMENT_TYPE_UNSPECIFIED": case 0: message.type = 0; @@ -20860,7 +22404,7 @@ if (message.end != null && message.hasOwnProperty("end")) object.end = message.end; if (message.type != null && message.hasOwnProperty("type")) - object.type = options.enums === String ? $root.google.cloud.tools.snippetgen.snippetindex.v1.Snippet.Segment.SegmentType[message.type] : message.type; + object.type = options.enums === String ? $root.google.cloud.tools.snippetgen.snippetindex.v1.Snippet.Segment.SegmentType[message.type] === undefined ? message.type : $root.google.cloud.tools.snippetgen.snippetindex.v1.Snippet.Segment.SegmentType[message.type] : message.type; return object; }; @@ -20875,6 +22419,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Segment + * @function getTypeUrl + * @memberof google.cloud.tools.snippetgen.snippetindex.v1.Snippet.Segment + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Segment.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.tools.snippetgen.snippetindex.v1.Snippet.Segment"; + }; + /** * SegmentType enum. * @name google.cloud.tools.snippetgen.snippetindex.v1.Snippet.Segment.SegmentType @@ -21065,29 +22624,36 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.shortName = reader.string(); - break; - case 2: - message.fullName = reader.string(); - break; - case 3: - message.async = reader.bool(); - break; - case 4: - if (!(message.parameters && message.parameters.length)) - message.parameters = []; - message.parameters.push($root.google.cloud.tools.snippetgen.snippetindex.v1.ClientMethod.Parameter.decode(reader, reader.uint32())); - break; - case 5: - message.resultType = reader.string(); - break; - case 6: - message.client = $root.google.cloud.tools.snippetgen.snippetindex.v1.ServiceClient.decode(reader, reader.uint32()); - break; - case 7: - message.method = $root.google.cloud.tools.snippetgen.snippetindex.v1.Method.decode(reader, reader.uint32()); - break; + case 1: { + message.shortName = reader.string(); + break; + } + case 2: { + message.fullName = reader.string(); + break; + } + case 3: { + message.async = reader.bool(); + break; + } + case 4: { + if (!(message.parameters && message.parameters.length)) + message.parameters = []; + message.parameters.push($root.google.cloud.tools.snippetgen.snippetindex.v1.ClientMethod.Parameter.decode(reader, reader.uint32())); + break; + } + case 5: { + message.resultType = reader.string(); + break; + } + case 6: { + message.client = $root.google.cloud.tools.snippetgen.snippetindex.v1.ServiceClient.decode(reader, reader.uint32()); + break; + } + case 7: { + message.method = $root.google.cloud.tools.snippetgen.snippetindex.v1.Method.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -21254,6 +22820,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ClientMethod + * @function getTypeUrl + * @memberof google.cloud.tools.snippetgen.snippetindex.v1.ClientMethod + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ClientMethod.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.tools.snippetgen.snippetindex.v1.ClientMethod"; + }; + ClientMethod.Parameter = (function() { /** @@ -21357,12 +22938,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.type = reader.string(); - break; - case 2: - message.name = reader.string(); - break; + case 1: { + message.type = reader.string(); + break; + } + case 2: { + message.name = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -21461,6 +23044,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Parameter + * @function getTypeUrl + * @memberof google.cloud.tools.snippetgen.snippetindex.v1.ClientMethod.Parameter + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Parameter.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.tools.snippetgen.snippetindex.v1.ClientMethod.Parameter"; + }; + return Parameter; })(); @@ -21570,12 +23168,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.shortName = reader.string(); - break; - case 2: - message.fullName = reader.string(); - break; + case 1: { + message.shortName = reader.string(); + break; + } + case 2: { + message.fullName = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -21674,6 +23274,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ServiceClient + * @function getTypeUrl + * @memberof google.cloud.tools.snippetgen.snippetindex.v1.ServiceClient + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ServiceClient.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.tools.snippetgen.snippetindex.v1.ServiceClient"; + }; + return ServiceClient; })(); @@ -21804,20 +23419,24 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.name = reader.string(); - break; - case 2: - message.version = reader.string(); - break; - case 3: - message.language = reader.int32(); - break; - case 4: - if (!(message.apis && message.apis.length)) - message.apis = []; - message.apis.push($root.google.cloud.tools.snippetgen.snippetindex.v1.Api.decode(reader, reader.uint32())); - break; + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.version = reader.string(); + break; + } + case 3: { + message.language = reader.int32(); + break; + } + case 4: { + if (!(message.apis && message.apis.length)) + message.apis = []; + message.apis.push($root.google.cloud.tools.snippetgen.snippetindex.v1.Api.decode(reader, reader.uint32())); + break; + } default: reader.skipType(tag & 7); break; @@ -21912,6 +23531,12 @@ if (object.version != null) message.version = String(object.version); switch (object.language) { + default: + if (typeof object.language === "number") { + message.language = object.language; + break; + } + break; case "LANGUAGE_UNSPECIFIED": case 0: message.language = 0; @@ -22023,7 +23648,7 @@ if (message.version != null && message.hasOwnProperty("version")) object.version = message.version; if (message.language != null && message.hasOwnProperty("language")) - object.language = options.enums === String ? $root.google.cloud.tools.snippetgen.snippetindex.v1.Language[message.language] : message.language; + object.language = options.enums === String ? $root.google.cloud.tools.snippetgen.snippetindex.v1.Language[message.language] === undefined ? message.language : $root.google.cloud.tools.snippetgen.snippetindex.v1.Language[message.language] : message.language; if (message.apis && message.apis.length) { object.apis = []; for (var j = 0; j < message.apis.length; ++j) @@ -22043,6 +23668,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for ClientLibrary + * @function getTypeUrl + * @memberof google.cloud.tools.snippetgen.snippetindex.v1.ClientLibrary + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ClientLibrary.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.tools.snippetgen.snippetindex.v1.ClientLibrary"; + }; + return ClientLibrary; })(); @@ -22160,15 +23800,18 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.shortName = reader.string(); - break; - case 2: - message.fullName = reader.string(); - break; - case 3: - message.service = $root.google.cloud.tools.snippetgen.snippetindex.v1.Service.decode(reader, reader.uint32()); - break; + case 1: { + message.shortName = reader.string(); + break; + } + case 2: { + message.fullName = reader.string(); + break; + } + case 3: { + message.service = $root.google.cloud.tools.snippetgen.snippetindex.v1.Service.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -22280,6 +23923,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Method + * @function getTypeUrl + * @memberof google.cloud.tools.snippetgen.snippetindex.v1.Method + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Method.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.tools.snippetgen.snippetindex.v1.Method"; + }; + return Method; })(); @@ -22386,12 +24044,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.shortName = reader.string(); - break; - case 2: - message.fullName = reader.string(); - break; + case 1: { + message.shortName = reader.string(); + break; + } + case 2: { + message.fullName = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -22490,6 +24150,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Service + * @function getTypeUrl + * @memberof google.cloud.tools.snippetgen.snippetindex.v1.Service + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Service.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.tools.snippetgen.snippetindex.v1.Service"; + }; + return Service; })(); @@ -22596,12 +24271,14 @@ while (reader.pos < end) { var tag = reader.uint32(); switch (tag >>> 3) { - case 1: - message.id = reader.string(); - break; - case 2: - message.version = reader.string(); - break; + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.version = reader.string(); + break; + } default: reader.skipType(tag & 7); break; @@ -22700,6 +24377,21 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + /** + * Gets the default type url for Api + * @function getTypeUrl + * @memberof google.cloud.tools.snippetgen.snippetindex.v1.Api + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Api.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.tools.snippetgen.snippetindex.v1.Api"; + }; + return Api; })(); diff --git a/protos/protos.json b/protos/protos.json new file mode 100644 index 000000000..77e265c03 --- /dev/null +++ b/protos/protos.json @@ -0,0 +1,2142 @@ +{ + "nested": { + "grpc": { + "nested": { + "service_config": { + "options": { + "java_package": "io.grpc.serviceconfig", + "java_multiple_files": true, + "java_outer_classname": "ServiceConfigProto" + }, + "nested": { + "MethodConfig": { + "oneofs": { + "retryOrHedgingPolicy": { + "oneof": [ + "retryPolicy", + "hedgingPolicy" + ] + } + }, + "fields": { + "name": { + "rule": "repeated", + "type": "Name", + "id": 1 + }, + "waitForReady": { + "type": "google.protobuf.BoolValue", + "id": 2 + }, + "timeout": { + "type": "google.protobuf.Duration", + "id": 3 + }, + "maxRequestMessageBytes": { + "type": "google.protobuf.UInt32Value", + "id": 4 + }, + "maxResponseMessageBytes": { + "type": "google.protobuf.UInt32Value", + "id": 5 + }, + "retryPolicy": { + "type": "RetryPolicy", + "id": 6 + }, + "hedgingPolicy": { + "type": "HedgingPolicy", + "id": 7 + } + }, + "nested": { + "Name": { + "fields": { + "service": { + "type": "string", + "id": 1 + }, + "method": { + "type": "string", + "id": 2 + } + } + }, + "RetryPolicy": { + "fields": { + "maxAttempts": { + "type": "uint32", + "id": 1 + }, + "initialBackoff": { + "type": "google.protobuf.Duration", + "id": 2 + }, + "maxBackoff": { + "type": "google.protobuf.Duration", + "id": 3 + }, + "backoffMultiplier": { + "type": "float", + "id": 4 + }, + "retryableStatusCodes": { + "rule": "repeated", + "type": "google.rpc.Code", + "id": 5 + } + } + }, + "HedgingPolicy": { + "fields": { + "maxAttempts": { + "type": "uint32", + "id": 1 + }, + "hedgingDelay": { + "type": "google.protobuf.Duration", + "id": 2 + }, + "nonFatalStatusCodes": { + "rule": "repeated", + "type": "google.rpc.Code", + "id": 3 + } + } + } + } + }, + "PickFirstConfig": { + "fields": {} + }, + "RoundRobinConfig": { + "fields": {} + }, + "GrpcLbConfig": { + "fields": { + "childPolicy": { + "rule": "repeated", + "type": "LoadBalancingConfig", + "id": 1 + } + } + }, + "XdsConfig": { + "fields": { + "balancerName": { + "type": "string", + "id": 1 + }, + "childPolicy": { + "rule": "repeated", + "type": "LoadBalancingConfig", + "id": 2 + }, + "fallbackPolicy": { + "rule": "repeated", + "type": "LoadBalancingConfig", + "id": 3 + } + } + }, + "LoadBalancingConfig": { + "oneofs": { + "policy": { + "oneof": [ + "pickFirst", + "roundRobin", + "grpclb", + "xds", + "xdsExperimental" + ] + } + }, + "fields": { + "pickFirst": { + "type": "PickFirstConfig", + "id": 4, + "options": { + "json_name": "pick_first" + } + }, + "roundRobin": { + "type": "RoundRobinConfig", + "id": 1, + "options": { + "json_name": "round_robin" + } + }, + "grpclb": { + "type": "GrpcLbConfig", + "id": 3 + }, + "xds": { + "type": "XdsConfig", + "id": 2 + }, + "xdsExperimental": { + "type": "XdsConfig", + "id": 5, + "options": { + "json_name": "xds_experimental" + } + } + } + }, + "ServiceConfig": { + "fields": { + "loadBalancingPolicy": { + "type": "LoadBalancingPolicy", + "id": 1, + "options": { + "deprecated": true + } + }, + "loadBalancingConfig": { + "rule": "repeated", + "type": "LoadBalancingConfig", + "id": 4 + }, + "methodConfig": { + "rule": "repeated", + "type": "MethodConfig", + "id": 2 + }, + "retryThrottling": { + "type": "RetryThrottlingPolicy", + "id": 3 + }, + "healthCheckConfig": { + "type": "HealthCheckConfig", + "id": 5 + } + }, + "nested": { + "LoadBalancingPolicy": { + "values": { + "UNSPECIFIED": 0, + "ROUND_ROBIN": 1 + } + }, + "RetryThrottlingPolicy": { + "fields": { + "maxTokens": { + "type": "uint32", + "id": 1 + }, + "tokenRatio": { + "type": "float", + "id": 2 + } + } + }, + "HealthCheckConfig": { + "fields": { + "serviceName": { + "type": "google.protobuf.StringValue", + "id": 1 + } + } + } + } + } + } + } + } + }, + "google": { + "nested": { + "api": { + "options": { + "go_package": "google.golang.org/genproto/googleapis/api/annotations;annotations", + "java_multiple_files": true, + "java_outer_classname": "ClientProto", + "java_package": "com.google.api", + "objc_class_prefix": "GAPI", + "cc_enable_arenas": true + }, + "nested": { + "http": { + "type": "HttpRule", + "id": 72295728, + "extend": "google.protobuf.MethodOptions" + }, + "Http": { + "fields": { + "rules": { + "rule": "repeated", + "type": "HttpRule", + "id": 1 + }, + "fullyDecodeReservedExpansion": { + "type": "bool", + "id": 2 + } + } + }, + "HttpRule": { + "oneofs": { + "pattern": { + "oneof": [ + "get", + "put", + "post", + "delete", + "patch", + "custom" + ] + } + }, + "fields": { + "selector": { + "type": "string", + "id": 1 + }, + "get": { + "type": "string", + "id": 2 + }, + "put": { + "type": "string", + "id": 3 + }, + "post": { + "type": "string", + "id": 4 + }, + "delete": { + "type": "string", + "id": 5 + }, + "patch": { + "type": "string", + "id": 6 + }, + "custom": { + "type": "CustomHttpPattern", + "id": 8 + }, + "body": { + "type": "string", + "id": 7 + }, + "responseBody": { + "type": "string", + "id": 12 + }, + "additionalBindings": { + "rule": "repeated", + "type": "HttpRule", + "id": 11 + } + } + }, + "CustomHttpPattern": { + "fields": { + "kind": { + "type": "string", + "id": 1 + }, + "path": { + "type": "string", + "id": 2 + } + } + }, + "fieldBehavior": { + "rule": "repeated", + "type": "google.api.FieldBehavior", + "id": 1052, + "extend": "google.protobuf.FieldOptions" + }, + "FieldBehavior": { + "values": { + "FIELD_BEHAVIOR_UNSPECIFIED": 0, + "OPTIONAL": 1, + "REQUIRED": 2, + "OUTPUT_ONLY": 3, + "INPUT_ONLY": 4, + "IMMUTABLE": 5, + "UNORDERED_LIST": 6, + "NON_EMPTY_DEFAULT": 7 + } + }, + "resourceReference": { + "type": "google.api.ResourceReference", + "id": 1055, + "extend": "google.protobuf.FieldOptions" + }, + "resourceDefinition": { + "rule": "repeated", + "type": "google.api.ResourceDescriptor", + "id": 1053, + "extend": "google.protobuf.FileOptions" + }, + "resource": { + "type": "google.api.ResourceDescriptor", + "id": 1053, + "extend": "google.protobuf.MessageOptions" + }, + "ResourceDescriptor": { + "fields": { + "type": { + "type": "string", + "id": 1 + }, + "pattern": { + "rule": "repeated", + "type": "string", + "id": 2 + }, + "nameField": { + "type": "string", + "id": 3 + }, + "history": { + "type": "History", + "id": 4 + }, + "plural": { + "type": "string", + "id": 5 + }, + "singular": { + "type": "string", + "id": 6 + }, + "style": { + "rule": "repeated", + "type": "Style", + "id": 10 + } + }, + "nested": { + "History": { + "values": { + "HISTORY_UNSPECIFIED": 0, + "ORIGINALLY_SINGLE_PATTERN": 1, + "FUTURE_MULTI_PATTERN": 2 + } + }, + "Style": { + "values": { + "STYLE_UNSPECIFIED": 0, + "DECLARATIVE_FRIENDLY": 1 + } + } + } + }, + "ResourceReference": { + "fields": { + "type": { + "type": "string", + "id": 1 + }, + "childType": { + "type": "string", + "id": 2 + } + } + }, + "routing": { + "type": "google.api.RoutingRule", + "id": 72295729, + "extend": "google.protobuf.MethodOptions" + }, + "RoutingRule": { + "fields": { + "routingParameters": { + "rule": "repeated", + "type": "RoutingParameter", + "id": 2 + } + } + }, + "RoutingParameter": { + "fields": { + "field": { + "type": "string", + "id": 1 + }, + "pathTemplate": { + "type": "string", + "id": 2 + } + } + }, + "methodSignature": { + "rule": "repeated", + "type": "string", + "id": 1051, + "extend": "google.protobuf.MethodOptions" + }, + "defaultHost": { + "type": "string", + "id": 1049, + "extend": "google.protobuf.ServiceOptions" + }, + "oauthScopes": { + "type": "string", + "id": 1050, + "extend": "google.protobuf.ServiceOptions" + } + } + }, + "protobuf": { + "options": { + "go_package": "google.golang.org/protobuf/types/descriptorpb", + "java_package": "com.google.protobuf", + "java_outer_classname": "DescriptorProtos", + "csharp_namespace": "Google.Protobuf.Reflection", + "objc_class_prefix": "GPB", + "cc_enable_arenas": true, + "optimize_for": "SPEED" + }, + "nested": { + "FileDescriptorSet": { + "fields": { + "file": { + "rule": "repeated", + "type": "FileDescriptorProto", + "id": 1 + } + } + }, + "FileDescriptorProto": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "package": { + "type": "string", + "id": 2 + }, + "dependency": { + "rule": "repeated", + "type": "string", + "id": 3 + }, + "publicDependency": { + "rule": "repeated", + "type": "int32", + "id": 10, + "options": { + "packed": false + } + }, + "weakDependency": { + "rule": "repeated", + "type": "int32", + "id": 11, + "options": { + "packed": false + } + }, + "messageType": { + "rule": "repeated", + "type": "DescriptorProto", + "id": 4 + }, + "enumType": { + "rule": "repeated", + "type": "EnumDescriptorProto", + "id": 5 + }, + "service": { + "rule": "repeated", + "type": "ServiceDescriptorProto", + "id": 6 + }, + "extension": { + "rule": "repeated", + "type": "FieldDescriptorProto", + "id": 7 + }, + "options": { + "type": "FileOptions", + "id": 8 + }, + "sourceCodeInfo": { + "type": "SourceCodeInfo", + "id": 9 + }, + "syntax": { + "type": "string", + "id": 12 + }, + "edition": { + "type": "string", + "id": 13 + } + } + }, + "DescriptorProto": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "field": { + "rule": "repeated", + "type": "FieldDescriptorProto", + "id": 2 + }, + "extension": { + "rule": "repeated", + "type": "FieldDescriptorProto", + "id": 6 + }, + "nestedType": { + "rule": "repeated", + "type": "DescriptorProto", + "id": 3 + }, + "enumType": { + "rule": "repeated", + "type": "EnumDescriptorProto", + "id": 4 + }, + "extensionRange": { + "rule": "repeated", + "type": "ExtensionRange", + "id": 5 + }, + "oneofDecl": { + "rule": "repeated", + "type": "OneofDescriptorProto", + "id": 8 + }, + "options": { + "type": "MessageOptions", + "id": 7 + }, + "reservedRange": { + "rule": "repeated", + "type": "ReservedRange", + "id": 9 + }, + "reservedName": { + "rule": "repeated", + "type": "string", + "id": 10 + } + }, + "nested": { + "ExtensionRange": { + "fields": { + "start": { + "type": "int32", + "id": 1 + }, + "end": { + "type": "int32", + "id": 2 + }, + "options": { + "type": "ExtensionRangeOptions", + "id": 3 + } + } + }, + "ReservedRange": { + "fields": { + "start": { + "type": "int32", + "id": 1 + }, + "end": { + "type": "int32", + "id": 2 + } + } + } + } + }, + "ExtensionRangeOptions": { + "fields": { + "uninterpretedOption": { + "rule": "repeated", + "type": "UninterpretedOption", + "id": 999 + } + }, + "extensions": [ + [ + 1000, + 536870911 + ] + ] + }, + "FieldDescriptorProto": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "number": { + "type": "int32", + "id": 3 + }, + "label": { + "type": "Label", + "id": 4 + }, + "type": { + "type": "Type", + "id": 5 + }, + "typeName": { + "type": "string", + "id": 6 + }, + "extendee": { + "type": "string", + "id": 2 + }, + "defaultValue": { + "type": "string", + "id": 7 + }, + "oneofIndex": { + "type": "int32", + "id": 9 + }, + "jsonName": { + "type": "string", + "id": 10 + }, + "options": { + "type": "FieldOptions", + "id": 8 + }, + "proto3Optional": { + "type": "bool", + "id": 17 + } + }, + "nested": { + "Type": { + "values": { + "TYPE_DOUBLE": 1, + "TYPE_FLOAT": 2, + "TYPE_INT64": 3, + "TYPE_UINT64": 4, + "TYPE_INT32": 5, + "TYPE_FIXED64": 6, + "TYPE_FIXED32": 7, + "TYPE_BOOL": 8, + "TYPE_STRING": 9, + "TYPE_GROUP": 10, + "TYPE_MESSAGE": 11, + "TYPE_BYTES": 12, + "TYPE_UINT32": 13, + "TYPE_ENUM": 14, + "TYPE_SFIXED32": 15, + "TYPE_SFIXED64": 16, + "TYPE_SINT32": 17, + "TYPE_SINT64": 18 + } + }, + "Label": { + "values": { + "LABEL_OPTIONAL": 1, + "LABEL_REQUIRED": 2, + "LABEL_REPEATED": 3 + } + } + } + }, + "OneofDescriptorProto": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "options": { + "type": "OneofOptions", + "id": 2 + } + } + }, + "EnumDescriptorProto": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "value": { + "rule": "repeated", + "type": "EnumValueDescriptorProto", + "id": 2 + }, + "options": { + "type": "EnumOptions", + "id": 3 + }, + "reservedRange": { + "rule": "repeated", + "type": "EnumReservedRange", + "id": 4 + }, + "reservedName": { + "rule": "repeated", + "type": "string", + "id": 5 + } + }, + "nested": { + "EnumReservedRange": { + "fields": { + "start": { + "type": "int32", + "id": 1 + }, + "end": { + "type": "int32", + "id": 2 + } + } + } + } + }, + "EnumValueDescriptorProto": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "number": { + "type": "int32", + "id": 2 + }, + "options": { + "type": "EnumValueOptions", + "id": 3 + } + } + }, + "ServiceDescriptorProto": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "method": { + "rule": "repeated", + "type": "MethodDescriptorProto", + "id": 2 + }, + "options": { + "type": "ServiceOptions", + "id": 3 + } + } + }, + "MethodDescriptorProto": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "inputType": { + "type": "string", + "id": 2 + }, + "outputType": { + "type": "string", + "id": 3 + }, + "options": { + "type": "MethodOptions", + "id": 4 + }, + "clientStreaming": { + "type": "bool", + "id": 5, + "options": { + "default": false + } + }, + "serverStreaming": { + "type": "bool", + "id": 6, + "options": { + "default": false + } + } + } + }, + "FileOptions": { + "fields": { + "javaPackage": { + "type": "string", + "id": 1 + }, + "javaOuterClassname": { + "type": "string", + "id": 8 + }, + "javaMultipleFiles": { + "type": "bool", + "id": 10, + "options": { + "default": false + } + }, + "javaGenerateEqualsAndHash": { + "type": "bool", + "id": 20, + "options": { + "deprecated": true + } + }, + "javaStringCheckUtf8": { + "type": "bool", + "id": 27, + "options": { + "default": false + } + }, + "optimizeFor": { + "type": "OptimizeMode", + "id": 9, + "options": { + "default": "SPEED" + } + }, + "goPackage": { + "type": "string", + "id": 11 + }, + "ccGenericServices": { + "type": "bool", + "id": 16, + "options": { + "default": false + } + }, + "javaGenericServices": { + "type": "bool", + "id": 17, + "options": { + "default": false + } + }, + "pyGenericServices": { + "type": "bool", + "id": 18, + "options": { + "default": false + } + }, + "phpGenericServices": { + "type": "bool", + "id": 42, + "options": { + "default": false + } + }, + "deprecated": { + "type": "bool", + "id": 23, + "options": { + "default": false + } + }, + "ccEnableArenas": { + "type": "bool", + "id": 31, + "options": { + "default": true + } + }, + "objcClassPrefix": { + "type": "string", + "id": 36 + }, + "csharpNamespace": { + "type": "string", + "id": 37 + }, + "swiftPrefix": { + "type": "string", + "id": 39 + }, + "phpClassPrefix": { + "type": "string", + "id": 40 + }, + "phpNamespace": { + "type": "string", + "id": 41 + }, + "phpMetadataNamespace": { + "type": "string", + "id": 44 + }, + "rubyPackage": { + "type": "string", + "id": 45 + }, + "uninterpretedOption": { + "rule": "repeated", + "type": "UninterpretedOption", + "id": 999 + } + }, + "extensions": [ + [ + 1000, + 536870911 + ] + ], + "reserved": [ + [ + 38, + 38 + ] + ], + "nested": { + "OptimizeMode": { + "values": { + "SPEED": 1, + "CODE_SIZE": 2, + "LITE_RUNTIME": 3 + } + } + } + }, + "MessageOptions": { + "fields": { + "messageSetWireFormat": { + "type": "bool", + "id": 1, + "options": { + "default": false + } + }, + "noStandardDescriptorAccessor": { + "type": "bool", + "id": 2, + "options": { + "default": false + } + }, + "deprecated": { + "type": "bool", + "id": 3, + "options": { + "default": false + } + }, + "mapEntry": { + "type": "bool", + "id": 7 + }, + "uninterpretedOption": { + "rule": "repeated", + "type": "UninterpretedOption", + "id": 999 + } + }, + "extensions": [ + [ + 1000, + 536870911 + ] + ], + "reserved": [ + [ + 4, + 4 + ], + [ + 5, + 5 + ], + [ + 6, + 6 + ], + [ + 8, + 8 + ], + [ + 9, + 9 + ] + ] + }, + "FieldOptions": { + "fields": { + "ctype": { + "type": "CType", + "id": 1, + "options": { + "default": "STRING" + } + }, + "packed": { + "type": "bool", + "id": 2 + }, + "jstype": { + "type": "JSType", + "id": 6, + "options": { + "default": "JS_NORMAL" + } + }, + "lazy": { + "type": "bool", + "id": 5, + "options": { + "default": false + } + }, + "unverifiedLazy": { + "type": "bool", + "id": 15, + "options": { + "default": false + } + }, + "deprecated": { + "type": "bool", + "id": 3, + "options": { + "default": false + } + }, + "weak": { + "type": "bool", + "id": 10, + "options": { + "default": false + } + }, + "uninterpretedOption": { + "rule": "repeated", + "type": "UninterpretedOption", + "id": 999 + } + }, + "extensions": [ + [ + 1000, + 536870911 + ] + ], + "reserved": [ + [ + 4, + 4 + ] + ], + "nested": { + "CType": { + "values": { + "STRING": 0, + "CORD": 1, + "STRING_PIECE": 2 + } + }, + "JSType": { + "values": { + "JS_NORMAL": 0, + "JS_STRING": 1, + "JS_NUMBER": 2 + } + } + } + }, + "OneofOptions": { + "fields": { + "uninterpretedOption": { + "rule": "repeated", + "type": "UninterpretedOption", + "id": 999 + } + }, + "extensions": [ + [ + 1000, + 536870911 + ] + ] + }, + "EnumOptions": { + "fields": { + "allowAlias": { + "type": "bool", + "id": 2 + }, + "deprecated": { + "type": "bool", + "id": 3, + "options": { + "default": false + } + }, + "uninterpretedOption": { + "rule": "repeated", + "type": "UninterpretedOption", + "id": 999 + } + }, + "extensions": [ + [ + 1000, + 536870911 + ] + ], + "reserved": [ + [ + 5, + 5 + ] + ] + }, + "EnumValueOptions": { + "fields": { + "deprecated": { + "type": "bool", + "id": 1, + "options": { + "default": false + } + }, + "uninterpretedOption": { + "rule": "repeated", + "type": "UninterpretedOption", + "id": 999 + } + }, + "extensions": [ + [ + 1000, + 536870911 + ] + ] + }, + "ServiceOptions": { + "fields": { + "deprecated": { + "type": "bool", + "id": 33, + "options": { + "default": false + } + }, + "uninterpretedOption": { + "rule": "repeated", + "type": "UninterpretedOption", + "id": 999 + } + }, + "extensions": [ + [ + 1000, + 536870911 + ] + ] + }, + "MethodOptions": { + "fields": { + "deprecated": { + "type": "bool", + "id": 33, + "options": { + "default": false + } + }, + "idempotencyLevel": { + "type": "IdempotencyLevel", + "id": 34, + "options": { + "default": "IDEMPOTENCY_UNKNOWN" + } + }, + "uninterpretedOption": { + "rule": "repeated", + "type": "UninterpretedOption", + "id": 999 + } + }, + "extensions": [ + [ + 1000, + 536870911 + ] + ], + "nested": { + "IdempotencyLevel": { + "values": { + "IDEMPOTENCY_UNKNOWN": 0, + "NO_SIDE_EFFECTS": 1, + "IDEMPOTENT": 2 + } + } + } + }, + "UninterpretedOption": { + "fields": { + "name": { + "rule": "repeated", + "type": "NamePart", + "id": 2 + }, + "identifierValue": { + "type": "string", + "id": 3 + }, + "positiveIntValue": { + "type": "uint64", + "id": 4 + }, + "negativeIntValue": { + "type": "int64", + "id": 5 + }, + "doubleValue": { + "type": "double", + "id": 6 + }, + "stringValue": { + "type": "bytes", + "id": 7 + }, + "aggregateValue": { + "type": "string", + "id": 8 + } + }, + "nested": { + "NamePart": { + "fields": { + "namePart": { + "rule": "required", + "type": "string", + "id": 1 + }, + "isExtension": { + "rule": "required", + "type": "bool", + "id": 2 + } + } + } + } + }, + "SourceCodeInfo": { + "fields": { + "location": { + "rule": "repeated", + "type": "Location", + "id": 1 + } + }, + "nested": { + "Location": { + "fields": { + "path": { + "rule": "repeated", + "type": "int32", + "id": 1 + }, + "span": { + "rule": "repeated", + "type": "int32", + "id": 2 + }, + "leadingComments": { + "type": "string", + "id": 3 + }, + "trailingComments": { + "type": "string", + "id": 4 + }, + "leadingDetachedComments": { + "rule": "repeated", + "type": "string", + "id": 6 + } + } + } + } + }, + "GeneratedCodeInfo": { + "fields": { + "annotation": { + "rule": "repeated", + "type": "Annotation", + "id": 1 + } + }, + "nested": { + "Annotation": { + "fields": { + "path": { + "rule": "repeated", + "type": "int32", + "id": 1 + }, + "sourceFile": { + "type": "string", + "id": 2 + }, + "begin": { + "type": "int32", + "id": 3 + }, + "end": { + "type": "int32", + "id": 4 + }, + "semantic": { + "type": "Semantic", + "id": 5 + } + }, + "nested": { + "Semantic": { + "values": { + "NONE": 0, + "SET": 1, + "ALIAS": 2 + } + } + } + } + } + }, + "Any": { + "fields": { + "type_url": { + "type": "string", + "id": 1 + }, + "value": { + "type": "bytes", + "id": 2 + } + } + }, + "Duration": { + "fields": { + "seconds": { + "type": "int64", + "id": 1 + }, + "nanos": { + "type": "int32", + "id": 2 + } + } + }, + "Empty": { + "fields": {} + }, + "compiler": { + "options": { + "java_package": "com.google.protobuf.compiler", + "java_outer_classname": "PluginProtos", + "go_package": "google.golang.org/protobuf/types/pluginpb" + }, + "nested": { + "Version": { + "fields": { + "major": { + "type": "int32", + "id": 1 + }, + "minor": { + "type": "int32", + "id": 2 + }, + "patch": { + "type": "int32", + "id": 3 + }, + "suffix": { + "type": "string", + "id": 4 + } + } + }, + "CodeGeneratorRequest": { + "fields": { + "fileToGenerate": { + "rule": "repeated", + "type": "string", + "id": 1 + }, + "parameter": { + "type": "string", + "id": 2 + }, + "protoFile": { + "rule": "repeated", + "type": "FileDescriptorProto", + "id": 15 + }, + "compilerVersion": { + "type": "Version", + "id": 3 + } + } + }, + "CodeGeneratorResponse": { + "fields": { + "error": { + "type": "string", + "id": 1 + }, + "supportedFeatures": { + "type": "uint64", + "id": 2 + }, + "file": { + "rule": "repeated", + "type": "File", + "id": 15 + } + }, + "nested": { + "Feature": { + "values": { + "FEATURE_NONE": 0, + "FEATURE_PROTO3_OPTIONAL": 1 + } + }, + "File": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "insertionPoint": { + "type": "string", + "id": 2 + }, + "content": { + "type": "string", + "id": 15 + }, + "generatedCodeInfo": { + "type": "GeneratedCodeInfo", + "id": 16 + } + } + } + } + } + } + }, + "DoubleValue": { + "fields": { + "value": { + "type": "double", + "id": 1 + } + } + }, + "FloatValue": { + "fields": { + "value": { + "type": "float", + "id": 1 + } + } + }, + "Int64Value": { + "fields": { + "value": { + "type": "int64", + "id": 1 + } + } + }, + "UInt64Value": { + "fields": { + "value": { + "type": "uint64", + "id": 1 + } + } + }, + "Int32Value": { + "fields": { + "value": { + "type": "int32", + "id": 1 + } + } + }, + "UInt32Value": { + "fields": { + "value": { + "type": "uint32", + "id": 1 + } + } + }, + "BoolValue": { + "fields": { + "value": { + "type": "bool", + "id": 1 + } + } + }, + "StringValue": { + "fields": { + "value": { + "type": "string", + "id": 1 + } + } + }, + "BytesValue": { + "fields": { + "value": { + "type": "bytes", + "id": 1 + } + } + } + } + }, + "longrunning": { + "options": { + "cc_enable_arenas": true, + "csharp_namespace": "Google.LongRunning", + "go_package": "google.golang.org/genproto/googleapis/longrunning;longrunning", + "java_multiple_files": true, + "java_outer_classname": "OperationsProto", + "java_package": "com.google.longrunning", + "php_namespace": "Google\\LongRunning" + }, + "nested": { + "operationInfo": { + "type": "google.longrunning.OperationInfo", + "id": 1049, + "extend": "google.protobuf.MethodOptions" + }, + "Operations": { + "options": { + "(google.api.default_host)": "longrunning.googleapis.com" + }, + "methods": { + "ListOperations": { + "requestType": "ListOperationsRequest", + "responseType": "ListOperationsResponse", + "options": { + "(google.api.http).get": "/v1/{name=operations}", + "(google.api.method_signature)": "name,filter" + }, + "parsedOptions": [ + { + "(google.api.http)": { + "get": "/v1/{name=operations}" + } + }, + { + "(google.api.method_signature)": "name,filter" + } + ] + }, + "GetOperation": { + "requestType": "GetOperationRequest", + "responseType": "Operation", + "options": { + "(google.api.http).get": "/v1/{name=operations/**}", + "(google.api.method_signature)": "name" + }, + "parsedOptions": [ + { + "(google.api.http)": { + "get": "/v1/{name=operations/**}" + } + }, + { + "(google.api.method_signature)": "name" + } + ] + }, + "DeleteOperation": { + "requestType": "DeleteOperationRequest", + "responseType": "google.protobuf.Empty", + "options": { + "(google.api.http).delete": "/v1/{name=operations/**}", + "(google.api.method_signature)": "name" + }, + "parsedOptions": [ + { + "(google.api.http)": { + "delete": "/v1/{name=operations/**}" + } + }, + { + "(google.api.method_signature)": "name" + } + ] + }, + "CancelOperation": { + "requestType": "CancelOperationRequest", + "responseType": "google.protobuf.Empty", + "options": { + "(google.api.http).post": "/v1/{name=operations/**}:cancel", + "(google.api.http).body": "*", + "(google.api.method_signature)": "name" + }, + "parsedOptions": [ + { + "(google.api.http)": { + "post": "/v1/{name=operations/**}:cancel", + "body": "*" + } + }, + { + "(google.api.method_signature)": "name" + } + ] + }, + "WaitOperation": { + "requestType": "WaitOperationRequest", + "responseType": "Operation" + } + } + }, + "Operation": { + "oneofs": { + "result": { + "oneof": [ + "error", + "response" + ] + } + }, + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "metadata": { + "type": "google.protobuf.Any", + "id": 2 + }, + "done": { + "type": "bool", + "id": 3 + }, + "error": { + "type": "google.rpc.Status", + "id": 4 + }, + "response": { + "type": "google.protobuf.Any", + "id": 5 + } + } + }, + "GetOperationRequest": { + "fields": { + "name": { + "type": "string", + "id": 1 + } + } + }, + "ListOperationsRequest": { + "fields": { + "name": { + "type": "string", + "id": 4 + }, + "filter": { + "type": "string", + "id": 1 + }, + "pageSize": { + "type": "int32", + "id": 2 + }, + "pageToken": { + "type": "string", + "id": 3 + } + } + }, + "ListOperationsResponse": { + "fields": { + "operations": { + "rule": "repeated", + "type": "Operation", + "id": 1 + }, + "nextPageToken": { + "type": "string", + "id": 2 + } + } + }, + "CancelOperationRequest": { + "fields": { + "name": { + "type": "string", + "id": 1 + } + } + }, + "DeleteOperationRequest": { + "fields": { + "name": { + "type": "string", + "id": 1 + } + } + }, + "WaitOperationRequest": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "timeout": { + "type": "google.protobuf.Duration", + "id": 2 + } + } + }, + "OperationInfo": { + "fields": { + "responseType": { + "type": "string", + "id": 1 + }, + "metadataType": { + "type": "string", + "id": 2 + } + } + } + } + }, + "rpc": { + "options": { + "cc_enable_arenas": true, + "go_package": "google.golang.org/genproto/googleapis/rpc/code;code", + "java_multiple_files": true, + "java_outer_classname": "CodeProto", + "java_package": "com.google.rpc", + "objc_class_prefix": "RPC" + }, + "nested": { + "Status": { + "fields": { + "code": { + "type": "int32", + "id": 1 + }, + "message": { + "type": "string", + "id": 2 + }, + "details": { + "rule": "repeated", + "type": "google.protobuf.Any", + "id": 3 + } + } + }, + "Code": { + "values": { + "OK": 0, + "CANCELLED": 1, + "UNKNOWN": 2, + "INVALID_ARGUMENT": 3, + "DEADLINE_EXCEEDED": 4, + "NOT_FOUND": 5, + "ALREADY_EXISTS": 6, + "PERMISSION_DENIED": 7, + "UNAUTHENTICATED": 16, + "RESOURCE_EXHAUSTED": 8, + "FAILED_PRECONDITION": 9, + "ABORTED": 10, + "OUT_OF_RANGE": 11, + "UNIMPLEMENTED": 12, + "INTERNAL": 13, + "UNAVAILABLE": 14, + "DATA_LOSS": 15 + } + } + } + }, + "cloud": { + "nested": { + "tools": { + "nested": { + "snippetgen": { + "nested": { + "snippetindex": { + "nested": { + "v1": { + "options": { + "csharp_namespace": "Google.Cloud.Tools.SnippetGen.SnippetIndex.V1", + "php_namespace": "Google\\Cloud\\Tools\\SnippetGen\\SnippetIndex\\V1", + "ruby_package": "Google::Cloud::Tools::SnippetGen::SnippetIndex::V1" + }, + "nested": { + "Index": { + "fields": { + "clientLibrary": { + "type": "ClientLibrary", + "id": 1 + }, + "snippets": { + "rule": "repeated", + "type": "Snippet", + "id": 2 + } + } + }, + "Snippet": { + "fields": { + "regionTag": { + "type": "string", + "id": 1 + }, + "title": { + "type": "string", + "id": 2 + }, + "description": { + "type": "string", + "id": 3 + }, + "file": { + "type": "string", + "id": 4 + }, + "language": { + "type": "Language", + "id": 5 + }, + "clientMethod": { + "type": "ClientMethod", + "id": 6 + }, + "canonical": { + "type": "bool", + "id": 7 + }, + "origin": { + "type": "Origin", + "id": 8 + }, + "segments": { + "rule": "repeated", + "type": "Segment", + "id": 9 + } + }, + "nested": { + "Origin": { + "values": { + "ORIGIN_UNSPECIFIED": 0, + "API_DEFINITION": 1, + "CONFIG": 2, + "HANDWRITTEN": 3 + } + }, + "Segment": { + "fields": { + "start": { + "type": "int32", + "id": 1 + }, + "end": { + "type": "int32", + "id": 2 + }, + "type": { + "type": "SegmentType", + "id": 3 + } + }, + "nested": { + "SegmentType": { + "values": { + "SEGMENT_TYPE_UNSPECIFIED": 0, + "FULL": 1, + "SHORT": 2, + "CLIENT_INITIALIZATION": 3, + "REQUEST_INITIALIZATION": 4, + "REQUEST_EXECUTION": 5, + "RESPONSE_HANDLING": 6 + } + } + } + } + } + }, + "ClientMethod": { + "fields": { + "shortName": { + "type": "string", + "id": 1 + }, + "fullName": { + "type": "string", + "id": 2 + }, + "async": { + "type": "bool", + "id": 3 + }, + "parameters": { + "rule": "repeated", + "type": "Parameter", + "id": 4 + }, + "resultType": { + "type": "string", + "id": 5 + }, + "client": { + "type": "ServiceClient", + "id": 6 + }, + "method": { + "type": "Method", + "id": 7 + } + }, + "nested": { + "Parameter": { + "fields": { + "type": { + "type": "string", + "id": 1 + }, + "name": { + "type": "string", + "id": 2 + } + } + } + } + }, + "ServiceClient": { + "fields": { + "shortName": { + "type": "string", + "id": 1 + }, + "fullName": { + "type": "string", + "id": 2 + } + } + }, + "ClientLibrary": { + "fields": { + "name": { + "type": "string", + "id": 1 + }, + "version": { + "type": "string", + "id": 2 + }, + "language": { + "type": "Language", + "id": 3 + }, + "apis": { + "rule": "repeated", + "type": "Api", + "id": 4 + } + } + }, + "Method": { + "fields": { + "shortName": { + "type": "string", + "id": 1 + }, + "fullName": { + "type": "string", + "id": 2 + }, + "service": { + "type": "Service", + "id": 3 + } + } + }, + "Service": { + "fields": { + "shortName": { + "type": "string", + "id": 1 + }, + "fullName": { + "type": "string", + "id": 2 + } + } + }, + "Api": { + "fields": { + "id": { + "type": "string", + "id": 1 + }, + "version": { + "type": "string", + "id": 2 + } + } + }, + "Language": { + "values": { + "LANGUAGE_UNSPECIFIED": 0, + "C_PLUS_PLUS": 1, + "C_SHARP": 2, + "DART": 3, + "ELIXIR": 4, + "ERLANG": 5, + "F_SHARP": 6, + "GO": 7, + "JAVA": 8, + "JAVASCRIPT": 9, + "KOTLIN": 10, + "PHP": 11, + "PYTHON": 12, + "RUBY": 13, + "RUST": 14, + "SWIFT": 15, + "TYPESCRIPT": 16, + "VB_NET": 17 + } + } + } + } + } + } + } + } + } + } + } + } + } + } + } +} \ No newline at end of file diff --git a/repositories.bzl b/repositories.bzl index 268283c6e..b24007b96 100644 --- a/repositories.bzl +++ b/repositories.bzl @@ -4,9 +4,22 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") def gapic_generator_typescript_repositories(): maybe( http_archive, - name = "build_bazel_rules_nodejs", - sha256 = "c911b5bd8aee8b0498cc387cacdb5f917098ce477fb4182db07b0ef8a9e045c0", - urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/4.7.1/rules_nodejs-4.7.1.tar.gz"], + name = "aspect_rules_js", + sha256 = "9f51475dd2f99abb015939b1cf57ab5f15ef36ca6d2a67104450893fd0aa5c8b", + strip_prefix = "rules_js-1.16.0", + url = "https://github.com/aspect-build/rules_js/archive/refs/tags/v1.16.0.tar.gz", + ) + + maybe( + http_archive, + name = "aspect_rules_ts", +# TODO(alexander-fenster): point to the official release when the paths problem is fixed +# https://github.com/aspect-build/rules_ts/pull/304 +# sha256 = "acb20a4e41295d07441fa940c8da9fd02f8637391fd74a14300586a3ee244d59", +# strip_prefix = "rules_ts-1.2.0", +# url = "https://github.com/aspect-build/rules_ts/archive/refs/tags/v1.2.0.tar.gz", + strip_prefix = "rules_ts-f6413a356a814c9ed3f7cc7e1ca7a915b4104683", + url = "https://github.com/alexander-fenster/rules_ts/archive/f6413a356a814c9ed3f7cc7e1ca7a915b4104683.tar.gz", ) maybe( @@ -35,3 +48,6 @@ def gapic_generator_typescript_repositories(): strip_prefix = "protobuf-3.21.8", urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.21.8.tar.gz"], ) + +# This is the version of Node.js that would run the generator, it's unrelated to the versions supported by the generated libraries +NODE_VERSION = "18.12.1" # https://github.com/bazelbuild/rules_nodejs/blob/stable/nodejs/private/node_versions.bzl diff --git a/templates/typescript_gapic_metadata/package.json b/templates/typescript_gapic_metadata/package.json new file mode 100644 index 000000000..c29c3b02f --- /dev/null +++ b/templates/typescript_gapic_metadata/package.json @@ -0,0 +1,3 @@ +{ + "_comment": "This fake package.json is not a part of the template, but it allows the templater import namer.js in the ESM context." +} diff --git a/templates/typescript_samples/package.json b/templates/typescript_samples/package.json new file mode 100644 index 000000000..c29c3b02f --- /dev/null +++ b/templates/typescript_samples/package.json @@ -0,0 +1,3 @@ +{ + "_comment": "This fake package.json is not a part of the template, but it allows the templater import namer.js in the ESM context." +} diff --git a/templates/typescript_samples/samples/generated/$version/_util.njk b/templates/typescript_samples/samples/generated/$version/_util.njk index 83498121b..605ac7622 100644 --- a/templates/typescript_samples/samples/generated/$version/_util.njk +++ b/templates/typescript_samples/samples/generated/$version/_util.njk @@ -23,9 +23,9 @@ * {{ formattedLine -}} {% else %} {%- if regExpFindCase3.test(formattedLine) %} - * {{ formattedLine.replaceAll(r/\]\[/, " ").replaceAll(r/\[/, "").replaceAll(r/\]/, "") | safe -}} + * {{ formattedLine.replaceAll(r/\]\[/g, " ").replaceAll(r/\[/g, "").replaceAll(r/\]/g, "") | safe -}} {% else %} - * {{ formattedLine.replaceAll(r/\[/, "").replaceAll(r/\]/, " ") | safe -}} + * {{ formattedLine.replaceAll(r/\[/g, "").replaceAll(r/\]/g, " ") | safe -}} {%- endif %} {%- endif %} {%- else %} diff --git a/test-fixtures/test-application-js/.gitignore b/test-fixtures/test-application-js/.gitignore deleted file mode 100644 index fb7017f2c..000000000 --- a/test-fixtures/test-application-js/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -package-lock.json -node_modules -showcase-server diff --git a/test-fixtures/test-application-js/browser-test.js b/test-fixtures/test-application-js/browser-test.js deleted file mode 100644 index c1dfaeac6..000000000 --- a/test-fixtures/test-application-js/browser-test.js +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -const child_process = require('child_process'); -const util = require('util'); -const {describe, it} = require('mocha'); -const serverProcess = require('./server'); -const exec = util.promisify(child_process.exec); - -describe('BrowserTest for showcase library', () => { - describe('Run browser test for generated showcase library', async function() { - it('Browser test, should pass', async function() { - this.timeout(120000); - serverProcess.run(); - // Run browser test - try { - await exec('karma start'); - } catch (err) { - console.log('execSync error:', err); - console.log('stdout:', err.stdout.toString()); - console.log('stderr:', err.stderr.toString()); - } - // Kill server process - serverProcess.kill(); - }); - }); -}); diff --git a/test-fixtures/test-application-js/index.js b/test-fixtures/test-application-js/index.js deleted file mode 100644 index 0f607609f..000000000 --- a/test-fixtures/test-application-js/index.js +++ /dev/null @@ -1,252 +0,0 @@ -const assert = require('assert'); -const {describe, it} = require('mocha'); -const showcase = require('showcase'); - -// Fake auth client for fallback -const authStub = { - getRequestHeaders() { - return { Authorization: 'Bearer SOME_TOKEN' }; - }, -}; - -// Helper function to run tests according to the given environment -function testShowcase(opts) { - opts = opts || {}; - const clientOptions = {}; - let hasStreaming = true; - if (opts.browser) { - clientOptions.protocol = 'http'; - clientOptions.servicePath = 'localhost'; - clientOptions.port = 1337; - clientOptions.auth = authStub; - hasStreaming = false; - } else if (opts.fallback) { - clientOptions.protocol = 'http'; - clientOptions.servicePath = 'localhost'; - clientOptions.port = 1337; - clientOptions.auth = authStub; - clientOptions.fallback = true; - hasStreaming = false; - } else if (opts.grpcJs) { - const grpc = require('@grpc/grpc-js'); - clientOptions.sslCreds = grpc.credentials.createInsecure(); - clientOptions.grpc = grpc; - } else if (opts.grpc) { - const grpc = require('grpc'); - clientOptions.sslCreds = grpc.credentials.createInsecure(); - clientOptions.grpc = grpc; - } else { - throw new Error('Wrong options passed!'); - } - const client = new showcase.v1beta1.EchoClient(clientOptions); - runTest(client, { hasStreaming }); -} - -function runTest(client, opts) { - opts = opts || {}; - testEcho(client); - if (opts.hasStreaming) { - testExpand(client); - testCollect(client); - testChat(client); - } - testPagedExpand(client); - testPagedExpandStream(client); - testPagedExpandAsync(client); - testWait(client); - testCheckWaitProgress(client); -} - -// Set of functions to tests all showcase methods -function testEcho(client) { - it('echo', async () => { - const request = { - content: 'test', - }; - const [response] = await client.echo(request); - assert.deepStrictEqual(request.content, response.content); - }); -} - -function testExpand(client) { - it('expand', async () => { - const words = ['nobody', 'ever', 'reads', 'test', 'input']; - const request = { - content: words.join(' '), - }; - const result = await new Promise((resolve, reject) => { - const stream = client.expand(request); - const result = []; - stream.on('data', response => { - result.push(response.content); - }); - stream.on('end', () => { - resolve(result); - }); - stream.on('error', reject); - }); - assert.deepStrictEqual(words, result); - }); -} - -function testPagedExpand(client) { - it('pagedExpand', async () => { - const words = ['nobody', 'ever', 'reads', 'test', 'input']; - const request = { - content: words.join(' '), - pageSize: 2, - }; - const [response] = await client.pagedExpand(request); - const result = response.map(r => r.content); - assert.deepStrictEqual(words, result); - }); -} - -function testPagedExpandAsync(client) { - it('pagedExpandAsync', async () => { - const words = ['nobody', 'ever', 'reads', 'test', 'input']; - const request = { - content: words.join(' '), - pageSize: 2, - }; - const iterable = client.pagedExpandAsync(request); - const result = []; - for await (const resource of iterable) { - result.push(resource.content); - } - assert.deepStrictEqual(words, result); - }); -} - -function testPagedExpandStream(client) { - it('pagedExpand with streaming', async () => { - const words = ['I', 'did', 'not', 'even', 'know', 'it', 'works']; - const request = { - content: words.join(' '), - pageSize: 2, - }; - const result = await new Promise((resolve, reject) => { - const stream = client.pagedExpandStream(request); - const result = []; - stream.on('data', response => { - result.push(response.content); - }); - stream.on('end', () => { - resolve(result); - }); - stream.on('error', reject); - }); - assert.deepStrictEqual(words, result); - }); -} - -function testCollect(client) { - it('collect', async () => { - const words = ['nobody', 'ever', 'reads', 'test', 'input']; - const result = await new Promise((resolve, reject) => { - const stream = client.collect((err, result) => { - if (err) { - reject(err); - return; - } - resolve(result); - }); - for (const word of words) { - const request = { content: word }; - stream.write(request); - } - stream.end(); - }); - assert.deepStrictEqual(result.content, words.join(' ')); - }); -} - -function testChat(client) { - it('chat', async () => { - const words = [ - 'nobody', - 'ever', - 'reads', - 'test', - 'input', - 'especially', - 'this', - 'one', - ]; - const result = await new Promise((resolve, reject) => { - const result = []; - const stream = client.chat(); - stream.on('data', response => { - result.push(response.content); - }); - stream.on('end', () => { - resolve(result); - }); - stream.on('error', reject); - for (const word of words) { - stream.write({ content: word }); - } - stream.end(); - }); - assert.deepStrictEqual(result, words); - }); -} - -function testWait(client) { - it('wait', async function() { - this.timeout(10000); - const request = { - ttl: { - seconds: 5, - nanos: 0, - }, - success: { - content: 'done', - }, - }; - const [operation] = await client.wait(request); - const [response] = await operation.promise(); - assert.deepStrictEqual(response.content, request.success.content); - }); -} - -function testCheckWaitProgress(client) { - it('checkWaitProgress', async function() { - this.timeout(10000); - const request = { - ttl: { - seconds: 5, - nanos: 0, - }, - success: { - content: 'done', - }, - }; - const [operation] = await client.wait(request); - const decodedOperation = await client.checkWaitProgress(operation.name); - const [response] = await decodedOperation.promise(); - assert.deepStrictEqual(response.content, request.success.content); - assert.deepStrictEqual(decodedOperation.name, operation.name); - assert(decodedOperation.metadata); - assert(decodedOperation.result) - }); -} - -// Finally, using mocha! -describe('Showcase tests', () => { - if (typeof window !== 'undefined') { - describe('browser library works', () => { - testShowcase({ browser: true }); - }); - } else { - describe('grpc-fallback works', () => { - testShowcase({ fallback: true }); - }); - describe('@grpc/grpc-js works', () => { - testShowcase({ grpcJs: true }); - }); - describe('grpc works', () => { - testShowcase({ grpc: true }); - }); - } -}); diff --git a/test-fixtures/test-application-js/integration-test.js b/test-fixtures/test-application-js/integration-test.js deleted file mode 100644 index 576ff39a7..000000000 --- a/test-fixtures/test-application-js/integration-test.js +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -const util = require('util'); -const child_process = require('child_process'); -const {describe, it} = require('mocha'); -const exec = util.promisify(child_process.exec); -const fs = require('fs-extra'); -const path = require('path'); -const SHOWCASE_SERVER = path.join(__dirname, 'showcase-server'); -const SHOWCASE_SERVER_TAR = path.join( - SHOWCASE_SERVER, - 'gapic-showcase-server.tar.gz' -); -const TEST_FILE = path.join(__dirname, 'index.js'); -const serverProcess = require('./server'); -const GAPIC_SHOWCASE_VERSION = '0.5.0'; -const OS = process.platform; -const ARCH = process.arch == "x64" ? "amd64" : process.arch; - -describe('IntegrationTest for showcase library', () => { - describe('Run integration test for generated showcase library', async function() { - it('download the server', async function() { - this.timeout(120000); - if (!fs.existsSync(SHOWCASE_SERVER)) { - fs.mkdirSync(SHOWCASE_SERVER); - } - // Download server - process.chdir(SHOWCASE_SERVER); - try { - const command = `curl -L https://github.com/googleapis/gapic-showcase/releases/download/v${GAPIC_SHOWCASE_VERSION}/gapic-showcase-${GAPIC_SHOWCASE_VERSION}-${OS}-${ARCH}.tar.gz > gapic-showcase-server.tar.gz`; - await exec(command); - } catch (err) { - console.log('exec error:', err); - } - }); - //tar -xzf gapic-showcase-server.tar.gz - it('untar the server directory', async function() { - try { - await exec(`tar -xzf ${SHOWCASE_SERVER_TAR}`); - } catch (err) { - console.log('untar command error:', err); - } - }); - it('run the server and test', async function() { - this.timeout(120000); - serverProcess.run(); - // Run test - try { - await exec(`mocha ${TEST_FILE}`); - } catch (err) { - console.log('Failed to run tests', err); - } - }); - it('kill the server', async function() { - // Kill server process - serverProcess.kill(); - }); - }); -}); diff --git a/test-fixtures/test-application-js/karma.conf.js b/test-fixtures/test-application-js/karma.conf.js deleted file mode 100644 index f945ac2c2..000000000 --- a/test-fixtures/test-application-js/karma.conf.js +++ /dev/null @@ -1,103 +0,0 @@ -/** - * Copyright 2019 Google LLC - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are - * met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following disclaimer - * in the documentation and/or other materials provided with the - * distribution. - * * Neither the name of Google Inc. nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -// Karma configuration -// Use `npm run browser-test` to run browser tests with Karma. -// TODO: MIGHT NEED SOME CHANGES HERE FOR BROWSER USE CASE - -const isDocker = require('is-docker')(); - -const webpackConfig = require('./webpack.config.js'); -webpackConfig.performance = { hints: false }; -process.env.CHROME_BIN = require('puppeteer').executablePath(); - -module.exports = function(config) { - config.set({ - // base path that will be used to resolve all patterns (eg. files, exclude) - basePath: '', - - // frameworks to use - // available frameworks: https://npmjs.org/browse/keyword/karma-adapter - frameworks: ['mocha'], - - // list of files / patterns to load in the browser - files: ['./index.js'], - - // list of files / patterns to exclude - exclude: [], - - // preprocess matching files before serving them to the browser - // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor - preprocessors: { - './*.js': ['webpack'], - }, - - webpack: webpackConfig, - - // test results reporter to use - // possible values: 'dots', 'progress' - // available reporters: https://npmjs.org/browse/keyword/karma-reporter - reporters: ['progress'], - - // web server port - port: 9876, - - // enable / disable colors in the output (reporters and logs) - colors: true, - - // level of logging - // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG - logLevel: config.LOG_INFO, - - // enable / disable watching file and executing tests whenever any file changes - autoWatch: false, - - // start these browsers - // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher - browsers: ['ChromeCustom'], - customLaunchers: { - ChromeCustom: { - base: 'ChromeHeadless', - // We must disable the Chrome sandbox when running Chrome inside Docker (Chrome's sandbox needs - // more permissions than Docker allows by default) - flags: isDocker ? ['--no-sandbox'] : [], - }, - }, - - // Continuous Integration mode - // if true, Karma captures browsers, runs the tests and exits - singleRun: true, - - // Concurrency level - // how many browser should be started simultaneous - concurrency: Infinity, - }); -}; diff --git a/test-fixtures/test-application-js/package.json b/test-fixtures/test-application-js/package.json deleted file mode 100644 index 582d0c5f3..000000000 --- a/test-fixtures/test-application-js/package.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "showcase-integration", - "version": "0.0.1", - "scripts": { - "test": "mocha integration-test.js", - "browser-test": "mocha browser-test.js", - "prettier-format": "prettier --write ./*.js", - "prettier-check": "prettier --check ./*.js" - }, - "dependencies": { - "@grpc/grpc-js": "^1.7.2", - "grpc": "^1.24.11", - "is-docker": "^3.0.0", - "karma": "^6.4.1", - "karma-chrome-launcher": "^3.1.1", - "karma-cli": "^2.0.0", - "karma-mocha": "^2.0.1", - "karma-webpack": "^5.0.0", - "mocha": "^10.1.0", - "null-loader": "^4.0.1", - "prettier": "^2.7.1", - "puppeteer": "^19.0.0", - "showcase": "file:./showcase-0.1.0.tgz", - "tree-kill": "^1.2.2", - "webpack": "^4.46.0", - "webpack-cli": "^4.10.0" - } -} diff --git a/test-fixtures/test-application-js/prettier.config.js b/test-fixtures/test-application-js/prettier.config.js deleted file mode 100644 index a425d3f76..000000000 --- a/test-fixtures/test-application-js/prettier.config.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - singleQuote: true, - trailingComma: 'es5', -}; diff --git a/test-fixtures/test-application-js/server.js b/test-fixtures/test-application-js/server.js deleted file mode 100644 index 0fc10f258..000000000 --- a/test-fixtures/test-application-js/server.js +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -const fs = require('fs-extra'); -const {spawn} = require('child_process'); -const kill = require('tree-kill'); -const path = require('path'); -const SHOWCASE_SERVER = path.join( - __dirname, - 'showcase-server', - 'gapic-showcase' -); - -module.exports = { - run: function() { - if (!fs.existsSync(SHOWCASE_SERVER)) { - console.warn( - 'gapic showcase server does not exist, please download it first.' - ); - } - this.childProcess = spawn(`${SHOWCASE_SERVER}`, ['run']); - this.childProcess.on('error', err => { - console.error('Failed to start subprocess.'); - }); - }, - kill: function() { - kill(this.childProcess.pid); - }, -}; diff --git a/test-fixtures/test-application-js/webpack.config.js b/test-fixtures/test-application-js/webpack.config.js deleted file mode 100644 index 64a5b8d21..000000000 --- a/test-fixtures/test-application-js/webpack.config.js +++ /dev/null @@ -1,42 +0,0 @@ -const path = require('path'); - -module.exports = { - entry: './index.js', - output: { - library: 'showcaseTest', - filename: './main.js', - }, - node: { - child_process: 'empty', - fs: 'empty', - crypto: 'empty', - }, - resolve: { - extensions: ['.js', '.json'], - }, - module: { - rules: [ - { - test: /node_modules[\\\/]@grpc[\\\/]grpc-js/, - use: 'null-loader', - }, - { - test: /node_modules[\\\/]grpc/, - use: 'null-loader', - }, - { - test: /node_modules[\\\/]retry-request/, - use: 'null-loader', - }, - { - test: /node_modules[\\\/]https-proxy-agent/, - use: 'null-loader', - }, - { - test: /node_modules[\\\/]gtoken/, - use: 'null-loader', - }, - ], - }, - mode: 'production', -}; diff --git a/test-fixtures/test-application-ts/karma.conf.js b/test-fixtures/test-application-ts/karma.conf.js deleted file mode 100644 index 6c3d5b855..000000000 --- a/test-fixtures/test-application-ts/karma.conf.js +++ /dev/null @@ -1,101 +0,0 @@ -/** - * Copyright 2019 Google LLC - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are - * met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following disclaimer - * in the documentation and/or other materials provided with the - * distribution. - * * Neither the name of Google Inc. nor the names of its - * contributors may be used to endorse or promote products derived from - * this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -// Karma configuration -// Use `npm run browser-test` to run browser tests with Karma. - -const isDocker = require('is-docker')(); - -const webpackConfig = require('./webpack.config.js'); -webpackConfig.performance = {hints: false}; -process.env.CHROME_BIN = require('puppeteer').executablePath(); - -module.exports = function(config) { - config.set({ - // base path that will be used to resolve all patterns (eg. files, exclude) - basePath: '', - - // frameworks to use - // available frameworks: https://npmjs.org/browse/keyword/karma-adapter - frameworks: ['mocha'], - // list of files / patterns to load in the browser - files: ['./build/src/index.js'], - - // list of files / patterns to exclude - exclude: [], - - // preprocess matching files before serving them to the browser - // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor - preprocessors: { - './build/src/index.js': ['webpack'], - }, - - webpack: webpackConfig, - - // test results reporter to use - // possible values: 'dots', 'progress' - // available reporters: https://npmjs.org/browse/keyword/karma-reporter - reporters: ['progress'], - - // web server port - port: 9876, - - // enable / disable colors in the output (reporters and logs) - colors: true, - - // level of logging - // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG - logLevel: config.LOG_INFO, - - // enable / disable watching file and executing tests whenever any file changes - autoWatch: false, - - // start these browsers - // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher - browsers: ['ChromeCustom'], - customLaunchers: { - ChromeCustom: { - base: 'ChromeHeadless', - // We must disable the Chrome sandbox when running Chrome inside Docker (Chrome's sandbox needs - // more permissions than Docker allows by default) - flags: isDocker ? ['--no-sandbox'] : [], - }, - }, - - // Continuous Integration mode - // if true, Karma captures browsers, runs the tests and exits - singleRun: true, - - // Concurrency level - // how many browser should be started simultaneous - concurrency: Infinity, - }); -}; diff --git a/test-fixtures/test-application-ts/package.json b/test-fixtures/test-application-ts/package.json deleted file mode 100644 index 29bd13224..000000000 --- a/test-fixtures/test-application-ts/package.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "showcase-integration", - "version": "0.0.1", - "scripts": { - "test": "mocha build/src/integration-test", - "browser-test": "mocha build/src/browser-test", - "check": "gts check", - "clean": "gts clean", - "compile": "tsc -p .", - "fix": "gts fix", - "prepare": "npm run compile", - "pretest": "npm run compile" - }, - "dependencies": { - "showcase": "file:./showcase-0.1.0.tgz" - }, - "devDependencies": { - "gts": "^3.1.1", - "typescript": "^4.8.4", - "@types/node": "^16.11.68", - "@types/mocha": "^10.0.0", - "mocha": "^10.1.0", - "karma": "^6.4.1", - "karma-mocha": "^2.0.1", - "karma-chrome-launcher": "^3.1.1", - "showcase": "file:./showcase-0.1.0.tgz", - "@grpc/grpc-js": "^1.7.2", - "grpc": "^1.24.11", - "is-docker": "^3.0.0", - "karma-webpack": "^5.0.0", - "null-loader": "^4.0.1", - "puppeteer": "^19.0.0", - "webpack": "^4.46.0", - "webpack-cli": "^4.10.0" - } -} diff --git a/test-fixtures/test-application-ts/prettier.config.js b/test-fixtures/test-application-ts/prettier.config.js deleted file mode 100644 index a425d3f76..000000000 --- a/test-fixtures/test-application-ts/prettier.config.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - singleQuote: true, - trailingComma: 'es5', -}; diff --git a/test-fixtures/test-application-ts/src/browser-test.ts b/test-fixtures/test-application-ts/src/browser-test.ts deleted file mode 100644 index 60bfe85c5..000000000 --- a/test-fixtures/test-application-ts/src/browser-test.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -import * as child_process from 'child_process'; -import * as util from 'util'; -import {Server} from './server'; -const exec = util.promisify(child_process.exec); - -describe('BrowserTest for showcase library', () => { - describe('Run browser test for generated showcase library', async function() { - it('Browser test, should pass', async function() { - this.timeout(120000); - const server = new Server(); - server.run(); - //Run browser test - try { - await exec('karma start'); - } catch (err) { - console.log('execSync error:', err); - console.log('stdout:', (err as unknown as {stdout: Buffer}).stdout.toString()); - console.log('stderr:', (err as unknown as {stderr: Buffer}).stderr.toString()); - } - // Kill server process - server.kill(); - }); - }); -}); diff --git a/test-fixtures/test-application-ts/src/index.ts b/test-fixtures/test-application-ts/src/index.ts deleted file mode 100644 index 795bc582f..000000000 --- a/test-fixtures/test-application-ts/src/index.ts +++ /dev/null @@ -1,254 +0,0 @@ -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -import * as assert from 'assert'; -import * as showcase from 'showcase'; -import {describe, it} from 'mocha'; - -interface ClientOptions{ - [name: string]: {}; - servicePath: string; - port: number; -} -interface Options { - [name: string]: {}; -} -// Fake auth client for fallback -const authStub = { - getRequestHeaders() { - return {Authorization: 'Bearer SOME_TOKEN'}; - }, -}; -// Finally, using mocha! -describe('Showcase tests', () => { - if (typeof window !== 'undefined') { - describe('browser library works', () => { - testShowcase({browser: true}); - }); - } else { - describe('grpc-fallback works', () => { - testShowcase({fallback: true}); - }); - describe('@grpc/grpc-js works', () => { - testShowcase({grpcJs: true}); - }); - describe('grpc works', () => { - testShowcase({grpc: true}); - }); - } -}); - -async function testShowcase(opts: Options) { - opts = opts || {}; - const clientOptions: ClientOptions = {servicePath: 'localhost', port: 7469}; - let hasStreaming = true; - clientOptions.servicePath = 'localhost'; - clientOptions.port = 7469; - if (opts.browser) { - clientOptions.protocol = 'http'; - clientOptions.servicePath = 'localhost'; - clientOptions.port = 1337; - clientOptions.auth = authStub; - hasStreaming = false; - } else if (opts.fallback) { - clientOptions.protocol = 'http'; - clientOptions.servicePath = 'localhost'; - clientOptions.port = 1337; - clientOptions.auth = authStub; - clientOptions.fallback = true; - hasStreaming = false; - } else if (opts.grpcJs) { - const grpc = require('@grpc/grpc-js'); - clientOptions.sslCreds = grpc.credentials.createInsecure(); - clientOptions.grpc = grpc; - } else if (opts.grpc) { - const grpc = require('grpc'); - clientOptions.sslCreds = grpc.credentials.createInsecure(); - clientOptions.grpc = grpc; - } else { - throw new Error('Wrong options passed!'); - } - const client = new showcase.v1beta1.EchoClient(clientOptions); - runTest(client, {hasStreaming}); -} - -function runTest(client: showcase.v1beta1.EchoClient, opts: Options) { - opts = opts || {}; - testEcho(client); - if (opts.hasStreaming) { - testExpand(client); - testCollect(client); - testChat(client); - } - testPagedExpand(client); - testPagedExpandAsync(client); - testWait(client); - testCheckWaitProgress(client); -} - -// Set of functions to tests all showcase methods -function testEcho(client: showcase.v1beta1.EchoClient) { - it('echo', async () => { - const request = { - content: 'test', - }; - const [response] = await client.echo(request); - assert.deepStrictEqual(request.content, response.content); - }); -} - -function testExpand(client: showcase.v1beta1.EchoClient) { - it('expand', async () => { - const words = ['nobody', 'ever', 'reads', 'test', 'input']; - const request = { - content: words.join(' '), - }; - const result = await new Promise((resolve, reject) => { - const stream = client.expand(request); - const result: string[] = []; - stream.on('data', response => { - result.push(response.content); - }); - stream.on('end', () => { - resolve(result); - }); - stream.on('error', reject); - }); - assert.deepStrictEqual(words, result); - }); -} - -function testPagedExpand(client: showcase.v1beta1.EchoClient) { - it('pagedExpandAsync', async () => { - const words = ['nobody', 'ever', 'reads', 'test', 'input']; - const request = { - content: words.join(' '), - pageSize: 2, - }; - const [response] = await client.pagedExpand(request); - const result = response.map(r => r.content); - assert.deepStrictEqual(words, result); - }); -} - -function testPagedExpandAsync(client: showcase.v1beta1.EchoClient) { - it('pagedExpandAsync', async () => { - const words = ['nobody', 'ever', 'reads', 'test', 'input']; - const request = { - content: words.join(' '), - pageSize: 2, - }; - const iterable = client.pagedExpandAsync(request); - const result: string[] = []; - for await (const resource of iterable) { - result.push(resource.content!); - } - assert.deepStrictEqual(words, result); - }); -} - -function testCollect(client: showcase.v1beta1.EchoClient) { - it('collect', async () => { - const words = ['nobody', 'ever', 'reads', 'test', 'input']; - const result = await new Promise((resolve, reject) => { - const stream = client.collect((err, result) => { - if (err) { - reject(err); - return; - } - resolve(result); - }); - for (const word of words) { - const request = {content: word}; - stream.write(request); - } - stream.end(); - }); - const expectedResult = {content: words.join(' ')}; - assert.deepStrictEqual(result, expectedResult); - }); -} - -function testChat(client: showcase.v1beta1.EchoClient) { - it('chat', async () => { - const words = [ - 'nobody', - 'ever', - 'reads', - 'test', - 'input', - 'especially', - 'this', - 'one', - ]; - const result = await new Promise((resolve, reject) => { - const result: string[] = []; - const stream = client.chat(); - stream.on('data', response => { - result.push(response.content); - }); - stream.on('end', () => { - resolve(result); - }); - stream.on('error', reject); - for (const word of words) { - stream.write({content: word}); - } - stream.end(); - }); - assert.deepStrictEqual(result, words); - }); -} - -function testWait(client: showcase.v1beta1.EchoClient) { - it('wait', async function() { - this.timeout(10000); - const request = { - ttl: { - seconds: 5, - nanos: 0, - }, - success: { - content: 'done', - }, - }; - const [operation] = await client.wait(request); - const [response] = await operation.promise(); - assert.deepStrictEqual(response.content, request.success.content); - }); -} - -function testCheckWaitProgress(client: showcase.v1beta1.EchoClient) { - it('checkWaitProgress', async function() { - this.timeout(10000); - const request = { - ttl: { - seconds: 5, - nanos: 0, - }, - success: { - content: 'done', - }, - }; - const [operation] = await client.wait(request); - const decodedOperation = await client.checkWaitProgress(operation.name!); - assert.deepStrictEqual(decodedOperation.name, operation.name); - assert(decodedOperation.metadata); - assert(decodedOperation.result); - const [response, metadata, rawOperation] = await decodedOperation.promise(); - assert.deepStrictEqual(response.content, request.success.content); - assert(metadata); - assert(rawOperation.done); - }); -} diff --git a/test-fixtures/test-application-ts/src/integration-test.ts b/test-fixtures/test-application-ts/src/integration-test.ts deleted file mode 100644 index 09933d04b..000000000 --- a/test-fixtures/test-application-ts/src/integration-test.ts +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -import * as child_process from 'child_process'; -import * as util from 'util'; -import * as path from 'path'; -import * as fs from 'fs-extra'; -import {Server} from './server'; -const exec = util.promisify(child_process.exec); -const SHOWCASE_SERVER = path.join(__dirname, '..', '..', 'showcase-server'); -const SHOWCASE_SERVER_TAR = path.join( - SHOWCASE_SERVER, - 'gapic-showcase-server.tar.gz' -); -const TEST_FILE = path.join(__dirname, 'index.js'); -const GAPIC_SHOWCASE_VERSION = '0.5.0'; -const OS = process.platform; -const ARCH = process.arch == "x64" ? "amd64" : process.arch; - -describe('IntegrationTest for showcase library', () => { - describe('Run integration test for generated showcase library', async function() { - it('download the server', async function() { - this.timeout(120000); - if (!fs.existsSync(SHOWCASE_SERVER)) { - fs.mkdirSync(SHOWCASE_SERVER); - } - //Download server - process.chdir(SHOWCASE_SERVER); - try { - const command = `curl -L https://github.com/googleapis/gapic-showcase/releases/download/v${GAPIC_SHOWCASE_VERSION}/gapic-showcase-${GAPIC_SHOWCASE_VERSION}-${OS}-${ARCH}.tar.gz > gapic-showcase-server.tar.gz`; - await exec(command); - } catch (err) { - console.log('exec error:', err); - } - }); - //tar -xzf gapic-showcase-server.tar.gz - it('untar the server directory', async function() { - try { - await exec(`tar -xzf ${SHOWCASE_SERVER_TAR}`); - } catch (err) { - console.log('untar command error:', err); - } - }); - it('run the server and test', async function() { - this.timeout(120000); - const server = new Server(); - server.run(); - // Run test - try { - await exec(`mocha ${TEST_FILE}`); - } catch (err) { - console.log('Failed to run tests', err); - } - // Kill server process - server.kill(); - }); - }); -}); diff --git a/test-fixtures/test-application-ts/src/server.ts b/test-fixtures/test-application-ts/src/server.ts deleted file mode 100644 index 8ccd46d88..000000000 --- a/test-fixtures/test-application-ts/src/server.ts +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -import * as fs from 'fs-extra'; -import * as child_process from 'child_process'; -import * as path from 'path'; -const SHOWCASE_SERVER = path.join( - __dirname, - '..', - '..', - 'showcase-server', - 'gapic-showcase' -); - -export class Server { - pid: number | undefined = -1; - constrcutor() {} - run() { - if (!fs.existsSync(SHOWCASE_SERVER)) { - console.warn( - 'gapic showcase server does not exist, please download it first.' - ); - } - this.pid = child_process.spawn(`${SHOWCASE_SERVER}`, ['run']).pid; - } - kill() { - if (this.pid) { - process.kill(this.pid); - } else { - process.kill(-1); - } - } -} diff --git a/test-fixtures/test-application-ts/tsconfig.json b/test-fixtures/test-application-ts/tsconfig.json deleted file mode 100644 index 3d7aa07bf..000000000 --- a/test-fixtures/test-application-ts/tsconfig.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "./node_modules/gts/tsconfig-google.json", - "compilerOptions": { - "rootDir": ".", - "outDir": "build", - "lib": ["es2015", "dom"] - }, - "include": [ - "src/**/*.ts", - "test/**/*.ts" - ] -} diff --git a/test-fixtures/test-application-ts/tslint.json b/test-fixtures/test-application-ts/tslint.json deleted file mode 100644 index 27872a139..000000000 --- a/test-fixtures/test-application-ts/tslint.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "gts/tslint.json", - "linterOptions": { - "exclude": [ - "**/*.json" - ] - } -} diff --git a/test-fixtures/test-application-ts/webpack.config.js b/test-fixtures/test-application-ts/webpack.config.js deleted file mode 100644 index 24aa6a786..000000000 --- a/test-fixtures/test-application-ts/webpack.config.js +++ /dev/null @@ -1,42 +0,0 @@ -const path = require('path'); - -module.exports = { - entry: './build/src/index.js', - output: { - library: 'showcaseTest', - filename: './main.js', - }, - node: { - child_process: 'empty', - fs: 'empty', - crypto: 'empty', - }, - resolve: { - extensions: ['.js', '.json'], - }, - module: { - rules: [ - { - test: /node_modules[\\\/]@grpc[\\\/]grpc-js/, - use: 'null-loader', - }, - { - test: /node_modules[\\\/]grpc/, - use: 'null-loader', - }, - { - test: /node_modules[\\\/]retry-request/, - use: 'null-loader', - }, - { - test: /node_modules[\\\/]https-proxy-agent/, - use: 'null-loader', - }, - { - test: /node_modules[\\\/]gtoken/, - use: 'null-loader', - }, - ], - }, - mode: 'production', -}; diff --git a/tsconfig.json b/tsconfig.json index e41d23413..4481dbca8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,22 +1,24 @@ { "compilerOptions": { + "allowSyntheticDefaultImports": true, "allowUnreachableCode": false, "allowUnusedLabels": false, "declaration": true, "forceConsistentCasingInFileNames": true, - "lib": ["es2018", "dom"], - "module": "commonjs", + "lib": ["ESNext", "dom"], + "module": "NodeNext", "noEmitOnError": true, "noFallthroughCasesInSwitch": true, "noImplicitReturns": true, "pretty": true, "sourceMap": true, "strict": true, - "target": "es2018", + "target": "ESNext", "rootDir": ".", "outDir": "build", "baseUrl": ".", - "allowJs": true + "allowJs": true, + "resolveJsonModule": true, }, "include": [ "typescript/**/*.ts", diff --git a/typescript/src/bundle.ts b/typescript/src/bundle.ts index 2445f09f1..6b061507b 100644 --- a/typescript/src/bundle.ts +++ b/typescript/src/bundle.ts @@ -18,11 +18,13 @@ export interface Thresholds { delay_threshold_millis: number; element_count_limit?: number; } + export interface BatchDescriptor { batched_field: string; discriminator_fields: string[]; subresponse_field: string; } + export interface BundleConfig { serviceName: string; methodName: string; diff --git a/typescript/src/gapic-generator-typescript.ts b/typescript/src/gapic-generator-typescript.ts index eb0c08a99..e0967462c 100755 --- a/typescript/src/gapic-generator-typescript.ts +++ b/typescript/src/gapic-generator-typescript.ts @@ -14,247 +14,245 @@ // See the License for the specific language governing permissions and // limitations under the License. -import {execFileSync} from 'child_process'; +import {execFile} from 'child_process'; +import {createRequire} from 'module'; import * as path from 'path'; -import * as yargs from 'yargs'; -import * as fs from 'fs-extra'; +import yargs from 'yargs'; +import * as fs from 'fs'; +import * as fsp from 'fs/promises'; +import * as url from 'url'; +import {promisify} from 'util'; -const googleGaxPath = path.dirname(require.resolve('google-gax')); // ...../google-gax/build/src -const googleGaxProtosDir = path.join( - googleGaxPath, - '..', - '..', - 'build', - 'protos' -); -const allTemplates = fs.readdirSync( - path.join(__dirname, '..', '..', 'templates') -); +const execFileAsync = promisify(execFile); -// If we're built with bazel, we'll have a shell wrapper to be used as a protoc plugin. -// Just in case if someone builds us without bazel, let's have a fallback to an actual -// JS protoc plugin without a wrapper. -const protocPluginBash = path.join(__dirname, '..', 'protoc_plugin.sh'); -const protocPlugin = fs.existsSync(protocPluginBash) - ? protocPluginBash - : path.join(__dirname, 'protoc-plugin.js'); +// https://blog.logrocket.com/alternatives-dirname-node-js-es-modules/#help-im-missing-dirname +const __dirname = url.fileURLToPath(new URL('.', import.meta.url)); -yargs.array('I'); -yargs.nargs('I', 1); -yargs.alias('proto_path', 'I'); -yargs.alias('proto-path', 'I'); -yargs.demandOption('output_dir'); -yargs.describe('I', 'Include directory to pass to protoc'); -yargs.alias('output-dir', 'output_dir'); -yargs.describe( - 'gapic-validator_out', - 'Path to the output of the gapic validator' -); -yargs.alias('gapic-validator_out', 'gapic_validator_out'); -yargs.describe( - 'validation', - 'Option to set the validation of proto files, default value is true' -); -yargs.describe('output_dir', 'Path to a directory for the generated code'); -yargs.alias('grpc-service-config', 'grpc_service_config'); -yargs.describe('grpc-service-config', 'Path to gRPC service config JSON'); -yargs.alias('bundle-config', 'bundle_config'); -yargs.describe('bundle-config', 'Path to bundle request config JSON'); -yargs.alias('service-yaml', 'service_yaml'); -yargs.describe('service-yaml', 'Path to service yaml'); -yargs.alias('package-name', 'package_name'); -yargs.describe('package-name', 'Publish package name'); -yargs.alias('main-service', 'main_service'); -yargs.describe( - 'main_service', - 'Main service name (if the package has multiple services, this one will be used for Webpack bundle name)' -); -yargs.alias('common-proto-path', 'common_protos_path'); -yargs.describe( - 'common_proto_path', - 'Path to API common protos to use (if unset, will use protos shipped with google-gax)' -); -yargs.describe( - 'template', - `Semicolon-separated list of templates to use. Allowed values: "${allTemplates.join( - ';' - )}"` -); -yargs.describe( - 'metadata', - 'Set to true if GAPIC metadata generation is requested' -); -yargs.boolean('metadata'); -yargs.describe( - 'transport', - 'Default transport is gRPC. Set transport=rest for gRPC or non-gRPC API requires REST transport with http annotation in proto3 files.' -); -yargs.describe( - 'diregapic', - 'DIREGAPIC represents Discovery Rest GAPICs. Set to true for GCE API or non-gRPC APIs with a Discovery doc description.' -); -yargs.describe( - 'handwritten_layer', - 'Set to true if the library has a handwritten layer over GAPIC layer.' -); -yargs.describe( - 'legacy_proto_load', - 'Load protos from *.proto directly at runtime, without compiling a proto JSON file. May speed up loading huge proto trees. Disables all fallback modes.' -); -yargs.boolean('legacy-proto-load'); -yargs.alias('legacy-proto-load', 'legacy_proto_load'); -yargs.describe( - 'rest_numeric_enums', - 'The generated library will pass and accept enum values as numbers when using the HTTP/1.1 REST transport.' -); -yargs.boolean('rest-numeric-enums'); -yargs.alias('rest-numeric-enums', 'rest_numeric_enums'); -yargs.describe( - 'mixins', - 'Override the list of mixins to use. Semicolon-separated list of API names to mixin, e.g. google.longrunning.Operations. Use "none" to disable all mixins.' -); -yargs.string('mixins'); -yargs.describe('protoc', 'Path to protoc binary'); -yargs.usage('Usage: $0 -I /path/to/googleapis'); -yargs.usage(' --output_dir /path/to/output_directory'); -yargs.usage(' google/example/api/v1/api.proto'); +async function main(processArgv: string[]) { + // https://stackoverflow.com/questions/54977743/do-require-resolve-for-es-modules + const require = createRequire(import.meta.url); + const googleGaxPath = path.dirname( + require.resolve('google-gax/build/src/index.js') + ); // ...../google-gax/build/src -export interface IArguments { - [x: string]: unknown; - outputDir?: string; - grpcServiceConfig?: string; - bundleConfig?: string; - serviceYaml?: string; - packageName?: string; - mainService?: string; - template?: string; - gapicValidatorOut?: string; - validation?: string; - metadata?: boolean; - protoc?: string; - protoDirs?: string[]; - commonProtoPath?: string; - descriptor?: string; - transport?: string; - diregapic?: boolean; - handwrittenLayer?: boolean; - legacyProtoLoad?: boolean; - restNumericEnums?: boolean; - mixins?: string; - _: string[]; - $0: string; -} + const googleGaxProtosDir = path.join( + googleGaxPath, + '..', + '..', + 'build', + 'protos' + ); + const allTemplates = await fsp.readdir( + path.join(__dirname, '..', '..', 'templates') + ); -const argv = yargs.argv as IArguments; -const outputDir = argv.outputDir as string; -const grpcServiceConfig = argv.grpcServiceConfig as string | undefined; -const bundleConfig = argv.bundleConfig as string | undefined; -const serviceYaml = argv.serviceYaml as string | undefined; -const packageName = argv.packageName as string | undefined; -const mainServiceName = argv.mainService as string | undefined; -const template = argv.template as string | undefined; -const gapicValidatorOut = argv.gapicValidatorOut as string | undefined; -const validation = (argv.validation as string | undefined) ?? 'true'; -const metadata = argv.metadata as boolean | undefined; -const transport = argv.transport as string | undefined; -const diregapic = argv.diregapic as boolean | undefined; -const handwrittenLayer = argv.handwrittenLayer as boolean | undefined; -const legacyProtoLoad = argv.legacyProtoLoad as boolean | undefined; -const restNumericEnums = argv.restNumericEnums as boolean | undefined; -const mixins = argv.mixins as string | undefined; + // If we're built with bazel, we'll have a shell wrapper to be used as a protoc plugin. + // Just in case if someone builds us without bazel, let's have a fallback to an actual + // JS protoc plugin without a wrapper. + const protocPluginBash = path.join(__dirname, '..', 'protoc_plugin.sh'); + const protocPlugin = fs.existsSync(protocPluginBash) + ? protocPluginBash + : path.join(__dirname, 'protoc-plugin.js'); -// --protoc can be passed from BUILD.bazel and overridden from the command line -let protocParameter = argv.protoc as string | string[] | undefined; -if (Array.isArray(protocParameter)) { - protocParameter = protocParameter[protocParameter.length - 1]; -} -const protoc = protocParameter ?? 'protoc'; + const argv = await yargs(processArgv) + .array('I') + .nargs('I', 1) + .alias('proto_path', 'I') + .alias('proto-path', 'I') + .demandOption('output_dir') + .describe('I', 'Include directory to pass to protoc') + .alias('output-dir', 'output_dir') + .describe( + 'gapic-validator_out', + 'Path to the output of the gapic validator' + ) + .alias('gapic-validator_out', 'gapic_validator_out') + .describe( + 'validation', + 'Option to set the validation of proto files, default value is true' + ) + .describe('output_dir', 'Path to a directory for the generated code') + .alias('grpc-service-config', 'grpc_service_config') + .describe('grpc-service-config', 'Path to gRPC service config JSON') + .alias('bundle-config', 'bundle_config') + .describe('bundle-config', 'Path to bundle request config JSON') + .alias('service-yaml', 'service_yaml') + .describe('service-yaml', 'Path to service yaml') + .alias('package-name', 'package_name') + .describe('package-name', 'Publish package name') + .alias('main-service', 'main_service') + .describe( + 'main_service', + 'Main service name (if the package has multiple services, this one will be used for Webpack bundle name)' + ) + .alias('common-proto-path', 'common_protos_path') + .describe( + 'common_proto_path', + 'Path to API common protos to use (if unset, will use protos shipped with google-gax)' + ) + .describe( + 'template', + `Semicolon-separated list of templates to use. Allowed values: "${allTemplates.join( + ';' + )}"` + ) + .describe( + 'metadata', + 'Set to true if GAPIC metadata generation is requested' + ) + .boolean('metadata') + .describe( + 'transport', + 'Default transport is gRPC. Set transport=rest for gRPC or non-gRPC API requires REST transport with http annotation in proto3 files.' + ) + .describe( + 'diregapic', + 'DIREGAPIC represents Discovery Rest GAPICs. Set to true for GCE API or non-gRPC APIs with a Discovery doc description.' + ) + .describe( + 'handwritten_layer', + 'Set to true if the library has a handwritten layer over GAPIC layer.' + ) + .describe( + 'legacy_proto_load', + 'Load protos from *.proto directly at runtime, without compiling a proto JSON file. May speed up loading huge proto trees. Disables all fallback modes.' + ) + .boolean('legacy-proto-load') + .alias('legacy-proto-load', 'legacy_proto_load') + .describe( + 'rest_numeric_enums', + 'The generated library will pass and accept enum values as numbers when using the HTTP/1.1 REST transport.' + ) + .boolean('rest-numeric-enums') + .alias('rest-numeric-enums', 'rest_numeric_enums') + .describe( + 'mixins', + 'Override the list of mixins to use. Semicolon-separated list of API names to mixin, e.g. google.longrunning.Operations. Use "none" to disable all mixins.' + ) + .string('mixins') + .describe('protoc', 'Path to protoc binary') + .usage('Usage: $0 -I /path/to/googleapis') + .usage(' --output_dir /path/to/output_directory') + .usage(' google/example/api/v1/api.proto').argv; -const protoDirs: string[] = []; -if (argv.I) { - protoDirs.push(...(argv.I as string[])); -} -const protoDirsArg = protoDirs.map(dir => `-I${dir}`); + const outputDir = argv.outputDir as string; + const grpcServiceConfig = argv.grpcServiceConfig as string | undefined; + const bundleConfig = argv.bundleConfig as string | undefined; + const serviceYaml = argv.serviceYaml as string | undefined; + const packageName = argv.packageName as string | undefined; + const mainServiceName = argv.mainService as string | undefined; + const template = argv.template as string | undefined; + const gapicValidatorOut = argv.gapicValidatorOut as string | undefined; + const validation = (argv.validation as string | undefined) ?? 'true'; + const metadata = argv.metadata as boolean | undefined; + const transport = argv.transport as string | undefined; + const diregapic = argv.diregapic as boolean | undefined; + const handwrittenLayer = argv.handwrittenLayer as boolean | undefined; + const legacyProtoLoad = argv.legacyProtoLoad as boolean | undefined; + const restNumericEnums = argv.restNumericEnums as boolean | undefined; + const mixins = argv.mixins as string | undefined; -const protoFiles: string[] = []; -if (Array.isArray(argv._)) { - protoFiles.push(...(argv._ as string[])); -} else { - protoFiles.push(argv._ as string); -} + // --protoc can be taken from environment or from the command line + let protocParameter = argv.protoc as string | string[] | undefined; + const protocEnv = process.env['PROTOC_PATH']; + if (Array.isArray(protocParameter)) { + protocParameter = protocParameter[protocParameter.length - 1]; + } + const protoc = protocParameter ?? protocEnv ?? 'protoc'; + if (!fs.existsSync(protoc)) { + throw new Error( + `protoc binary is not found at ${protoc}, use --protoc option to point to your protoc binary` + ); + } -const commonProtoPath = argv.commonProtoPath || googleGaxProtosDir; + const protoDirs: string[] = []; + if (argv.I) { + protoDirs.push(...(argv.I as string[])); + } + const protoDirsArg = protoDirs.map(dir => `-I${dir}`); -// run protoc command to generate client library -const protocCommand = [ - `--plugin=protoc-gen-typescript_gapic=${protocPlugin}`, - `--typescript_gapic_out=${outputDir}`, -]; -if (gapicValidatorOut && validation === 'true') { - protocCommand.push(`--gapic-validator_out=${gapicValidatorOut}`); -} -if (grpcServiceConfig) { - protocCommand.push( - `--typescript_gapic_opt="grpc-service-config=${grpcServiceConfig}"` - ); -} -if (bundleConfig) { - protocCommand.push(`--typescript_gapic_opt="bundle-config=${bundleConfig}"`); -} -if (serviceYaml) { - protocCommand.push(`--typescript_gapic_opt="service-yaml=${serviceYaml}"`); -} -if (packageName) { - protocCommand.push(`--typescript_gapic_opt="package-name=${packageName}"`); -} -if (mainServiceName) { - protocCommand.push( - `--typescript_gapic_opt="main-service=${mainServiceName}"` - ); -} -if (template) { - protocCommand.push(`--typescript_gapic_opt="template=${template}"`); -} -if (metadata) { - protocCommand.push('--typescript_gapic_opt="metadata"'); -} -if (diregapic) { - protocCommand.push('--typescript_gapic_opt="diregapic"'); -} -if (handwrittenLayer) { - protocCommand.push('--typescript_gapic_opt="handwritten-layer"'); -} -if (transport && transport === 'rest') { - protocCommand.push('--typescript_gapic_opt="transport=rest"'); -} -if (legacyProtoLoad) { - protocCommand.push('--typescript_gapic_opt="legacy-proto-load"'); -} -if (restNumericEnums) { - protocCommand.push('--typescript_gapic_opt="rest-numeric-enums"'); -} -if (mixins) { - protocCommand.push(`--typescript_gapic_opt="mixins=${mixins}"`); -} -protocCommand.push(...protoDirsArg); -protocCommand.push(...protoFiles); -protocCommand.push(`-I${commonProtoPath}`); + const protoFiles: string[] = []; + if (Array.isArray(argv._)) { + protoFiles.push(...(argv._ as string[])); + } else { + protoFiles.push(argv._ as string); + } -execFileSync(protoc, protocCommand, {stdio: 'inherit'}); + const commonProtoPath = argv.commonProtoPath || googleGaxProtosDir; -// create protos folder to copy proto file -const copyProtoDir = path.join(outputDir, 'protos'); -if (!fs.existsSync(copyProtoDir)) { - fs.mkdirSync(copyProtoDir); -} -// copy proto file to generated folder -const protoList = path.join(outputDir, 'proto.list'); -const protoFilesSet = new Set(protoFiles); -fs.readFileSync(protoList) - .toString() - .split('\n') - .forEach(proto => { - protoDirs.forEach(dir => { + // run protoc command to generate client library + const protocCommand = [ + `--plugin=protoc-gen-typescript_gapic=${protocPlugin}`, + `--typescript_gapic_out=${outputDir}`, + ]; + if (gapicValidatorOut && validation === 'true') { + protocCommand.push(`--gapic-validator_out=${gapicValidatorOut}`); + } + if (grpcServiceConfig) { + protocCommand.push( + `--typescript_gapic_opt="grpc-service-config=${grpcServiceConfig}"` + ); + } + if (bundleConfig) { + protocCommand.push( + `--typescript_gapic_opt="bundle-config=${bundleConfig}"` + ); + } + if (serviceYaml) { + protocCommand.push(`--typescript_gapic_opt="service-yaml=${serviceYaml}"`); + } + if (packageName) { + protocCommand.push(`--typescript_gapic_opt="package-name=${packageName}"`); + } + if (mainServiceName) { + protocCommand.push( + `--typescript_gapic_opt="main-service=${mainServiceName}"` + ); + } + if (template) { + protocCommand.push(`--typescript_gapic_opt="template=${template}"`); + } + if (metadata) { + protocCommand.push('--typescript_gapic_opt="metadata"'); + } + if (diregapic) { + protocCommand.push('--typescript_gapic_opt="diregapic"'); + } + if (handwrittenLayer) { + protocCommand.push('--typescript_gapic_opt="handwritten-layer"'); + } + if (transport && transport === 'rest') { + protocCommand.push('--typescript_gapic_opt="transport=rest"'); + } + if (legacyProtoLoad) { + protocCommand.push('--typescript_gapic_opt="legacy-proto-load"'); + } + if (restNumericEnums) { + protocCommand.push('--typescript_gapic_opt="rest-numeric-enums"'); + } + if (mixins) { + protocCommand.push(`--typescript_gapic_opt="mixins=${mixins}"`); + } + protocCommand.push(...protoDirsArg); + protocCommand.push(...protoFiles); + protocCommand.push(`-I${commonProtoPath}`); + + const {stdout, stderr} = await execFileAsync(protoc, protocCommand); + console.log(stdout); + console.warn(stderr); + + // create protos folder to copy proto file + const copyProtoDir = path.join(outputDir, 'protos'); + if (!fs.existsSync(copyProtoDir)) { + fs.mkdirSync(copyProtoDir); + } + // copy proto file to generated folder + const protoList = path.join(outputDir, 'proto.list'); + const protoFilesSet = new Set(protoFiles); + const protoListContent = (await fsp.readFile(protoList)).toString(); + const protoListLines = protoListContent.split('\n'); + for (const proto of protoListLines) { + for (const dir of protoDirs) { const protoFile = path.join(dir, proto); if ( (protoFilesSet.has(protoFile) || @@ -262,9 +260,11 @@ fs.readFileSync(protoList) fs.existsSync(protoFile) ) { const destination = path.join(copyProtoDir, proto); - fs.mkdirpSync(path.dirname(destination)); - fs.copyFileSync(protoFile, destination); + await fsp.cp(protoFile, destination, {recursive: true}); } - }); - }); -fs.unlinkSync(protoList); + } + } + await fsp.unlink(protoList); +} + +main(process.argv.slice(2)); diff --git a/typescript/src/generator.ts b/typescript/src/generator.ts index 1a71d21f8..12576935a 100644 --- a/typescript/src/generator.ts +++ b/typescript/src/generator.ts @@ -16,14 +16,20 @@ import * as path from 'path'; import * as fs from 'fs'; import * as util from 'util'; import * as yaml from 'js-yaml'; -import * as protos from '../../protos'; +import * as serializer from 'proto3-json-serializer'; +import {protobuf} from 'google-gax'; +import type * as protos from '../../protos/index.js'; +import protoJson from '../../protos/protos.json' assert { type: 'json' }; +import * as url from 'url'; -import {API} from './schema/api'; -import {processTemplates} from './templater'; -import {BundleConfigClient, BundleConfig} from './bundle'; -import {ServiceYaml} from './serviceyaml'; -import {commonPrefix, duration} from './util'; -import Long = require('long'); +import {API} from './schema/api.js'; +import {processTemplates} from './templater.js'; +import {BundleConfigClient, BundleConfig} from './bundle.js'; +import {ServiceYaml} from './serviceyaml.js'; +import {commonPrefix} from './util.js'; + +// https://blog.logrocket.com/alternatives-dirname-node-js-es-modules/#help-im-missing-dirname +const __dirname = url.fileURLToPath(new URL('.', import.meta.url)); function getStdin() { return new Promise(resolve => { @@ -81,33 +87,17 @@ export class Generator { restNumericEnums?: boolean; mixinsOverride?: string[]; + private root: protobuf.Root; + constructor() { - this.request = protos.google.protobuf.compiler.CodeGeneratorRequest.create(); - this.response = protos.google.protobuf.compiler.CodeGeneratorResponse.create(); - this.grpcServiceConfig = protos.grpc.service_config.ServiceConfig.create(); + this.root = protobuf.Root.fromJSON(protoJson); + this.request = {} as protos.google.protobuf.compiler.CodeGeneratorRequest; + this.response = {} as protos.google.protobuf.compiler.CodeGeneratorResponse; + this.grpcServiceConfig = {} as protos.grpc.service_config.ServiceConfig; this.paramMap = {}; this.templates = defaultTemplates; } - // Fixes gRPC service config to replace string google.protobuf.Duration - // to a proper Duration message, since protobufjs does not support - // string Durations such as "30s". - private static updateDuration(obj: {[key: string]: {}}) { - const fieldNames = [ - 'timeout', - 'initialBackoff', - 'maxBackoff', - 'hedgingDelay', - ]; - for (const key of Object.keys(obj)) { - if (fieldNames.includes(key) && typeof obj[key] === 'string') { - obj[key] = duration((obj[key] as unknown) as string); - } else if (typeof obj[key] === 'object') { - this.updateDuration(obj[key]); - } - } - } - private getParamMap(parameter: string) { // Example: "grpc-service-config=path/to/grpc-service-config.json","package-name=packageName" const parameters = parameter.split(','); @@ -132,10 +122,15 @@ export class Generator { } const content = await readFile(filename); const json = JSON.parse(content.toString()); - Generator.updateDuration(json); - this.grpcServiceConfig = protos.grpc.service_config.ServiceConfig.fromObject( - json - ); + const ServiceConfig = this.root.lookupType('ServiceConfig'); + if (!ServiceConfig) { + throw new Error('Cannot find ServiceConfig type in proto JSON'); + } + const deserialized = serializer.fromProto3JSON(ServiceConfig, json); + if (!deserialized) { + throw new Error('Cannot parse the content of gRPC service config'); + } + this.grpcServiceConfig = ServiceConfig.toObject(deserialized) as protos.grpc.service_config.ServiceConfig; } } @@ -240,9 +235,14 @@ export class Generator { async initializeFromStdin() { const inputBuffer = await getStdin(); - this.request = protos.google.protobuf.compiler.CodeGeneratorRequest.decode( - inputBuffer - ); + const CodeGeneratorRequest = this.root.lookupType('CodeGeneratorRequest'); + if (!CodeGeneratorRequest) { + throw new Error('Cannot find CodeGeneratorRequest type in proto JSON'); + } + this.request = CodeGeneratorRequest.toObject(CodeGeneratorRequest.decode(inputBuffer)) as protos.google.protobuf.compiler.CodeGeneratorRequest; + if (!this.request.protoFile) { + throw new Error('No input files given to the protoc plugin.'); + } if (this.request.parameter) { this.getParamMap(this.request.parameter); await this.readGrpcServiceConfig(); @@ -267,7 +267,11 @@ export class Generator { protoFilenames.push(proto.name); } } - const protoList = protos.google.protobuf.compiler.CodeGeneratorResponse.File.create(); + const File = this.root.lookupType('File'); + if (!File) { + throw new Error('Cannot find File type in proto JSON'); + } + const protoList = {} as protos.google.protobuf.compiler.CodeGeneratorResponse.File; protoList.name = 'proto.list'; protoList.content = protoFilenames.join('\n') + '\n'; this.response.file.push(protoList); @@ -316,10 +320,13 @@ export class Generator { } async generate() { - this.response = protos.google.protobuf.compiler.CodeGeneratorResponse.create(); - this.response.supportedFeatures = new Long( - protos.google.protobuf.compiler.CodeGeneratorResponse.Feature.FEATURE_PROTO3_OPTIONAL - ); + const CodeGeneratorResponse = this.root.lookupType('CodeGeneratorResponse'); + if (!CodeGeneratorResponse) { + throw new Error('Cannot find CodeGeneratorResponse type in proto JSON'); + } + this.response = {} as protos.google.protobuf.compiler.CodeGeneratorResponse; + this.response.supportedFeatures = 1; // FEATURE_PROTO3_OPTIONAL + this.response.file = []; try { this.addProtosToResponse(); @@ -334,8 +341,8 @@ export class Generator { } } - const outputBuffer = protos.google.protobuf.compiler.CodeGeneratorResponse.encode( - this.response + const outputBuffer = CodeGeneratorResponse.encode( + CodeGeneratorResponse.fromObject(this.response) ).finish(); process.stdout.write(outputBuffer); } diff --git a/typescript/src/protoc-plugin.ts b/typescript/src/protoc-plugin.ts index 8b8307529..28aa911d2 100644 --- a/typescript/src/protoc-plugin.ts +++ b/typescript/src/protoc-plugin.ts @@ -14,17 +14,9 @@ // See the License for the specific language governing permissions and // limitations under the License. -import * as yargs from 'yargs'; -import {Generator} from './generator'; -import {IArguments} from './gapic-generator-typescript'; +import {Generator} from './generator.js'; async function main() { - const argv = yargs.argv as IArguments; - - if (argv.descriptor) { - throw new Error('Descriptor option is not yet supported.'); - } - const generator = new Generator(); await generator.initializeFromStdin(); await generator.generate(); diff --git a/typescript/src/schema/api.ts b/typescript/src/schema/api.ts index 3cc523e00..94059c7e7 100644 --- a/typescript/src/schema/api.ts +++ b/typescript/src/schema/api.ts @@ -12,12 +12,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -import * as protos from '../../../protos'; +import type * as protos from '../../../protos/index.js'; -import {Naming, Options as namingOptions} from './naming'; -import {Proto, MessagesMap, ServiceDescriptorProto} from './proto'; -import {ResourceDatabase, ResourceDescriptor} from './resource-database'; -import {CommentsMap} from './comments'; +import {Naming, Options as namingOptions} from './naming.js'; +import {Proto, MessagesMap, ServiceDescriptorProto} from './proto.js'; +import {ResourceDatabase, ResourceDescriptor} from './resource-database.js'; +import {CommentsMap} from './comments.js'; export interface ProtosMap { [filename: string]: Proto; @@ -109,11 +109,13 @@ export class API { allMessages['.' + fd.package! + '.' + message.name!] = message; }); } + const commentsMap = new CommentsMap(fileDescriptors); const filteredProtos = API.filterOutIgnoredServices( fileDescriptors.filter(fd => fd.name) ); + this.protos = filteredProtos.reduce((map, fd) => { map[fd.name!] = new Proto({ fd, @@ -128,6 +130,7 @@ export class API { }, {} as ProtosMap); const serviceNamesList: string[] = []; + filteredProtos .filter(fd => fd.service) .reduce((servicesList, fd) => { @@ -163,11 +166,13 @@ export class API { this.port = port ?? this.port ?? '443'; serviceNamesList.push(service.name || this.naming.name); }); + if (serviceNamesList.length === 0) { throw new Error( `Can't find ${this.naming.name}'s service names, please make sure that services are defined in the proto file.` ); } + this.mainServiceName = options.mainServiceName || serviceNamesList[0]; // For generating keywords in package.json this.uniqKeywords = [ diff --git a/typescript/src/schema/comments.ts b/typescript/src/schema/comments.ts index 81c70469e..a304f2666 100644 --- a/typescript/src/schema/comments.ts +++ b/typescript/src/schema/comments.ts @@ -12,7 +12,29 @@ // See the License for the specific language governing permissions and // limitations under the License. -import * as protos from '../../../protos'; +import type * as protos from '../../../protos/index.js'; + +// Copied from FieldDescriptorProto to simplify the build +export enum Type { + TYPE_DOUBLE = 1, + TYPE_FLOAT = 2, + TYPE_INT64 = 3, + TYPE_UINT64 = 4, + TYPE_INT32 = 5, + TYPE_FIXED64 = 6, + TYPE_FIXED32 = 7, + TYPE_BOOL = 8, + TYPE_STRING = 9, + TYPE_GROUP = 10, + TYPE_MESSAGE = 11, + TYPE_BYTES = 12, + TYPE_UINT32 = 13, + TYPE_ENUM = 14, + TYPE_SFIXED32 = 15, + TYPE_SFIXED64 = 16, + TYPE_SINT32 = 17, + TYPE_SINT64 = 18, +} // For one comment in service and method level, paramName & paramName will be ''. // Only field has name and type of parameters. @@ -49,8 +71,8 @@ export class CommentsMap { // since the field tag of Service is 6. // [6, x, 2, y] refers to the yth method in that service, // since the field tag of Method is 2. - const p = location.path!; - if (p.length === 2 && p[0] === 6) { + const p = location.path; + if (p && p.length === 2 && p[0] === 6) { if (fd.service && fd.service[p[1]] && fd.service[p[1]].name) { const serviceName = fd.service[p[1]].name!; const comments = (location.leadingComments || '') @@ -63,7 +85,7 @@ export class CommentsMap { }; commentsMap[serviceName] = serviceComment; } - } else if (p.length === 4 && p[2] === 2 && p[0] === 6) { + } else if (p && p.length === 4 && p[2] === 2 && p[0] === 6) { if ( fd.service && fd.service[p[1]] && @@ -85,7 +107,7 @@ export class CommentsMap { commentsMap[key] = methodComment; } } - } else if (p.length === 4 && p[0] === 4 && p[2] === 2) { + } else if (p && p.length === 4 && p[0] === 4 && p[2] === 2) { // This contains a field's information // example, this path: // [ 4, 3, 2, 7, 1 ] @@ -108,11 +130,8 @@ export class CommentsMap { const messageType = fd.messageType[p[1]].name; const field = fd.messageType[p[1]].field![p[3]]; if (field) { - //Type Enum: TYPE_STRING, TYPE_BOOL, etc. - let paramType = - protos.google.protobuf.FieldDescriptorProto.Type[ - field.type! - ]; + // Type Enum: TYPE_STRING, TYPE_BOOL, etc. + let paramType = Type[field.type!]; // If field.label is 'REPEATED' then the paramType is an array. if (field.label === 3) { paramType += '[]'; diff --git a/typescript/src/schema/naming.ts b/typescript/src/schema/naming.ts index a922297d7..88dfeaa6b 100644 --- a/typescript/src/schema/naming.ts +++ b/typescript/src/schema/naming.ts @@ -12,11 +12,11 @@ // See the License for the specific language governing permissions and // limitations under the License. -import * as protos from '../../../protos'; -import {commonPrefix} from '../util'; -import {API} from './api'; -import {BundleConfig} from '../bundle'; -import {ServiceYaml} from '../serviceyaml'; +import type * as protos from '../../../protos/index.js'; +import {commonPrefix} from '../util.js'; +import {API} from './api.js'; +import {BundleConfig} from '../bundle.js'; +import {ServiceYaml} from '../serviceyaml.js'; export interface Options { grpcServiceConfig: protos.grpc.service_config.ServiceConfig; diff --git a/typescript/src/schema/proto.ts b/typescript/src/schema/proto.ts index ee11e760e..d41be527d 100644 --- a/typescript/src/schema/proto.ts +++ b/typescript/src/schema/proto.ts @@ -12,20 +12,21 @@ // See the License for the specific language governing permissions and // limitations under the License. -import * as protos from '../../../protos'; -import {CommentsMap, Comment} from './comments'; -import {processPathTemplate, milliseconds} from '../util'; -import {ResourceDescriptor, ResourceDatabase} from './resource-database'; +import type * as protos from '../../../protos/index.js'; +import {CommentsMap, Comment, Type} from './comments.js'; +import {processPathTemplate, milliseconds} from '../util.js'; +import {ResourceDescriptor, ResourceDatabase} from './resource-database.js'; import { RetryableCodeMap, defaultParametersName, defaultNonIdempotentRetryCodesName, defaultParameters, -} from './retryable-code-map'; -import {BundleConfig} from '../bundle'; -import {Options} from './naming'; -import {ServiceYaml} from '../serviceyaml'; -import {google} from '../../../protos'; +} from './retryable-code-map.js'; +import {BundleConfig} from '../bundle.js'; +import {Options} from './naming.js'; +import {ServiceYaml} from '../serviceyaml.js'; +import {protobuf} from 'google-gax'; +import protoJson from '../../../protos/protos.json' assert { type: 'json' }; const COMMON_PROTO_LIST = [ 'google.api', @@ -99,7 +100,7 @@ export interface ServiceDescriptorProto LongRunningOperationsMixin: number; protoFile: string; diregapicLRO?: MethodDescriptorProto[]; - httpRules?: google.api.IHttpRule[]; + httpRules?: protos.google.api.IHttpRule[]; } export interface ServicesMap { @@ -235,27 +236,26 @@ function pagingField( const inputType = messages[method.inputType!]; const outputType = messages[method.outputType!]; const hasPageToken = - inputType && inputType.field!.some(field => field.name === 'page_token'); + inputType && inputType.field && inputType.field.some(field => field.name === 'page_token'); // Support paginated methods defined in Discovery-based APIs, // where it uses "max_results" to define the maximum number of // paginated resources to return. const hasPageSize = - inputType && - inputType.field!.some( + inputType && inputType.field && + inputType.field.some( field => field.name === 'page_size' || (diregapic && field.name === 'max_results') ); const hasNextPageToken = - outputType && - outputType.field!.some(field => field.name === 'next_page_token'); + outputType && outputType.field && + outputType.field.some(field => field.name === 'next_page_token'); if (!hasPageToken || !hasPageSize || !hasNextPageToken) { return undefined; } const repeatedFields = outputType.field!.filter( field => - field.label === - protos.google.protobuf.FieldDescriptorProto.Label.LABEL_REPEATED + field.label === 3 // LABEL_REPEATED ); if (repeatedFields.length === 0) { return undefined; @@ -310,16 +310,16 @@ function pagingResponseType( return undefined; } if ( - field.type === protos.google.protobuf.FieldDescriptorProto.Type.TYPE_MESSAGE + field.type === 11 // TYPE_MESSAGE ) { return field.typeName; //.google.showcase.v1beta1.EchoResponse } - const type = protos.google.protobuf.FieldDescriptorProto.Type[field.type]; + const type = Type[field.type]; // .google.protobuf.FieldDescriptorProto.Type.TYPE_STRING return '.google.protobuf.FieldDescriptorProto.Type.' + type; } -// Ignore non-diregapic pagation method where its response type contains a map. +// Ignore non-diregapic pagination method where its response type contains a map. function ignoreMapPagingMethod( messages: MessagesMap, method: MethodDescriptorProto, @@ -373,9 +373,8 @@ function pagingMapResponseType( if (pagingMapResponse.field) { if ( pagingMapResponse.field.length === 2 && - pagingMapResponse.field[0] === 'key' && - pagingMapResponse.field[0].type !== - protos.google.protobuf.FieldDescriptorProto.Type.TYPE_STRING + pagingMapResponse.field[0].name === 'key' && + pagingMapResponse.field[0].type !== 9 // TYPE_STRING ) { throw new Error( `Paginated "${method.name}" method map response field key's type should be string` @@ -393,22 +392,27 @@ function getMethodConfig( ): protos.grpc.service_config.MethodConfig { let exactMatch: protos.grpc.service_config.IMethodConfig | undefined; let serviceMatch: protos.grpc.service_config.IMethodConfig | undefined; - for (const config of grpcServiceConfig.methodConfig) { - if (!config.name) { - continue; - } - for (const name of config.name) { - if (name.service === serviceName && !name.method) { - serviceMatch = config; + if (Array.isArray(grpcServiceConfig.methodConfig)) { + for (const config of grpcServiceConfig.methodConfig) { + if (!config.name) { + continue; } - if (name.service === serviceName && name.method === methodName) { - exactMatch = config; + for (const name of config.name) { + if (name.service === serviceName && !name.method) { + serviceMatch = config; + } else if (name.service === serviceName && name.method === methodName) { + exactMatch = config; + } } } + } else { + console.warn("Warning: cannot parse gRPC service config: methodConfig is not an array."); } - const result = protos.grpc.service_config.MethodConfig.fromObject( + const root = protobuf.Root.fromJSON(protoJson); + const MethodConfig = root.lookupType('MethodConfig'); + const result = MethodConfig.toObject(MethodConfig.fromObject( exactMatch || serviceMatch || {} - ); + )) as protos.grpc.service_config.MethodConfig; return result; } @@ -495,10 +499,8 @@ function augmentMethod( const inputType = parameters.allMessages[method.inputType!]; const repeatedFields = inputType.field!.filter( field => - field.label === - protos.google.protobuf.FieldDescriptorProto.Label - .LABEL_REPEATED && - field.name === bc.batchDescriptor.batched_field + field.label === 3 // LABEL_REPEATED + && field.name === bc.batchDescriptor.batched_field ); if (!repeatedFields[0].typeName) { throw new Error( @@ -767,7 +769,7 @@ function augmentService(parameters: AugmentServiceParameters) { augmentedService.bundleConfigs = parameters.options.bundleConfigs?.filter( bc => bc.serviceName === parameters.service.name ); - augmentedService.method = augmentedService.method.map(method => + augmentedService.method = augmentedService.method?.map(method => augmentMethod( { allMessages: parameters.allMessages, @@ -777,7 +779,7 @@ function augmentService(parameters: AugmentServiceParameters) { }, method ) - ); + ) ?? []; augmentedService.bundleConfigsMethods = augmentedService.method.filter( method => method.bundleConfig ); @@ -914,6 +916,14 @@ interface ProtoParameters { } export class Proto { + // instrumentation for unit tests + static constructorCallCount = 0; + static constructorCallArgs: ProtoParameters[] = []; + static resetInstrumentation() { + Proto.constructorCallCount = 0; + Proto.constructorCallArgs = []; + } + filePB2: protos.google.protobuf.IFileDescriptorProto; services: ServicesMap = {}; allMessages: MessagesMap = {}; @@ -925,6 +935,9 @@ export class Proto { // allResourceDatabase: resources that defined by `google.api.resource` // resourceDatabase: all resources defined by `google.api.resource` or `google.api.resource_definition` constructor(parameters: ProtoParameters) { + ++Proto.constructorCallCount; + Proto.constructorCallArgs.push(parameters); + parameters.fd.service = parameters.fd.service || []; parameters.fd.messageType = parameters.fd.messageType || []; diff --git a/typescript/src/schema/resource-database.ts b/typescript/src/schema/resource-database.ts index 5d4b0f41a..d3d3b4e2e 100644 --- a/typescript/src/schema/resource-database.ts +++ b/typescript/src/schema/resource-database.ts @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -import * as protos from '../../../protos'; -import {getResourceNameByPattern} from '../util'; +import type * as protos from '../../../protos/index.js'; +import {getResourceNameByPattern} from '../util.js'; export interface ResourceDescriptor extends protos.google.api.IResourceDescriptor { @@ -181,9 +181,9 @@ export class ResourceDatabase { } private getParams(pattern: string): string[] { - let params = pattern.match(/{[a-zA-Z_]+(?:=.*?)?}/g) || []; - params = params.map(p => p.replace(/{([a-zA-Z_]+).*/, '$1')); - return params; + const params = pattern.match(/{[a-zA-Z_]+(?:=.*?)?}/g) || []; + const result = params.map(p => p.replace(/{([a-zA-Z_]+).*/, '$1')); + return result; } private getResourceDescriptor( diff --git a/typescript/src/schema/retryable-code-map.ts b/typescript/src/schema/retryable-code-map.ts index f017a9da1..a0473fa77 100644 --- a/typescript/src/schema/retryable-code-map.ts +++ b/typescript/src/schema/retryable-code-map.ts @@ -12,15 +12,36 @@ // See the License for the specific language governing permissions and // limitations under the License. -import * as objectHash from 'object-hash'; -import * as protos from '../../../protos'; +import objectHash from 'object-hash'; +import type * as protos from '../../../protos/index.js'; + +// copied from google.rpc.Code to simplify build +export enum Code { + OK = 0, + CANCELLED = 1, + UNKNOWN = 2, + INVALID_ARGUMENT = 3, + DEADLINE_EXCEEDED = 4, + NOT_FOUND = 5, + ALREADY_EXISTS = 6, + PERMISSION_DENIED = 7, + UNAUTHENTICATED = 16, + RESOURCE_EXHAUSTED = 8, + FAILED_PRECONDITION = 9, + ABORTED = 10, + OUT_OF_RANGE = 11, + UNIMPLEMENTED = 12, + INTERNAL = 13, + UNAVAILABLE = 14, + DATA_LOSS = 15, +} export const defaultNonIdempotentRetryCodesName = 'non_idempotent'; export const defaultNonIdempotentCodes: protos.google.rpc.Code[] = []; export const defaultIdempotentRetryCodesName = 'idempotent'; export const defaultIdempotentCodes = [ - protos.google.rpc.Code.DEADLINE_EXCEEDED, - protos.google.rpc.Code.UNAVAILABLE, + Code.DEADLINE_EXCEEDED, + Code.UNAVAILABLE, ]; export const defaultParametersName = 'default'; export const defaultParameters = { @@ -58,10 +79,10 @@ export class RetryableCodeMap { this.prettyParamNamesMap = {}; // build reverse mapping for enum: 0 => OK, 1 => CANCELLED, etc. this.codeEnumMapping = {}; - const allCodes = Object.keys(protos.google.rpc.Code); + const allCodes = Object.keys(Code); for (const code of allCodes) { this.codeEnumMapping[ - ((protos.google.rpc.Code as unknown) as { + ((Code as unknown) as { [key: string]: protos.google.rpc.Code; })[code].toString() ] = code; diff --git a/typescript/src/serviceyaml.ts b/typescript/src/serviceyaml.ts index 143cbb619..44c82fdd2 100644 --- a/typescript/src/serviceyaml.ts +++ b/typescript/src/serviceyaml.ts @@ -12,10 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. -import {google} from 'protos'; +import type * as protos from '../../protos/index.js'; export interface Http { - rules: google.api.IHttpRule[]; + rules: protos.google.api.IHttpRule[]; } export interface ServiceYaml { diff --git a/typescript/src/templater.ts b/typescript/src/templater.ts index 6b68bcabd..9b6eee9f0 100644 --- a/typescript/src/templater.ts +++ b/typescript/src/templater.ts @@ -13,14 +13,14 @@ // limitations under the License. import * as fs from 'fs'; -import * as nunjucks from 'nunjucks'; +import nunjucks from 'nunjucks'; import * as path from 'path'; import * as util from 'util'; -import * as protos from '../../protos'; +import type * as protos from '../../protos/index.js'; -import {API} from './schema/api'; -import {MethodDescriptorProto, ServiceDescriptorProto} from './schema/proto'; +import {API} from './schema/api.js'; +import {MethodDescriptorProto, ServiceDescriptorProto} from './schema/proto.js'; interface Namer { register: (name: string, serviceName?: string) => string; @@ -56,10 +56,10 @@ async function recursiveFileList( return result; } -function createSnippetIndexMetadata( +async function createSnippetIndexMetadata( api: API, basePath: string -): protos.google.cloud.tools.snippetgen.snippetindex.v1.IIndex { +): Promise { const clientLibrary: protos.google.cloud.tools.snippetgen.snippetindex.v1.IClientLibrary = { name: `nodejs-${api.naming.productName.toKebabCase()}`, version: '0.1.0', @@ -67,14 +67,14 @@ function createSnippetIndexMetadata( apis: [{id: api.naming.protoPackage, version: api.naming.version}], }; - const snippets = createSnippetMetadata(api, basePath); + const snippets = await createSnippetMetadata(api, basePath); return {clientLibrary, snippets}; } -function createSnippetMetadata( +async function createSnippetMetadata( api: API, basePath: string -): protos.google.cloud.tools.snippetgen.snippetindex.v1.ISnippet[] { +): Promise { const snippets: protos.google.cloud.tools.snippetgen.snippetindex.v1.ISnippet[] = []; for (const service of api.services) { @@ -85,7 +85,7 @@ function createSnippetMetadata( paramNameAndTypes.push({name: x.paramName, type: x.paramType}) ); - const startRegionTag = countRegionTagLines( + const startRegionTag = await countRegionTagLines( 'samples/generated/$version/$service.$method.js.njk', basePath, api, @@ -146,14 +146,14 @@ function createSnippetMetadata( return snippets; } -function countRegionTagLines( +async function countRegionTagLines( templateName: string, basePath: string, api: API, service: ServiceDescriptorProto, method: MethodDescriptorProto ) { - const id = loadNamerPlugin(basePath); + const id = await loadNamerPlugin(basePath); const processed = nunjucks.render(templateName, {api, service, method, id}); const processedArray = processed.split(/\r?\n/); @@ -197,13 +197,13 @@ function renderFile( } } } - const output = protos.google.protobuf.compiler.CodeGeneratorResponse.File.create(); + const output = {} as protos.google.protobuf.compiler.CodeGeneratorResponse.File; output.name = targetFilename; output.content = processed; return output; } -function processOneTemplate( +async function processOneTemplate( basePath: string, templateFilename: string, api: API, @@ -227,8 +227,8 @@ function processOneTemplate( .replace(/\.njk$/, '') .replace(/\$apiNamingProtoPackage/, api.naming.protoPackage); - const jsonMetadata = createSnippetIndexMetadata(api, basePath); - const output = protos.google.protobuf.compiler.CodeGeneratorResponse.File.create(); + const jsonMetadata = await createSnippetIndexMetadata(api, basePath); + const output = {} as protos.google.protobuf.compiler.CodeGeneratorResponse.File; output.name = pushFilename; output.content = JSON.stringify(jsonMetadata, null, ' ') + '\n'; @@ -275,7 +275,7 @@ function processOneTemplate( return result; } -function loadNamerPlugin(basePath: string) { +async function loadNamerPlugin(basePath: string) { const namerLocation = path.join(basePath, 'namer.js'); const id: Namer = { register: () => { @@ -287,13 +287,7 @@ function loadNamerPlugin(basePath: string) { }; if (fs.existsSync(namerLocation)) { let namer: Namer; - // different location when running from Bazel, hence try {} - // (because Bazel alters behavior of `require`) - try { - namer = require(namerLocation) as Namer; - } catch (err) { - namer = require(namerLocation.replace(/^..\//, '')) as Namer; - } + namer = (await import(namerLocation)).default as Namer; const {register, get} = namer; id.register = register; id.get = get; @@ -307,12 +301,12 @@ export async function processTemplates(basePath: string, api: API) { basePath = basePath.replace(/\/*$/, ''); // If this template provides a namer plugin, load it - const id = loadNamerPlugin(basePath); + const id = await loadNamerPlugin(basePath); const templateFiles = await recursiveFileList(basePath, /^(?!_[^_]).*\.njk$/); const result: protos.google.protobuf.compiler.CodeGeneratorResponse.File[] = []; for (const templateFilename of templateFiles) { - const generatedFiles = processOneTemplate( + const generatedFiles = await processOneTemplate( basePath, templateFilename, api, diff --git a/typescript/src/util.ts b/typescript/src/util.ts index 18394d841..8ee94a567 100644 --- a/typescript/src/util.ts +++ b/typescript/src/util.ts @@ -12,7 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. -import * as protos from '../../protos'; +import * as fs from 'fs'; +import * as fsp from 'fs/promises'; +import * as path from 'path'; +import type * as protos from '../../protos/index.js'; export function commonPrefix(strings: string[]): string { if (strings.length === 0) { @@ -31,32 +34,6 @@ export function commonPrefix(strings: string[]): string { return result; } -// Convert a string Duration, e.g. "600s", to a proper protobuf type since -// protobufjs does not support it at this moment. -export function duration(text: string): protos.google.protobuf.Duration { - const multipliers: {[suffix: string]: number} = { - s: 1, - m: 60, - h: 60 * 60, - d: 60 * 60 * 24, - }; - const match = text.match(/^([\d.]+)([smhd])$/); - if (!match) { - throw new Error(`Cannot parse "${text}" into google.protobuf.Duration.`); - } - const float = Number(match[1]); - const suffix = match[2]; - const multiplier = multipliers[suffix]; - const seconds = float * multiplier; - const floor = Math.floor(seconds); - const frac = seconds - floor; - const result = protos.google.protobuf.Duration.fromObject({ - seconds: floor, - nanos: frac * 1e9, - }); - return result; -} - // Convert a Duration to (possibly fractional) seconds. export function seconds(duration: protos.google.protobuf.IDuration): number { return Number(duration.seconds || 0) + Number(duration.nanos || 0) * 1e-9; @@ -161,14 +138,6 @@ String.prototype.toSnakeCase = function ( return words.join('_'); }; -String.prototype.replaceAll = function ( - this: string, - search: string, - replacement: string -) { - return this.split(search).join(replacement); -}; - Array.prototype.toCamelCaseString = function ( this: string[], joiner: string diff --git a/typescript/test/test-application/test-js.ts b/typescript/test/test-application/test-js.ts deleted file mode 100644 index 386dd776a..000000000 --- a/typescript/test/test-application/test-js.ts +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -import * as child_process from 'child_process'; -import * as fs from 'fs-extra'; -import * as path from 'path'; -import {describe, it} from 'mocha'; - -const root = process.cwd(); -const baselineZip = path.join( - root, - 'bazel-testlogs', - 'unit_tests', - 'test.outputs', - 'outputs.zip' -); -const showcaseLib = path.join(root, '.test-out-showcase'); -const packedLib = 'showcase-0.1.0.tgz'; -const packedLibPath = path.join(showcaseLib, packedLib); -const testFixtures = path.join(root, 'test-fixtures'); -const protos = path.join(testFixtures, 'protos'); -const jsTestApplication = path.join(testFixtures, 'test-application-js'); -const localJsApplication = path.join(root, 'test-application-js'); - -function spawn(cmd: string, args: string[]) { - return new Promise((resolve, reject) => { - const child = child_process.spawn(cmd, args); - child.stdout.pipe(process.stdout); - child.stderr.pipe(process.stderr); - child.stdin.end(); - child.on('close', (code, signal) => { - if (code !== 0 || signal) { - reject( - new Error(`Process ${cmd} failed: code ${code}, signal ${signal}`) - ); - } else { - resolve(); - } - }); - }); -} - -describe('Test application for JavaScript users', () => { - it('unzip showcase test output', async function () { - this.timeout(240000); - process.chdir(root); - await spawn('unzip', [ - '-o', - baselineZip, - '.test-out-showcase/*', - '-d', - '.', - ]); - }); - it('npm install showcase', async function () { - this.timeout(240000); - // copy protos to generated client library and copy test application to local. - fs.copySync(protos, path.join(showcaseLib, 'protos')); - fs.copySync(jsTestApplication, localJsApplication); - process.chdir(showcaseLib); - await spawn('npm', ['install']); - }); - it('npm pack showcase library and copy it to test application', async function () { - this.timeout(240000); - await spawn('npm', ['pack']); - fs.copySync(packedLibPath, path.join(localJsApplication, packedLib)); - }); - it('npm install showcase library in test application', async function () { - this.timeout(500000); - process.chdir(localJsApplication); - await spawn('npm', ['install', '--legacy-peer-deps']); - }); - it('run integration in test application', async function () { - this.timeout(240000); - await spawn('npm', ['test']); - }); - it('run browser test in application', async function () { - this.timeout(240000); - await spawn('npm', ['run', 'browser-test']); - }); -}); diff --git a/typescript/test/test-application/test-ts.ts b/typescript/test/test-application/test-ts.ts deleted file mode 100644 index fbdc5ea5e..000000000 --- a/typescript/test/test-application/test-ts.ts +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// https://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -import * as child_process from 'child_process'; -import * as fs from 'fs-extra'; -import * as path from 'path'; -import {describe, it} from 'mocha'; - -const root = process.cwd(); -const baselineZip = path.join( - root, - 'bazel-testlogs', - 'unit_tests', - 'test.outputs', - 'outputs.zip' -); -const showcaseLib = path.join(root, '.test-out-showcase'); -const packedLib = 'showcase-0.1.0.tgz'; -const packedLibPath = path.join(showcaseLib, packedLib); -const testFixtures = path.join(root, 'test-fixtures'); -const protos = path.join(testFixtures, 'protos'); -const tsTestApplication = path.join(testFixtures, 'test-application-ts'); -const localTsApplication = path.join(root, 'test-application-ts'); - -function spawn(cmd: string, args: string[]) { - return new Promise((resolve, reject) => { - const child = child_process.spawn(cmd, args); - child.stdout.pipe(process.stdout); - child.stderr.pipe(process.stderr); - child.stdin.end(); - child.on('close', (code, signal) => { - if (code !== 0 || signal) { - reject( - new Error(`Process ${cmd} failed: code ${code}, signal ${signal}`) - ); - } else { - resolve(); - } - }); - }); -} - -describe('Test application for TypeScript users', () => { - it('unzip showcase test output', async function () { - this.timeout(240000); - process.chdir(root); - await spawn('unzip', [ - '-o', - baselineZip, - '.test-out-showcase/*', - '-d', - '.', - ]); - }); - it('npm install showcase', async function () { - this.timeout(240000); - // copy protos to generated client library and copy test application to local. - if (!fs.existsSync(path.join(showcaseLib, 'protos'))) { - fs.copySync(protos, path.join(showcaseLib, 'protos')); - } - if (!fs.existsSync(localTsApplication)) { - fs.copySync(tsTestApplication, localTsApplication); - } - process.chdir(showcaseLib); - await spawn('npm', ['install']); - }); - it('npm pack showcase library and copy it to test application', async function () { - this.timeout(240000); - await spawn('npm', ['pack']); - fs.copySync(packedLibPath, path.join(localTsApplication, packedLib)); - }); - it('npm install showcase library in test application', async function () { - this.timeout(500000); - process.chdir(localTsApplication); - await spawn('npm', ['install', '--legacy-peer-deps']); - }); - it('run integration in test application', async function () { - this.timeout(240000); - await spawn('npm', ['test']); - }); - it('run browser test in application', async function () { - this.timeout(240000); - await spawn('npm', ['run', 'browser-test']); - }); -}); diff --git a/typescript/test/unit-test-runner.ts b/typescript/test/unit-test-runner.ts new file mode 100644 index 000000000..719380b11 --- /dev/null +++ b/typescript/test/unit-test-runner.ts @@ -0,0 +1,35 @@ +// Copyright 2023 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +import * as fsp from 'fs/promises'; +import * as path from 'path'; +import Mocha from 'mocha'; + +const testDirectory = path.join('.', 'typescript', 'test', 'unit'); + +async function main() { + const mocha = new Mocha(); + + const files = await fsp.readdir(testDirectory); + const tests = files.filter(file => file.endsWith('.js')); + for (const test of tests) { + mocha.addFile(path.join(process.cwd(), testDirectory, test)); + } + await mocha.loadFilesAsync(); + mocha.run((failures: number) => { + process.exitCode = failures; + }); +} + +main(); diff --git a/typescript/test/unit/api.ts b/typescript/test/unit/api.ts index 42898c2fe..ee99fd574 100644 --- a/typescript/test/unit/api.ts +++ b/typescript/test/unit/api.ts @@ -12,25 +12,24 @@ // See the License for the specific language governing permissions and // limitations under the License. -import {API} from '../../src/schema/api'; -import * as protos from '../../../protos'; -import * as assert from 'assert'; -import {afterEach, describe, it} from 'mocha'; -import * as sinon from 'sinon'; -import * as proto from '../../src/schema/proto'; +import {API} from '../../src/schema/api.js'; +import type * as protos from '../../../protos/index.js'; +import assert from 'assert'; +import {describe, it} from 'mocha'; +import {Proto} from '../../src/schema/proto.js'; describe('src/schema/api.ts', () => { it('should construct an API object and return list of protos', () => { - const fd = new protos.google.protobuf.FileDescriptorProto(); + const fd = {} as protos.google.protobuf.FileDescriptorProto; fd.name = 'google/cloud/test/v1/test.proto'; fd.package = 'google.cloud.test.v1'; - fd.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + fd.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; fd.service[0].name = 'ZService'; fd.service[0].options = { '.google.api.defaultHost': 'hostname.example.com:443', }; const api = new API([fd], 'google.cloud.test.v1', { - grpcServiceConfig: new protos.grpc.service_config.ServiceConfig(), + grpcServiceConfig: {} as protos.grpc.service_config.ServiceConfig, }); assert.deepStrictEqual(api.filesToGenerate, [ 'google/cloud/test/v1/test.proto', @@ -38,37 +37,37 @@ describe('src/schema/api.ts', () => { }); it('throw error if an api does not have default host', () => { - const fd = new protos.google.protobuf.FileDescriptorProto(); + const fd = {} as protos.google.protobuf.FileDescriptorProto; fd.name = 'google/cloud/test/v1/test.proto'; fd.package = 'google.cloud.test.v1'; - fd.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + fd.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; fd.service[0].name = 'ZService'; assert.throws(() => { new API([fd], 'google.cloud.test.v1', { - grpcServiceConfig: new protos.grpc.service_config.ServiceConfig(), + grpcServiceConfig: {} as protos.grpc.service_config.ServiceConfig, }); }, /service "google.cloud.test.v1.ZService" is missing option google.api.default_host/); }); it('should not return common protos in the list of protos', () => { - const fd1 = new protos.google.protobuf.FileDescriptorProto(); + const fd1 = {} as protos.google.protobuf.FileDescriptorProto; fd1.name = 'google/cloud/test/v1/test.proto'; fd1.package = 'google.cloud.test.v1'; - fd1.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + fd1.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; fd1.service[0].name = 'ZService'; fd1.service[0].options = { '.google.api.defaultHost': 'hostname.example.com:443', }; - const fd2 = new protos.google.protobuf.FileDescriptorProto(); + const fd2 = {} as protos.google.protobuf.FileDescriptorProto; fd2.name = 'google/longrunning/operation.proto'; fd2.package = 'google.longrunning'; - fd2.service = [new protos.google.protobuf.ServiceDescriptorProto()]; - const fd3 = new protos.google.protobuf.FileDescriptorProto(); + fd2.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; + const fd3 = {} as protos.google.protobuf.FileDescriptorProto; fd3.name = 'google/iam/v1/iam_policy.proto'; fd3.package = 'google.iam.v1'; - fd3.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + fd3.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; const api = new API([fd1, fd2, fd3], 'google.cloud.test.v1', { - grpcServiceConfig: new protos.grpc.service_config.ServiceConfig(), + grpcServiceConfig: {} as protos.grpc.service_config.ServiceConfig, }); assert.deepStrictEqual(api.filesToGenerate, [ 'google/cloud/test/v1/test.proto', @@ -76,16 +75,16 @@ describe('src/schema/api.ts', () => { }); it('should be able to generate google.iam.v1 alone', () => { - const fd = new protos.google.protobuf.FileDescriptorProto(); + const fd = {} as protos.google.protobuf.FileDescriptorProto; fd.name = 'google/iam/v1/iam_policy.proto'; fd.package = 'google.iam.v1'; - fd.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + fd.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; fd.service[0].name = 'IAMPolicy'; fd.service[0].options = { '.google.api.defaultHost': 'iam.googleapis.com', }; const api = new API([fd], 'google.iam.v1', { - grpcServiceConfig: new protos.grpc.service_config.ServiceConfig(), + grpcServiceConfig: {} as protos.grpc.service_config.ServiceConfig, }); assert.deepStrictEqual(api.filesToGenerate, [ 'google/iam/v1/iam_policy.proto', @@ -93,31 +92,31 @@ describe('src/schema/api.ts', () => { }); it('should not return common protos in the proto list', () => { - const fd1 = new protos.google.protobuf.FileDescriptorProto(); + const fd1 = {} as protos.google.protobuf.FileDescriptorProto; fd1.name = 'google/cloud/test/v1/test.proto'; fd1.package = 'google.cloud.test.v1'; - fd1.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + fd1.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; fd1.service[0].name = 'ZService'; fd1.service[0].options = { '.google.api.defaultHost': 'hostname.example.com:443', }; - const fd2 = new protos.google.protobuf.FileDescriptorProto(); + const fd2 = {} as protos.google.protobuf.FileDescriptorProto; fd2.name = 'google/api/annotations.proto'; fd2.package = 'google.api'; - const fd3 = new protos.google.protobuf.FileDescriptorProto(); + const fd3 = {} as protos.google.protobuf.FileDescriptorProto; fd3.name = 'google/orgpolicy/v1/orgpolicy.proto'; fd3.package = 'google.orgpolicy.v1'; - const fd4 = new protos.google.protobuf.FileDescriptorProto(); + const fd4 = {} as protos.google.protobuf.FileDescriptorProto; fd4.name = 'google/cloud/common_resources.proto'; fd4.package = 'google.cloud'; - const fd5 = new protos.google.protobuf.FileDescriptorProto(); + const fd5 = {} as protos.google.protobuf.FileDescriptorProto; fd5.name = 'google/api/servicemanagement/v1/servicemanager.proto'; fd5.package = 'google.api.servicemanager.v1'; - const fd6 = new protos.google.protobuf.FileDescriptorProto(); + const fd6 = {} as protos.google.protobuf.FileDescriptorProto; fd6.name = 'google/rpc/context/attribute_context.proto'; fd6.package = 'google.rpc.context'; const api = new API([fd1, fd2, fd3, fd4, fd5, fd6], 'google', { - grpcServiceConfig: new protos.grpc.service_config.ServiceConfig(), + grpcServiceConfig: {} as protos.grpc.service_config.ServiceConfig, }); assert.deepStrictEqual(api.filesToGenerate, [ 'google/cloud/test/v1/test.proto', @@ -127,20 +126,20 @@ describe('src/schema/api.ts', () => { }); it('should include the protos has no service and different package name', () => { - const fd1 = new protos.google.protobuf.FileDescriptorProto(); + const fd1 = {} as protos.google.protobuf.FileDescriptorProto; fd1.name = 'google/cloud/example/v1/test.proto'; fd1.package = 'google.cloud.example.v1'; - fd1.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + fd1.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; fd1.service[0].name = 'Service'; fd1.service[0].options = { '.google.api.defaultHost': 'hostname.example.com:443', }; - const fd2 = new protos.google.protobuf.FileDescriptorProto(); + const fd2 = {} as protos.google.protobuf.FileDescriptorProto; fd2.name = 'google/cloud/example/v1/error.proto'; fd2.package = 'google.cloud.example.v1.errors'; const api = new API([fd1, fd2], 'google.cloud.example.v1', { - grpcServiceConfig: new protos.grpc.service_config.ServiceConfig(), + grpcServiceConfig: {} as protos.grpc.service_config.ServiceConfig, }); assert.deepStrictEqual(JSON.parse(api.protoFilesToGenerateJSON), [ '../../protos/google/cloud/example/v1/error.proto', @@ -149,83 +148,83 @@ describe('src/schema/api.ts', () => { }); it('should return lexicographically first service name as mainServiceName', () => { - const fd1 = new protos.google.protobuf.FileDescriptorProto(); + const fd1 = {} as protos.google.protobuf.FileDescriptorProto; fd1.name = 'google/cloud/test/v1/test.proto'; fd1.package = 'google.cloud.test.v1'; - fd1.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + fd1.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; fd1.service[0].name = 'ZService'; fd1.service[0].options = { '.google.api.defaultHost': 'hostname.example.com:443', }; - const fd2 = new protos.google.protobuf.FileDescriptorProto(); + const fd2 = {} as protos.google.protobuf.FileDescriptorProto; fd2.name = 'google/cloud/example/v1/example.proto'; fd2.package = 'google.cloud.example.v1'; - fd2.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + fd2.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; fd2.service[0].name = 'AService'; fd2.service[0].options = { '.google.api.defaultHost': 'hostname.example.com:443', }; const api = new API([fd1, fd2], 'google.cloud.test.v1', { - grpcServiceConfig: new protos.grpc.service_config.ServiceConfig(), + grpcServiceConfig: {} as protos.grpc.service_config.ServiceConfig, }); assert.deepStrictEqual(api.mainServiceName, 'AService'); }); it('should return correct mainServiceName for API without namespace', () => { - const fd1 = new protos.google.protobuf.FileDescriptorProto(); + const fd1 = {} as protos.google.protobuf.FileDescriptorProto; fd1.name = 'service/v1/test.proto'; fd1.package = 'service.v1'; - fd1.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + fd1.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; fd1.service[0].name = 'Service'; fd1.service[0].options = { '.google.api.defaultHost': 'hostname.example.com:443', }; const api = new API([fd1], 'service.v1', { - grpcServiceConfig: new protos.grpc.service_config.ServiceConfig(), + grpcServiceConfig: {} as protos.grpc.service_config.ServiceConfig, }); assert.deepStrictEqual(api.mainServiceName, 'Service'); }); it('should return main service name specificed as an option', () => { - const fd1 = new protos.google.protobuf.FileDescriptorProto(); + const fd1 = {} as protos.google.protobuf.FileDescriptorProto; fd1.name = 'google/cloud/test/v1/test.proto'; fd1.package = 'google.cloud.test.v1'; - fd1.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + fd1.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; fd1.service[0].name = 'ZService'; fd1.service[0].options = { '.google.api.defaultHost': 'hostname.example.com:443', }; - const fd2 = new protos.google.protobuf.FileDescriptorProto(); + const fd2 = {} as protos.google.protobuf.FileDescriptorProto; fd2.name = 'google/cloud/example/v1/example.proto'; fd2.package = 'google.cloud.example.v1'; - fd2.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + fd2.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; fd2.service[0].name = 'AService'; fd2.service[0].options = { '.google.api.defaultHost': 'hostname.example.com:443', }; const api = new API([fd1, fd2], 'google.cloud.test.v1', { - grpcServiceConfig: new protos.grpc.service_config.ServiceConfig(), + grpcServiceConfig: {} as protos.grpc.service_config.ServiceConfig, mainServiceName: 'OverriddenName', }); assert.deepStrictEqual(api.mainServiceName, 'OverriddenName'); }); it('should return list of protos in lexicographical order', () => { - const fd1 = new protos.google.protobuf.FileDescriptorProto(); + const fd1 = {} as protos.google.protobuf.FileDescriptorProto; fd1.name = 'google/cloud/example/v1/test.proto'; fd1.package = 'google.cloud.example.v1'; - fd1.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + fd1.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; fd1.service[0].name = 'Service'; fd1.service[0].options = { '.google.api.defaultHost': 'hostname.example.com:443', }; - const fd2 = new protos.google.protobuf.FileDescriptorProto(); + const fd2 = {} as protos.google.protobuf.FileDescriptorProto; fd2.name = 'google/cloud/example/v1/example.proto'; fd2.package = 'google.cloud.example.v1'; fd2.service = []; const api = new API([fd1, fd2], 'google.cloud.example.v1', { - grpcServiceConfig: new protos.grpc.service_config.ServiceConfig(), + grpcServiceConfig: {} as protos.grpc.service_config.ServiceConfig, }); assert.deepStrictEqual(JSON.parse(api.protoFilesToGenerateJSON), [ '../../protos/google/cloud/example/v1/example.proto', @@ -234,52 +233,47 @@ describe('src/schema/api.ts', () => { }); it('should throw error when the service name is not found', () => { - const fd = new protos.google.protobuf.FileDescriptorProto(); + const fd = {} as protos.google.protobuf.FileDescriptorProto; fd.name = 'google/cloud/test/v1/test.proto'; fd.package = 'google.cloud.test.v1'; - fd.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + fd.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; assert.throws(() => { const api = new API([fd], 'google.cloud.test.v1', { - grpcServiceConfig: new protos.grpc.service_config.ServiceConfig(), + grpcServiceConfig: {} as protos.grpc.service_config.ServiceConfig, }); assert(api); }); }); describe('Calling Proto constructor', () => { - afterEach(() => { - sinon.restore(); - }); - it('should pass all messages to Proto constructor', () => { - const fd1 = new protos.google.protobuf.FileDescriptorProto(); + Proto.resetInstrumentation(); + + const fd1 = {} as protos.google.protobuf.FileDescriptorProto; fd1.name = 'google/cloud/example/v1/test.proto'; fd1.package = 'google.cloud.example.v1'; - fd1.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + fd1.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; fd1.service[0].name = 'Service'; fd1.service[0].options = { '.google.api.defaultHost': 'hostname.example.com:443', }; - fd1.messageType = [new protos.google.protobuf.MethodDescriptorProto()]; + fd1.messageType = [{} as protos.google.protobuf.MethodDescriptorProto]; fd1.messageType[0].name = 'MessageA'; - const fd2 = new protos.google.protobuf.FileDescriptorProto(); + const fd2 = {} as protos.google.protobuf.FileDescriptorProto; fd2.name = 'google/cloud/example/v1/example.proto'; fd2.package = 'google.cloud.example.v1'; - fd2.messageType = [new protos.google.protobuf.MethodDescriptorProto()]; + fd2.messageType = [{} as protos.google.protobuf.MethodDescriptorProto]; fd2.messageType[0].name = 'MessageB'; - const spy = sinon.spy(proto, 'Proto'); - new API([fd1, fd2], 'google.cloud.example.v1', { - grpcServiceConfig: new protos.grpc.service_config.ServiceConfig(), + grpcServiceConfig: {} as protos.grpc.service_config.ServiceConfig, }); - assert(spy.calledWithNew()); - assert.strictEqual(spy.callCount, 2); // one Proto object created for each fd - const firstCallMessages = spy.getCall(0).args[0].allMessages; - const secondCallMessages = spy.getCall(1).args[0].allMessages; + assert.strictEqual(Proto.constructorCallCount, 2); // one Proto object created for each fd + const firstCallMessages = Proto.constructorCallArgs[0].allMessages; + const secondCallMessages = Proto.constructorCallArgs[1].allMessages; assert('.google.cloud.example.v1.MessageA' in firstCallMessages); assert('.google.cloud.example.v1.MessageB' in firstCallMessages); assert('.google.cloud.example.v1.MessageA' in secondCallMessages); diff --git a/typescript/test/unit/baselines.ts b/typescript/test/unit/baselines.ts index 8d2015395..d928b8138 100644 --- a/typescript/test/unit/baselines.ts +++ b/typescript/test/unit/baselines.ts @@ -13,7 +13,7 @@ // limitations under the License. import {describe} from 'mocha'; -import {runBaselineTest} from '../util'; +import {runBaselineTest} from '../util.js'; describe('Baseline tests', () => { runBaselineTest({ diff --git a/typescript/test/unit/naming.ts b/typescript/test/unit/naming.ts index f79879fe2..5ada3bf41 100644 --- a/typescript/test/unit/naming.ts +++ b/typescript/test/unit/naming.ts @@ -12,19 +12,19 @@ // See the License for the specific language governing permissions and // limitations under the License. -import * as assert from 'assert'; +import assert from 'assert'; import {describe, it} from 'mocha'; -import * as protos from '../../../protos'; -import {Naming, Options} from '../../src/schema/naming'; +import type * as protos from '../../../protos/index.js'; +import {Naming, Options} from '../../src/schema/naming.js'; describe('src/schema/naming.ts', () => { it('parses name correctly', () => { - const descriptor1 = new protos.google.protobuf.FileDescriptorProto(); - const descriptor2 = new protos.google.protobuf.FileDescriptorProto(); + const descriptor1 = {} as protos.google.protobuf.FileDescriptorProto; + const descriptor2 = {} as protos.google.protobuf.FileDescriptorProto; descriptor1.package = 'google.namespace.service.v1beta1'; - descriptor1.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + descriptor1.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; descriptor2.package = 'google.namespace.service.v1beta1'; - descriptor2.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + descriptor2.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; const naming = new Naming([descriptor1, descriptor2]); assert.strictEqual(naming.name, 'Service'); assert.strictEqual(naming.productName, 'Service'); @@ -34,9 +34,9 @@ describe('src/schema/naming.ts', () => { }); it('parses name correctly 2', () => { - const descriptor1 = new protos.google.protobuf.FileDescriptorProto(); + const descriptor1 = {} as protos.google.protobuf.FileDescriptorProto; descriptor1.package = 'service.v1beta1'; - descriptor1.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + descriptor1.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; const naming = new Naming([descriptor1]); assert.strictEqual(naming.name, 'Service'); assert.strictEqual(naming.productName, 'Service'); @@ -46,9 +46,9 @@ describe('src/schema/naming.ts', () => { }); it('parses name correctly 3', () => { - const descriptor1 = new protos.google.protobuf.FileDescriptorProto(); + const descriptor1 = {} as protos.google.protobuf.FileDescriptorProto; descriptor1.package = 'company.service.v1beta1'; - descriptor1.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + descriptor1.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; const naming = new Naming([descriptor1]); assert.strictEqual(naming.name, 'Service'); assert.strictEqual(naming.productName, 'Service'); @@ -58,9 +58,9 @@ describe('src/schema/naming.ts', () => { }); it('ignores everything after the version', () => { - const descriptor1 = new protos.google.protobuf.FileDescriptorProto(); + const descriptor1 = {} as protos.google.protobuf.FileDescriptorProto; descriptor1.package = 'company.service.v1beta1.unexpected'; - descriptor1.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + descriptor1.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; const naming = new Naming([descriptor1]); assert.strictEqual(naming.name, 'Service'); assert.strictEqual(naming.productName, 'Service'); @@ -73,10 +73,10 @@ describe('src/schema/naming.ts', () => { }); it('ignores files with no services when determining package name', () => { - const descriptor1 = new protos.google.protobuf.FileDescriptorProto(); - const descriptor2 = new protos.google.protobuf.FileDescriptorProto(); + const descriptor1 = {} as protos.google.protobuf.FileDescriptorProto; + const descriptor2 = {} as protos.google.protobuf.FileDescriptorProto; descriptor1.package = 'google.namespace.service.v1beta1'; - descriptor1.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + descriptor1.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; descriptor2.package = 'google.namespace.service.v1beta2'; const naming = new Naming([descriptor1, descriptor2]); assert.strictEqual(naming.name, 'Service'); @@ -87,12 +87,12 @@ describe('src/schema/naming.ts', () => { }); it('ignores LRO files when determining package name', () => { - const descriptor1 = new protos.google.protobuf.FileDescriptorProto(); - const descriptor2 = new protos.google.protobuf.FileDescriptorProto(); + const descriptor1 = {} as protos.google.protobuf.FileDescriptorProto; + const descriptor2 = {} as protos.google.protobuf.FileDescriptorProto; descriptor1.package = 'google.namespace.service.v1beta1'; - descriptor1.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + descriptor1.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; descriptor2.package = 'google.longrunning'; - descriptor2.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + descriptor2.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; const naming = new Naming([descriptor1, descriptor2]); assert.strictEqual(naming.name, 'Service'); assert.strictEqual(naming.productName, 'Service'); @@ -102,12 +102,12 @@ describe('src/schema/naming.ts', () => { }); it('ignores IAM files when determining package name', () => { - const descriptor1 = new protos.google.protobuf.FileDescriptorProto(); - const descriptor2 = new protos.google.protobuf.FileDescriptorProto(); + const descriptor1 = {} as protos.google.protobuf.FileDescriptorProto; + const descriptor2 = {} as protos.google.protobuf.FileDescriptorProto; descriptor1.package = 'google.namespace.service.v1beta1'; - descriptor1.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + descriptor1.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; descriptor2.package = 'google.iam.v1'; - descriptor2.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + descriptor2.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; const naming = new Naming([descriptor1, descriptor2]); assert.strictEqual(naming.name, 'Service'); assert.strictEqual(naming.productName, 'Service'); @@ -117,9 +117,9 @@ describe('src/schema/naming.ts', () => { }); it('determines package name for IAM alone', () => { - const descriptor = new protos.google.protobuf.FileDescriptorProto(); + const descriptor = {} as protos.google.protobuf.FileDescriptorProto; descriptor.package = 'google.iam.v1'; - descriptor.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + descriptor.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; const naming = new Naming([descriptor]); assert.strictEqual(naming.name, 'Iam'); assert.strictEqual(naming.productName, 'Iam'); @@ -129,9 +129,9 @@ describe('src/schema/naming.ts', () => { }); it('fails on bad package name 1', () => { - const descriptor = new protos.google.protobuf.FileDescriptorProto(); + const descriptor = {} as protos.google.protobuf.FileDescriptorProto; descriptor.package = 'nonamespace'; - descriptor.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + descriptor.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; assert.throws(() => { const naming = new Naming([descriptor]); assert(naming); @@ -139,9 +139,9 @@ describe('src/schema/naming.ts', () => { }); it('fails on bad package name 2', () => { - const descriptor = new protos.google.protobuf.FileDescriptorProto(); + const descriptor = {} as protos.google.protobuf.FileDescriptorProto; descriptor.package = '---'; - descriptor.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + descriptor.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; assert.throws(() => { const naming = new Naming([descriptor]); assert(naming); @@ -149,9 +149,9 @@ describe('src/schema/naming.ts', () => { }); it('fails on no package name', () => { - const descriptor = new protos.google.protobuf.FileDescriptorProto(); + const descriptor = {} as protos.google.protobuf.FileDescriptorProto; descriptor.package = ''; - descriptor.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + descriptor.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; assert.throws(() => { const naming = new Naming([descriptor]); assert(naming); @@ -159,12 +159,12 @@ describe('src/schema/naming.ts', () => { }); it('fails if no common package, no service-name', () => { - const descriptor1 = new protos.google.protobuf.FileDescriptorProto(); - const descriptor2 = new protos.google.protobuf.FileDescriptorProto(); + const descriptor1 = {} as protos.google.protobuf.FileDescriptorProto; + const descriptor2 = {} as protos.google.protobuf.FileDescriptorProto; descriptor1.package = 'namespace1.service.v1beta1'; - descriptor1.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + descriptor1.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; descriptor2.package = 'namespace2.service.v1beta1'; - descriptor2.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + descriptor2.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; assert.throws(() => { const naming = new Naming([descriptor1, descriptor2]); assert(naming); @@ -172,13 +172,13 @@ describe('src/schema/naming.ts', () => { }); it('parse name correctly if no common package, but service-name specified', () => { - const descriptor1 = new protos.google.protobuf.FileDescriptorProto(); - const descriptor2 = new protos.google.protobuf.FileDescriptorProto(); + const descriptor1 = {} as protos.google.protobuf.FileDescriptorProto; + const descriptor2 = {} as protos.google.protobuf.FileDescriptorProto; descriptor1.package = 'namespace1.service1.v1beta1'; - descriptor1.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + descriptor1.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; descriptor2.package = 'namespace2.service2.v1beta1'; - descriptor2.service = [new protos.google.protobuf.ServiceDescriptorProto()]; - const serviceConfig = new protos.grpc.service_config.ServiceConfig(); + descriptor2.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; + const serviceConfig = {} as protos.grpc.service_config.ServiceConfig; const options: Options = { grpcServiceConfig: serviceConfig, mainServiceName: 'service1', @@ -194,12 +194,12 @@ describe('src/schema/naming.ts', () => { }); it('fails if different versions', () => { - const descriptor1 = new protos.google.protobuf.FileDescriptorProto(); - const descriptor2 = new protos.google.protobuf.FileDescriptorProto(); + const descriptor1 = {} as protos.google.protobuf.FileDescriptorProto; + const descriptor2 = {} as protos.google.protobuf.FileDescriptorProto; descriptor1.package = 'namespace.service.v1beta1'; - descriptor1.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + descriptor1.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; descriptor2.package = 'namespace.service.v1beta2'; - descriptor2.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + descriptor2.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; assert.throws(() => { const naming = new Naming([descriptor1, descriptor2]); assert(naming); @@ -207,12 +207,12 @@ describe('src/schema/naming.ts', () => { }); it('fails if not all packages have versions', () => { - const descriptor1 = new protos.google.protobuf.FileDescriptorProto(); - const descriptor2 = new protos.google.protobuf.FileDescriptorProto(); + const descriptor1 = {} as protos.google.protobuf.FileDescriptorProto; + const descriptor2 = {} as protos.google.protobuf.FileDescriptorProto; descriptor1.package = 'namespace.service.v1beta1'; - descriptor1.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + descriptor1.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; descriptor2.package = 'namespace.service'; - descriptor2.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + descriptor2.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; assert.throws(() => { const naming = new Naming([descriptor1, descriptor2]); assert(naming); diff --git a/typescript/test/unit/proto.ts b/typescript/test/unit/proto.ts index bba740a3e..fa83f4082 100644 --- a/typescript/test/unit/proto.ts +++ b/typescript/test/unit/proto.ts @@ -12,9 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. -import * as assert from 'assert'; +import assert from 'assert'; import {describe, it} from 'mocha'; -import * as protos from '../../../protos'; +import type * as protos from '../../../protos/index.js'; import { convertFieldToCamelCase, DynamicRoutingParameters, @@ -22,11 +22,11 @@ import { getHeaderRequestParams, getSingleRoutingHeaderParam, MessagesMap, -} from '../../src/schema/proto'; -import {Proto} from '../../src/schema/proto'; -import {Options} from '../../src/schema/naming'; -import {ResourceDatabase} from '../../src/schema/resource-database'; -import {CommentsMap} from '../../src/schema/comments'; + Proto, +} from '../../src/schema/proto.js'; +import {Options} from '../../src/schema/naming.js'; +import {ResourceDatabase} from '../../src/schema/resource-database.js'; +import {CommentsMap} from '../../src/schema/comments.js'; describe('src/schema/proto.ts', () => { describe('should get header parameters from http rule', () => { @@ -385,27 +385,22 @@ describe('src/schema/proto.ts', () => { describe('AugmentService', () => { it('should pass proto file name to the service', () => { - const fd = new protos.google.protobuf.FileDescriptorProto(); + const fd = {} as protos.google.protobuf.FileDescriptorProto; fd.name = 'google/cloud/showcase/v1beta1/test.proto'; fd.package = 'google.cloud.showcase.v1beta1'; - fd.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + fd.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; fd.service[0].name = 'TestService'; fd.service[0].method = [ - new protos.google.protobuf.MethodDescriptorProto(), + {} as protos.google.protobuf.MethodDescriptorProto, ]; - fd.service[0].method[0] = new protos.google.protobuf.MethodDescriptorProto(); + fd.service[0].method[0] = {} as protos.google.protobuf.MethodDescriptorProto; fd.service[0].method[0].name = 'Test'; fd.service[0].method[0].outputType = '.google.cloud.showcase.v1beta1.TestOutput'; const options: Options = { - grpcServiceConfig: new protos.grpc.service_config.ServiceConfig(), + grpcServiceConfig: {} as protos.grpc.service_config.ServiceConfig, }; const allMessages: MessagesMap = {}; - fd.messageType - .filter(message => message.name) - .forEach(message => { - allMessages['.' + fd.package! + '.' + message.name!] = message; - }); const commentsMap = new CommentsMap([fd]); const proto = new Proto({ fd, @@ -422,54 +417,53 @@ describe('src/schema/proto.ts', () => { describe('special work around for talent API', () => { it('The pagingFieldName should be undefined for SearchJobs & SearchProfiles rpc', () => { - const fd = new protos.google.protobuf.FileDescriptorProto(); + const fd = {} as protos.google.protobuf.FileDescriptorProto; fd.name = 'google/cloud/talent/v4beta1/service.proto'; fd.package = 'google.cloud.talent.v4beta1'; - fd.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + fd.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; fd.service[0].name = 'service'; fd.service[0].method = [ - new protos.google.protobuf.MethodDescriptorProto(), + {} as protos.google.protobuf.MethodDescriptorProto, ]; - fd.service[0].method[0] = new protos.google.protobuf.MethodDescriptorProto(); + fd.service[0].method[0] = {} as protos.google.protobuf.MethodDescriptorProto; fd.service[0].method[0].name = 'SearchJobs'; - fd.service[0].method[1] = new protos.google.protobuf.MethodDescriptorProto(); + fd.service[0].method[1] = {} as protos.google.protobuf.MethodDescriptorProto; fd.service[0].method[1].name = 'SearchProfiles'; - fd.service[0].method[2] = new protos.google.protobuf.MethodDescriptorProto(); + fd.service[0].method[2] = {} as protos.google.protobuf.MethodDescriptorProto; fd.service[0].method[2].name = 'SearchJobsForAlert'; - fd.service[0].method[3] = new protos.google.protobuf.MethodDescriptorProto(); + fd.service[0].method[3] = {} as protos.google.protobuf.MethodDescriptorProto; fd.service[0].method[3].name = 'ListJobs'; fd.service[0].method[3].outputType = '.google.cloud.talent.v4beta1.ListJobsOutput'; fd.service[0].method[3].inputType = '.google.cloud.talent.v4beta1.ListJobsInput'; - fd.messageType = [new protos.google.protobuf.DescriptorProto()]; - fd.messageType[0] = new protos.google.protobuf.DescriptorProto(); - fd.messageType[1] = new protos.google.protobuf.DescriptorProto(); + fd.messageType = [{} as protos.google.protobuf.DescriptorProto]; + fd.messageType[0] = {} as protos.google.protobuf.DescriptorProto; + fd.messageType[1] = {} as protos.google.protobuf.DescriptorProto; fd.messageType[0].name = 'ListJobsOutput'; fd.messageType[1].name = 'ListJobsInput'; fd.messageType[0].field = [ - new protos.google.protobuf.FieldDescriptorProto(), + {} as protos.google.protobuf.FieldDescriptorProto, ]; - fd.messageType[0].field[0] = new protos.google.protobuf.FieldDescriptorProto(); + fd.messageType[0].field[0] = {} as protos.google.protobuf.FieldDescriptorProto; fd.messageType[0].field[0].name = 'next_page_token'; - fd.messageType[0].field[0].label = - protos.google.protobuf.FieldDescriptorProto.Label.LABEL_REPEATED; + fd.messageType[0].field[0].label = 3; // LABEL_REPEATED fd.messageType[1].field = [ - new protos.google.protobuf.FieldDescriptorProto(), + {} as protos.google.protobuf.FieldDescriptorProto, ]; - fd.messageType[1].field[0] = new protos.google.protobuf.FieldDescriptorProto(); + fd.messageType[1].field[0] = {} as protos.google.protobuf.FieldDescriptorProto; fd.messageType[1].field[0].name = 'page_size'; - fd.messageType[1].field[1] = new protos.google.protobuf.FieldDescriptorProto(); + fd.messageType[1].field[1] = {} as protos.google.protobuf.FieldDescriptorProto; fd.messageType[1].field[1].name = 'page_token'; const options: Options = { - grpcServiceConfig: new protos.grpc.service_config.ServiceConfig(), + grpcServiceConfig: {} as protos.grpc.service_config.ServiceConfig, }; const allMessages: MessagesMap = {}; fd.messageType - .filter(message => message.name) + ?.filter(message => message.name) .forEach(message => { allMessages['.' + fd.package! + '.' + message.name!] = message; }); @@ -501,17 +495,12 @@ describe('src/schema/proto.ts', () => { ); }); it("should allow generate a proto has no service and its package name differ from service's", () => { - const fd = new protos.google.protobuf.FileDescriptorProto(); + const fd = {} as protos.google.protobuf.FileDescriptorProto; fd.name = 'google/cloud/showcase/v1beta1/test.proto'; fd.package = 'google.cloud.showcase.v1beta1.errors'; const allMessages: MessagesMap = {}; - fd.messageType - .filter(message => message.name) - .forEach(message => { - allMessages['.' + fd.package! + '.' + message.name!] = message; - }); const options: Options = { - grpcServiceConfig: new protos.grpc.service_config.ServiceConfig(), + grpcServiceConfig: {} as protos.grpc.service_config.ServiceConfig, }; const commentsMap = new CommentsMap([fd]); const proto = new Proto({ @@ -526,27 +515,22 @@ describe('src/schema/proto.ts', () => { assert.deepStrictEqual(proto.fileToGenerate, true); }); it("should not allow generate a service proto with package name differ from the param's pakage name", () => { - const fd = new protos.google.protobuf.FileDescriptorProto(); + const fd = {} as protos.google.protobuf.FileDescriptorProto; fd.name = 'google/cloud/showcase/v1beta1/test.proto'; fd.package = 'google.cloud.showcase.v1beta1.TestService'; - fd.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + fd.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; fd.service[0].name = 'service'; fd.service[0].method = [ - new protos.google.protobuf.MethodDescriptorProto(), + {} as protos.google.protobuf.MethodDescriptorProto, ]; - fd.service[0].method[0] = new protos.google.protobuf.MethodDescriptorProto(); + fd.service[0].method[0] = {} as protos.google.protobuf.MethodDescriptorProto; fd.service[0].method[0].name = 'Test'; fd.service[0].method[0].outputType = '.google.cloud.showcase.v1beta1.TestOutput'; const options: Options = { - grpcServiceConfig: new protos.grpc.service_config.ServiceConfig(), + grpcServiceConfig: {} as protos.grpc.service_config.ServiceConfig, }; const allMessages: MessagesMap = {}; - fd.messageType - .filter(message => message.name) - .forEach(message => { - allMessages['.' + fd.package! + '.' + message.name!] = message; - }); const commentsMap = new CommentsMap([fd]); const proto = new Proto({ fd, @@ -562,26 +546,21 @@ describe('src/schema/proto.ts', () => { }); describe('throw error for misconfigured LRO', () => { it('throw error if method returns Operation, but without operation_info option', () => { - const fd = new protos.google.protobuf.FileDescriptorProto(); + const fd = {} as protos.google.protobuf.FileDescriptorProto; fd.name = 'google/cloud/showcase/v1beta1/test.proto'; fd.package = 'google.cloud.showcase.v1beta1'; - fd.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + fd.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; fd.service[0].name = 'service'; fd.service[0].method = [ - new protos.google.protobuf.MethodDescriptorProto(), + {} as protos.google.protobuf.MethodDescriptorProto, ]; - fd.service[0].method[0] = new protos.google.protobuf.MethodDescriptorProto(); + fd.service[0].method[0] = {} as protos.google.protobuf.MethodDescriptorProto; fd.service[0].method[0].name = 'Test'; fd.service[0].method[0].outputType = '.google.longrunning.Operation'; const options: Options = { - grpcServiceConfig: new protos.grpc.service_config.ServiceConfig(), + grpcServiceConfig: {} as protos.grpc.service_config.ServiceConfig, }; const allMessages: MessagesMap = {}; - fd.messageType - .filter(message => message.name) - .forEach(message => { - allMessages['.' + fd.package! + '.' + message.name!] = message; - }); const commentsMap = new CommentsMap([fd]); assert.throws(() => { new Proto({ @@ -596,28 +575,23 @@ describe('src/schema/proto.ts', () => { }, 'rpc "google.cloud.showcase.v1beta1.Test" returns google.longrunning.Operation but is missing option google.longrunning.operation_info'); }); it('throw error if method returns Operation, but without operation_info option', () => { - const fd = new protos.google.protobuf.FileDescriptorProto(); + const fd = {} as protos.google.protobuf.FileDescriptorProto; fd.name = 'google/cloud/showcase/v1beta1/test.proto'; fd.package = 'google.cloud.showcase.v1beta1'; - fd.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + fd.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; fd.service[0].name = 'service'; fd.service[0].method = [ - new protos.google.protobuf.MethodDescriptorProto(), + {} as protos.google.protobuf.MethodDescriptorProto, ]; - fd.service[0].method[0] = new protos.google.protobuf.MethodDescriptorProto(); + fd.service[0].method[0] = {} as protos.google.protobuf.MethodDescriptorProto; fd.service[0].method[0].name = 'Test'; fd.service[0].method[0].outputType = '.google.longrunning.Operation'; const options: Options = { - grpcServiceConfig: new protos.grpc.service_config.ServiceConfig(), + grpcServiceConfig: {} as protos.grpc.service_config.ServiceConfig, }; - fd.service[0].method[0].options = new protos.google.protobuf.MethodOptions(); + fd.service[0].method[0].options = {} as protos.google.protobuf.MethodOptions; fd.service[0].method[0].options['.google.longrunning.operationInfo'] = {}; const allMessages: MessagesMap = {}; - fd.messageType - .filter(message => message.name) - .forEach(message => { - allMessages['.' + fd.package! + '.' + message.name!] = message; - }); const commentsMap = new CommentsMap([fd]); assert.throws(() => { new Proto({ @@ -635,7 +609,7 @@ describe('src/schema/proto.ts', () => { describe('should add diregapic option for Proto class', () => { it('should be false when diregapic is not set', () => { - const fd = new protos.google.protobuf.FileDescriptorProto(); + const fd = {} as protos.google.protobuf.FileDescriptorProto; const proto = new Proto({ fd, packageName: 'google.cloud.example.v1beta1', @@ -643,14 +617,14 @@ describe('src/schema/proto.ts', () => { allResourceDatabase: new ResourceDatabase(), resourceDatabase: new ResourceDatabase(), options: { - grpcServiceConfig: new protos.grpc.service_config.ServiceConfig(), + grpcServiceConfig: {} as protos.grpc.service_config.ServiceConfig, }, commentsMap: new CommentsMap([fd]), }); assert.strictEqual(proto.diregapic, undefined); }); it('should be true when diregapic is set', () => { - const fd = new protos.google.protobuf.FileDescriptorProto(); + const fd = {} as protos.google.protobuf.FileDescriptorProto; const proto = new Proto({ fd, packageName: 'google.cloud.example.v1beta1', @@ -658,7 +632,7 @@ describe('src/schema/proto.ts', () => { allResourceDatabase: new ResourceDatabase(), resourceDatabase: new ResourceDatabase(), options: { - grpcServiceConfig: new protos.grpc.service_config.ServiceConfig(), + grpcServiceConfig: {} as protos.grpc.service_config.ServiceConfig, diregapic: true, }, commentsMap: new CommentsMap([fd]), @@ -669,53 +643,51 @@ describe('src/schema/proto.ts', () => { describe('should support pagination for non-gRPC APIs, diregapic mode', () => { it('should be page field if diregapic mode and use "max_results" as field name', () => { - const fd = new protos.google.protobuf.FileDescriptorProto(); + const fd = {} as protos.google.protobuf.FileDescriptorProto; fd.name = 'google/cloud/showcase/v1beta1/test.proto'; fd.package = 'google.cloud.showcase.v1beta1'; - fd.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + fd.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; fd.service[0].name = 'service'; fd.service[0].method = [ - new protos.google.protobuf.MethodDescriptorProto(), + {} as protos.google.protobuf.MethodDescriptorProto, ]; - fd.service[0].method[0] = new protos.google.protobuf.MethodDescriptorProto(); + fd.service[0].method[0] = {} as protos.google.protobuf.MethodDescriptorProto; fd.service[0].method[0].name = 'List'; fd.service[0].method[0].outputType = '.google.cloud.showcase.v1beta1.AddressList'; fd.service[0].method[0].inputType = '.google.cloud.showcase.v1beta1.ListAddressesRequest'; - fd.messageType = [new protos.google.protobuf.DescriptorProto()]; - fd.messageType[0] = new protos.google.protobuf.DescriptorProto(); - fd.messageType[1] = new protos.google.protobuf.DescriptorProto(); + fd.messageType = [{} as protos.google.protobuf.DescriptorProto]; + fd.messageType[0] = {} as protos.google.protobuf.DescriptorProto; + fd.messageType[1] = {} as protos.google.protobuf.DescriptorProto; fd.messageType[0].name = 'AddressList'; fd.messageType[1].name = 'ListAddressesRequest'; fd.messageType[0].field = [ - new protos.google.protobuf.FieldDescriptorProto(), + {} as protos.google.protobuf.FieldDescriptorProto, ]; - fd.messageType[0].field[0] = new protos.google.protobuf.FieldDescriptorProto(); + fd.messageType[0].field[0] = {} as protos.google.protobuf.FieldDescriptorProto; fd.messageType[0].field[0].name = 'next_page_token'; - fd.messageType[0].field[0].label = - protos.google.protobuf.FieldDescriptorProto.Label.LABEL_REPEATED; - fd.messageType[0].field[0].type = - protos.google.protobuf.FieldDescriptorProto.Type.TYPE_MESSAGE; + fd.messageType[0].field[0].label = 3; // LABEL_REPEATED + fd.messageType[0].field[0].type = 11; // TYPE_MESSAGE fd.messageType[0].field[0].typeName = '.google.cloud.showcase.v1beta1.Address'; fd.messageType[1].field = [ - new protos.google.protobuf.FieldDescriptorProto(), + {} as protos.google.protobuf.FieldDescriptorProto, ]; - fd.messageType[1].field[0] = new protos.google.protobuf.FieldDescriptorProto(); + fd.messageType[1].field[0] = {} as protos.google.protobuf.FieldDescriptorProto; fd.messageType[1].field[0].name = 'max_results'; - fd.messageType[1].field[1] = new protos.google.protobuf.FieldDescriptorProto(); + fd.messageType[1].field[1] = {} as protos.google.protobuf.FieldDescriptorProto; fd.messageType[1].field[1].name = 'page_token'; const options: Options = { - grpcServiceConfig: new protos.grpc.service_config.ServiceConfig(), + grpcServiceConfig: {} as protos.grpc.service_config.ServiceConfig, diregapic: true, }; const allMessages: MessagesMap = {}; fd.messageType - .filter(message => message.name) + ?.filter(message => message.name) .forEach(message => { allMessages['.' + fd.package! + '.' + message.name!] = message; }); @@ -748,51 +720,45 @@ describe('src/schema/proto.ts', () => { ); }); it('should not be page field if api is not google discovery api but use "max_result"', () => { - const fd = new protos.google.protobuf.FileDescriptorProto(); + const fd = {} as protos.google.protobuf.FileDescriptorProto; fd.name = 'google/cloud/showcase/v1beta1/test.proto'; fd.package = 'google.cloud.showcase.v1beta1'; - fd.service = [new protos.google.protobuf.ServiceDescriptorProto()]; + fd.service = [{} as protos.google.protobuf.ServiceDescriptorProto]; fd.service[0].name = 'service'; fd.service[0].method = [ - new protos.google.protobuf.MethodDescriptorProto(), + {} as protos.google.protobuf.MethodDescriptorProto, ]; - fd.service[0].method[0] = new protos.google.protobuf.MethodDescriptorProto(); + fd.service[0].method[0] = {} as protos.google.protobuf.MethodDescriptorProto; fd.service[0].method[0].name = 'List'; fd.service[0].method[0].outputType = '.google.cloud.showcase.v1beta1.AddressList'; fd.service[0].method[0].inputType = '.google.cloud.showcase.v1beta1.ListAddressesRequest'; - fd.messageType = [new protos.google.protobuf.DescriptorProto()]; - fd.messageType[0] = new protos.google.protobuf.DescriptorProto(); - fd.messageType[1] = new protos.google.protobuf.DescriptorProto(); + fd.messageType = [{} as protos.google.protobuf.DescriptorProto]; + fd.messageType[0] = {} as protos.google.protobuf.DescriptorProto; + fd.messageType[1] = {} as protos.google.protobuf.DescriptorProto; fd.messageType[0].name = 'AddressList'; fd.messageType[1].name = 'ListAddressesRequest'; fd.messageType[0].field = [ - new protos.google.protobuf.FieldDescriptorProto(), + {} as protos.google.protobuf.FieldDescriptorProto, ]; - fd.messageType[0].field[0] = new protos.google.protobuf.FieldDescriptorProto(); + fd.messageType[0].field[0] = {} as protos.google.protobuf.FieldDescriptorProto; fd.messageType[0].field[0].name = 'next_page_token'; - fd.messageType[0].field[0].label = - protos.google.protobuf.FieldDescriptorProto.Label.LABEL_REPEATED; + fd.messageType[0].field[0].label = 3; // LABEL_REPEATED fd.messageType[1].field = [ - new protos.google.protobuf.FieldDescriptorProto(), + {} as protos.google.protobuf.FieldDescriptorProto, ]; - fd.messageType[1].field[0] = new protos.google.protobuf.FieldDescriptorProto(); + fd.messageType[1].field[0] = {} as protos.google.protobuf.FieldDescriptorProto; fd.messageType[1].field[0].name = 'max_results'; - fd.messageType[1].field[1] = new protos.google.protobuf.FieldDescriptorProto(); + fd.messageType[1].field[1] = {} as protos.google.protobuf.FieldDescriptorProto; fd.messageType[1].field[1].name = 'page_token'; const options: Options = { - grpcServiceConfig: new protos.grpc.service_config.ServiceConfig(), + grpcServiceConfig: {} as protos.grpc.service_config.ServiceConfig, }; const allMessages: MessagesMap = {}; - fd.messageType - .filter(message => message.name) - .forEach(message => { - allMessages['.' + fd.package! + '.' + message.name!] = message; - }); const commentsMap = new CommentsMap([fd]); const proto = new Proto({ fd, diff --git a/typescript/test/unit/resource-database.ts b/typescript/test/unit/resource-database.ts index cfff157c5..90f198c10 100644 --- a/typescript/test/unit/resource-database.ts +++ b/typescript/test/unit/resource-database.ts @@ -12,10 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. -import * as protos from '../../../protos'; -import {ResourceDatabase} from '../../src/schema/resource-database'; +import type * as protos from '../../../protos/index.js'; +import {ResourceDatabase} from '../../src/schema/resource-database.js'; import {describe, it, beforeEach, afterEach} from 'mocha'; -import * as assert from 'assert'; +import assert from 'assert'; describe('src/schema/resource-database.ts', () => { let warnings: string[] = []; diff --git a/typescript/test/unit/retryable-code-map.ts b/typescript/test/unit/retryable-code-map.ts index 9307675dc..fb74f81eb 100644 --- a/typescript/test/unit/retryable-code-map.ts +++ b/typescript/test/unit/retryable-code-map.ts @@ -12,13 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. -import {RetryableCodeMap} from '../../src/schema/retryable-code-map'; -import * as protos from '../../../protos'; -import * as assert from 'assert'; +import {RetryableCodeMap, Code} from '../../src/schema/retryable-code-map.js'; +import assert from 'assert'; import {describe, it} from 'mocha'; -const Code = protos.google.rpc.Code; - describe('src/schema/retryable-code-map.ts', () => { describe('Retry codes', () => { it('has readable names for common code lists', () => { diff --git a/typescript/test/unit/util.ts b/typescript/test/unit/util.ts index 4b7663cd8..39e5d3fb3 100644 --- a/typescript/test/unit/util.ts +++ b/typescript/test/unit/util.ts @@ -12,17 +12,18 @@ // See the License for the specific language governing permissions and // limitations under the License. -import * as assert from 'assert'; +import assert from 'assert'; import {describe, it} from 'mocha'; import { commonPrefix, - duration, seconds, milliseconds, isDigit, processPathTemplate, -} from '../../src/util'; -import * as protos from '../../../protos'; +} from '../../src/util.js'; +import {protobuf} from 'google-gax'; +import protoJson from '../../../protos/protos.json' assert { type: 'json' }; +import type * as protos from '../../../protos/index.js'; describe('src/util.ts', () => { describe('CommonPrefix', () => { @@ -41,80 +42,41 @@ describe('src/util.ts', () => { }); describe('Duration', () => { - it('should support fractional seconds', () => { - const input = '0.1s'; - const dur = duration(input); - assert.strictEqual(Number(dur.seconds), 0); - assert.strictEqual(Number(dur.nanos), 0.1 * 1e9); - }); - - it('should support fractional minutes', () => { - const input = '0.5m'; - const dur = duration(input); - assert.strictEqual(Number(dur.seconds), 30); - assert.strictEqual(Number(dur.nanos), 0); - }); - - it('should build correct Duration object for seconds', () => { - const input = '5s'; - const dur = duration(input); - assert.strictEqual(Number(dur.seconds), 5); - assert.strictEqual(Number(dur.nanos), 0); - }); - - it('should build correct Duration object for minutes', () => { - const input = '10m'; - const dur = duration(input); - assert.strictEqual(Number(dur.seconds), 10 * 60); - assert.strictEqual(Number(dur.nanos), 0); - }); - - it('should build correct Duration object for hours', () => { - const input = '2h'; - const dur = duration(input); - assert.strictEqual(Number(dur.seconds), 2 * 60 * 60); - assert.strictEqual(Number(dur.nanos), 0); - }); - - it('should build correct Duration object for days', () => { - const input = '3d'; - const dur = duration(input); - assert.strictEqual(Number(dur.seconds), 3 * 60 * 60 * 24); - assert.strictEqual(Number(dur.nanos), 0); - }); + const root = protobuf.Root.fromJSON(protoJson); + const Duration = root.lookupType('google.protobuf.Duration'); it('should convert Duration to whole seconds', () => { - const duration = protos.google.protobuf.Duration.fromObject({ + const duration = Duration.toObject(Duration.fromObject({ seconds: 10, nanos: 0, - }); + })) as protos.google.protobuf.Duration; const result = seconds(duration); assert.strictEqual(result, 10); }); it('should convert Duration to fractional seconds', () => { - const duration = protos.google.protobuf.Duration.fromObject({ + const duration = Duration.toObject(Duration.fromObject({ seconds: 5, nanos: 500000000, - }); + })) as protos.google.protobuf.Duration; const result = seconds(duration); assert.strictEqual(result, 5.5); }); it('should convert Duration to whole milliseconds', () => { - const duration = protos.google.protobuf.Duration.fromObject({ + const duration = Duration.toObject(Duration.fromObject({ seconds: 10, nanos: 0, - }); + })) as protos.google.protobuf.Duration; const result = milliseconds(duration); assert.strictEqual(result, 10000); }); it('should convert Duration to fractional milliseconds', () => { - const duration = protos.google.protobuf.Duration.fromObject({ + const duration = Duration.toObject(Duration.fromObject({ seconds: 5, nanos: 500000000, - }); + })) as protos.google.protobuf.Duration; const result = milliseconds(duration); assert.strictEqual(result, 5500); }); @@ -338,19 +300,6 @@ describe('src/util.ts', () => { 'product_name_v1p1beta1' ); }); - - it('should replace all search item with replacement', () => { - assert.deepStrictEqual(''.replaceAll('', 'success'), ''); - assert.deepStrictEqual('Read me'.replaceAll('me', 'this'), 'Read this'); - assert.deepStrictEqual( - 'This is a Test'.replaceAll('T', 't'), - 'this is a test' - ); - assert.deepStrictEqual( - 'location*/address*/room/*'.replaceAll('*/', '* /'), - 'location* /address* /room/*' - ); - }); }); describe('array manipulation', () => { diff --git a/typescript/test/util.ts b/typescript/test/util.ts index d1677a07f..3d10d422a 100644 --- a/typescript/test/util.ts +++ b/typescript/test/util.ts @@ -12,11 +12,16 @@ // See the License for the specific language governing permissions and // limitations under the License. -import * as fs from 'fs-extra'; +import * as fs from 'fs'; +import * as fsp from 'fs/promises'; import * as path from 'path'; +import * as url from 'url'; import {it} from 'mocha'; import {execSync} from 'child_process'; -import * as assert from 'assert'; +import assert from 'assert'; + +// https://blog.logrocket.com/alternatives-dirname-node-js-es-modules/#help-im-missing-dirname +const __dirname = url.fileURLToPath(new URL('.', import.meta.url)); const NO_OUTPUT_FILE = 0; const IDENTICAL_FILE = 1; @@ -91,7 +96,7 @@ export function runBaselineTest(options: BaselineOptions) { it(options.baselineName, async function () { this.timeout(60000); if (fs.existsSync(outputDir)) { - await fs.remove(outputDir); + await fsp.rm(outputDir, {recursive: true}); } fs.mkdirSync(outputDir); diff --git a/typescript/tools/update-baselines.ts b/typescript/tools/update-baselines.ts index 23f54ecae..7f3a920b9 100644 --- a/typescript/tools/update-baselines.ts +++ b/typescript/tools/update-baselines.ts @@ -21,15 +21,9 @@ import {exec} from 'child_process'; import * as path from 'path'; import {promisify} from 'util'; -import { - readdir, - mkdirp, - existsSync, - stat, - symlink, - copy, - remove, -} from 'fs-extra'; +import {existsSync} from 'fs'; +import * as fsp from 'fs/promises'; +import {readdir, stat, symlink} from 'fs/promises'; const execp = promisify(exec); @@ -40,7 +34,7 @@ const baselineZip = path.join( 'bazel-testlogs', 'unit_tests', 'test.outputs', - 'outputs.zip' + 'outputs.zip', ); function getBaselineDirectory(library: string): string { @@ -56,7 +50,7 @@ async function copyBaseline(library: string, root: string, directory = '.') { const start = path.join(root, directory); const targetDirectory = path.join(getBaselineDirectory(library), directory); if (!existsSync(targetDirectory)) { - await mkdirp(targetDirectory); + await fsp.mkdir(targetDirectory, {recursive: true}); } const files = await readdir(start); for (const file of files) { @@ -71,13 +65,13 @@ async function copyBaseline(library: string, root: string, directory = '.') { // (package.json.baseline is a symlink to package.json to make renovate bot happy) if (relativePath.endsWith(`${path.sep}package.json`)) { const packageJson = baseline.substring(0, baseline.lastIndexOf('.')); - await copy(absolutePath, packageJson); + await fsp.cp(absolutePath, packageJson, {recursive: true}); const dirname = path.dirname(packageJson); process.chdir(dirname); await symlink('package.json', 'package.json.baseline'); process.chdir(cwd); } else { - await copy(absolutePath, baseline); + await fsp.cp(absolutePath, baseline, {recursive: true}); } console.log(` - ${relativePath}`); } @@ -100,7 +94,7 @@ async function main() { file.match(resultPrefix) ); for (const oldFolder of oldFolders) { - await remove(oldFolder); + await fsp.rm(oldFolder, {recursive: true}); } // unzip baselines await execp(`unzip -o "${baselineZip}" -d .`); @@ -120,7 +114,7 @@ async function main() { console.log(`Updating baseline for ${library}...`); console.log(` - rm -rf "${baselineDir}"...`); - await remove(baselineDir); + await fsp.rm(baselineDir, {recursive: true}); console.log(` - copying files from ${dir}...`); await copyBaseline(library, path.join(root, dir)); console.log('done!'); diff --git a/yarn.lock b/yarn.lock deleted file mode 100644 index c42448743..000000000 --- a/yarn.lock +++ /dev/null @@ -1,3101 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -"@babel/code-frame@7.12.11", "@babel/code-frame@^7.0.0": - version "7.12.11" - resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz" - dependencies: - "@babel/highlight" "^7.10.4" - -"@babel/helper-validator-identifier@^7.12.11": - version "7.12.11" - resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz" - -"@babel/highlight@^7.10.4": - version "7.13.8" - resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.13.8.tgz" - dependencies: - "@babel/helper-validator-identifier" "^7.12.11" - chalk "^2.0.0" - js-tokens "^4.0.0" - -"@babel/parser@^7.9.4": - version "7.18.9" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.18.9.tgz#f2dde0c682ccc264a9a8595efd030a5cc8fd2539" - integrity sha512-9uJveS9eY9DJ0t64YbIBZICtJy8a5QrDEVdiLCG97fVLpDTpGX7t8mMSb6OWw6Lrnjqj4O8zwjELX3dhoMgiBg== - -"@bazel/bazelisk@^1.12.1": - version "1.12.1" - resolved "https://registry.yarnpkg.com/@bazel/bazelisk/-/bazelisk-1.12.1.tgz#346531286564aa29eee03a62362d210f3433e7bf" - integrity sha512-TGCwVeIiVeQUP6yLpxAg8yluFOC+tBQnWw5l8lqwMxKhRtOA+WaH1CJKAXeCBAaS2MxohhkXq44zj/7AM+t2jg== - -"@bazel/buildifier@^5.1.0": - version "5.1.0" - resolved "https://registry.yarnpkg.com/@bazel/buildifier/-/buildifier-5.1.0.tgz#ae0b93c5d14b2b080d5a492a8bfee231101b5385" - integrity sha512-gO0+//hkH+iE3AQ02mYttJAcWiE+rapP8IxmstDhwSqs+CmZJJI8Q1vAaIvMyJUT3NIf7lGljRNpzclkCPk89w== - -"@bazel/typescript@~4.6.1": - version "4.6.2" - resolved "https://registry.npmjs.org/@bazel/typescript/-/typescript-4.6.2.tgz" - dependencies: - "@bazel/worker" "4.6.2" - protobufjs "6.8.8" - semver "5.6.0" - source-map-support "0.5.9" - tsutils "3.21.0" - -"@bazel/worker@4.6.2": - version "4.6.2" - resolved "https://registry.npmjs.org/@bazel/worker/-/worker-4.6.2.tgz" - dependencies: - google-protobuf "^3.6.1" - -"@bcoe/v8-coverage@^0.2.3": - version "0.2.3" - resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz" - -"@cspotcode/source-map-support@^0.8.0": - version "0.8.1" - resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1" - integrity sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw== - dependencies: - "@jridgewell/trace-mapping" "0.3.9" - -"@eslint/eslintrc@^0.4.0": - version "0.4.0" - resolved "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.0.tgz" - dependencies: - ajv "^6.12.4" - debug "^4.1.1" - espree "^7.3.0" - globals "^12.1.0" - ignore "^4.0.6" - import-fresh "^3.2.1" - js-yaml "^3.13.1" - minimatch "^3.0.4" - strip-json-comments "^3.1.1" - -"@grpc/grpc-js@~1.7.0": - version "1.7.0" - resolved "https://registry.yarnpkg.com/@grpc/grpc-js/-/grpc-js-1.7.0.tgz#5a96bdbe51cce23faa38a4db6e43595a5c584849" - integrity sha512-wvKxal+40Xx11DXO2q5PfY3UiE25iwTb8SOz6A9IJII/V7d19x2ex0he+GJfVW0JZCaBjCPSjUB0yU9Ecm4WCw== - dependencies: - "@grpc/proto-loader" "^0.7.0" - "@types/node" ">=12.12.47" - -"@grpc/proto-loader@^0.7.0": - version "0.7.0" - resolved "https://registry.yarnpkg.com/@grpc/proto-loader/-/proto-loader-0.7.0.tgz#743cc8a941cc251620c66ebe0d330e1411a33535" - integrity sha512-SGPZtVmqOvNfPFOA/nNPn+0Weqa5wubBgQ56+JgTbeLY2VezwtMjwPPFzh0kvQccwWT3a2TXT0ZGK/pJoOTk1A== - dependencies: - "@types/long" "^4.0.1" - lodash.camelcase "^4.3.0" - long "^4.0.0" - protobufjs "^7.0.0" - yargs "^16.2.0" - -"@istanbuljs/schema@^0.1.2", "@istanbuljs/schema@^0.1.3": - version "0.1.3" - resolved "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz" - -"@jridgewell/resolve-uri@^3.0.3": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" - integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== - -"@jridgewell/sourcemap-codec@^1.4.10": - version "1.4.14" - resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" - integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== - -"@jridgewell/trace-mapping@0.3.9": - version "0.3.9" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz#6534fd5933a53ba7cbf3a17615e273a0d1273ff9" - integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ== - dependencies: - "@jridgewell/resolve-uri" "^3.0.3" - "@jridgewell/sourcemap-codec" "^1.4.10" - -"@jridgewell/trace-mapping@^0.3.12": - version "0.3.14" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.14.tgz#b231a081d8f66796e475ad588a1ef473112701ed" - integrity sha512-bJWEfQ9lPTvm3SneWwRFVLzrh6nhjwqw7TUFFBEMzwvg7t7PCDenf2lDwqo4NQXzdpgBXyFgDWnQA+2vkruksQ== - dependencies: - "@jridgewell/resolve-uri" "^3.0.3" - "@jridgewell/sourcemap-codec" "^1.4.10" - -"@nodelib/fs.scandir@2.1.4": - version "2.1.4" - resolved "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz" - dependencies: - "@nodelib/fs.stat" "2.0.4" - run-parallel "^1.1.9" - -"@nodelib/fs.stat@2.0.4", "@nodelib/fs.stat@^2.0.2": - version "2.0.4" - resolved "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.4.tgz" - -"@nodelib/fs.walk@^1.2.3": - version "1.2.6" - resolved "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.6.tgz" - dependencies: - "@nodelib/fs.scandir" "2.1.4" - fastq "^1.6.0" - -"@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": - version "1.1.2" - resolved "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz" - -"@protobufjs/base64@^1.1.2": - version "1.1.2" - resolved "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz" - -"@protobufjs/codegen@^2.0.4": - version "2.0.4" - resolved "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz" - -"@protobufjs/eventemitter@^1.1.0": - version "1.1.0" - resolved "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz" - -"@protobufjs/fetch@^1.1.0": - version "1.1.0" - resolved "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz" - dependencies: - "@protobufjs/aspromise" "^1.1.1" - "@protobufjs/inquire" "^1.1.0" - -"@protobufjs/float@^1.0.2": - version "1.0.2" - resolved "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz" - -"@protobufjs/inquire@^1.1.0": - version "1.1.0" - resolved "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz" - -"@protobufjs/path@^1.1.2": - version "1.1.2" - resolved "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz" - -"@protobufjs/pool@^1.1.0": - version "1.1.0" - resolved "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz" - -"@protobufjs/utf8@^1.1.0": - version "1.1.0" - resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz" - -"@sinonjs/commons@^1.6.0", "@sinonjs/commons@^1.7.0", "@sinonjs/commons@^1.8.3": - version "1.8.3" - resolved "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz" - dependencies: - type-detect "4.0.8" - -"@sinonjs/fake-timers@>=5": - version "9.1.0" - resolved "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-9.1.0.tgz" - dependencies: - "@sinonjs/commons" "^1.7.0" - -"@sinonjs/fake-timers@^9.1.2": - version "9.1.2" - resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-9.1.2.tgz#4eaab737fab77332ab132d396a3c0d364bd0ea8c" - integrity sha512-BPS4ynJW/o92PUR4wgriz2Ud5gpST5vz6GQfMixEDK0Z8ZCUv2M7SkBLykH56T++Xs+8ln9zTGbOvNGIe02/jw== - dependencies: - "@sinonjs/commons" "^1.7.0" - -"@sinonjs/samsam@^6.1.1": - version "6.1.1" - resolved "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-6.1.1.tgz" - dependencies: - "@sinonjs/commons" "^1.6.0" - lodash.get "^4.4.2" - type-detect "^4.0.8" - -"@sinonjs/text-encoding@^0.7.1": - version "0.7.1" - resolved "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.1.tgz" - -"@tsconfig/node10@^1.0.7": - version "1.0.9" - resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.9.tgz#df4907fc07a886922637b15e02d4cebc4c0021b2" - integrity sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA== - -"@tsconfig/node12@^1.0.7": - version "1.0.11" - resolved "https://registry.yarnpkg.com/@tsconfig/node12/-/node12-1.0.11.tgz#ee3def1f27d9ed66dac6e46a295cffb0152e058d" - integrity sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag== - -"@tsconfig/node14@^1.0.0": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@tsconfig/node14/-/node14-1.0.3.tgz#e4386316284f00b98435bf40f72f75a09dabf6c1" - integrity sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow== - -"@tsconfig/node16@^1.0.2": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.3.tgz#472eaab5f15c1ffdd7f8628bd4c4f753995ec79e" - integrity sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ== - -"@types/fs-extra@^9.0.13": - version "9.0.13" - resolved "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-9.0.13.tgz" - dependencies: - "@types/node" "*" - -"@types/istanbul-lib-coverage@^2.0.1": - version "2.0.3" - resolved "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz" - -"@types/js-yaml@^4.0.5": - version "4.0.5" - resolved "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.5.tgz" - -"@types/json-schema@^7.0.3": - version "7.0.7" - resolved "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.7.tgz" - -"@types/linkify-it@*": - version "3.0.2" - resolved "https://registry.yarnpkg.com/@types/linkify-it/-/linkify-it-3.0.2.tgz#fd2cd2edbaa7eaac7e7f3c1748b52a19143846c9" - integrity sha512-HZQYqbiFVWufzCwexrvh694SOim8z2d+xJl5UNamcvQFejLY/2YUtzXHYi3cHdI7PMlS8ejH2slRAOJQ32aNbA== - -"@types/long@^4.0.0", "@types/long@^4.0.1": - version "4.0.1" - resolved "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz" - -"@types/long@^4.0.2": - version "4.0.2" - resolved "https://registry.yarnpkg.com/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" - integrity sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA== - -"@types/markdown-it@^12.2.3": - version "12.2.3" - resolved "https://registry.yarnpkg.com/@types/markdown-it/-/markdown-it-12.2.3.tgz#0d6f6e5e413f8daaa26522904597be3d6cd93b51" - integrity sha512-GKMHFfv3458yYy+v/N8gjufHO6MSZKCOXpZc5GXIWWy8uldwfmPn98vp81gZ5f9SVw8YYBctgfJ22a2d7AOMeQ== - dependencies: - "@types/linkify-it" "*" - "@types/mdurl" "*" - -"@types/mdurl@*": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@types/mdurl/-/mdurl-1.0.2.tgz#e2ce9d83a613bacf284c7be7d491945e39e1f8e9" - integrity sha512-eC4U9MlIcu2q0KQmXszyn5Akca/0jrQmwDRgpAMJai7qBWq4amIQhZyNau4VYGtCeALvW1/NtjzJJ567aZxfKA== - -"@types/minimist@^1.2.0": - version "1.2.1" - resolved "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.1.tgz" - -"@types/mocha@^10.0.0": - version "10.0.0" - resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-10.0.0.tgz#3d9018c575f0e3f7386c1de80ee66cc21fbb7a52" - integrity sha512-rADY+HtTOA52l9VZWtgQfn4p+UDVM2eDVkMZT1I6syp0YKxW2F9v+0pbRZLsvskhQv/vMb6ZfCay81GHbz5SHg== - -"@types/module-alias@^2.0.1": - version "2.0.1" - resolved "https://registry.npmjs.org/@types/module-alias/-/module-alias-2.0.1.tgz" - -"@types/node@*", "@types/node@>=12.12.47", "@types/node@>=13.7.0": - version "16.11.24" - resolved "https://registry.npmjs.org/@types/node/-/node-16.11.24.tgz" - -"@types/node@^10.1.0": - version "10.17.54" - resolved "https://registry.npmjs.org/@types/node/-/node-10.17.54.tgz" - -"@types/node@^16.11.68": - version "16.11.68" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.68.tgz#30ee923f4d940793e0380f5ce61c0bd4b7196b6c" - integrity sha512-JkRpuVz3xCNCWaeQ5EHLR/6woMbHZz/jZ7Kmc63AkU+1HxnoUugzSWMck7dsR4DvNYX8jp9wTi9K7WvnxOIQZQ== - -"@types/normalize-package-data@^2.4.0": - version "2.4.0" - resolved "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz" - -"@types/nunjucks@^3.2.1": - version "3.2.1" - resolved "https://registry.npmjs.org/@types/nunjucks/-/nunjucks-3.2.1.tgz" - -"@types/object-hash@^2.2.1": - version "2.2.1" - resolved "https://registry.npmjs.org/@types/object-hash/-/object-hash-2.2.1.tgz" - -"@types/sinon@^10.0.13": - version "10.0.13" - resolved "https://registry.yarnpkg.com/@types/sinon/-/sinon-10.0.13.tgz#60a7a87a70d9372d0b7b38cc03e825f46981fb83" - integrity sha512-UVjDqJblVNQYvVNUsj0PuYYw0ELRmgt1Nt5Vk0pT5f16ROGfcKJY8o1HVuMOJOpD727RrGB9EGvoaTQE5tgxZQ== - dependencies: - "@types/sinonjs__fake-timers" "*" - -"@types/sinonjs__fake-timers@*": - version "8.1.2" - resolved "https://registry.yarnpkg.com/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.2.tgz#bf2e02a3dbd4aecaf95942ecd99b7402e03fad5e" - integrity sha512-9GcLXF0/v3t80caGs5p2rRfkB+a8VBGLJZVih6CNFkx8IZ994wiKKLSRs9nuFwk1HevWs/1mnUmkApGrSGsShA== - -"@types/yargs-parser@*": - version "20.2.0" - resolved "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-20.2.0.tgz" - -"@types/yargs@^17.0.13": - version "17.0.13" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.13.tgz#34cced675ca1b1d51fcf4d34c3c6f0fa142a5c76" - integrity sha512-9sWaruZk2JGxIQU+IhI1fhPYRcQ0UuTNuKuCW9bR5fp7qi2Llf7WDzNa17Cy7TKnh3cdxDOiyTu6gaLS0eDatg== - dependencies: - "@types/yargs-parser" "*" - -"@typescript-eslint/eslint-plugin@^4.2.0": - version "4.16.1" - resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.16.1.tgz" - dependencies: - "@typescript-eslint/experimental-utils" "4.16.1" - "@typescript-eslint/scope-manager" "4.16.1" - debug "^4.1.1" - functional-red-black-tree "^1.0.1" - lodash "^4.17.15" - regexpp "^3.0.0" - semver "^7.3.2" - tsutils "^3.17.1" - -"@typescript-eslint/experimental-utils@4.16.1": - version "4.16.1" - resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.16.1.tgz" - dependencies: - "@types/json-schema" "^7.0.3" - "@typescript-eslint/scope-manager" "4.16.1" - "@typescript-eslint/types" "4.16.1" - "@typescript-eslint/typescript-estree" "4.16.1" - eslint-scope "^5.0.0" - eslint-utils "^2.0.0" - -"@typescript-eslint/parser@^4.2.0": - version "4.16.1" - resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.16.1.tgz" - dependencies: - "@typescript-eslint/scope-manager" "4.16.1" - "@typescript-eslint/types" "4.16.1" - "@typescript-eslint/typescript-estree" "4.16.1" - debug "^4.1.1" - -"@typescript-eslint/scope-manager@4.16.1": - version "4.16.1" - resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.16.1.tgz" - dependencies: - "@typescript-eslint/types" "4.16.1" - "@typescript-eslint/visitor-keys" "4.16.1" - -"@typescript-eslint/types@4.16.1": - version "4.16.1" - resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.16.1.tgz" - -"@typescript-eslint/typescript-estree@4.16.1": - version "4.16.1" - resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.16.1.tgz" - dependencies: - "@typescript-eslint/types" "4.16.1" - "@typescript-eslint/visitor-keys" "4.16.1" - debug "^4.1.1" - globby "^11.0.1" - is-glob "^4.0.1" - semver "^7.3.2" - tsutils "^3.17.1" - -"@typescript-eslint/visitor-keys@4.16.1": - version "4.16.1" - resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.16.1.tgz" - dependencies: - "@typescript-eslint/types" "4.16.1" - eslint-visitor-keys "^2.0.0" - -a-sync-waterfall@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/a-sync-waterfall/-/a-sync-waterfall-1.0.1.tgz" - -abort-controller@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz" - dependencies: - event-target-shim "^5.0.0" - -acorn-es7-plugin@^1.0.10: - version "1.1.7" - resolved "https://registry.npmjs.org/acorn-es7-plugin/-/acorn-es7-plugin-1.1.7.tgz" - -acorn-jsx@^5.3.1: - version "5.3.1" - resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.1.tgz" - -acorn-jsx@^5.3.2: - version "5.3.2" - resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" - integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== - -acorn-walk@^8.1.1: - version "8.2.0" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" - integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== - -acorn@^5.0.0: - version "5.7.4" - resolved "https://registry.npmjs.org/acorn/-/acorn-5.7.4.tgz" - -acorn@^7.4.0: - version "7.4.1" - resolved "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz" - -acorn@^8.4.1, acorn@^8.7.1: - version "8.8.0" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.0.tgz#88c0187620435c7f6015803f5539dae05a9dbea8" - integrity sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w== - -agent-base@6: - version "6.0.2" - resolved "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz" - dependencies: - debug "4" - -ajv@^6.10.0, ajv@^6.12.4: - version "6.12.6" - resolved "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz" - dependencies: - fast-deep-equal "^3.1.1" - fast-json-stable-stringify "^2.0.0" - json-schema-traverse "^0.4.1" - uri-js "^4.2.2" - -ajv@^7.0.2: - version "7.2.4" - resolved "https://registry.npmjs.org/ajv/-/ajv-7.2.4.tgz" - dependencies: - fast-deep-equal "^3.1.1" - json-schema-traverse "^1.0.0" - require-from-string "^2.0.2" - uri-js "^4.2.2" - -amdefine@>=0.0.4: - version "1.0.1" - resolved "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz" - -ansi-colors@4.1.1, ansi-colors@^4.1.1: - version "4.1.1" - resolved "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz" - -ansi-escapes@^4.2.1: - version "4.3.1" - resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.1.tgz" - dependencies: - type-fest "^0.11.0" - -ansi-regex@^5.0.0, ansi-regex@^5.0.1: - version "5.0.1" - resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz" - -ansi-styles@^3.2.1: - version "3.2.1" - resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz" - dependencies: - color-convert "^1.9.0" - -ansi-styles@^4.0.0, ansi-styles@^4.1.0: - version "4.3.0" - resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz" - dependencies: - color-convert "^2.0.1" - -anymatch@~3.1.2: - version "3.1.2" - resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz" - dependencies: - normalize-path "^3.0.0" - picomatch "^2.0.4" - -arg@^4.1.0: - version "4.1.3" - resolved "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz" - -argparse@^1.0.7: - version "1.0.10" - resolved "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz" - dependencies: - sprintf-js "~1.0.2" - -argparse@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz" - -array-find@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/array-find/-/array-find-1.0.0.tgz" - -array-union@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz" - -arrify@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz" - -arrify@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz" - -asap@^2.0.3: - version "2.0.6" - resolved "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz" - -astral-regex@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz" - -balanced-match@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz" - -base64-js@^1.3.0: - version "1.5.1" - resolved "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz" - -bignumber.js@^9.0.0: - version "9.0.2" - resolved "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.2.tgz" - -binary-extensions@^2.0.0: - version "2.2.0" - resolved "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz" - -bluebird@^3.7.2: - version "3.7.2" - resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" - integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== - -brace-expansion@^1.1.7: - version "1.1.11" - resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz" - dependencies: - balanced-match "^1.0.0" - concat-map "0.0.1" - -brace-expansion@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae" - integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== - dependencies: - balanced-match "^1.0.0" - -braces@^3.0.1, braces@~3.0.2: - version "3.0.2" - resolved "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz" - dependencies: - fill-range "^7.0.1" - -browser-stdout@1.3.1: - version "1.3.1" - resolved "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz" - -buffer-equal-constant-time@1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz" - -buffer-from@^1.0.0: - version "1.1.1" - resolved "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz" - -c8@^7.12.0: - version "7.12.0" - resolved "https://registry.yarnpkg.com/c8/-/c8-7.12.0.tgz#402db1c1af4af5249153535d1c84ad70c5c96b14" - integrity sha512-CtgQrHOkyxr5koX1wEUmN/5cfDa2ckbHRA4Gy5LAL0zaCFtVWJS5++n+w4/sr2GWGerBxgTjpKeDclk/Qk6W/A== - dependencies: - "@bcoe/v8-coverage" "^0.2.3" - "@istanbuljs/schema" "^0.1.3" - find-up "^5.0.0" - foreground-child "^2.0.0" - istanbul-lib-coverage "^3.2.0" - istanbul-lib-report "^3.0.0" - istanbul-reports "^3.1.4" - rimraf "^3.0.2" - test-exclude "^6.0.0" - v8-to-istanbul "^9.0.0" - yargs "^16.2.0" - yargs-parser "^20.2.9" - -call-bind@^1.0.0, call-bind@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz" - dependencies: - function-bind "^1.1.1" - get-intrinsic "^1.0.2" - -call-matcher@^1.0.0: - version "1.1.0" - resolved "https://registry.npmjs.org/call-matcher/-/call-matcher-1.1.0.tgz" - dependencies: - core-js "^2.0.0" - deep-equal "^1.0.0" - espurify "^1.6.0" - estraverse "^4.0.0" - -callsites@^3.0.0: - version "3.1.0" - resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz" - -camelcase-keys@^6.2.2: - version "6.2.2" - resolved "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz" - dependencies: - camelcase "^5.3.1" - map-obj "^4.0.0" - quick-lru "^4.0.1" - -camelcase@^5.3.1: - version "5.3.1" - resolved "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz" - -camelcase@^6.0.0: - version "6.2.0" - resolved "https://registry.npmjs.org/camelcase/-/camelcase-6.2.0.tgz" - -catharsis@^0.9.0: - version "0.9.0" - resolved "https://registry.yarnpkg.com/catharsis/-/catharsis-0.9.0.tgz#40382a168be0e6da308c277d3a2b3eb40c7d2121" - integrity sha512-prMTQVpcns/tzFgFVkVp6ak6RykZyWb3gu8ckUpd6YkTlacOd3DXGJjIpD4Q6zJirizvaiAjSSHlOsA+6sNh2A== - dependencies: - lodash "^4.17.15" - -chalk@^2.0.0: - version "2.4.2" - resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz" - dependencies: - ansi-styles "^3.2.1" - escape-string-regexp "^1.0.5" - supports-color "^5.3.0" - -chalk@^4.0.0, chalk@^4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz" - dependencies: - ansi-styles "^4.1.0" - supports-color "^7.1.0" - -chardet@^0.7.0: - version "0.7.0" - resolved "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz" - -chokidar@3.5.3: - version "3.5.3" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" - integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== - dependencies: - anymatch "~3.1.2" - braces "~3.0.2" - glob-parent "~5.1.2" - is-binary-path "~2.1.0" - is-glob "~4.0.1" - normalize-path "~3.0.0" - readdirp "~3.6.0" - optionalDependencies: - fsevents "~2.3.2" - -cli-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz" - dependencies: - restore-cursor "^3.1.0" - -cli-width@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz" - -cliui@^7.0.2: - version "7.0.4" - resolved "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz" - dependencies: - string-width "^4.2.0" - strip-ansi "^6.0.0" - wrap-ansi "^7.0.0" - -cliui@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa" - integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ== - dependencies: - string-width "^4.2.0" - strip-ansi "^6.0.1" - wrap-ansi "^7.0.0" - -color-convert@^1.9.0: - version "1.9.3" - resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz" - dependencies: - color-name "1.1.3" - -color-convert@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz" - dependencies: - color-name "~1.1.4" - -color-name@1.1.3: - version "1.1.3" - resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz" - -color-name@~1.1.4: - version "1.1.4" - resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz" - -commander@^5.1.0: - version "5.1.0" - resolved "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz" - -concat-map@0.0.1: - version "0.0.1" - resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz" - -convert-source-map@^1.1.1, convert-source-map@^1.6.0: - version "1.7.0" - resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz" - dependencies: - safe-buffer "~5.1.1" - -core-js@^2.0.0: - version "2.6.12" - resolved "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz" - -create-require@^1.1.0: - version "1.1.1" - resolved "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz" - -cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: - version "7.0.3" - resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz" - dependencies: - path-key "^3.1.0" - shebang-command "^2.0.0" - which "^2.0.1" - -d@1, d@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/d/-/d-1.0.1.tgz" - dependencies: - es5-ext "^0.10.50" - type "^1.0.1" - -debug@4, debug@^4.0.1, debug@^4.1.1: - version "4.3.1" - resolved "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz" - dependencies: - ms "2.1.2" - -debug@4.3.4: - version "4.3.4" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" - integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== - dependencies: - ms "2.1.2" - -decamelize-keys@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz" - dependencies: - decamelize "^1.1.0" - map-obj "^1.0.0" - -decamelize@^1.1.0, decamelize@^1.2.0: - version "1.2.0" - resolved "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz" - -decamelize@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz" - -deep-equal@^1.0.0: - version "1.1.1" - resolved "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.1.tgz" - dependencies: - is-arguments "^1.0.4" - is-date-object "^1.0.1" - is-regex "^1.0.4" - object-is "^1.0.1" - object-keys "^1.1.1" - regexp.prototype.flags "^1.2.0" - -deep-is@^0.1.3, deep-is@~0.1.3: - version "0.1.3" - resolved "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz" - -define-properties@^1.1.3: - version "1.1.3" - resolved "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz" - dependencies: - object-keys "^1.0.12" - -diff@5.0.0, diff@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz" - -diff@^4.0.1: - version "4.0.2" - resolved "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz" - -dir-glob@^3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz" - dependencies: - path-type "^4.0.0" - -doctrine@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz" - dependencies: - esutils "^2.0.2" - -duplexify@^4.0.0: - version "4.1.1" - resolved "https://registry.npmjs.org/duplexify/-/duplexify-4.1.1.tgz" - dependencies: - end-of-stream "^1.4.1" - inherits "^2.0.3" - readable-stream "^3.1.1" - stream-shift "^1.0.0" - -ecdsa-sig-formatter@1.0.11, ecdsa-sig-formatter@^1.0.11: - version "1.0.11" - resolved "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz" - dependencies: - safe-buffer "^5.0.1" - -emoji-regex@^8.0.0: - version "8.0.0" - resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz" - -empower-assert@^1.0.0: - version "1.1.0" - resolved "https://registry.npmjs.org/empower-assert/-/empower-assert-1.1.0.tgz" - dependencies: - estraverse "^4.2.0" - -end-of-stream@^1.4.1: - version "1.4.4" - resolved "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz" - dependencies: - once "^1.4.0" - -enquirer@^2.3.5: - version "2.3.6" - resolved "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz" - dependencies: - ansi-colors "^4.1.1" - -entities@~2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/entities/-/entities-2.1.0.tgz#992d3129cf7df6870b96c57858c249a120f8b8b5" - integrity sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w== - -error-ex@^1.3.1: - version "1.3.2" - resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz" - dependencies: - is-arrayish "^0.2.1" - -es5-ext@^0.10.35, es5-ext@^0.10.46, es5-ext@^0.10.50, es5-ext@~0.10.14: - version "0.10.53" - resolved "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz" - dependencies: - es6-iterator "~2.0.3" - es6-symbol "~3.1.3" - next-tick "~1.0.0" - -es6-iterator@^2.0.3, es6-iterator@~2.0.1, es6-iterator@~2.0.3: - version "2.0.3" - resolved "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz" - dependencies: - d "1" - es5-ext "^0.10.35" - es6-symbol "^3.1.1" - -es6-map@^0.1.3: - version "0.1.5" - resolved "https://registry.npmjs.org/es6-map/-/es6-map-0.1.5.tgz" - dependencies: - d "1" - es5-ext "~0.10.14" - es6-iterator "~2.0.1" - es6-set "~0.1.5" - es6-symbol "~3.1.1" - event-emitter "~0.3.5" - -es6-set@~0.1.5: - version "0.1.5" - resolved "https://registry.npmjs.org/es6-set/-/es6-set-0.1.5.tgz" - dependencies: - d "1" - es5-ext "~0.10.14" - es6-iterator "~2.0.1" - es6-symbol "3.1.1" - event-emitter "~0.3.5" - -es6-symbol@3.1.1: - version "3.1.1" - resolved "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.1.tgz" - dependencies: - d "1" - es5-ext "~0.10.14" - -es6-symbol@^3.1.1, es6-symbol@~3.1.1, es6-symbol@~3.1.3: - version "3.1.3" - resolved "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz" - dependencies: - d "^1.0.1" - ext "^1.1.2" - -es6-weak-map@^2.0.1: - version "2.0.3" - resolved "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz" - dependencies: - d "1" - es5-ext "^0.10.46" - es6-iterator "^2.0.3" - es6-symbol "^3.1.1" - -escalade@^3.1.1: - version "3.1.1" - resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz" - -escallmatch@^1.5.0: - version "1.5.0" - resolved "https://registry.npmjs.org/escallmatch/-/escallmatch-1.5.0.tgz" - dependencies: - call-matcher "^1.0.0" - esprima "^2.0.0" - -escape-string-regexp@4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz" - -escape-string-regexp@^1.0.5: - version "1.0.5" - resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz" - -escape-string-regexp@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" - integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== - -escodegen@^1.10.0, escodegen@^1.13.0, escodegen@^1.7.0: - version "1.14.3" - resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.14.3.tgz#4e7b81fba61581dc97582ed78cab7f0e8d63f503" - integrity sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw== - dependencies: - esprima "^4.0.1" - estraverse "^4.2.0" - esutils "^2.0.2" - optionator "^0.8.1" - optionalDependencies: - source-map "~0.6.1" - -escope@^3.3.0: - version "3.6.0" - resolved "https://registry.npmjs.org/escope/-/escope-3.6.0.tgz" - dependencies: - es6-map "^0.1.3" - es6-weak-map "^2.0.1" - esrecurse "^4.1.0" - estraverse "^4.1.1" - -eslint-config-prettier@^7.0.0: - version "7.2.0" - resolved "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-7.2.0.tgz" - -eslint-plugin-es@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz" - dependencies: - eslint-utils "^2.0.0" - regexpp "^3.0.0" - -eslint-plugin-node@^11.1.0: - version "11.1.0" - resolved "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz" - dependencies: - eslint-plugin-es "^3.0.0" - eslint-utils "^2.0.0" - ignore "^5.1.1" - minimatch "^3.0.4" - resolve "^1.10.1" - semver "^6.1.0" - -eslint-plugin-prettier@^3.1.4: - version "3.3.1" - resolved "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.3.1.tgz" - dependencies: - prettier-linter-helpers "^1.0.0" - -eslint-scope@^5.0.0, eslint-scope@^5.1.1: - version "5.1.1" - resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz" - dependencies: - esrecurse "^4.3.0" - estraverse "^4.1.1" - -eslint-utils@^2.0.0, eslint-utils@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz" - dependencies: - eslint-visitor-keys "^1.1.0" - -eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.3.0: - version "1.3.0" - resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz" - -eslint-visitor-keys@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz" - -eslint-visitor-keys@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826" - integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA== - -eslint@^7.10.0: - version "7.21.0" - resolved "https://registry.npmjs.org/eslint/-/eslint-7.21.0.tgz" - dependencies: - "@babel/code-frame" "7.12.11" - "@eslint/eslintrc" "^0.4.0" - ajv "^6.10.0" - chalk "^4.0.0" - cross-spawn "^7.0.2" - debug "^4.0.1" - doctrine "^3.0.0" - enquirer "^2.3.5" - eslint-scope "^5.1.1" - eslint-utils "^2.1.0" - eslint-visitor-keys "^2.0.0" - espree "^7.3.1" - esquery "^1.4.0" - esutils "^2.0.2" - file-entry-cache "^6.0.1" - functional-red-black-tree "^1.0.1" - glob-parent "^5.0.0" - globals "^12.1.0" - ignore "^4.0.6" - import-fresh "^3.0.0" - imurmurhash "^0.1.4" - is-glob "^4.0.0" - js-yaml "^3.13.1" - json-stable-stringify-without-jsonify "^1.0.1" - levn "^0.4.1" - lodash "^4.17.20" - minimatch "^3.0.4" - natural-compare "^1.4.0" - optionator "^0.9.1" - progress "^2.0.0" - regexpp "^3.1.0" - semver "^7.2.1" - strip-ansi "^6.0.0" - strip-json-comments "^3.1.0" - table "^6.0.4" - text-table "^0.2.0" - v8-compile-cache "^2.0.3" - -espower-location-detector@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/espower-location-detector/-/espower-location-detector-1.0.0.tgz" - dependencies: - is-url "^1.2.1" - path-is-absolute "^1.0.0" - source-map "^0.5.0" - xtend "^4.0.0" - -espower-source@^2.3.0: - version "2.3.0" - resolved "https://registry.npmjs.org/espower-source/-/espower-source-2.3.0.tgz" - dependencies: - acorn "^5.0.0" - acorn-es7-plugin "^1.0.10" - convert-source-map "^1.1.1" - empower-assert "^1.0.0" - escodegen "^1.10.0" - espower "^2.1.1" - estraverse "^4.0.0" - merge-estraverse-visitors "^1.0.0" - multi-stage-sourcemap "^0.2.1" - path-is-absolute "^1.0.0" - xtend "^4.0.0" - -espower-typescript@^10.0.1: - version "10.0.1" - resolved "https://registry.yarnpkg.com/espower-typescript/-/espower-typescript-10.0.1.tgz#74bd08b59d8e4482bf6b7763928ab1a414f8dc53" - integrity sha512-Otz3g+JKQCPG3CxyUQnmcmr9LeYXe+bEU2F/WtBeaByIj+kgR+8lyYSa1Rcqh27b/sp9EjrDLDUTW+d7dsfJQw== - dependencies: - espower-source "^2.3.0" - minimatch "^5.1.0" - source-map-support "^0.5.12" - ts-node "^10.9.1" - -espower@^2.1.1: - version "2.1.2" - resolved "https://registry.npmjs.org/espower/-/espower-2.1.2.tgz" - dependencies: - array-find "^1.0.0" - escallmatch "^1.5.0" - escodegen "^1.7.0" - escope "^3.3.0" - espower-location-detector "^1.0.0" - espurify "^1.3.0" - estraverse "^4.1.0" - source-map "^0.5.0" - type-name "^2.0.0" - -espree@^7.3.0, espree@^7.3.1: - version "7.3.1" - resolved "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz" - dependencies: - acorn "^7.4.0" - acorn-jsx "^5.3.1" - eslint-visitor-keys "^1.3.0" - -espree@^9.0.0: - version "9.3.2" - resolved "https://registry.yarnpkg.com/espree/-/espree-9.3.2.tgz#f58f77bd334731182801ced3380a8cc859091596" - integrity sha512-D211tC7ZwouTIuY5x9XnS0E9sWNChB7IYKX/Xp5eQj3nFXhqmiUDB9q27y76oFl8jTg3pXcQx/bpxMfs3CIZbA== - dependencies: - acorn "^8.7.1" - acorn-jsx "^5.3.2" - eslint-visitor-keys "^3.3.0" - -esprima@^2.0.0: - version "2.7.3" - resolved "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz" - -esprima@^4.0.0, esprima@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz" - -espurify@^1.3.0, espurify@^1.6.0: - version "1.8.1" - resolved "https://registry.npmjs.org/espurify/-/espurify-1.8.1.tgz" - dependencies: - core-js "^2.0.0" - -esquery@^1.4.0: - version "1.4.0" - resolved "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz" - dependencies: - estraverse "^5.1.0" - -esrecurse@^4.1.0, esrecurse@^4.3.0: - version "4.3.0" - resolved "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz" - dependencies: - estraverse "^5.2.0" - -estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0: - version "4.3.0" - resolved "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz" - -estraverse@^5.1.0, estraverse@^5.2.0: - version "5.2.0" - resolved "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz" - -esutils@^2.0.2: - version "2.0.3" - resolved "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz" - -event-emitter@~0.3.5: - version "0.3.5" - resolved "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz" - dependencies: - d "1" - es5-ext "~0.10.14" - -event-target-shim@^5.0.0: - version "5.0.1" - resolved "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz" - -execa@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/execa/-/execa-5.0.0.tgz" - dependencies: - cross-spawn "^7.0.3" - get-stream "^6.0.0" - human-signals "^2.1.0" - is-stream "^2.0.0" - merge-stream "^2.0.0" - npm-run-path "^4.0.1" - onetime "^5.1.2" - signal-exit "^3.0.3" - strip-final-newline "^2.0.0" - -ext@^1.1.2: - version "1.4.0" - resolved "https://registry.npmjs.org/ext/-/ext-1.4.0.tgz" - dependencies: - type "^2.0.0" - -extend@^3.0.2: - version "3.0.2" - resolved "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz" - -external-editor@^3.0.3: - version "3.1.0" - resolved "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz" - dependencies: - chardet "^0.7.0" - iconv-lite "^0.4.24" - tmp "^0.0.33" - -fast-deep-equal@^3.1.1: - version "3.1.3" - resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" - -fast-diff@^1.1.2: - version "1.2.0" - resolved "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz" - -fast-glob@^3.1.1: - version "3.2.5" - resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.5.tgz" - dependencies: - "@nodelib/fs.stat" "^2.0.2" - "@nodelib/fs.walk" "^1.2.3" - glob-parent "^5.1.0" - merge2 "^1.3.0" - micromatch "^4.0.2" - picomatch "^2.2.1" - -fast-json-stable-stringify@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz" - -fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.6: - version "2.0.6" - resolved "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz" - -fast-text-encoding@^1.0.0, fast-text-encoding@^1.0.3: - version "1.0.3" - resolved "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.3.tgz" - -fastq@^1.6.0: - version "1.11.0" - resolved "https://registry.npmjs.org/fastq/-/fastq-1.11.0.tgz" - dependencies: - reusify "^1.0.4" - -figures@^3.0.0: - version "3.2.0" - resolved "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz" - dependencies: - escape-string-regexp "^1.0.5" - -file-entry-cache@^6.0.1: - version "6.0.1" - resolved "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz" - dependencies: - flat-cache "^3.0.4" - -fill-range@^7.0.1: - version "7.0.1" - resolved "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz" - dependencies: - to-regex-range "^5.0.1" - -find-up@5.0.0, find-up@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz" - dependencies: - locate-path "^6.0.0" - path-exists "^4.0.0" - -find-up@^4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz" - dependencies: - locate-path "^5.0.0" - path-exists "^4.0.0" - -flat-cache@^3.0.4: - version "3.0.4" - resolved "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz" - dependencies: - flatted "^3.1.0" - rimraf "^3.0.2" - -flat@^5.0.2: - version "5.0.2" - resolved "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz" - -flatted@^3.1.0: - version "3.1.1" - resolved "https://registry.npmjs.org/flatted/-/flatted-3.1.1.tgz" - -foreground-child@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/foreground-child/-/foreground-child-2.0.0.tgz" - dependencies: - cross-spawn "^7.0.0" - signal-exit "^3.0.2" - -fs-extra@^10.1.0: - version "10.1.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.1.0.tgz#02873cfbc4084dde127eaa5f9905eef2325d1abf" - integrity sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ== - dependencies: - graceful-fs "^4.2.0" - jsonfile "^6.0.1" - universalify "^2.0.0" - -fs.realpath@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" - -fsevents@~2.3.2: - version "2.3.2" - resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz" - -function-bind@^1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz" - -functional-red-black-tree@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz" - -gaxios@^4.0.0: - version "4.3.3" - resolved "https://registry.npmjs.org/gaxios/-/gaxios-4.3.3.tgz" - dependencies: - abort-controller "^3.0.0" - extend "^3.0.2" - https-proxy-agent "^5.0.0" - is-stream "^2.0.0" - node-fetch "^2.6.7" - -gaxios@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/gaxios/-/gaxios-5.0.0.tgz#df11e5d0a45831dd39eb5fbbba0d6a6b09815e70" - integrity sha512-VD/yc5ln6XU8Ch1hyYY6kRMBE0Yc2np3fPyeJeYHhrPs1i8rgnsApPMWyrugkl7LLoSqpOJVBWlQIa87OAvt8Q== - dependencies: - abort-controller "^3.0.0" - extend "^3.0.2" - https-proxy-agent "^5.0.0" - is-stream "^2.0.0" - node-fetch "^2.6.7" - -gcp-metadata@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/gcp-metadata/-/gcp-metadata-5.0.0.tgz#a00f999f60a4461401e7c515f8a3267cfb401ee7" - integrity sha512-gfwuX3yA3nNsHSWUL4KG90UulNiq922Ukj3wLTrcnX33BB7PwB1o0ubR8KVvXu9nJH+P5w1j2SQSNNqto+H0DA== - dependencies: - gaxios "^5.0.0" - json-bigint "^1.0.0" - -get-caller-file@^2.0.5: - version "2.0.5" - resolved "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz" - -get-intrinsic@^1.0.2: - version "1.1.1" - resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz" - dependencies: - function-bind "^1.1.1" - has "^1.0.3" - has-symbols "^1.0.1" - -get-stream@^6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/get-stream/-/get-stream-6.0.0.tgz" - -glob-parent@^5.0.0, glob-parent@^5.1.0, glob-parent@~5.1.2: - version "5.1.2" - resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz" - dependencies: - is-glob "^4.0.1" - -glob@7.2.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023" - integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - -glob@^7.1.3, glob@^7.1.4: - version "7.1.6" - resolved "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz" - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - -glob@^8.0.0: - version "8.0.3" - resolved "https://registry.yarnpkg.com/glob/-/glob-8.0.3.tgz#415c6eb2deed9e502c68fa44a272e6da6eeca42e" - integrity sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^5.0.1" - once "^1.3.0" - -globals@^12.1.0: - version "12.4.0" - resolved "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz" - dependencies: - type-fest "^0.8.1" - -globby@^11.0.1: - version "11.0.2" - resolved "https://registry.npmjs.org/globby/-/globby-11.0.2.tgz" - dependencies: - array-union "^2.1.0" - dir-glob "^3.0.1" - fast-glob "^3.1.1" - ignore "^5.1.4" - merge2 "^1.3.0" - slash "^3.0.0" - -google-auth-library@^8.0.2: - version "8.0.2" - resolved "https://registry.yarnpkg.com/google-auth-library/-/google-auth-library-8.0.2.tgz#5fa0f2d3795c3e4019d2bb315ade4454cc9c30b5" - integrity sha512-HoG+nWFAThLovKpvcbYzxgn+nBJPTfAwtq0GxPN821nOO+21+8oP7MoEHfd1sbDulUFFGfcjJr2CnJ4YssHcyg== - dependencies: - arrify "^2.0.0" - base64-js "^1.3.0" - ecdsa-sig-formatter "^1.0.11" - fast-text-encoding "^1.0.0" - gaxios "^5.0.0" - gcp-metadata "^5.0.0" - gtoken "^5.3.2" - jws "^4.0.0" - lru-cache "^6.0.0" - -google-gax@^3.5.2: - version "3.5.2" - resolved "https://registry.yarnpkg.com/google-gax/-/google-gax-3.5.2.tgz#7c3ad61dbf366a55527b803caead276668b160d8" - integrity sha512-AyP53w0gHcWlzxm+jSgqCR3Xu4Ld7EpSjhtNBnNhzwwWaIUyphH9kBGNIEH+i4UGkTUXOY29K/Re8EiAvkBRGw== - dependencies: - "@grpc/grpc-js" "~1.7.0" - "@grpc/proto-loader" "^0.7.0" - "@types/long" "^4.0.0" - abort-controller "^3.0.0" - duplexify "^4.0.0" - fast-text-encoding "^1.0.3" - google-auth-library "^8.0.2" - is-stream-ended "^0.1.4" - node-fetch "^2.6.1" - object-hash "^3.0.0" - proto3-json-serializer "^1.0.0" - protobufjs "7.1.2" - protobufjs-cli "1.0.2" - retry-request "^5.0.0" - -google-p12-pem@^3.1.3: - version "3.1.4" - resolved "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-3.1.4.tgz" - dependencies: - node-forge "^1.3.1" - -google-protobuf@^3.6.1: - version "3.18.0" - resolved "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.18.0.tgz" - -graceful-fs@^4.1.6, graceful-fs@^4.2.0: - version "4.2.6" - resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.6.tgz" - -graceful-fs@^4.1.9: - version "4.2.10" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" - integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== - -gtoken@^5.3.2: - version "5.3.2" - resolved "https://registry.yarnpkg.com/gtoken/-/gtoken-5.3.2.tgz#deb7dc876abe002178e0515e383382ea9446d58f" - integrity sha512-gkvEKREW7dXWF8NV8pVrKfW7WqReAmjjkMBh6lNCCGOM4ucS0r0YyXXl0r/9Yj8wcW/32ISkfc8h5mPTDbtifQ== - dependencies: - gaxios "^4.0.0" - google-p12-pem "^3.1.3" - jws "^4.0.0" - -gts@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/gts/-/gts-3.1.1.tgz#c7347cf8f8ea32577909659b22bf698ac5ca8082" - integrity sha512-Jw44aBbzMnd1vtZs7tZt3LMstKQukCBg7N4CKVGzviIQ45Cz5b9lxDJGXVKj/9ySuGv6TYEeijZJGbiiVcM27w== - dependencies: - "@typescript-eslint/eslint-plugin" "^4.2.0" - "@typescript-eslint/parser" "^4.2.0" - chalk "^4.1.0" - eslint "^7.10.0" - eslint-config-prettier "^7.0.0" - eslint-plugin-node "^11.1.0" - eslint-plugin-prettier "^3.1.4" - execa "^5.0.0" - inquirer "^7.3.3" - json5 "^2.1.3" - meow "^9.0.0" - ncp "^2.0.0" - prettier "^2.1.2" - rimraf "^3.0.2" - write-file-atomic "^3.0.3" - -hard-rejection@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz" - -has-flag@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz" - -has-flag@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz" - -has-symbols@^1.0.1: - version "1.0.2" - resolved "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz" - -has@^1.0.3: - version "1.0.3" - resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz" - dependencies: - function-bind "^1.1.1" - -he@1.2.0: - version "1.2.0" - resolved "https://registry.npmjs.org/he/-/he-1.2.0.tgz" - -hosted-git-info@^2.1.4: - version "2.8.9" - resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz" - -hosted-git-info@^3.0.6: - version "3.0.8" - resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz" - dependencies: - lru-cache "^6.0.0" - -html-escaper@^2.0.0: - version "2.0.2" - resolved "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz" - -https-proxy-agent@^5.0.0: - version "5.0.1" - resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz" - dependencies: - agent-base "6" - debug "4" - -human-signals@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz" - -iconv-lite@^0.4.24: - version "0.4.24" - resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz" - dependencies: - safer-buffer ">= 2.1.2 < 3" - -ignore@^4.0.6: - version "4.0.6" - resolved "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz" - -ignore@^5.1.1, ignore@^5.1.4: - version "5.1.8" - resolved "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz" - -import-fresh@^3.0.0, import-fresh@^3.2.1: - version "3.3.0" - resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz" - dependencies: - parent-module "^1.0.0" - resolve-from "^4.0.0" - -imurmurhash@^0.1.4: - version "0.1.4" - resolved "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz" - -indent-string@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz" - -inflight@^1.0.4: - version "1.0.6" - resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz" - dependencies: - once "^1.3.0" - wrappy "1" - -inherits@2, inherits@^2.0.3: - version "2.0.4" - resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" - -inquirer@^7.3.3: - version "7.3.3" - resolved "https://registry.npmjs.org/inquirer/-/inquirer-7.3.3.tgz" - dependencies: - ansi-escapes "^4.2.1" - chalk "^4.1.0" - cli-cursor "^3.1.0" - cli-width "^3.0.0" - external-editor "^3.0.3" - figures "^3.0.0" - lodash "^4.17.19" - mute-stream "0.0.8" - run-async "^2.4.0" - rxjs "^6.6.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - through "^2.3.6" - -is-arguments@^1.0.4: - version "1.1.0" - resolved "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.0.tgz" - dependencies: - call-bind "^1.0.0" - -is-arrayish@^0.2.1: - version "0.2.1" - resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz" - -is-binary-path@~2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz" - dependencies: - binary-extensions "^2.0.0" - -is-core-module@^2.2.0: - version "2.2.0" - resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.2.0.tgz" - dependencies: - has "^1.0.3" - -is-date-object@^1.0.1: - version "1.0.2" - resolved "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz" - -is-extglob@^2.1.1: - version "2.1.1" - resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz" - -is-fullwidth-code-point@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz" - -is-glob@^4.0.0, is-glob@^4.0.1, is-glob@~4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz" - dependencies: - is-extglob "^2.1.1" - -is-number@^7.0.0: - version "7.0.0" - resolved "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz" - -is-plain-obj@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz" - -is-plain-obj@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz" - -is-regex@^1.0.4: - version "1.1.2" - resolved "https://registry.npmjs.org/is-regex/-/is-regex-1.1.2.tgz" - dependencies: - call-bind "^1.0.2" - has-symbols "^1.0.1" - -is-stream-ended@^0.1.4: - version "0.1.4" - resolved "https://registry.npmjs.org/is-stream-ended/-/is-stream-ended-0.1.4.tgz" - -is-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz" - -is-typedarray@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz" - -is-unicode-supported@^0.1.0: - version "0.1.0" - resolved "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz" - -is-url@^1.2.1: - version "1.2.4" - resolved "https://registry.npmjs.org/is-url/-/is-url-1.2.4.tgz" - -isarray@0.0.1: - version "0.0.1" - resolved "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz" - -isexe@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz" - -istanbul-lib-coverage@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz" - -istanbul-lib-coverage@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3" - integrity sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw== - -istanbul-lib-report@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz" - dependencies: - istanbul-lib-coverage "^3.0.0" - make-dir "^3.0.0" - supports-color "^7.1.0" - -istanbul-reports@^3.1.4: - version "3.1.5" - resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.5.tgz#cc9a6ab25cb25659810e4785ed9d9fb742578bae" - integrity sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w== - dependencies: - html-escaper "^2.0.0" - istanbul-lib-report "^3.0.0" - -js-tokens@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz" - -js-yaml@4.1.0, js-yaml@^4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz" - dependencies: - argparse "^2.0.1" - -js-yaml@^3.13.1: - version "3.14.1" - resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz" - dependencies: - argparse "^1.0.7" - esprima "^4.0.0" - -js2xmlparser@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/js2xmlparser/-/js2xmlparser-4.0.2.tgz#2a1fdf01e90585ef2ae872a01bc169c6a8d5e60a" - integrity sha512-6n4D8gLlLf1n5mNLQPRfViYzu9RATblzPEtm1SthMX1Pjao0r9YI9nw7ZIfRxQMERS87mcswrg+r/OYrPRX6jA== - dependencies: - xmlcreate "^2.0.4" - -jsdoc@^3.6.3: - version "3.6.11" - resolved "https://registry.yarnpkg.com/jsdoc/-/jsdoc-3.6.11.tgz#8bbb5747e6f579f141a5238cbad4e95e004458ce" - integrity sha512-8UCU0TYeIYD9KeLzEcAu2q8N/mx9O3phAGl32nmHlE0LpaJL71mMkP4d+QE5zWfNt50qheHtOZ0qoxVrsX5TUg== - dependencies: - "@babel/parser" "^7.9.4" - "@types/markdown-it" "^12.2.3" - bluebird "^3.7.2" - catharsis "^0.9.0" - escape-string-regexp "^2.0.0" - js2xmlparser "^4.0.2" - klaw "^3.0.0" - markdown-it "^12.3.2" - markdown-it-anchor "^8.4.1" - marked "^4.0.10" - mkdirp "^1.0.4" - requizzle "^0.2.3" - strip-json-comments "^3.1.0" - taffydb "2.6.2" - underscore "~1.13.2" - -json-bigint@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz" - dependencies: - bignumber.js "^9.0.0" - -json-parse-even-better-errors@^2.3.0: - version "2.3.1" - resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz" - -json-schema-traverse@^0.4.1: - version "0.4.1" - resolved "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz" - -json-schema-traverse@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz" - -json-stable-stringify-without-jsonify@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz" - -json5@^2.1.3: - version "2.2.0" - resolved "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz" - dependencies: - minimist "^1.2.5" - -jsonfile@^6.0.1: - version "6.1.0" - resolved "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz" - dependencies: - universalify "^2.0.0" - optionalDependencies: - graceful-fs "^4.1.6" - -just-extend@^4.0.2: - version "4.1.1" - resolved "https://registry.npmjs.org/just-extend/-/just-extend-4.1.1.tgz" - -jwa@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz" - dependencies: - buffer-equal-constant-time "1.0.1" - ecdsa-sig-formatter "1.0.11" - safe-buffer "^5.0.1" - -jws@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz" - dependencies: - jwa "^2.0.0" - safe-buffer "^5.0.1" - -kind-of@^6.0.3: - version "6.0.3" - resolved "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz" - -klaw@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/klaw/-/klaw-3.0.0.tgz#b11bec9cf2492f06756d6e809ab73a2910259146" - integrity sha512-0Fo5oir+O9jnXu5EefYbVK+mHMBeEVEy2cmctR1O1NECcCkPRreJKrS6Qt/j3KC2C148Dfo9i3pCmCMsdqGr0g== - dependencies: - graceful-fs "^4.1.9" - -levn@^0.4.1: - version "0.4.1" - resolved "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz" - dependencies: - prelude-ls "^1.2.1" - type-check "~0.4.0" - -levn@~0.3.0: - version "0.3.0" - resolved "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz" - dependencies: - prelude-ls "~1.1.2" - type-check "~0.3.2" - -lines-and-columns@^1.1.6: - version "1.1.6" - resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz" - -linkify-it@^3.0.1: - version "3.0.3" - resolved "https://registry.yarnpkg.com/linkify-it/-/linkify-it-3.0.3.tgz#a98baf44ce45a550efb4d49c769d07524cc2fa2e" - integrity sha512-ynTsyrFSdE5oZ/O9GEf00kPngmOfVwazR5GKDq6EYfhlpFug3J2zybX56a2PRRpc9P+FuSoGNAwjlbDs9jJBPQ== - dependencies: - uc.micro "^1.0.1" - -locate-path@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz" - dependencies: - p-locate "^4.1.0" - -locate-path@^6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz" - dependencies: - p-locate "^5.0.0" - -lodash.camelcase@^4.3.0: - version "4.3.0" - resolved "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz" - -lodash.get@^4.4.2: - version "4.4.2" - resolved "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz" - -lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20: - version "4.17.21" - resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz" - -log-symbols@4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz" - dependencies: - chalk "^4.1.0" - is-unicode-supported "^0.1.0" - -long@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/long/-/long-4.0.0.tgz" - -long@^5.0.0, long@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/long/-/long-5.2.0.tgz#2696dadf4b4da2ce3f6f6b89186085d94d52fd61" - integrity sha512-9RTUNjK60eJbx3uz+TEGF7fUr29ZDxR5QzXcyDpeSfeH28S9ycINflOgOlppit5U+4kNTe83KQnMEerw7GmE8w== - -lru-cache@^6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz" - dependencies: - yallist "^4.0.0" - -make-dir@^3.0.0: - version "3.1.0" - resolved "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz" - dependencies: - semver "^6.0.0" - -make-error@^1.1.1: - version "1.3.6" - resolved "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz" - -map-obj@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz" - -map-obj@^4.0.0: - version "4.2.1" - resolved "https://registry.npmjs.org/map-obj/-/map-obj-4.2.1.tgz" - -markdown-it-anchor@^8.4.1: - version "8.6.4" - resolved "https://registry.yarnpkg.com/markdown-it-anchor/-/markdown-it-anchor-8.6.4.tgz#affb8aa0910a504c114e9fcad53ac3a5b907b0e6" - integrity sha512-Ul4YVYZNxMJYALpKtu+ZRdrryYt/GlQ5CK+4l1bp/gWXOG2QWElt6AqF3Mih/wfUKdZbNAZVXGR73/n6U/8img== - -markdown-it@^12.3.2: - version "12.3.2" - resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-12.3.2.tgz#bf92ac92283fe983fe4de8ff8abfb5ad72cd0c90" - integrity sha512-TchMembfxfNVpHkbtriWltGWc+m3xszaRD0CZup7GFFhzIgQqxIfn3eGj1yZpfuflzPvfkt611B2Q/Bsk1YnGg== - dependencies: - argparse "^2.0.1" - entities "~2.1.0" - linkify-it "^3.0.1" - mdurl "^1.0.1" - uc.micro "^1.0.5" - -marked@^4.0.10: - version "4.0.18" - resolved "https://registry.yarnpkg.com/marked/-/marked-4.0.18.tgz#cd0ac54b2e5610cfb90e8fd46ccaa8292c9ed569" - integrity sha512-wbLDJ7Zh0sqA0Vdg6aqlbT+yPxqLblpAZh1mK2+AO2twQkPywvvqQNfEPVwSSRjZ7dZcdeVBIAgiO7MMp3Dszw== - -mdurl@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e" - integrity sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g== - -meow@^9.0.0: - version "9.0.0" - resolved "https://registry.npmjs.org/meow/-/meow-9.0.0.tgz" - dependencies: - "@types/minimist" "^1.2.0" - camelcase-keys "^6.2.2" - decamelize "^1.2.0" - decamelize-keys "^1.1.0" - hard-rejection "^2.1.0" - minimist-options "4.1.0" - normalize-package-data "^3.0.0" - read-pkg-up "^7.0.1" - redent "^3.0.0" - trim-newlines "^3.0.0" - type-fest "^0.18.0" - yargs-parser "^20.2.3" - -merge-estraverse-visitors@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/merge-estraverse-visitors/-/merge-estraverse-visitors-1.0.0.tgz" - dependencies: - estraverse "^4.0.0" - -merge-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz" - -merge2@^1.3.0: - version "1.4.1" - resolved "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz" - -micromatch@^4.0.2: - version "4.0.2" - resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz" - dependencies: - braces "^3.0.1" - picomatch "^2.0.5" - -mimic-fn@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz" - -min-indent@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz" - -minimatch@5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.0.1.tgz#fb9022f7528125187c92bd9e9b6366be1cf3415b" - integrity sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g== - dependencies: - brace-expansion "^2.0.1" - -minimatch@^3.0.4: - version "3.0.4" - resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz" - dependencies: - brace-expansion "^1.1.7" - -minimatch@^5.0.1, minimatch@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.0.tgz#1717b464f4971b144f6aabe8f2d0b8e4511e09c7" - integrity sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg== - dependencies: - brace-expansion "^2.0.1" - -minimist-options@4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz" - dependencies: - arrify "^1.0.1" - is-plain-obj "^1.1.0" - kind-of "^6.0.3" - -minimist@^1.2.0, minimist@^1.2.5: - version "1.2.6" - resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz" - -mkdirp@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" - integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== - -mocha@^10.1.0: - version "10.1.0" - resolved "https://registry.yarnpkg.com/mocha/-/mocha-10.1.0.tgz#dbf1114b7c3f9d0ca5de3133906aea3dfc89ef7a" - integrity sha512-vUF7IYxEoN7XhQpFLxQAEMtE4W91acW4B6En9l97MwE9stL1A9gusXfoHZCLVHDUJ/7V5+lbCM6yMqzo5vNymg== - dependencies: - ansi-colors "4.1.1" - browser-stdout "1.3.1" - chokidar "3.5.3" - debug "4.3.4" - diff "5.0.0" - escape-string-regexp "4.0.0" - find-up "5.0.0" - glob "7.2.0" - he "1.2.0" - js-yaml "4.1.0" - log-symbols "4.1.0" - minimatch "5.0.1" - ms "2.1.3" - nanoid "3.3.3" - serialize-javascript "6.0.0" - strip-json-comments "3.1.1" - supports-color "8.1.1" - workerpool "6.2.1" - yargs "16.2.0" - yargs-parser "20.2.4" - yargs-unparser "2.0.0" - -ms@2.1.2: - version "2.1.2" - resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz" - -ms@2.1.3: - version "2.1.3" - resolved "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz" - -multi-stage-sourcemap@^0.2.1: - version "0.2.1" - resolved "https://registry.npmjs.org/multi-stage-sourcemap/-/multi-stage-sourcemap-0.2.1.tgz" - dependencies: - source-map "^0.1.34" - -mute-stream@0.0.8: - version "0.0.8" - resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz" - -nanoid@3.3.3: - version "3.3.3" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.3.tgz#fd8e8b7aa761fe807dba2d1b98fb7241bb724a25" - integrity sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w== - -natural-compare@^1.4.0: - version "1.4.0" - resolved "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz" - -ncp@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/ncp/-/ncp-2.0.0.tgz" - -next-tick@~1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz" - -nise@^5.1.1: - version "5.1.1" - resolved "https://registry.npmjs.org/nise/-/nise-5.1.1.tgz" - dependencies: - "@sinonjs/commons" "^1.8.3" - "@sinonjs/fake-timers" ">=5" - "@sinonjs/text-encoding" "^0.7.1" - just-extend "^4.0.2" - path-to-regexp "^1.7.0" - -node-fetch@^2.6.1, node-fetch@^2.6.7: - version "2.6.7" - resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz" - dependencies: - whatwg-url "^5.0.0" - -node-forge@^1.3.1: - version "1.3.1" - resolved "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz" - -normalize-package-data@^2.5.0: - version "2.5.0" - resolved "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz" - dependencies: - hosted-git-info "^2.1.4" - resolve "^1.10.0" - semver "2 || 3 || 4 || 5" - validate-npm-package-license "^3.0.1" - -normalize-package-data@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.0.tgz" - dependencies: - hosted-git-info "^3.0.6" - resolve "^1.17.0" - semver "^7.3.2" - validate-npm-package-license "^3.0.1" - -normalize-path@^3.0.0, normalize-path@~3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz" - -npm-run-path@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz" - dependencies: - path-key "^3.0.0" - -nunjucks@^3.2.3: - version "3.2.3" - resolved "https://registry.npmjs.org/nunjucks/-/nunjucks-3.2.3.tgz" - dependencies: - a-sync-waterfall "^1.0.0" - asap "^2.0.3" - commander "^5.1.0" - -object-hash@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz" - -object-is@^1.0.1: - version "1.1.5" - resolved "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz" - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - -object-keys@^1.0.12, object-keys@^1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz" - -once@^1.3.0, once@^1.4.0: - version "1.4.0" - resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz" - dependencies: - wrappy "1" - -onetime@^5.1.0, onetime@^5.1.2: - version "5.1.2" - resolved "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz" - dependencies: - mimic-fn "^2.1.0" - -optionator@^0.8.1: - version "0.8.3" - resolved "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz" - dependencies: - deep-is "~0.1.3" - fast-levenshtein "~2.0.6" - levn "~0.3.0" - prelude-ls "~1.1.2" - type-check "~0.3.2" - word-wrap "~1.2.3" - -optionator@^0.9.1: - version "0.9.1" - resolved "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz" - dependencies: - deep-is "^0.1.3" - fast-levenshtein "^2.0.6" - levn "^0.4.1" - prelude-ls "^1.2.1" - type-check "^0.4.0" - word-wrap "^1.2.3" - -os-tmpdir@~1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz" - -p-limit@^2.2.0: - version "2.3.0" - resolved "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz" - dependencies: - p-try "^2.0.0" - -p-limit@^3.0.2: - version "3.1.0" - resolved "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz" - dependencies: - yocto-queue "^0.1.0" - -p-locate@^4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz" - dependencies: - p-limit "^2.2.0" - -p-locate@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz" - dependencies: - p-limit "^3.0.2" - -p-try@^2.0.0: - version "2.2.0" - resolved "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz" - -parent-module@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz" - dependencies: - callsites "^3.0.0" - -parse-json@^5.0.0: - version "5.2.0" - resolved "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz" - dependencies: - "@babel/code-frame" "^7.0.0" - error-ex "^1.3.1" - json-parse-even-better-errors "^2.3.0" - lines-and-columns "^1.1.6" - -path-exists@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz" - -path-is-absolute@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz" - -path-key@^3.0.0, path-key@^3.1.0: - version "3.1.1" - resolved "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz" - -path-parse@^1.0.6: - version "1.0.7" - resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz" - -path-to-regexp@^1.7.0: - version "1.8.0" - resolved "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz" - dependencies: - isarray "0.0.1" - -path-type@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz" - -picomatch@^2.0.4, picomatch@^2.0.5, picomatch@^2.2.1: - version "2.2.2" - resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz" - -prelude-ls@^1.2.1: - version "1.2.1" - resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz" - -prelude-ls@~1.1.2: - version "1.1.2" - resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz" - -prettier-linter-helpers@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz" - dependencies: - fast-diff "^1.1.2" - -prettier@^2.1.2: - version "2.2.1" - resolved "https://registry.npmjs.org/prettier/-/prettier-2.2.1.tgz" - -progress@^2.0.0: - version "2.0.3" - resolved "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz" - -proto3-json-serializer@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/proto3-json-serializer/-/proto3-json-serializer-1.0.2.tgz#bb5fe808a60f43bf96d2ce6d5063d8552ae69f06" - integrity sha512-wHxf8jYZ/LUP3M7XmULDKnbxBn+Bvk6SM+tDCPVTp9vraIzUi9hHsOBb1n2Y0VV0ukx4zBN/2vzMQYs4KWwRpg== - dependencies: - protobufjs "^6.11.3" - -protobufjs-cli@1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/protobufjs-cli/-/protobufjs-cli-1.0.2.tgz#905fc49007cf4aaf3c45d5f250eb294eedeea062" - integrity sha512-cz9Pq9p/Zs7okc6avH20W7QuyjTclwJPgqXG11jNaulfS3nbVisID8rC+prfgq0gbZE0w9LBFd1OKFF03kgFzg== - dependencies: - chalk "^4.0.0" - escodegen "^1.13.0" - espree "^9.0.0" - estraverse "^5.1.0" - glob "^8.0.0" - jsdoc "^3.6.3" - minimist "^1.2.0" - semver "^7.1.2" - tmp "^0.2.1" - uglify-js "^3.7.7" - -protobufjs@6.8.8: - version "6.8.8" - resolved "https://registry.npmjs.org/protobufjs/-/protobufjs-6.8.8.tgz" - dependencies: - "@protobufjs/aspromise" "^1.1.2" - "@protobufjs/base64" "^1.1.2" - "@protobufjs/codegen" "^2.0.4" - "@protobufjs/eventemitter" "^1.1.0" - "@protobufjs/fetch" "^1.1.0" - "@protobufjs/float" "^1.0.2" - "@protobufjs/inquire" "^1.1.0" - "@protobufjs/path" "^1.1.2" - "@protobufjs/pool" "^1.1.0" - "@protobufjs/utf8" "^1.1.0" - "@types/long" "^4.0.0" - "@types/node" "^10.1.0" - long "^4.0.0" - -protobufjs@7.1.2, protobufjs@^7.1.2: - version "7.1.2" - resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.1.2.tgz#a0cf6aeaf82f5625bffcf5a38b7cd2a7de05890c" - integrity sha512-4ZPTPkXCdel3+L81yw3dG6+Kq3umdWKh7Dc7GW/CpNk4SX3hK58iPCWeCyhVTDrbkNeKrYNZ7EojM5WDaEWTLQ== - dependencies: - "@protobufjs/aspromise" "^1.1.2" - "@protobufjs/base64" "^1.1.2" - "@protobufjs/codegen" "^2.0.4" - "@protobufjs/eventemitter" "^1.1.0" - "@protobufjs/fetch" "^1.1.0" - "@protobufjs/float" "^1.0.2" - "@protobufjs/inquire" "^1.1.0" - "@protobufjs/path" "^1.1.2" - "@protobufjs/pool" "^1.1.0" - "@protobufjs/utf8" "^1.1.0" - "@types/node" ">=13.7.0" - long "^5.0.0" - -protobufjs@^6.11.3: - version "6.11.3" - resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.11.3.tgz#637a527205a35caa4f3e2a9a4a13ddffe0e7af74" - dependencies: - "@protobufjs/aspromise" "^1.1.2" - "@protobufjs/base64" "^1.1.2" - "@protobufjs/codegen" "^2.0.4" - "@protobufjs/eventemitter" "^1.1.0" - "@protobufjs/fetch" "^1.1.0" - "@protobufjs/float" "^1.0.2" - "@protobufjs/inquire" "^1.1.0" - "@protobufjs/path" "^1.1.2" - "@protobufjs/pool" "^1.1.0" - "@protobufjs/utf8" "^1.1.0" - "@types/long" "^4.0.1" - "@types/node" ">=13.7.0" - long "^4.0.0" - -protobufjs@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.0.0.tgz#8c678e1351fd926178fce5a4213913e8d990974f" - integrity sha512-ffNIEm+quOcYtQvHdW406v1NQmZSuqVklxsXk076BtuFnlYZfigLU+JOMrTD8TUOyqHYbRI/fSVNvgd25YeN3w== - dependencies: - "@protobufjs/aspromise" "^1.1.2" - "@protobufjs/base64" "^1.1.2" - "@protobufjs/codegen" "^2.0.4" - "@protobufjs/eventemitter" "^1.1.0" - "@protobufjs/fetch" "^1.1.0" - "@protobufjs/float" "^1.0.2" - "@protobufjs/inquire" "^1.1.0" - "@protobufjs/path" "^1.1.2" - "@protobufjs/pool" "^1.1.0" - "@protobufjs/utf8" "^1.1.0" - "@types/long" "^4.0.1" - "@types/node" ">=13.7.0" - long "^5.0.0" - -punycode@^2.1.0: - version "2.1.1" - resolved "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz" - -queue-microtask@^1.2.2: - version "1.2.2" - resolved "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.2.tgz" - -quick-lru@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz" - -randombytes@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz" - dependencies: - safe-buffer "^5.1.0" - -read-pkg-up@^7.0.1: - version "7.0.1" - resolved "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz" - dependencies: - find-up "^4.1.0" - read-pkg "^5.2.0" - type-fest "^0.8.1" - -read-pkg@^5.2.0: - version "5.2.0" - resolved "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz" - dependencies: - "@types/normalize-package-data" "^2.4.0" - normalize-package-data "^2.5.0" - parse-json "^5.0.0" - type-fest "^0.6.0" - -readable-stream@^3.1.1: - version "3.6.0" - resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz" - dependencies: - inherits "^2.0.3" - string_decoder "^1.1.1" - util-deprecate "^1.0.1" - -readdirp@~3.6.0: - version "3.6.0" - resolved "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz" - dependencies: - picomatch "^2.2.1" - -redent@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz" - dependencies: - indent-string "^4.0.0" - strip-indent "^3.0.0" - -regexp.prototype.flags@^1.2.0: - version "1.3.1" - resolved "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.1.tgz" - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - -regexpp@^3.0.0, regexpp@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz" - -require-directory@^2.1.1: - version "2.1.1" - resolved "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz" - -require-from-string@^2.0.2: - version "2.0.2" - resolved "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz" - -requizzle@^0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/requizzle/-/requizzle-0.2.3.tgz#4675c90aacafb2c036bd39ba2daa4a1cb777fded" - integrity sha512-YanoyJjykPxGHii0fZP0uUPEXpvqfBDxWV7s6GKAiiOsiqhX6vHNyW3Qzdmqp/iq/ExbhaGbVrjB4ruEVSM4GQ== - dependencies: - lodash "^4.17.14" - -resolve-from@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz" - -resolve@^1.10.0, resolve@^1.10.1, resolve@^1.17.0: - version "1.20.0" - resolved "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz" - dependencies: - is-core-module "^2.2.0" - path-parse "^1.0.6" - -restore-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz" - dependencies: - onetime "^5.1.0" - signal-exit "^3.0.2" - -retry-request@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/retry-request/-/retry-request-5.0.1.tgz#c6be2a4a36f1554ba3251fa8fd945af26ee0e9ec" - integrity sha512-lxFKrlBt0OZzCWh/V0uPEN0vlr3OhdeXnpeY5OES+ckslm791Cb1D5P7lJUSnY7J5hiCjcyaUGmzCnIGDCUBig== - dependencies: - debug "^4.1.1" - extend "^3.0.2" - -reusify@^1.0.4: - version "1.0.4" - resolved "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz" - -rimraf@^3.0.0, rimraf@^3.0.2: - version "3.0.2" - resolved "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz" - dependencies: - glob "^7.1.3" - -run-async@^2.4.0: - version "2.4.1" - resolved "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz" - -run-parallel@^1.1.9: - version "1.2.0" - resolved "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz" - dependencies: - queue-microtask "^1.2.2" - -rxjs@^6.6.0: - version "6.6.6" - resolved "https://registry.npmjs.org/rxjs/-/rxjs-6.6.6.tgz" - dependencies: - tslib "^1.9.0" - -safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@~5.1.1: - version "5.1.2" - resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz" - -safe-buffer@~5.2.0: - version "5.2.1" - resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" - -"safer-buffer@>= 2.1.2 < 3": - version "2.1.2" - resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz" - -"semver@2 || 3 || 4 || 5": - version "5.7.1" - resolved "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz" - -semver@5.6.0: - version "5.6.0" - resolved "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz" - -semver@^6.0.0, semver@^6.1.0: - version "6.3.0" - resolved "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz" - -semver@^7.1.2: - version "7.3.7" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f" - integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== - dependencies: - lru-cache "^6.0.0" - -semver@^7.2.1, semver@^7.3.2: - version "7.3.4" - resolved "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz" - dependencies: - lru-cache "^6.0.0" - -serialize-javascript@6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz" - dependencies: - randombytes "^2.1.0" - -shebang-command@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz" - dependencies: - shebang-regex "^3.0.0" - -shebang-regex@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz" - -signal-exit@^3.0.2, signal-exit@^3.0.3: - version "3.0.3" - resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz" - -sinon@^14.0.1: - version "14.0.1" - resolved "https://registry.yarnpkg.com/sinon/-/sinon-14.0.1.tgz#9f02e13ad86b695c0c554525e3bf7f8245b31a9c" - integrity sha512-JhJ0jCiyBWVAHDS+YSjgEbDn7Wgz9iIjA1/RK+eseJN0vAAWIWiXBdrnb92ELPyjsfreCYntD1ORtLSfIrlvSQ== - dependencies: - "@sinonjs/commons" "^1.8.3" - "@sinonjs/fake-timers" "^9.1.2" - "@sinonjs/samsam" "^6.1.1" - diff "^5.0.0" - nise "^5.1.1" - supports-color "^7.2.0" - -slash@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz" - -slice-ansi@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz" - dependencies: - ansi-styles "^4.0.0" - astral-regex "^2.0.0" - is-fullwidth-code-point "^3.0.0" - -source-map-support@0.5.9: - version "0.5.9" - resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.9.tgz" - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - -source-map-support@^0.5.12: - version "0.5.19" - resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz" - dependencies: - buffer-from "^1.0.0" - source-map "^0.6.0" - -source-map@^0.1.34: - version "0.1.43" - resolved "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz" - dependencies: - amdefine ">=0.0.4" - -source-map@^0.5.0: - version "0.5.7" - resolved "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz" - -source-map@^0.6.0, source-map@~0.6.1: - version "0.6.1" - resolved "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz" - -spdx-correct@^3.0.0: - version "3.1.1" - resolved "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz" - dependencies: - spdx-expression-parse "^3.0.0" - spdx-license-ids "^3.0.0" - -spdx-exceptions@^2.1.0: - version "2.3.0" - resolved "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz" - -spdx-expression-parse@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz" - dependencies: - spdx-exceptions "^2.1.0" - spdx-license-ids "^3.0.0" - -spdx-license-ids@^3.0.0: - version "3.0.7" - resolved "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.7.tgz" - -sprintf-js@~1.0.2: - version "1.0.3" - resolved "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz" - -stream-shift@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz" - -string-width@^4.1.0, string-width@^4.2.0: - version "4.2.2" - resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz" - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.0" - -string-width@^4.2.3: - version "4.2.3" - resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -string_decoder@^1.1.1: - version "1.3.0" - resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz" - dependencies: - safe-buffer "~5.2.0" - -strip-ansi@^6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz" - dependencies: - ansi-regex "^5.0.0" - -strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" - dependencies: - ansi-regex "^5.0.1" - -strip-final-newline@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz" - -strip-indent@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz" - dependencies: - min-indent "^1.0.0" - -strip-json-comments@3.1.1, strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: - version "3.1.1" - resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz" - -supports-color@8.1.1: - version "8.1.1" - resolved "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz" - dependencies: - has-flag "^4.0.0" - -supports-color@^5.3.0: - version "5.5.0" - resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz" - dependencies: - has-flag "^3.0.0" - -supports-color@^7.1.0, supports-color@^7.2.0: - version "7.2.0" - resolved "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz" - dependencies: - has-flag "^4.0.0" - -table@^6.0.4: - version "6.0.7" - resolved "https://registry.npmjs.org/table/-/table-6.0.7.tgz" - dependencies: - ajv "^7.0.2" - lodash "^4.17.20" - slice-ansi "^4.0.0" - string-width "^4.2.0" - -taffydb@2.6.2: - version "2.6.2" - resolved "https://registry.yarnpkg.com/taffydb/-/taffydb-2.6.2.tgz#7cbcb64b5a141b6a2efc2c5d2c67b4e150b2a268" - integrity sha512-y3JaeRSplks6NYQuCOj3ZFMO3j60rTwbuKCvZxsAraGYH2epusatvZ0baZYA01WsGqJBq/Dl6vOrMUJqyMj8kA== - -test-exclude@^6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz" - dependencies: - "@istanbuljs/schema" "^0.1.2" - glob "^7.1.4" - minimatch "^3.0.4" - -text-table@^0.2.0: - version "0.2.0" - resolved "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz" - -through@^2.3.6: - version "2.3.8" - resolved "https://registry.npmjs.org/through/-/through-2.3.8.tgz" - -tmp@^0.0.33: - version "0.0.33" - resolved "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz" - dependencies: - os-tmpdir "~1.0.2" - -tmp@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14" - integrity sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ== - dependencies: - rimraf "^3.0.0" - -to-regex-range@^5.0.1: - version "5.0.1" - resolved "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz" - dependencies: - is-number "^7.0.0" - -tr46@~0.0.3: - version "0.0.3" - resolved "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz" - -trim-newlines@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz" - -ts-node@^10.9.1: - version "10.9.1" - resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b" - integrity sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw== - dependencies: - "@cspotcode/source-map-support" "^0.8.0" - "@tsconfig/node10" "^1.0.7" - "@tsconfig/node12" "^1.0.7" - "@tsconfig/node14" "^1.0.0" - "@tsconfig/node16" "^1.0.2" - acorn "^8.4.1" - acorn-walk "^8.1.1" - arg "^4.1.0" - create-require "^1.1.0" - diff "^4.0.1" - make-error "^1.1.1" - v8-compile-cache-lib "^3.0.1" - yn "3.1.1" - -tslib@^1.8.1, tslib@^1.9.0: - version "1.14.1" - resolved "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz" - -tsutils@3.21.0: - version "3.21.0" - resolved "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz" - dependencies: - tslib "^1.8.1" - -tsutils@^3.17.1: - version "3.20.0" - resolved "https://registry.npmjs.org/tsutils/-/tsutils-3.20.0.tgz" - dependencies: - tslib "^1.8.1" - -type-check@^0.4.0, type-check@~0.4.0: - version "0.4.0" - resolved "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz" - dependencies: - prelude-ls "^1.2.1" - -type-check@~0.3.2: - version "0.3.2" - resolved "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz" - dependencies: - prelude-ls "~1.1.2" - -type-detect@4.0.8, type-detect@^4.0.8: - version "4.0.8" - resolved "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz" - -type-fest@^0.11.0: - version "0.11.0" - resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.11.0.tgz" - -type-fest@^0.18.0: - version "0.18.1" - resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz" - -type-fest@^0.6.0: - version "0.6.0" - resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz" - -type-fest@^0.8.1: - version "0.8.1" - resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz" - -type-name@^2.0.0: - version "2.0.2" - resolved "https://registry.npmjs.org/type-name/-/type-name-2.0.2.tgz" - -type@^1.0.1: - version "1.2.0" - resolved "https://registry.npmjs.org/type/-/type-1.2.0.tgz" - -type@^2.0.0: - version "2.5.0" - resolved "https://registry.npmjs.org/type/-/type-2.5.0.tgz" - -typedarray-to-buffer@^3.1.5: - version "3.1.5" - resolved "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz" - dependencies: - is-typedarray "^1.0.0" - -typescript@~4.8.4: - version "4.8.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.4.tgz#c464abca159669597be5f96b8943500b238e60e6" - integrity sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ== - -uc.micro@^1.0.1, uc.micro@^1.0.5: - version "1.0.6" - resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.6.tgz#9c411a802a409a91fc6cf74081baba34b24499ac" - integrity sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA== - -uglify-js@^3.7.7: - version "3.16.2" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.16.2.tgz#0481e1dbeed343ad1c2ddf3c6d42e89b7a6d4def" - integrity sha512-AaQNokTNgExWrkEYA24BTNMSjyqEXPSfhqoS0AxmHkCJ4U+Dyy5AvbGV/sqxuxficEfGGoX3zWw9R7QpLFfEsg== - -underscore@~1.13.2: - version "1.13.4" - resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.13.4.tgz#7886b46bbdf07f768e0052f1828e1dcab40c0dee" - integrity sha512-BQFnUDuAQ4Yf/cYY5LNrK9NCJFKriaRbD9uR1fTeXnBeoa97W0i41qkZfGO9pSo8I5KzjAcSY2XYtdf0oKd7KQ== - -universalify@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz" - -uri-js@^4.2.2: - version "4.4.1" - resolved "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz" - dependencies: - punycode "^2.1.0" - -util-deprecate@^1.0.1: - version "1.0.2" - resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" - -v8-compile-cache-lib@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf" - integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg== - -v8-compile-cache@^2.0.3: - version "2.2.0" - resolved "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.2.0.tgz" - -v8-to-istanbul@^9.0.0: - version "9.0.1" - resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-9.0.1.tgz#b6f994b0b5d4ef255e17a0d17dc444a9f5132fa4" - integrity sha512-74Y4LqY74kLE6IFyIjPtkSTWzUZmj8tdHT9Ii/26dvQ6K9Dl2NbEfj0XgU2sHCtKgt5VupqhlO/5aWuqS+IY1w== - dependencies: - "@jridgewell/trace-mapping" "^0.3.12" - "@types/istanbul-lib-coverage" "^2.0.1" - convert-source-map "^1.6.0" - -validate-npm-package-license@^3.0.1: - version "3.0.4" - resolved "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz" - dependencies: - spdx-correct "^3.0.0" - spdx-expression-parse "^3.0.0" - -webidl-conversions@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz" - -whatwg-url@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz" - dependencies: - tr46 "~0.0.3" - webidl-conversions "^3.0.0" - -which@^2.0.1: - version "2.0.2" - resolved "https://registry.npmjs.org/which/-/which-2.0.2.tgz" - dependencies: - isexe "^2.0.0" - -word-wrap@^1.2.3, word-wrap@~1.2.3: - version "1.2.3" - resolved "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz" - -workerpool@6.2.1: - version "6.2.1" - resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.2.1.tgz#46fc150c17d826b86a008e5a4508656777e9c343" - integrity sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw== - -wrap-ansi@^7.0.0: - version "7.0.0" - resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz" - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - -wrappy@1: - version "1.0.2" - resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz" - -write-file-atomic@^3.0.3: - version "3.0.3" - resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz" - dependencies: - imurmurhash "^0.1.4" - is-typedarray "^1.0.0" - signal-exit "^3.0.2" - typedarray-to-buffer "^3.1.5" - -xmlcreate@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/xmlcreate/-/xmlcreate-2.0.4.tgz#0c5ab0f99cdd02a81065fa9cd8f8ae87624889be" - integrity sha512-nquOebG4sngPmGPICTS5EnxqhKbCmz5Ox5hsszI2T6U5qdrJizBc+0ilYSEjTSzU0yZcmvppztXe/5Al5fUwdg== - -xtend@^4.0.0: - version "4.0.2" - resolved "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz" - -y18n@^5.0.5: - version "5.0.5" - resolved "https://registry.npmjs.org/y18n/-/y18n-5.0.5.tgz" - -yallist@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz" - -yargs-parser@20.2.4: - version "20.2.4" - resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz" - -yargs-parser@^20.2.2, yargs-parser@^20.2.3: - version "20.2.7" - resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.7.tgz" - -yargs-parser@^20.2.9: - version "20.2.9" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" - integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== - -yargs-parser@^21.0.0: - version "21.0.0" - resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.0.0.tgz" - -yargs-unparser@2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz" - dependencies: - camelcase "^6.0.0" - decamelize "^4.0.0" - flat "^5.0.2" - is-plain-obj "^2.1.0" - -yargs@16.2.0, yargs@^16.2.0: - version "16.2.0" - resolved "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz" - dependencies: - cliui "^7.0.2" - escalade "^3.1.1" - get-caller-file "^2.0.5" - require-directory "^2.1.1" - string-width "^4.2.0" - y18n "^5.0.5" - yargs-parser "^20.2.2" - -yargs@^17.6.0: - version "17.6.0" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.6.0.tgz#e134900fc1f218bc230192bdec06a0a5f973e46c" - integrity sha512-8H/wTDqlSwoSnScvV2N/JHfLWOKuh5MVla9hqLjK3nsfyy6Y4kDSYSvkU5YCUEPOSnRXfIyx3Sq+B/IWudTo4g== - dependencies: - cliui "^8.0.1" - escalade "^3.1.1" - get-caller-file "^2.0.5" - require-directory "^2.1.1" - string-width "^4.2.3" - y18n "^5.0.5" - yargs-parser "^21.0.0" - -yn@3.1.1: - version "3.1.1" - resolved "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz" - -yocto-queue@^0.1.0: - version "0.1.0" - resolved "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz"