@ngx-grpc/common
Advanced tools
Comparing version 0.2.0 to 0.3.0
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : | ||
typeof define === 'function' && define.amd ? define('@ngx-grpc/common', ['exports'], factory) : | ||
(global = global || self, factory((global['ngx-grpc'] = global['ngx-grpc'] || {}, global['ngx-grpc'].common = {}))); | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : | ||
typeof define === 'function' && define.amd ? define('@ngx-grpc/common', ['exports'], factory) : | ||
(global = global || self, factory((global['ngx-grpc'] = global['ngx-grpc'] || {}, global['ngx-grpc'].common = {}))); | ||
}(this, (function (exports) { 'use strict'; | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/grpc-client.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* @record | ||
*/ | ||
function GrpcClientFactory() { } | ||
if (false) { | ||
/** | ||
* @param {?} serviceId | ||
* @param {?} settings | ||
* @return {?} | ||
*/ | ||
GrpcClientFactory.prototype.createClient = function (serviceId, settings) { }; | ||
} | ||
/** | ||
* @record | ||
*/ | ||
function GrpcClient() { } | ||
if (false) { | ||
/** | ||
* @template Q, S | ||
* @param {?} path | ||
* @param {?} req | ||
* @param {?} metadata | ||
* @param {?} reqclss | ||
* @param {?} resclss | ||
* @return {?} | ||
*/ | ||
GrpcClient.prototype.unary = function (path, req, metadata, reqclss, resclss) { }; | ||
/** | ||
* @template Q, S | ||
* @param {?} path | ||
* @param {?} req | ||
* @param {?} metadata | ||
* @param {?} reqclss | ||
* @param {?} resclss | ||
* @return {?} | ||
*/ | ||
GrpcClient.prototype.serverStream = function (path, req, metadata, reqclss, resclss) { }; | ||
} | ||
/** | ||
* @record | ||
*/ | ||
function GrpcClientSettings() { } | ||
if (false) { | ||
/** @type {?} */ | ||
GrpcClientSettings.prototype.host; | ||
/** @type {?|undefined} */ | ||
GrpcClientSettings.prototype.format; | ||
/** @type {?|undefined} */ | ||
GrpcClientSettings.prototype.suppressCorsPreflight; | ||
} | ||
/** @enum {number} */ | ||
var GrpcCallType = { | ||
unary: 0, | ||
serverStream: 1, | ||
}; | ||
GrpcCallType[GrpcCallType.unary] = 'unary'; | ||
GrpcCallType[GrpcCallType.serverStream] = 'serverStream'; | ||
/** | ||
* @record | ||
* @template REQ, RES | ||
*/ | ||
function GrpcRequest() { } | ||
if (false) { | ||
/** @type {?} */ | ||
GrpcRequest.prototype.path; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.client; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.type; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.requestData; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.requestMetadata; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.requestClass; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.responseClass; | ||
} | ||
(function (GrpcCallType) { | ||
GrpcCallType[GrpcCallType["unary"] = 0] = "unary"; | ||
GrpcCallType[GrpcCallType["serverStream"] = 1] = "serverStream"; | ||
})(exports.GrpcCallType || (exports.GrpcCallType = {})); | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/grpc-message.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* @record | ||
*/ | ||
function GrpcMessage() { } | ||
if (false) { | ||
/** | ||
* @return {?} | ||
*/ | ||
GrpcMessage.prototype.toObject = function () { }; | ||
/** | ||
* @return {?} | ||
*/ | ||
GrpcMessage.prototype.toJSON = function () { }; | ||
} | ||
var GrpcDataEvent = /** @class */ (function () { | ||
function GrpcDataEvent(data) { | ||
this.data = data; | ||
} | ||
return GrpcDataEvent; | ||
}()); | ||
var GrpcStatusEvent = /** @class */ (function () { | ||
function GrpcStatusEvent(code, details, metadata) { | ||
this.code = code; | ||
this.details = details; | ||
this.metadata = metadata; | ||
} | ||
return GrpcStatusEvent; | ||
}()); | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/grpc-message-class.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* @record | ||
* @template M | ||
*/ | ||
function GrpcMessageClass() { } | ||
if (false) { | ||
/** @type {?} */ | ||
GrpcMessageClass.prototype.fromBinary; | ||
/** @type {?} */ | ||
GrpcMessageClass.prototype.toBinary; | ||
/* Skipping unhandled member: new(m?: RecursivePartial<M>): M;*/ | ||
} | ||
exports.GrpcDataEvent = GrpcDataEvent; | ||
exports.GrpcStatusEvent = GrpcStatusEvent; | ||
exports.GrpcCallType = GrpcCallType; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
}))); | ||
//# sourceMappingURL=ngx-grpc-common.umd.js.map |
@@ -1,2 +0,2 @@ | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define("@ngx-grpc/common",["exports"],r):r(((e=e||self)["ngx-grpc"]=e["ngx-grpc"]||{},e["ngx-grpc"].common={}))}(this,(function(e){"use strict";var r={unary:0,serverStream:1};r[r.unary]="unary",r[r.serverStream]="serverStream",e.GrpcCallType=r,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define("@ngx-grpc/common",["exports"],t):t(((e=e||self)["ngx-grpc"]=e["ngx-grpc"]||{},e["ngx-grpc"].common={}))}(this,(function(e){"use strict";var t;(t=e.GrpcCallType||(e.GrpcCallType={}))[t.unary=0]="unary",t[t.serverStream=1]="serverStream";var n=function(e){this.data=e},r=function(e,t,n){this.code=e,this.details=t,this.metadata=n};e.GrpcDataEvent=n,e.GrpcStatusEvent=r,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=ngx-grpc-common.umd.min.js.map |
@@ -1,85 +0,6 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/grpc-client.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* @record | ||
*/ | ||
export function GrpcClientFactory() { } | ||
if (false) { | ||
/** | ||
* @param {?} serviceId | ||
* @param {?} settings | ||
* @return {?} | ||
*/ | ||
GrpcClientFactory.prototype.createClient = function (serviceId, settings) { }; | ||
} | ||
/** | ||
* @record | ||
*/ | ||
export function GrpcClient() { } | ||
if (false) { | ||
/** | ||
* @template Q, S | ||
* @param {?} path | ||
* @param {?} req | ||
* @param {?} metadata | ||
* @param {?} reqclss | ||
* @param {?} resclss | ||
* @return {?} | ||
*/ | ||
GrpcClient.prototype.unary = function (path, req, metadata, reqclss, resclss) { }; | ||
/** | ||
* @template Q, S | ||
* @param {?} path | ||
* @param {?} req | ||
* @param {?} metadata | ||
* @param {?} reqclss | ||
* @param {?} resclss | ||
* @return {?} | ||
*/ | ||
GrpcClient.prototype.serverStream = function (path, req, metadata, reqclss, resclss) { }; | ||
} | ||
/** | ||
* @record | ||
*/ | ||
export function GrpcClientSettings() { } | ||
if (false) { | ||
/** @type {?} */ | ||
GrpcClientSettings.prototype.host; | ||
/** @type {?|undefined} */ | ||
GrpcClientSettings.prototype.format; | ||
/** @type {?|undefined} */ | ||
GrpcClientSettings.prototype.suppressCorsPreflight; | ||
} | ||
/** @enum {number} */ | ||
const GrpcCallType = { | ||
unary: 0, | ||
serverStream: 1, | ||
}; | ||
export { GrpcCallType }; | ||
GrpcCallType[GrpcCallType.unary] = 'unary'; | ||
GrpcCallType[GrpcCallType.serverStream] = 'serverStream'; | ||
/** | ||
* @record | ||
* @template REQ, RES | ||
*/ | ||
export function GrpcRequest() { } | ||
if (false) { | ||
/** @type {?} */ | ||
GrpcRequest.prototype.path; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.client; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.type; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.requestData; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.requestMetadata; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.requestClass; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.responseClass; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JwYy1jbGllbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Abmd4LWdycGMvY29tbW9uLyIsInNvdXJjZXMiOlsibGliL2dycGMtY2xpZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBS0EsdUNBRUM7Ozs7Ozs7SUFEQyw4RUFBMEU7Ozs7O0FBRzVFLGdDQWtCQzs7Ozs7Ozs7Ozs7SUFoQkMsa0ZBTWlCOzs7Ozs7Ozs7O0lBRWpCLHlGQU0wQjs7Ozs7QUFJNUIsd0NBSUM7OztJQUhDLGtDQUFhOztJQUNiLG9DQUFnQjs7SUFDaEIsbURBQWdDOzs7QUFHbEMsTUFBWSxZQUFZO0lBQ3RCLEtBQUssR0FBQTtJQUNMLFlBQVksR0FBQTtFQUNiOzs7Ozs7OztBQUVELGlDQVFDOzs7SUFQQywyQkFBYTs7SUFDYiw2QkFBbUI7O0lBQ25CLDJCQUFtQjs7SUFDbkIsa0NBQWlCOztJQUNqQixzQ0FBMEI7O0lBQzFCLG1DQUFvQzs7SUFDcEMsb0NBQXFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTWV0YWRhdGEsIFN0YXR1cyB9IGZyb20gJ2dycGMtd2ViJztcbmltcG9ydCB7IE9ic2VydmFibGUgfSBmcm9tICdyeGpzJztcbmltcG9ydCB7IEdycGNNZXNzYWdlIH0gZnJvbSAnLi9ncnBjLW1lc3NhZ2UnO1xuaW1wb3J0IHsgR3JwY01lc3NhZ2VDbGFzcyB9IG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lcmZhY2UgR3JwY1JlcXVlc3Q8UkVRIGV4dGVuZHMgR3JwY01lc3NhZ2UsIFJFUyBleHRlbmRzIEdycGNNZXNzYWdlPiB7XG4gIHBhdGg6IHN0cmluZztcbiAgY2xpZW50OiBHcnBjQ2xpZW50O1xuICB0eXBlOiBHcnBjQ2FsbFR5cGU7XG4gIHJlcXVlc3REYXRhOiBSRVE7XG4gIHJlcXVlc3RNZXRhZGF0YTogTWV0YWRhdGE7XG4gIHJlcXVlc3RDbGFzczogR3JwY01lc3NhZ2VDbGFzczxSRVE+O1xuICByZXNwb25zZUNsYXNzOiBHcnBjTWVzc2FnZUNsYXNzPFJFUz47XG59XG4iXX0= | ||
export var GrpcCallType; | ||
(function (GrpcCallType) { | ||
GrpcCallType[GrpcCallType["unary"] = 0] = "unary"; | ||
GrpcCallType[GrpcCallType["serverStream"] = 1] = "serverStream"; | ||
})(GrpcCallType || (GrpcCallType = {})); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JwYy1jbGllbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Abmd4LWdycGMvY29tbW9uLyIsInNvdXJjZXMiOlsibGliL2dycGMtY2xpZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9DQSxNQUFNLENBQU4sSUFBWSxZQUdYO0FBSEQsV0FBWSxZQUFZO0lBQ3RCLGlEQUFLLENBQUE7SUFDTCwrREFBWSxDQUFBO0FBQ2QsQ0FBQyxFQUhXLFlBQVksS0FBWixZQUFZLFFBR3ZCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTWV0YWRhdGEgfSBmcm9tICdncnBjLXdlYic7XG5pbXBvcnQgeyBPYnNlcnZhYmxlIH0gZnJvbSAncnhqcyc7XG5pbXBvcnQgeyBHcnBjRXZlbnQgfSBmcm9tICcuL2dycGMtZXZlbnQnO1xuaW1wb3J0IHsgR3JwY01lc3NhZ2UgfSBmcm9t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lbnVtIEdycGNDYWxsVHlwZSB7XG4gIHVuYXJ5LFxuICBzZXJ2ZXJTdHJlYW0sXG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgR3JwY1JlcXVlc3Q8USBleHRlbmRzIEdycGNNZXNzYWdlLCBTIGV4dGVuZHMgR3JwY01lc3NhZ2U+IHtcbiAgcGF0aDogc3RyaW5nO1xuICBjbGllbnQ6IEdycGNDbGllbnQ7XG4gIHR5cGU6IEdycGNDYWxsVHlwZTtcbiAgcmVxdWVzdERhdGE6IFE7XG4gIHJlcXVlc3RNZXRhZGF0YTogTWV0YWRhdGE7XG4gIHJlcXVlc3RDbGFzczogR3JwY01lc3NhZ2VDbGFzczxRPjtcbiAgcmVzcG9uc2VDbGFzczogR3JwY01lc3NhZ2VDbGFzczxTPjtcbn1cbiJdfQ== |
@@ -1,18 +0,1 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/grpc-message-class.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* @record | ||
* @template M | ||
*/ | ||
export function GrpcMessageClass() { } | ||
if (false) { | ||
/** @type {?} */ | ||
GrpcMessageClass.prototype.fromBinary; | ||
/** @type {?} */ | ||
GrpcMessageClass.prototype.toBinary; | ||
/* Skipping unhandled member: new(m?: RecursivePartial<M>): M;*/ | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JwYy1tZXNzYWdlLWNsYXNzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5neC1ncnBjL2NvbW1vbi8iLCJzb3VyY2VzIjpbImxpYi9ncnBjLW1lc3NhZ2UtY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBSUEsc0NBSUM7OztJQUZDLHNDQUFxQzs7SUFDckMsb0NBQXNDIiwic291cmNlc0NvbnRlbnQi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pbmFyeTogKGJ5dGVzOiBCeXRlU291cmNlKSA9PiBNO1xuICB0b0JpbmFyeTogKGluc3RhbmNlOiBNKSA9PiBCeXRlU291cmNlO1xufVxuIl19 |
@@ -1,20 +0,1 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/grpc-message.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* @record | ||
*/ | ||
export function GrpcMessage() { } | ||
if (false) { | ||
/** | ||
* @return {?} | ||
*/ | ||
GrpcMessage.prototype.toObject = function () { }; | ||
/** | ||
* @return {?} | ||
*/ | ||
GrpcMessage.prototype.toJSON = function () { }; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JwYy1tZXNzYWdlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5neC1ncnBjL2NvbW1vbi8iLCJzb3VyY2VzIjpbImxpYi9ncnBjLW1lc3NhZ2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBQSxpQ0FHQzs7Ozs7SUFGQyxpREFBZ0I7Ozs7SUFDaEIsK0NBQWMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIEdycGNNZXNzYWdlIHtcbiAgdG9PYmplY3QoKTogYW55O1xuICB0b0pTT04oKTogYW55O1xufVxuIl19 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JwYy1tZXNzYWdlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5neC1ncnBjL2NvbW1vbi8iLCJzb3VyY2VzIjpbImxpYi9ncnBjLW1lc3NhZ2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgR3JwY01lc3NhZ2Uge1xuICB0b09iamVjdCgpOiBhbnk7XG4gIHRvSlNPTigpOiBhbnk7XG59XG4iXX0= |
@@ -1,6 +0,1 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/recursive-partial.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVjdXJzaXZlLXBhcnRpYWwuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Abmd4LWdycGMvY29tbW9uLyIsInNvdXJjZXMiOlsibGliL3JlY3Vyc2l2ZS1wYXJ0aWFsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBSZWN1cnNpdmVQYXJ0aWFsPFQ+ID0ge1xuICBbUCBpbiBrZXlvZiBUXT86IFRbUF0gZXh0ZW5kcyBVaW50OEFycmF5ID8gVFtQXSA6IFRbUF0gZXh0ZW5kcyAoaW5mZXIgVSlbXSA/IFJlY3Vyc2l2ZVBhcnRpYWw8VT5bXSA6IFRbUF07XG59O1xuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: ngx-grpc-common.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
export { GrpcCallType } from './public-api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdycGMtY29tbW9uLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5neC1ncnBjL2NvbW1vbi8iLCJzb3VyY2VzIjpbIm5neC1ncnBjLWNvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLDZCQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ== | ||
export * from './public-api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdycGMtY29tbW9uLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5neC1ncnBjL2NvbW1vbi8iLCJzb3VyY2VzIjpbIm5neC1ncnBjLWNvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19 |
@@ -1,6 +0,1 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: public-api.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/* | ||
@@ -13,6 +8,4 @@ DOM-free chunk | ||
*/ | ||
export { GrpcCallType } from './lib/grpc-client'; | ||
export {} from './lib/grpc-message'; | ||
export {} from './lib/grpc-message-class'; | ||
export {} from './lib/recursive-partial'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZ3gtZ3JwYy9jb21tb24vIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztBQVFBLDZCQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGVBQWMsb0JBQW9CLENBQUM7QUFDbkMsZUFBYywwQkFBMEIsQ0FBQztBQUN6QyxlQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAgRE9NLWZyZWUgY2h1bmtcblxuICBJTVBPUlRBTlQ6IGFsbCBkZXBlbmRlbmNpZXMgbXVzdCBiZSBET00tcmVmZXJlbmNlcy1mcmVlIGJlY2F1c2UgaXQgbWlnaHQgYnJlYWtzIFdvcmtlciBlbnZpcm9ubWVudDsgaW4gb3RoZXIgd29yZHNcbiAgICAtIGRvIG5vdCBpbXBvcnQgdG8gQGFuZ3VsYXIvKiBhbmQgb3RoZXIgRE9NLXJlbGF0ZWQgcGFja2FnZXMgaW4gYW55IGxldmVsIG9mIGltcG9ydFxuICAgIC0gZG8gbm90IHVzZSBXaW5kb3cgLyBEb2N1bWVudCBldGNcbiovXG5cbmV4cG9ydCAqIGZyb20gJy4vbGliL2dycGMtY2xpZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2dycGMtbWVzc2FnZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9ncnBjLW1lc3NhZ2UtY2xhc3MnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvcmVjdXJzaXZlLXBhcnRpYWwnO1xuXG4iXX0= | ||
export * from './lib/grpc-client'; | ||
export * from './lib/grpc-event'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZ3gtZ3JwYy9jb21tb24vIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7RUFNRTtBQUVGLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxrQkFBa0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gIERPTS1mcmVlIGNodW5rXG5cbiAgSU1QT1JUQU5UOiBhbGwgZGVwZW5kZW5jaWVzIG11c3QgYmUgRE9NLXJlZmVyZW5jZXMtZnJlZSBiZWNhdXNlIGl0IG1pZ2h0IGJyZWFrcyBXb3JrZXIgZW52aXJvbm1lbnQ7IGluIG90aGVyIHdvcmRzXG4gICAgLSBkbyBub3QgaW1wb3J0IHRvIEBhbmd1bGFyLyogYW5kIG90aGVyIERPTS1yZWxhdGVkIHBhY2thZ2VzIGluIGFueSBsZXZlbCBvZiBpbXBvcnRcbiAgICAtIGRvIG5vdCB1c2UgV2luZG93IC8gRG9jdW1lbnQgZXRjXG4qL1xuXG5leHBvcnQgKiBmcm9tICcuL2xpYi9ncnBjLWNsaWVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9ncnBjLWV2ZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2dycGMtbWVzc2FnZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9ncnBjLW1lc3NhZ2UtY2xhc3MnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvcmVjdXJzaXZlLXBhcnRpYWwnO1xuXG4iXX0= |
@@ -1,85 +0,6 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/grpc-client.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* @record | ||
*/ | ||
export function GrpcClientFactory() { } | ||
if (false) { | ||
/** | ||
* @param {?} serviceId | ||
* @param {?} settings | ||
* @return {?} | ||
*/ | ||
GrpcClientFactory.prototype.createClient = function (serviceId, settings) { }; | ||
} | ||
/** | ||
* @record | ||
*/ | ||
export function GrpcClient() { } | ||
if (false) { | ||
/** | ||
* @template Q, S | ||
* @param {?} path | ||
* @param {?} req | ||
* @param {?} metadata | ||
* @param {?} reqclss | ||
* @param {?} resclss | ||
* @return {?} | ||
*/ | ||
GrpcClient.prototype.unary = function (path, req, metadata, reqclss, resclss) { }; | ||
/** | ||
* @template Q, S | ||
* @param {?} path | ||
* @param {?} req | ||
* @param {?} metadata | ||
* @param {?} reqclss | ||
* @param {?} resclss | ||
* @return {?} | ||
*/ | ||
GrpcClient.prototype.serverStream = function (path, req, metadata, reqclss, resclss) { }; | ||
} | ||
/** | ||
* @record | ||
*/ | ||
export function GrpcClientSettings() { } | ||
if (false) { | ||
/** @type {?} */ | ||
GrpcClientSettings.prototype.host; | ||
/** @type {?|undefined} */ | ||
GrpcClientSettings.prototype.format; | ||
/** @type {?|undefined} */ | ||
GrpcClientSettings.prototype.suppressCorsPreflight; | ||
} | ||
/** @enum {number} */ | ||
var GrpcCallType = { | ||
unary: 0, | ||
serverStream: 1, | ||
}; | ||
export { GrpcCallType }; | ||
GrpcCallType[GrpcCallType.unary] = 'unary'; | ||
GrpcCallType[GrpcCallType.serverStream] = 'serverStream'; | ||
/** | ||
* @record | ||
* @template REQ, RES | ||
*/ | ||
export function GrpcRequest() { } | ||
if (false) { | ||
/** @type {?} */ | ||
GrpcRequest.prototype.path; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.client; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.type; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.requestData; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.requestMetadata; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.requestClass; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.responseClass; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JwYy1jbGllbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Abmd4LWdycGMvY29tbW9uLyIsInNvdXJjZXMiOlsibGliL2dycGMtY2xpZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBS0EsdUNBRUM7Ozs7Ozs7SUFEQyw4RUFBMEU7Ozs7O0FBRzVFLGdDQWtCQzs7Ozs7Ozs7Ozs7SUFoQk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TPixcbiAgKTogT2JzZXJ2YWJsZTxTPjtcblxuICBzZXJ2ZXJTdHJlYW08USBleHRlbmRzIEdycGNNZXNzYWdlLCBTIGV4dGVuZHMgR3JwY01lc3NhZ2U+KFxuICAgIHBhdGg6IHN0cmluZyxcbiAgICByZXE6IFEsXG4gICAgbWV0YWRhdGE6IE1ldGFkYXRhLFxuICAgIHJlcWNsc3M6IEdycGNNZXNzYWdlQ2xhc3M8UT4sXG4gICAgcmVzY2xzczogR3JwY01lc3NhZ2VDbGFzczxTPlxuICApOiBPYnNlcnZhYmxlPFMgfCBTdGF0dXM+O1xuXG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgR3JwY0NsaWVudFNldHRpbmdzIHtcbiAgaG9zdDogc3RyaW5nO1xuICBmb3JtYXQ/OiBzdHJpbmc7XG4gIHN1cHByZXNzQ29yc1ByZWZsaWdodD86IGJvb2xlYW47XG59XG5cbmV4cG9ydCBlbnVtIEdycGNDYWxsVHlwZSB7XG4gIHVuYXJ5LFxuICBzZXJ2ZXJTdHJlYW0sXG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgR3JwY1JlcXVlc3Q8UkVRIGV4dGVuZHMgR3JwY01lc3NhZ2UsIFJFUyBleHRlbmRzIEdycGNNZXNzYWdlPiB7XG4gIHBhdGg6IHN0cmluZztcbiAgY2xpZW50OiBHcnBjQ2xpZW50O1xuICB0eXBlOiBHcnBjQ2FsbFR5cGU7XG4gIHJlcXVlc3REYXRhOiBSRVE7XG4gIHJlcXVlc3RNZXRhZGF0YTogTWV0YWRhdGE7XG4gIHJlcXVlc3RDbGFzczogR3JwY01lc3NhZ2VDbGFzczxSRVE+O1xuICByZXNwb25zZUNsYXNzOiBHcnBjTWVzc2FnZUNsYXNzPFJFUz47XG59XG4iXX0= | ||
export var GrpcCallType; | ||
(function (GrpcCallType) { | ||
GrpcCallType[GrpcCallType["unary"] = 0] = "unary"; | ||
GrpcCallType[GrpcCallType["serverStream"] = 1] = "serverStream"; | ||
})(Grp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ickle | ||
* Generated from: lib/grpc-message-class.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* @record | ||
* @template M | ||
*/ | ||
export function GrpcMessageClass() { } | ||
if (false) { | ||
/** @type {?} */ | ||
GrpcMessageClass.prototype.fromBinary; | ||
/** @type {?} */ | ||
GrpcMessageClass.prototype.toBinary; | ||
/* Skipping unhandled member: new(m?: RecursivePartial<M>): M;*/ | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JwYy1tZXNzYWdlLWNsYXNzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5neC1ncnBjL2NvbW1vbi8iLCJzb3VyY2VzIjpbImxpYi9ncnBjLW1lc3NhZ2UtY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBSUEsc0NBSUM7OztJQUZDLHNDQUFxQzs7SUFDckMsb0NBQXNDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQnl0ZVNvdXJjZSB9IGZyb20gJ2dvb2dsZS1wcm90b2J1Zic7XG5pbXBvcnQgeyBHcnBjTWVzc2FnZSB9IGZyb20gJy4vZ3JwYy1tZXNzYWdlJztcbmltcG9ydCB7IFJlY3Vyc2l2ZVBhcnRpYWwgfSBmcm9tICcuL3JlY3Vyc2l2ZS1wYXJ0aWFsJztcblxuZXhwb3J0IGludGVyZmFjZSBHcnBjTWVzc2FnZUNsYXNzPE0gZXh0ZW5kcyBHcnBjTWVzc2FnZT4ge1xuICBuZXcobT86IFJlY3Vyc2l2ZVBhcnRpYWw8TT4pOiBNO1xuICBmcm9tQmluYXJ5OiAoYnl0ZXM6IEJ5dGVTb3VyY2UpID0+IE07XG4gIHRvQmluYXJ5OiAoaW5zdGFuY2U6IE0pID0+IEJ5dGVTb3VyY2U7XG59XG4iXX0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JwYy1tZXNzYWdlLWNsYXNzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5neC1ncnBjL2NvbW1vbi8iLCJzb3VyY2VzIjpbImxpYi9ncnBjLW1lc3NhZ2UtY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEJ5dGVTb3VyY2UgfSBmcm9tICdnb29nbGUtcHJvdG9idWYnO1xuaW1wb3J0IHsgR3JwY01lc3NhZ2UgfSBmcm9tICcuL2dycGMtbWVzc2FnZSc7XG5pbXBvcnQgeyBSZWN1cnNpdmVQYXJ0aWFsIH0gZnJvbSAnLi9yZWN1cnNpdmUtcGFydGlhbCc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgR3JwY01lc3NhZ2VDbGFzczxNIGV4dGVuZHMgR3JwY01lc3NhZ2U+IHtcbiAgbmV3KG0/OiBSZWN1cnNpdmVQYXJ0aWFsPE0+KTogTTtcbiAgZnJvbUJpbmFyeTogKGJ5dGVzOiBCeXRlU291cmNlKSA9PiBNO1xuICB0b0JpbmFyeTogKGluc3RhbmNlOiBNKSA9PiBCeXRlU291cmNlO1xufVxuIl19 |
@@ -1,20 +0,1 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/grpc-message.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* @record | ||
*/ | ||
export function GrpcMessage() { } | ||
if (false) { | ||
/** | ||
* @return {?} | ||
*/ | ||
GrpcMessage.prototype.toObject = function () { }; | ||
/** | ||
* @return {?} | ||
*/ | ||
GrpcMessage.prototype.toJSON = function () { }; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JwYy1tZXNzYWdlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5neC1ncnBjL2NvbW1vbi8iLCJzb3VyY2VzIjpbImxpYi9ncnBjLW1lc3NhZ2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBQSxpQ0FHQzs7Ozs7SUFGQyxpREFBZ0I7Ozs7SUFDaEIsK0NBQWMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIEdycGNNZXNzYWdlIHtcbiAgdG9PYmplY3QoKTogYW55O1xuICB0b0pTT04oKTogYW55O1xufVxuIl19 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JwYy1tZXNzYWdlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5neC1ncnBjL2NvbW1vbi8iLCJzb3VyY2VzIjpbImxpYi9ncnBjLW1lc3NhZ2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgR3JwY01lc3NhZ2Uge1xuICB0b09iamVjdCgpOiBhbnk7XG4gIHRvSlNPTigpOiBhbnk7XG59XG4iXX0= |
@@ -1,6 +0,1 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/recursive-partial.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVjdXJzaXZlLXBhcnRpYWwuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Abmd4LWdycGMvY29tbW9uLyIsInNvdXJjZXMiOlsibGliL3JlY3Vyc2l2ZS1wYXJ0aWFsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBSZWN1cnNpdmVQYXJ0aWFsPFQ+ID0ge1xuICBbUCBpbiBrZXlvZiBUXT86IFRbUF0gZXh0ZW5kcyBVaW50OEFycmF5ID8gVFtQXSA6IFRbUF0gZXh0ZW5kcyAoaW5mZXIgVSlbXSA/IFJlY3Vyc2l2ZVBhcnRpYWw8VT5bXSA6IFRbUF07XG59O1xuIl19 |
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: ngx-grpc-common.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
export { GrpcCallType } from './public-api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdycGMtY29tbW9uLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5neC1ncnBjL2NvbW1vbi8iLCJzb3VyY2VzIjpbIm5neC1ncnBjLWNvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUlBLDZCQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ== | ||
export * from './public-api'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWdycGMtY29tbW9uLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQG5neC1ncnBjL2NvbW1vbi8iLCJzb3VyY2VzIjpbIm5neC1ncnBjLWNvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19 |
@@ -1,6 +0,1 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: public-api.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/* | ||
@@ -13,6 +8,4 @@ DOM-free chunk | ||
*/ | ||
export { GrpcCallType } from './lib/grpc-client'; | ||
export {} from './lib/grpc-message'; | ||
export {} from './lib/grpc-message-class'; | ||
export {} from './lib/recursive-partial'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZ3gtZ3JwYy9jb21tb24vIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztBQVFBLDZCQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGVBQWMsb0JBQW9CLENBQUM7QUFDbkMsZUFBYywwQkFBMEIsQ0FBQztBQUN6QyxlQUFjLHlCQUF5QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcbiAgRE9NLWZyZWUgY2h1bmtcblxuICBJTVBPUlRBTlQ6IGFsbCBkZXBlbmRlbmNpZXMgbXVzdCBiZSBET00tcmVmZXJlbmNlcy1mcmVlIGJlY2F1c2UgaXQgbWlnaHQgYnJlYWtzIFdvcmtlciBlbnZpcm9ubWVudDsgaW4gb3RoZXIgd29yZHNcbiAgICAtIGRvIG5vdCBpbXBvcnQgdG8gQGFuZ3VsYXIvKiBhbmQgb3RoZXIgRE9NLXJlbGF0ZWQgcGFja2FnZXMgaW4gYW55IGxldmVsIG9mIGltcG9ydFxuICAgIC0gZG8gbm90IHVzZSBXaW5kb3cgLyBEb2N1bWVudCBldGNcbiovXG5cbmV4cG9ydCAqIGZyb20gJy4vbGliL2dycGMtY2xpZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2dycGMtbWVzc2FnZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9ncnBjLW1lc3NhZ2UtY2xhc3MnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvcmVjdXJzaXZlLXBhcnRpYWwnO1xuXG4iXX0= | ||
export * from './lib/grpc-client'; | ||
export * from './lib/grpc-event'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BuZ3gtZ3JwYy9jb21tb24vIiwic291cmNlcyI6WyJwdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7RUFNRTtBQUVGLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxrQkFBa0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gIERPTS1mcmVlIGNodW5rXG5cbiAgSU1QT1JUQU5UOiBhbGwgZGVwZW5kZW5jaWVzIG11c3QgYmUgRE9NLXJlZmVyZW5jZXMtZnJlZSBiZWNhdXNlIGl0IG1pZ2h0IGJyZWFrcyBXb3JrZXIgZW52aXJvbm1lbnQ7IGluIG90aGVyIHdvcmRzXG4gICAgLSBkbyBub3QgaW1wb3J0IHRvIEBhbmd1bGFyLyogYW5kIG90aGVyIERPTS1yZWxhdGVkIHBhY2thZ2VzIGluIGFueSBsZXZlbCBvZiBpbXBvcnRcbiAgICAtIGRvIG5vdCB1c2UgV2luZG93IC8gRG9jdW1lbnQgZXRjXG4qL1xuXG5leHBvcnQgKiBmcm9tICcuL2xpYi9ncnBjLWNsaWVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9ncnBjLWV2ZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2dycGMtbWVzc2FnZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9ncnBjLW1lc3NhZ2UtY2xhc3MnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvcmVjdXJzaXZlLXBhcnRpYWwnO1xuXG4iXX0= |
@@ -1,142 +0,33 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/grpc-client.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* @record | ||
*/ | ||
function GrpcClientFactory() { } | ||
if (false) { | ||
/** | ||
* @param {?} serviceId | ||
* @param {?} settings | ||
* @return {?} | ||
*/ | ||
GrpcClientFactory.prototype.createClient = function (serviceId, settings) { }; | ||
} | ||
/** | ||
* @record | ||
*/ | ||
function GrpcClient() { } | ||
if (false) { | ||
/** | ||
* @template Q, S | ||
* @param {?} path | ||
* @param {?} req | ||
* @param {?} metadata | ||
* @param {?} reqclss | ||
* @param {?} resclss | ||
* @return {?} | ||
*/ | ||
GrpcClient.prototype.unary = function (path, req, metadata, reqclss, resclss) { }; | ||
/** | ||
* @template Q, S | ||
* @param {?} path | ||
* @param {?} req | ||
* @param {?} metadata | ||
* @param {?} reqclss | ||
* @param {?} resclss | ||
* @return {?} | ||
*/ | ||
GrpcClient.prototype.serverStream = function (path, req, metadata, reqclss, resclss) { }; | ||
} | ||
/** | ||
* @record | ||
*/ | ||
function GrpcClientSettings() { } | ||
if (false) { | ||
/** @type {?} */ | ||
GrpcClientSettings.prototype.host; | ||
/** @type {?|undefined} */ | ||
GrpcClientSettings.prototype.format; | ||
/** @type {?|undefined} */ | ||
GrpcClientSettings.prototype.suppressCorsPreflight; | ||
} | ||
/** @enum {number} */ | ||
const GrpcCallType = { | ||
unary: 0, | ||
serverStream: 1, | ||
}; | ||
GrpcCallType[GrpcCallType.unary] = 'unary'; | ||
GrpcCallType[GrpcCallType.serverStream] = 'serverStream'; | ||
/** | ||
* @record | ||
* @template REQ, RES | ||
*/ | ||
function GrpcRequest() { } | ||
if (false) { | ||
/** @type {?} */ | ||
GrpcRequest.prototype.path; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.client; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.type; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.requestData; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.requestMetadata; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.requestClass; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.responseClass; | ||
} | ||
var GrpcCallType; | ||
(function (GrpcCallType) { | ||
GrpcCallType[GrpcCallType["unary"] = 0] = "unary"; | ||
GrpcCallType[GrpcCallType["serverStream"] = 1] = "serverStream"; | ||
})(GrpcCallType || (GrpcCallType = {})); | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/grpc-message.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* @record | ||
*/ | ||
function GrpcMessage() { } | ||
if (false) { | ||
/** | ||
* @return {?} | ||
*/ | ||
GrpcMessage.prototype.toObject = function () { }; | ||
/** | ||
* @return {?} | ||
*/ | ||
GrpcMessage.prototype.toJSON = function () { }; | ||
class GrpcDataEvent { | ||
constructor(data) { | ||
this.data = data; | ||
} | ||
} | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/grpc-message-class.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* @record | ||
* @template M | ||
*/ | ||
function GrpcMessageClass() { } | ||
if (false) { | ||
/** @type {?} */ | ||
GrpcMessageClass.prototype.fromBinary; | ||
/** @type {?} */ | ||
GrpcMessageClass.prototype.toBinary; | ||
/* Skipping unhandled member: new(m?: RecursivePartial<M>): M;*/ | ||
class GrpcStatusEvent { | ||
constructor(code, details, metadata) { | ||
this.code = code; | ||
this.details = details; | ||
this.metadata = metadata; | ||
} | ||
} | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/recursive-partial.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/* | ||
DOM-free chunk | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: public-api.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
IMPORTANT: all dependencies must be DOM-references-free because it might breaks Worker environment; in other words | ||
- do not import to @angular/* and other DOM-related packages in any level of import | ||
- do not use Window / Document etc | ||
*/ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: ngx-grpc-common.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
export { GrpcCallType }; | ||
export { GrpcCallType, GrpcDataEvent, GrpcStatusEvent }; | ||
//# sourceMappingURL=ngx-grpc-common.js.map |
@@ -1,142 +0,35 @@ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/grpc-client.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* @record | ||
*/ | ||
function GrpcClientFactory() { } | ||
if (false) { | ||
/** | ||
* @param {?} serviceId | ||
* @param {?} settings | ||
* @return {?} | ||
*/ | ||
GrpcClientFactory.prototype.createClient = function (serviceId, settings) { }; | ||
} | ||
/** | ||
* @record | ||
*/ | ||
function GrpcClient() { } | ||
if (false) { | ||
/** | ||
* @template Q, S | ||
* @param {?} path | ||
* @param {?} req | ||
* @param {?} metadata | ||
* @param {?} reqclss | ||
* @param {?} resclss | ||
* @return {?} | ||
*/ | ||
GrpcClient.prototype.unary = function (path, req, metadata, reqclss, resclss) { }; | ||
/** | ||
* @template Q, S | ||
* @param {?} path | ||
* @param {?} req | ||
* @param {?} metadata | ||
* @param {?} reqclss | ||
* @param {?} resclss | ||
* @return {?} | ||
*/ | ||
GrpcClient.prototype.serverStream = function (path, req, metadata, reqclss, resclss) { }; | ||
} | ||
/** | ||
* @record | ||
*/ | ||
function GrpcClientSettings() { } | ||
if (false) { | ||
/** @type {?} */ | ||
GrpcClientSettings.prototype.host; | ||
/** @type {?|undefined} */ | ||
GrpcClientSettings.prototype.format; | ||
/** @type {?|undefined} */ | ||
GrpcClientSettings.prototype.suppressCorsPreflight; | ||
} | ||
/** @enum {number} */ | ||
var GrpcCallType = { | ||
unary: 0, | ||
serverStream: 1, | ||
}; | ||
GrpcCallType[GrpcCallType.unary] = 'unary'; | ||
GrpcCallType[GrpcCallType.serverStream] = 'serverStream'; | ||
/** | ||
* @record | ||
* @template REQ, RES | ||
*/ | ||
function GrpcRequest() { } | ||
if (false) { | ||
/** @type {?} */ | ||
GrpcRequest.prototype.path; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.client; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.type; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.requestData; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.requestMetadata; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.requestClass; | ||
/** @type {?} */ | ||
GrpcRequest.prototype.responseClass; | ||
} | ||
var GrpcCallType; | ||
(function (GrpcCallType) { | ||
GrpcCallType[GrpcCallType["unary"] = 0] = "unary"; | ||
GrpcCallType[GrpcCallType["serverStream"] = 1] = "serverStream"; | ||
})(GrpcCallType || (GrpcCallType = {})); | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/grpc-message.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* @record | ||
*/ | ||
function GrpcMessage() { } | ||
if (false) { | ||
/** | ||
* @return {?} | ||
*/ | ||
GrpcMessage.prototype.toObject = function () { }; | ||
/** | ||
* @return {?} | ||
*/ | ||
GrpcMessage.prototype.toJSON = function () { }; | ||
} | ||
var GrpcDataEvent = /** @class */ (function () { | ||
function GrpcDataEvent(data) { | ||
this.data = data; | ||
} | ||
return GrpcDataEvent; | ||
}()); | ||
var GrpcStatusEvent = /** @class */ (function () { | ||
function GrpcStatusEvent(code, details, metadata) { | ||
this.code = code; | ||
this.details = details; | ||
this.metadata = metadata; | ||
} | ||
return GrpcStatusEvent; | ||
}()); | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/grpc-message-class.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
/** | ||
* @record | ||
* @template M | ||
*/ | ||
function GrpcMessageClass() { } | ||
if (false) { | ||
/** @type {?} */ | ||
GrpcMessageClass.prototype.fromBinary; | ||
/** @type {?} */ | ||
GrpcMessageClass.prototype.toBinary; | ||
/* Skipping unhandled member: new(m?: RecursivePartial<M>): M;*/ | ||
} | ||
/* | ||
DOM-free chunk | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: lib/recursive-partial.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
IMPORTANT: all dependencies must be DOM-references-free because it might breaks Worker environment; in other words | ||
- do not import to @angular/* and other DOM-related packages in any level of import | ||
- do not use Window / Document etc | ||
*/ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: public-api.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
/** | ||
* @fileoverview added by tsickle | ||
* Generated from: ngx-grpc-common.ts | ||
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
export { GrpcCallType }; | ||
export { GrpcCallType, GrpcDataEvent, GrpcStatusEvent }; | ||
//# sourceMappingURL=ngx-grpc-common.js.map |
@@ -1,3 +0,4 @@ | ||
import { Metadata, Status } from 'grpc-web'; | ||
import { Metadata } from 'grpc-web'; | ||
import { Observable } from 'rxjs'; | ||
import { GrpcEvent } from './grpc-event'; | ||
import { GrpcMessage } from './grpc-message'; | ||
@@ -9,4 +10,4 @@ import { GrpcMessageClass } from './grpc-message-class'; | ||
export interface GrpcClient { | ||
unary<Q extends GrpcMessage, S extends GrpcMessage>(path: string, req: Q, metadata: Metadata, reqclss: GrpcMessageClass<Q>, resclss: GrpcMessageClass<S>): Observable<S>; | ||
serverStream<Q extends GrpcMessage, S extends GrpcMessage>(path: string, req: Q, metadata: Metadata, reqclss: GrpcMessageClass<Q>, resclss: GrpcMessageClass<S>): Observable<S | Status>; | ||
unary<Q extends GrpcMessage, S extends GrpcMessage>(path: string, req: Q, metadata: Metadata, reqclss: GrpcMessageClass<Q>, resclss: GrpcMessageClass<S>): Observable<GrpcEvent<S>>; | ||
serverStream<Q extends GrpcMessage, S extends GrpcMessage>(path: string, req: Q, metadata: Metadata, reqclss: GrpcMessageClass<Q>, resclss: GrpcMessageClass<S>): Observable<GrpcEvent<S>>; | ||
} | ||
@@ -22,10 +23,10 @@ export interface GrpcClientSettings { | ||
} | ||
export interface GrpcRequest<REQ extends GrpcMessage, RES extends GrpcMessage> { | ||
export interface GrpcRequest<Q extends GrpcMessage, S extends GrpcMessage> { | ||
path: string; | ||
client: GrpcClient; | ||
type: GrpcCallType; | ||
requestData: REQ; | ||
requestData: Q; | ||
requestMetadata: Metadata; | ||
requestClass: GrpcMessageClass<REQ>; | ||
responseClass: GrpcMessageClass<RES>; | ||
requestClass: GrpcMessageClass<Q>; | ||
responseClass: GrpcMessageClass<S>; | ||
} |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"GrpcClientFactory":{"__symbolic":"interface"},"GrpcClient":{"__symbolic":"interface"},"GrpcClientSettings":{"__symbolic":"interface"},"GrpcCallType":{"unary":0,"serverStream":1},"GrpcRequest":{"__symbolic":"interface"},"GrpcMessage":{"__symbolic":"interface"},"GrpcMessageClass":{"__symbolic":"interface"},"RecursivePartial":{"__symbolic":"interface"}},"origins":{"GrpcClientFactory":"./lib/grpc-client","GrpcClient":"./lib/grpc-client","GrpcClientSettings":"./lib/grpc-client","GrpcCallType":"./lib/grpc-client","GrpcRequest":"./lib/grpc-client","GrpcMessage":"./lib/grpc-message","GrpcMessageClass":"./lib/grpc-message-class","RecursivePartial":"./lib/recursive-partial"},"importAs":"@ngx-grpc/common"} | ||
{"__symbolic":"module","version":4,"metadata":{"GrpcClientFactory":{"__symbolic":"interface"},"GrpcClient":{"__symbolic":"interface"},"GrpcClientSettings":{"__symbolic":"interface"},"GrpcCallType":{"unary":0,"serverStream":1},"GrpcRequest":{"__symbolic":"interface"},"GrpcDataEvent":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":5,"character":17,"context":{"typeName":"T"},"module":"./lib/grpc-event"}]}]}},"GrpcStatusEvent":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Expression form not supported","line":13,"character":21,"module":"./lib/grpc-event"}]}]}},"GrpcEvent":{"__symbolic":"interface"},"GrpcMessage":{"__symbolic":"interface"},"GrpcMessageClass":{"__symbolic":"interface"},"RecursivePartial":{"__symbolic":"interface"}},"origins":{"GrpcClientFactory":"./lib/grpc-client","GrpcClient":"./lib/grpc-client","GrpcClientSettings":"./lib/grpc-client","GrpcCallType":"./lib/grpc-client","GrpcRequest":"./lib/grpc-client","GrpcDataEvent":"./lib/grpc-event","GrpcStatusEvent":"./lib/grpc-event","GrpcEvent":"./lib/grpc-event","GrpcMessage":"./lib/grpc-message","GrpcMessageClass":"./lib/grpc-message-class","RecursivePartial":"./lib/recursive-partial"},"importAs":"@ngx-grpc/common"} |
@@ -13,3 +13,4 @@ { | ||
"grpc-web": "^1.0.0", | ||
"rxjs": "^6.0.0" | ||
"rxjs": "^6.0.0", | ||
"tslib": "^1.10.0" | ||
}, | ||
@@ -26,6 +27,3 @@ "main": "bundles/ngx-grpc-common.umd.js", | ||
"sideEffects": false, | ||
"dependencies": { | ||
"tslib": "^1.9.0" | ||
}, | ||
"version": "0.2.0" | ||
"version": "0.3.0" | ||
} |
export * from './lib/grpc-client'; | ||
export * from './lib/grpc-event'; | ||
export * from './lib/grpc-message'; | ||
export * from './lib/grpc-message-class'; | ||
export * from './lib/recursive-partial'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33
34435
222
1
- Removedtslib@^1.9.0