mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2025-01-16 01:55:55 +00:00
73 lines
3.4 KiB
JavaScript
73 lines
3.4 KiB
JavaScript
/**
|
|
* Copyright 2016, Google Inc.
|
|
* 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.
|
|
*/
|
|
'use strict';
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
var extend = require("extend");
|
|
var operationsClient = require("./operations_client");
|
|
var routingHeader = require("./routing_header");
|
|
exports.routingHeader = routingHeader;
|
|
var grpc_1 = require("./grpc");
|
|
var gax_1 = require("./gax");
|
|
exports.constructSettings = gax_1.constructSettings;
|
|
var streaming_1 = require("./streaming");
|
|
exports.StreamType = streaming_1.StreamType;
|
|
exports.StreamDescriptor = streaming_1.StreamDescriptor;
|
|
var longrunning_1 = require("./longrunning");
|
|
exports.LongrunningDescriptor = longrunning_1.LongrunningDescriptor;
|
|
exports.operation = longrunning_1.operation;
|
|
var bundling_1 = require("./bundling");
|
|
exports.BundleDescriptor = bundling_1.BundleDescriptor;
|
|
exports.BundleExecutor = bundling_1.BundleExecutor;
|
|
var path_template_1 = require("./path_template");
|
|
exports.PathTemplate = path_template_1.PathTemplate;
|
|
var paged_iteration_1 = require("./paged_iteration");
|
|
exports.PageDescriptor = paged_iteration_1.PageDescriptor;
|
|
var api_callable_1 = require("./api_callable");
|
|
exports.createApiCall = api_callable_1.createApiCall;
|
|
var grpc_2 = require("./grpc");
|
|
exports.GrpcClient = grpc_2.GrpcClient;
|
|
exports.GoogleProtoFilesRoot = grpc_2.GoogleProtoFilesRoot;
|
|
function lro(options) {
|
|
options = extend({
|
|
// tslint:disable-next-line no-any
|
|
scopes: lro.ALL_SCOPES,
|
|
}, options);
|
|
var gaxGrpc = new grpc_1.GrpcClient(options);
|
|
return new operationsClient.OperationsClientBuilder(gaxGrpc);
|
|
}
|
|
exports.lro = lro;
|
|
// tslint:disable-next-line no-any
|
|
lro.SERVICE_ADDRESS = operationsClient.SERVICE_ADDRESS;
|
|
// tslint:disable-next-line no-any
|
|
lro.ALL_SCOPES = operationsClient.ALL_SCOPES;
|
|
exports.createByteLengthFunction = grpc_1.GrpcClient.createByteLengthFunction;
|
|
exports.version = require('../../package.json').version;
|
|
//# sourceMappingURL=index.js.map
|