diff --git a/baselines/dlp/src/index.ts.baseline b/baselines/dlp/src/index.ts.baseline index 56587ec8a..8d2cf4315 100644 --- a/baselines/dlp/src/index.ts.baseline +++ b/baselines/dlp/src/index.ts.baseline @@ -22,3 +22,5 @@ export {v2, DlpServiceClient}; // For compatibility with JavaScript libraries we need to provide this default export: // tslint:disable-next-line no-default-export export default {v2, DlpServiceClient}; +import * as protos from '../protos/protos'; +export {protos} diff --git a/baselines/kms/src/index.ts.baseline b/baselines/kms/src/index.ts.baseline index 6ebde6271..1334aa28a 100644 --- a/baselines/kms/src/index.ts.baseline +++ b/baselines/kms/src/index.ts.baseline @@ -22,3 +22,5 @@ export {v1, KeyManagementServiceClient}; // For compatibility with JavaScript libraries we need to provide this default export: // tslint:disable-next-line no-default-export export default {v1, KeyManagementServiceClient}; +import * as protos from '../protos/protos'; +export {protos} diff --git a/baselines/monitoring/src/index.ts.baseline b/baselines/monitoring/src/index.ts.baseline index cf6f9adf2..5a2bb6576 100644 --- a/baselines/monitoring/src/index.ts.baseline +++ b/baselines/monitoring/src/index.ts.baseline @@ -27,3 +27,5 @@ export {v3, AlertPolicyServiceClient, GroupServiceClient, MetricServiceClient, N // For compatibility with JavaScript libraries we need to provide this default export: // tslint:disable-next-line no-default-export export default {v3, AlertPolicyServiceClient, GroupServiceClient, MetricServiceClient, NotificationChannelServiceClient, ServiceMonitoringServiceClient, UptimeCheckServiceClient}; +import * as protos from '../protos/protos'; +export {protos} diff --git a/baselines/redis/src/index.ts.baseline b/baselines/redis/src/index.ts.baseline index 49e1ccaad..f3e90759f 100644 --- a/baselines/redis/src/index.ts.baseline +++ b/baselines/redis/src/index.ts.baseline @@ -22,3 +22,5 @@ export {v1beta1, CloudRedisClient}; // For compatibility with JavaScript libraries we need to provide this default export: // tslint:disable-next-line no-default-export export default {v1beta1, CloudRedisClient}; +import * as protos from '../protos/protos'; +export {protos} diff --git a/baselines/showcase/src/index.ts.baseline b/baselines/showcase/src/index.ts.baseline index def228fcd..83a51614b 100644 --- a/baselines/showcase/src/index.ts.baseline +++ b/baselines/showcase/src/index.ts.baseline @@ -25,3 +25,5 @@ export {v1beta1, EchoClient, IdentityClient, MessagingClient, TestingClient}; // For compatibility with JavaScript libraries we need to provide this default export: // tslint:disable-next-line no-default-export export default {v1beta1, EchoClient, IdentityClient, MessagingClient, TestingClient}; +import * as protos from '../protos/protos'; +export {protos} diff --git a/baselines/texttospeech/src/index.ts.baseline b/baselines/texttospeech/src/index.ts.baseline index d6084cc33..c6c09e274 100644 --- a/baselines/texttospeech/src/index.ts.baseline +++ b/baselines/texttospeech/src/index.ts.baseline @@ -22,3 +22,5 @@ export {v1, TextToSpeechClient}; // For compatibility with JavaScript libraries we need to provide this default export: // tslint:disable-next-line no-default-export export default {v1, TextToSpeechClient}; +import * as protos from '../protos/protos'; +export {protos} diff --git a/baselines/translate/src/index.ts.baseline b/baselines/translate/src/index.ts.baseline index 01defa5e5..95755fe45 100644 --- a/baselines/translate/src/index.ts.baseline +++ b/baselines/translate/src/index.ts.baseline @@ -22,3 +22,5 @@ export {v3beta1, TranslationServiceClient}; // For compatibility with JavaScript libraries we need to provide this default export: // tslint:disable-next-line no-default-export export default {v3beta1, TranslationServiceClient}; +import * as protos from '../protos/protos'; +export {protos} diff --git a/templates/typescript_gapic/src/index.ts.njk b/templates/typescript_gapic/src/index.ts.njk index 78a430ada..1ce890507 100644 --- a/templates/typescript_gapic/src/index.ts.njk +++ b/templates/typescript_gapic/src/index.ts.njk @@ -33,3 +33,5 @@ export default { {{- api.naming.version }} , {{ service.name.toPascalCase() + 'Client' }} {%- endfor -%} }; +import * as protos from '../protos/protos'; +export {protos}