UNPKG

ngx-mat-lib

Version:

A bunch of utilities and components to use in your Angular 7+ apps!

40 lines (39 loc) 2.45 kB
/** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,uselessCode} checked by tsc */ /** * HOW TO * * url: url of the rest - generally found in xmatRestService * method: method of the call - generally found in xmatRestService * status: the status to return - 200, 400, 403 etc... * body: optional body to avoid getting a mock from the default folder * @record */ export function XmatMock() { } /** @type {?|undefined} */ XmatMock.prototype.body; /** @type {?|undefined} */ XmatMock.prototype.customMethod; /** @type {?|undefined} */ XmatMock.prototype.customUrl; /** @type {?|undefined} */ XmatMock.prototype.result; /** @type {?|undefined} */ XmatMock.prototype.method; /** @type {?|undefined} */ XmatMock.prototype.status; /** @type {?|undefined} */ XmatMock.prototype.timeout; /** @type {?} */ XmatMock.prototype.url; /** @typedef {?} */ var XmatMockCallback; export { XmatMockCallback }; /** * @record * @template T */ export function XmatMocksCallbacks() { } //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieG1hdC1tb2NrLm1vZGVsLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LW1hdC1saWIvIiwic291cmNlcyI6WyJsaWIvbW9kZWxzL3htYXQtbW9jay5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtPYnNlcnZhYmxlfSBmcm9tIFwicnhqc1wiO1xuaW1wb3J0IHtIdHRwUmVxdWVzdCwgSHR0cEhhbmRsZXJ9IGZyb20gXCJAYW5ndWxhci9jb21tb24vaHR0cFwiO1xuXG4vKipcbiAqIEhPVyBUT1xuICpcbiAqIHVybDogdXJsIG9mIHRoZSByZXN0IC0gZ2VuZXJhbGx5IGZvdW5kIGluIHhtYXRSZXN0U2VydmljZVxuICogbWV0aG9kOiBtZXRob2Qgb2YgdGhlIGNhbGwgLSBnZW5lcmFsbHkgZm91bmQgaW4geG1hdFJlc3RTZXJ2aWNlXG4gK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