Project files
This commit is contained in:
7
receipeServer/frontend_old/node_modules/apollo-client/util/Observable.d.ts
generated
vendored
Normal file
7
receipeServer/frontend_old/node_modules/apollo-client/util/Observable.d.ts
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
/// <reference types="zen-observable" />
|
||||
import { Observable as LinkObservable } from 'apollo-link';
|
||||
export declare type Subscription = ZenObservable.Subscription;
|
||||
export declare type Observer<T> = ZenObservable.Observer<T>;
|
||||
export declare class Observable<T> extends LinkObservable<T> {
|
||||
}
|
||||
//# sourceMappingURL=Observable.d.ts.map
|
||||
1
receipeServer/frontend_old/node_modules/apollo-client/util/Observable.d.ts.map
generated
vendored
Normal file
1
receipeServer/frontend_old/node_modules/apollo-client/util/Observable.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Observable.d.ts","sourceRoot":"","sources":["../src/util/Observable.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,oBAAY,YAAY,GAAG,aAAa,CAAC,YAAY,CAAC;AACtD,oBAAY,QAAQ,CAAC,CAAC,IAAI,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;AAKpD,qBAAa,UAAU,CAAC,CAAC,CAAE,SAAQ,cAAc,CAAC,CAAC,CAAC;CAQnD"}
|
||||
20
receipeServer/frontend_old/node_modules/apollo-client/util/Observable.js
generated
vendored
Normal file
20
receipeServer/frontend_old/node_modules/apollo-client/util/Observable.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var tslib_1 = require("tslib");
|
||||
var apollo_link_1 = require("apollo-link");
|
||||
var symbol_observable_1 = tslib_1.__importDefault(require("symbol-observable"));
|
||||
var Observable = (function (_super) {
|
||||
tslib_1.__extends(Observable, _super);
|
||||
function Observable() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
Observable.prototype[symbol_observable_1.default] = function () {
|
||||
return this;
|
||||
};
|
||||
Observable.prototype['@@observable'] = function () {
|
||||
return this;
|
||||
};
|
||||
return Observable;
|
||||
}(apollo_link_1.Observable));
|
||||
exports.Observable = Observable;
|
||||
//# sourceMappingURL=Observable.js.map
|
||||
1
receipeServer/frontend_old/node_modules/apollo-client/util/Observable.js.map
generated
vendored
Normal file
1
receipeServer/frontend_old/node_modules/apollo-client/util/Observable.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Observable.js","sourceRoot":"","sources":["../../src/util/Observable.ts"],"names":[],"mappings":";;;AAEA,2CAA2D;AAK3D,gFAA6C;AAG7C;IAAmC,sCAAiB;IAApD;;IAQA,CAAC;IAPQ,qBAAC,2BAAY,CAAC,GAArB;QACE,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,qBAAC,cAAqB,CAAC,GAA9B;QACE,OAAO,IAAI,CAAC;IACd,CAAC;IACH,iBAAC;AAAD,CAAC,AARD,CAAmC,wBAAc,GAQhD;AARY,gCAAU"}
|
||||
2
receipeServer/frontend_old/node_modules/apollo-client/util/arrays.d.ts
generated
vendored
Normal file
2
receipeServer/frontend_old/node_modules/apollo-client/util/arrays.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export declare function isNonEmptyArray<T>(value?: ArrayLike<T>): value is Array<T>;
|
||||
//# sourceMappingURL=arrays.d.ts.map
|
||||
1
receipeServer/frontend_old/node_modules/apollo-client/util/arrays.d.ts.map
generated
vendored
Normal file
1
receipeServer/frontend_old/node_modules/apollo-client/util/arrays.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"arrays.d.ts","sourceRoot":"","sources":["../src/util/arrays.ts"],"names":[],"mappings":"AAAA,wBAAgB,eAAe,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,KAAK,IAAI,KAAK,CAAC,CAAC,CAAC,CAE1E"}
|
||||
7
receipeServer/frontend_old/node_modules/apollo-client/util/arrays.js
generated
vendored
Normal file
7
receipeServer/frontend_old/node_modules/apollo-client/util/arrays.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
function isNonEmptyArray(value) {
|
||||
return Array.isArray(value) && value.length > 0;
|
||||
}
|
||||
exports.isNonEmptyArray = isNonEmptyArray;
|
||||
//# sourceMappingURL=arrays.js.map
|
||||
1
receipeServer/frontend_old/node_modules/apollo-client/util/arrays.js.map
generated
vendored
Normal file
1
receipeServer/frontend_old/node_modules/apollo-client/util/arrays.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"arrays.js","sourceRoot":"","sources":["../../src/util/arrays.ts"],"names":[],"mappings":";;AAAA,SAAgB,eAAe,CAAI,KAAoB;IACrD,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC;AAClD,CAAC;AAFD,0CAEC"}
|
||||
2
receipeServer/frontend_old/node_modules/apollo-client/util/capitalizeFirstLetter.d.ts
generated
vendored
Normal file
2
receipeServer/frontend_old/node_modules/apollo-client/util/capitalizeFirstLetter.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export declare function capitalizeFirstLetter(str: string): string;
|
||||
//# sourceMappingURL=capitalizeFirstLetter.d.ts.map
|
||||
1
receipeServer/frontend_old/node_modules/apollo-client/util/capitalizeFirstLetter.d.ts.map
generated
vendored
Normal file
1
receipeServer/frontend_old/node_modules/apollo-client/util/capitalizeFirstLetter.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"capitalizeFirstLetter.d.ts","sourceRoot":"","sources":["../src/util/capitalizeFirstLetter.ts"],"names":[],"mappings":"AAAA,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,UAEhD"}
|
||||
7
receipeServer/frontend_old/node_modules/apollo-client/util/capitalizeFirstLetter.js
generated
vendored
Normal file
7
receipeServer/frontend_old/node_modules/apollo-client/util/capitalizeFirstLetter.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
function capitalizeFirstLetter(str) {
|
||||
return str.charAt(0).toUpperCase() + str.slice(1);
|
||||
}
|
||||
exports.capitalizeFirstLetter = capitalizeFirstLetter;
|
||||
//# sourceMappingURL=capitalizeFirstLetter.js.map
|
||||
1
receipeServer/frontend_old/node_modules/apollo-client/util/capitalizeFirstLetter.js.map
generated
vendored
Normal file
1
receipeServer/frontend_old/node_modules/apollo-client/util/capitalizeFirstLetter.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"capitalizeFirstLetter.js","sourceRoot":"","sources":["../../src/util/capitalizeFirstLetter.ts"],"names":[],"mappings":";;AAAA,SAAgB,qBAAqB,CAAC,GAAW;IAC/C,OAAO,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACpD,CAAC;AAFD,sDAEC"}
|
||||
16
receipeServer/frontend_old/node_modules/apollo-client/util/observableToPromise.d.ts
generated
vendored
Normal file
16
receipeServer/frontend_old/node_modules/apollo-client/util/observableToPromise.d.ts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import { ObservableQuery } from '../core/ObservableQuery';
|
||||
import { ApolloQueryResult } from '../core/types';
|
||||
import { Subscription } from '../util/Observable';
|
||||
export declare type Options = {
|
||||
observable: ObservableQuery<any>;
|
||||
shouldResolve?: boolean;
|
||||
wait?: number;
|
||||
errorCallbacks?: ((error: Error) => any)[];
|
||||
};
|
||||
export declare type ResultCallback = ((result: ApolloQueryResult<any>) => any);
|
||||
export declare function observableToPromiseAndSubscription({ observable, shouldResolve, wait, errorCallbacks }: Options, ...cbs: ResultCallback[]): {
|
||||
promise: Promise<any[]>;
|
||||
subscription: Subscription;
|
||||
};
|
||||
export default function (options: Options, ...cbs: ResultCallback[]): Promise<any[]>;
|
||||
//# sourceMappingURL=observableToPromise.d.ts.map
|
||||
1
receipeServer/frontend_old/node_modules/apollo-client/util/observableToPromise.d.ts.map
generated
vendored
Normal file
1
receipeServer/frontend_old/node_modules/apollo-client/util/observableToPromise.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"observableToPromise.d.ts","sourceRoot":"","sources":["../src/util/observableToPromise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAWlD,oBAAY,OAAO,GAAG;IACpB,UAAU,EAAE,eAAe,CAAC,GAAG,CAAC,CAAC;IACjC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,KAAK,KAAK,GAAG,CAAC,EAAE,CAAC;CAC5C,CAAC;AAEF,oBAAY,cAAc,GAAG,CAAC,CAAC,MAAM,EAAE,iBAAiB,CAAC,GAAG,CAAC,KAAK,GAAG,CAAC,CAAC;AAMvE,wBAAgB,kCAAkC,CAChD,EAAE,UAAU,EAAE,aAAoB,EAAE,IAAS,EAAE,cAAmB,EAAE,EAAE,OAAO,EAC7E,GAAG,GAAG,EAAE,cAAc,EAAE,GACvB;IAAE,OAAO,EAAE,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;IAAC,YAAY,EAAE,YAAY,CAAA;CAAE,CA8DzD;AAED,MAAM,CAAC,OAAO,WACZ,OAAO,EAAE,OAAO,EAChB,GAAG,GAAG,EAAE,cAAc,EAAE,GACvB,OAAO,CAAC,GAAG,EAAE,CAAC,CAEhB"}
|
||||
79
receipeServer/frontend_old/node_modules/apollo-client/util/observableToPromise.js
generated
vendored
Normal file
79
receipeServer/frontend_old/node_modules/apollo-client/util/observableToPromise.js
generated
vendored
Normal file
@@ -0,0 +1,79 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var tslib_1 = require("tslib");
|
||||
function observableToPromiseAndSubscription(_a) {
|
||||
var observable = _a.observable, _b = _a.shouldResolve, shouldResolve = _b === void 0 ? true : _b, _c = _a.wait, wait = _c === void 0 ? -1 : _c, _d = _a.errorCallbacks, errorCallbacks = _d === void 0 ? [] : _d;
|
||||
var cbs = [];
|
||||
for (var _i = 1; _i < arguments.length; _i++) {
|
||||
cbs[_i - 1] = arguments[_i];
|
||||
}
|
||||
var subscription = null;
|
||||
var promise = new Promise(function (resolve, reject) {
|
||||
var errorIndex = 0;
|
||||
var cbIndex = 0;
|
||||
var results = [];
|
||||
var tryToResolve = function () {
|
||||
if (!shouldResolve) {
|
||||
return;
|
||||
}
|
||||
var done = function () {
|
||||
subscription.unsubscribe();
|
||||
resolve(results);
|
||||
};
|
||||
if (cbIndex === cbs.length && errorIndex === errorCallbacks.length) {
|
||||
if (wait === -1) {
|
||||
done();
|
||||
}
|
||||
else {
|
||||
setTimeout(done, wait);
|
||||
}
|
||||
}
|
||||
};
|
||||
subscription = observable.subscribe({
|
||||
next: function (result) {
|
||||
var cb = cbs[cbIndex++];
|
||||
if (cb) {
|
||||
try {
|
||||
results.push(cb(result));
|
||||
}
|
||||
catch (e) {
|
||||
return reject(e);
|
||||
}
|
||||
tryToResolve();
|
||||
}
|
||||
else {
|
||||
reject(new Error("Observable called more than " + cbs.length + " times"));
|
||||
}
|
||||
},
|
||||
error: function (error) {
|
||||
var errorCb = errorCallbacks[errorIndex++];
|
||||
if (errorCb) {
|
||||
try {
|
||||
errorCb(error);
|
||||
}
|
||||
catch (e) {
|
||||
return reject(e);
|
||||
}
|
||||
tryToResolve();
|
||||
}
|
||||
else {
|
||||
reject(error);
|
||||
}
|
||||
},
|
||||
});
|
||||
});
|
||||
return {
|
||||
promise: promise,
|
||||
subscription: subscription,
|
||||
};
|
||||
}
|
||||
exports.observableToPromiseAndSubscription = observableToPromiseAndSubscription;
|
||||
function default_1(options) {
|
||||
var cbs = [];
|
||||
for (var _i = 1; _i < arguments.length; _i++) {
|
||||
cbs[_i - 1] = arguments[_i];
|
||||
}
|
||||
return observableToPromiseAndSubscription.apply(void 0, tslib_1.__spreadArrays([options], cbs)).promise;
|
||||
}
|
||||
exports.default = default_1;
|
||||
//# sourceMappingURL=observableToPromise.js.map
|
||||
1
receipeServer/frontend_old/node_modules/apollo-client/util/observableToPromise.js.map
generated
vendored
Normal file
1
receipeServer/frontend_old/node_modules/apollo-client/util/observableToPromise.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"observableToPromise.js","sourceRoot":"","sources":["../../src/util/observableToPromise.ts"],"names":[],"mappings":";;;AA0BA,SAAgB,kCAAkC,CAChD,EAA6E;QAA3E,0BAAU,EAAE,qBAAoB,EAApB,yCAAoB,EAAE,YAAS,EAAT,8BAAS,EAAE,sBAAmB,EAAnB,wCAAmB;IAClE,aAAwB;SAAxB,UAAwB,EAAxB,qBAAwB,EAAxB,IAAwB;QAAxB,4BAAwB;;IAExB,IAAI,YAAY,GAAiB,IAAa,CAAC;IAC/C,IAAM,OAAO,GAAG,IAAI,OAAO,CAAQ,UAAC,OAAO,EAAE,MAAM;QACjD,IAAI,UAAU,GAAG,CAAC,CAAC;QACnB,IAAI,OAAO,GAAG,CAAC,CAAC;QAChB,IAAM,OAAO,GAAU,EAAE,CAAC;QAE1B,IAAM,YAAY,GAAG;YACnB,IAAI,CAAC,aAAa,EAAE;gBAClB,OAAO;aACR;YAED,IAAM,IAAI,GAAG;gBACX,YAAY,CAAC,WAAW,EAAE,CAAC;gBAE3B,OAAO,CAAC,OAAO,CAAC,CAAC;YACnB,CAAC,CAAC;YAEF,IAAI,OAAO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AAxB,4BAAwB;;IAExB,OAAO,kCAAkC,uCAAC,OAAO,GAAK,GAAG,GAAE,OAAO,CAAC;AACrE,CAAC;AALD,4BAKC"}
|
||||
4
receipeServer/frontend_old/node_modules/apollo-client/util/observables.d.ts
generated
vendored
Normal file
4
receipeServer/frontend_old/node_modules/apollo-client/util/observables.d.ts
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
import { Observable } from './Observable';
|
||||
export declare function multiplex<T>(inner: Observable<T>): Observable<T>;
|
||||
export declare function asyncMap<V, R>(observable: Observable<V>, mapFn: (value: V) => R | Promise<R>): Observable<R>;
|
||||
//# sourceMappingURL=observables.d.ts.map
|
||||
1
receipeServer/frontend_old/node_modules/apollo-client/util/observables.d.ts.map
generated
vendored
Normal file
1
receipeServer/frontend_old/node_modules/apollo-client/util/observables.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"observables.d.ts","sourceRoot":"","sources":["../src/util/observables.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAA0B,MAAM,cAAc,CAAC;AAIlE,wBAAgB,SAAS,CAAC,CAAC,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,CAuBhE;AAID,wBAAgB,QAAQ,CAAC,CAAC,EAAE,CAAC,EAC3B,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,EACzB,KAAK,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,GAClC,UAAU,CAAC,CAAC,CAAC,CAqCf"}
|
||||
63
receipeServer/frontend_old/node_modules/apollo-client/util/observables.js
generated
vendored
Normal file
63
receipeServer/frontend_old/node_modules/apollo-client/util/observables.js
generated
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var Observable_1 = require("./Observable");
|
||||
function multiplex(inner) {
|
||||
var observers = new Set();
|
||||
var sub = null;
|
||||
return new Observable_1.Observable(function (observer) {
|
||||
observers.add(observer);
|
||||
sub = sub || inner.subscribe({
|
||||
next: function (value) {
|
||||
observers.forEach(function (obs) { return obs.next && obs.next(value); });
|
||||
},
|
||||
error: function (error) {
|
||||
observers.forEach(function (obs) { return obs.error && obs.error(error); });
|
||||
},
|
||||
complete: function () {
|
||||
observers.forEach(function (obs) { return obs.complete && obs.complete(); });
|
||||
},
|
||||
});
|
||||
return function () {
|
||||
if (observers.delete(observer) && !observers.size && sub) {
|
||||
sub.unsubscribe();
|
||||
sub = null;
|
||||
}
|
||||
};
|
||||
});
|
||||
}
|
||||
exports.multiplex = multiplex;
|
||||
function asyncMap(observable, mapFn) {
|
||||
return new Observable_1.Observable(function (observer) {
|
||||
var next = observer.next, error = observer.error, complete = observer.complete;
|
||||
var activeNextCount = 0;
|
||||
var completed = false;
|
||||
var handler = {
|
||||
next: function (value) {
|
||||
++activeNextCount;
|
||||
new Promise(function (resolve) {
|
||||
resolve(mapFn(value));
|
||||
}).then(function (result) {
|
||||
--activeNextCount;
|
||||
next && next.call(observer, result);
|
||||
completed && handler.complete();
|
||||
}, function (e) {
|
||||
--activeNextCount;
|
||||
error && error.call(observer, e);
|
||||
});
|
||||
},
|
||||
error: function (e) {
|
||||
error && error.call(observer, e);
|
||||
},
|
||||
complete: function () {
|
||||
completed = true;
|
||||
if (!activeNextCount) {
|
||||
complete && complete.call(observer);
|
||||
}
|
||||
},
|
||||
};
|
||||
var sub = observable.subscribe(handler);
|
||||
return function () { return sub.unsubscribe(); };
|
||||
});
|
||||
}
|
||||
exports.asyncMap = asyncMap;
|
||||
//# sourceMappingURL=observables.js.map
|
||||
1
receipeServer/frontend_old/node_modules/apollo-client/util/observables.js.map
generated
vendored
Normal file
1
receipeServer/frontend_old/node_modules/apollo-client/util/observables.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"observables.js","sourceRoot":"","sources":["../../src/util/observables.ts"],"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eAAe,GAAG,CAAC,CAAC;QACxB,IAAI,SAAS,GAAG,KAAK,CAAC;QAEtB,IAAM,OAAO,GAAgB;YAC3B,IAAI,EAAJ,UAAK,KAAK;gBACR,EAAE,eAAe,CAAC;gBAClB,IAAI,OAAO,CAAC,UAAA,OAAO;oBACjB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;gBACxB,CAAC,CAAC,CAAC,IAAI,CACL,UAAA,MAAM;oBACJ,EAAE,eAAe,CAAC;oBAClB,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;oBACpC,SAAS,IAAI,OAAO,CAAC,QAAS,EAAE,CAAC;gBACnC,CAAC,EACD,UAAA,CAAC;oBACC,EAAE,eAAe,CAAC;oBAClB,KAAK,IAAI,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;gBACnC,CAAC,CACF,CAAC;YACJ,CAAC;YACD,KAAK,YAAC,CAAC;gBACL,KAAK,IAAI,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;YACnC,CAAC;YACD,QAAQ;gBACN,SAAS,GAAG,IAAI,CAAC;gBACjB,IAAI,CAAC,eAAe,EAAE;oBACpB,QAAQ,IAAI,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;iBACrC;YACH,CAAC;SACF,CAAC;QAEF,IAAM,GAAG,GAAG,UAAU,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QAC1C,OAAO,cAAM,OAAA,GAAG,CAAC,WAAW,EAAE,EAAjB,CAAiB,CAAC;IACjC,CAAC,CAAC,CAAC;AACL,CAAC;AAxCD,4BAwCC"}
|
||||
6
receipeServer/frontend_old/node_modules/apollo-client/util/subscribeAndCount.d.ts
generated
vendored
Normal file
6
receipeServer/frontend_old/node_modules/apollo-client/util/subscribeAndCount.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
/// <reference types="jest" />
|
||||
import { ObservableQuery } from '../core/ObservableQuery';
|
||||
import { ApolloQueryResult } from '../core/types';
|
||||
import { Subscription } from '../util/Observable';
|
||||
export default function subscribeAndCount(done: jest.DoneCallback, observable: ObservableQuery<any>, cb: (handleCount: number, result: ApolloQueryResult<any>) => any): Subscription;
|
||||
//# sourceMappingURL=subscribeAndCount.d.ts.map
|
||||
1
receipeServer/frontend_old/node_modules/apollo-client/util/subscribeAndCount.d.ts.map
generated
vendored
Normal file
1
receipeServer/frontend_old/node_modules/apollo-client/util/subscribeAndCount.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"subscribeAndCount.d.ts","sourceRoot":"","sources":["../src/util/subscribeAndCount.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGlD,MAAM,CAAC,OAAO,UAAU,iBAAiB,CACvC,IAAI,EAAE,IAAI,CAAC,YAAY,EACvB,UAAU,EAAE,eAAe,CAAC,GAAG,CAAC,EAChC,EAAE,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,iBAAiB,CAAC,GAAG,CAAC,KAAK,GAAG,GAC/D,YAAY,CAqBd"}
|
||||
22
receipeServer/frontend_old/node_modules/apollo-client/util/subscribeAndCount.js
generated
vendored
Normal file
22
receipeServer/frontend_old/node_modules/apollo-client/util/subscribeAndCount.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var observables_1 = require("./observables");
|
||||
function subscribeAndCount(done, observable, cb) {
|
||||
var handleCount = 0;
|
||||
var subscription = observables_1.asyncMap(observable, function (result) {
|
||||
try {
|
||||
return cb(++handleCount, result);
|
||||
}
|
||||
catch (e) {
|
||||
setImmediate(function () {
|
||||
subscription.unsubscribe();
|
||||
done.fail(e);
|
||||
});
|
||||
}
|
||||
}).subscribe({
|
||||
error: done.fail,
|
||||
});
|
||||
return subscription;
|
||||
}
|
||||
exports.default = subscribeAndCount;
|
||||
//# sourceMappingURL=subscribeAndCount.js.map
|
||||
1
receipeServer/frontend_old/node_modules/apollo-client/util/subscribeAndCount.js.map
generated
vendored
Normal file
1
receipeServer/frontend_old/node_modules/apollo-client/util/subscribeAndCount.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"subscribeAndCount.js","sourceRoot":"","sources":["../../src/util/subscribeAndCount.ts"],"names":[],"mappings":";;AAGA,6CAAyC;AAEzC,SAAwB,iBAAiB,CACvC,IAAuB,EACvB,UAAgC,EAChC,EAAgE;IAEhE,IAAI,WAAW,GAAG,CAAC,CAAC;IACpB,IAAM,YAAY,GAAG,sBAAQ,CAC3B,UAAU,EACV,UAAC,MAA8B;QAC7B,IAAI;YACF,OAAO,EAAE,CAAC,EAAE,WAAW,EAAE,MAAM,CAAC,CAAC;SAClC;QAAC,OAAO,CAAC,EAAE;YAIV,YAAY,CAAC;gBACX,YAAY,CAAC,WAAW,EAAE,CAAC;gBAC3B,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YACf,CAAC,CAAC,CAAC;SACJ;IACH,CAAC,CACF,CAAC,SAAS,CAAC;QACV,KAAK,EAAE,IAAI,CAAC,IAAI;KACjB,CAAC,CAAC;IACH,OAAO,YAAY,CAAC;AACtB,CAAC;AAzBD,oCAyBC"}
|
||||
6
receipeServer/frontend_old/node_modules/apollo-client/util/wrap.d.ts
generated
vendored
Normal file
6
receipeServer/frontend_old/node_modules/apollo-client/util/wrap.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
/// <reference types="jest" />
|
||||
declare const _default: (done: jest.DoneCallback, cb: (...args: any[]) => any) => (...args: any[]) => any;
|
||||
export default _default;
|
||||
export declare function withWarning(func: Function, regex: RegExp): Promise<any>;
|
||||
export declare function withError(func: Function, regex: RegExp): any;
|
||||
//# sourceMappingURL=wrap.d.ts.map
|
||||
1
receipeServer/frontend_old/node_modules/apollo-client/util/wrap.d.ts.map
generated
vendored
Normal file
1
receipeServer/frontend_old/node_modules/apollo-client/util/wrap.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"wrap.d.ts","sourceRoot":"","sources":["../src/util/wrap.ts"],"names":[],"mappings":";;AAEA,wBAQE;AAEF,wBAAgB,WAAW,CAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,gBAWxD;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,OAatD"}
|
||||
40
receipeServer/frontend_old/node_modules/apollo-client/util/wrap.js
generated
vendored
Normal file
40
receipeServer/frontend_old/node_modules/apollo-client/util/wrap.js
generated
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.default = (function (done, cb) { return function () {
|
||||
var args = [];
|
||||
for (var _i = 0; _i < arguments.length; _i++) {
|
||||
args[_i] = arguments[_i];
|
||||
}
|
||||
try {
|
||||
return cb.apply(void 0, args);
|
||||
}
|
||||
catch (e) {
|
||||
done.fail(e);
|
||||
}
|
||||
}; });
|
||||
function withWarning(func, regex) {
|
||||
var message = null;
|
||||
var oldWarn = console.warn;
|
||||
console.warn = function (m) { return (message = m); };
|
||||
return Promise.resolve(func()).then(function (val) {
|
||||
expect(message).toMatch(regex);
|
||||
console.warn = oldWarn;
|
||||
return val;
|
||||
});
|
||||
}
|
||||
exports.withWarning = withWarning;
|
||||
function withError(func, regex) {
|
||||
var message = null;
|
||||
var oldError = console.error;
|
||||
console.error = function (m) { return (message = m); };
|
||||
try {
|
||||
var result = func();
|
||||
expect(message).toMatch(regex);
|
||||
return result;
|
||||
}
|
||||
finally {
|
||||
console.error = oldError;
|
||||
}
|
||||
}
|
||||
exports.withError = withError;
|
||||
//# sourceMappingURL=wrap.js.map
|
||||
1
receipeServer/frontend_old/node_modules/apollo-client/util/wrap.js.map
generated
vendored
Normal file
1
receipeServer/frontend_old/node_modules/apollo-client/util/wrap.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"wrap.js","sourceRoot":"","sources":["../../src/util/wrap.ts"],"names":[],"mappings":";;AAEA,mBAAe,UAAC,IAAuB,EAAE,EAA2B,IAAK,OAAA;IACvE,cAAc;SAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;QAAd,yBAAc;;IAEd,IAAI;QACF,OAAO,EAAE,eAAI,IAAI,EAAE;KACpB;IAAC,OAAO,CAAC,EAAE;QACV,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;KACd;AACH,CAAC,EARwE,CAQxE,EAAC;AAEF,SAAgB,WAAW,CAAC,IAAc,EAAE,KAAa;IACvD,IAAI,OAAO,GAAW,IAAa,CAAC;IACpC,IAAM,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAE7B,OAAO,CAAC,IAAI,GAAG,UAAC,CAAS,IAAK,OAAA,CAAC,OAAO,GAAG,CAAC,CAAC,EAAb,CAAa,CAAC;IAE5C,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,UAAA,GAAG;QACrC,MAAM,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAC/B,OAAO,CAAC,IAAI,GAAG,OAAO,CAAC;QACvB,OAAO,GAAG,CAAC;IACb,CAAC,CAAC,CAAC;AACL,CAAC;AAXD,kCAWC;AAED,SAAgB,SAAS,CAAC,IAAc,EAAE,KAAa;IACrD,IAAI,OAAO,GAAW,IAAa,CAAC;IACpC,IAAM,QAAQ,GAAG,OAAO,CAAC,KAAK,CAAC;IAE/B,OAAO,CAAC,KAAK,GAAG,UAAC,CAAS,IAAK,OAAA,CAAC,OAAO,GAAG,CAA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