Initial Save
This commit is contained in:
6
node_modules/apollo-utilities/lib/util/assign.d.ts
generated
vendored
Normal file
6
node_modules/apollo-utilities/lib/util/assign.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
export declare function assign<A, B>(a: A, b: B): A & B;
|
||||
export declare function assign<A, B, C>(a: A, b: B, c: C): A & B & C;
|
||||
export declare function assign<A, B, C, D>(a: A, b: B, c: C, d: D): A & B & C & D;
|
||||
export declare function assign<A, B, C, D, E>(a: A, b: B, c: C, d: D, e: E): A & B & C & D & E;
|
||||
export declare function assign(target: any, ...sources: Array<any>): any;
|
||||
//# sourceMappingURL=assign.d.ts.map
|
||||
1
node_modules/apollo-utilities/lib/util/assign.d.ts.map
generated
vendored
Normal file
1
node_modules/apollo-utilities/lib/util/assign.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"assign.d.ts","sourceRoot":"","sources":["../src/util/assign.ts"],"names":[],"mappings":"AAMA,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAChD,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAC7D,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAC1E,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAClC,CAAC,EAAE,CAAC,EACJ,CAAC,EAAE,CAAC,EACJ,CAAC,EAAE,CAAC,EACJ,CAAC,EAAE,CAAC,EACJ,CAAC,EAAE,CAAC,GACH,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACrB,wBAAgB,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,GAAG,OAAO,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC"}
|
||||
19
node_modules/apollo-utilities/lib/util/assign.js
generated
vendored
Normal file
19
node_modules/apollo-utilities/lib/util/assign.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
function assign(target) {
|
||||
var sources = [];
|
||||
for (var _i = 1; _i < arguments.length; _i++) {
|
||||
sources[_i - 1] = arguments[_i];
|
||||
}
|
||||
sources.forEach(function (source) {
|
||||
if (typeof source === 'undefined' || source === null) {
|
||||
return;
|
||||
}
|
||||
Object.keys(source).forEach(function (key) {
|
||||
target[key] = source[key];
|
||||
});
|
||||
});
|
||||
return target;
|
||||
}
|
||||
exports.assign = assign;
|
||||
//# sourceMappingURL=assign.js.map
|
||||
1
node_modules/apollo-utilities/lib/util/assign.js.map
generated
vendored
Normal file
1
node_modules/apollo-utilities/lib/util/assign.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"assign.js","sourceRoot":"","sources":["../../src/util/assign.ts"],"names":[],"mappings":";;AAiBA,SAAgB,MAAM,CACpB,MAA8B;IAC9B,iBAAyC;SAAzC,UAAyC,EAAzC,qBAAyC,EAAzC,IAAyC;QAAzC,gCAAyC;;IAEzC,OAAO,CAAC,OAAO,CAAC,UAAA,MAAM;QACpB,IAAI,OAAO,MAAM,KAAK,WAAW,IAAI,MAAM,KAAK,IAAI,EAAE;YACpD,OAAO;SACR;QACD,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,UAAA,GAAG;YAC7B,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;QAC5B,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IACH,OAAO,MAAM,CAAC;AAChB,CAAC;AAbD,wBAaC"}
|
||||
2
node_modules/apollo-utilities/lib/util/canUse.d.ts
generated
vendored
Normal file
2
node_modules/apollo-utilities/lib/util/canUse.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export declare const canUseWeakMap: boolean;
|
||||
//# sourceMappingURL=canUse.d.ts.map
|
||||
1
node_modules/apollo-utilities/lib/util/canUse.d.ts.map
generated
vendored
Normal file
1
node_modules/apollo-utilities/lib/util/canUse.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"canUse.d.ts","sourceRoot":"","sources":["../src/util/canUse.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,SAGzB,CAAC"}
|
||||
5
node_modules/apollo-utilities/lib/util/canUse.js
generated
vendored
Normal file
5
node_modules/apollo-utilities/lib/util/canUse.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.canUseWeakMap = typeof WeakMap === 'function' && !(typeof navigator === 'object' &&
|
||||
navigator.product === 'ReactNative');
|
||||
//# sourceMappingURL=canUse.js.map
|
||||
1
node_modules/apollo-utilities/lib/util/canUse.js.map
generated
vendored
Normal file
1
node_modules/apollo-utilities/lib/util/canUse.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"canUse.js","sourceRoot":"","sources":["../../src/util/canUse.ts"],"names":[],"mappings":";;AAAa,QAAA,aAAa,GAAG,OAAO,OAAO,KAAK,UAAU,IAAI,CAAC,CAC7D,OAAO,SAAS,KAAK,QAAQ;IAC7B,SAAS,CAAC,OAAO,KAAK,aAAa,CACpC,CAAC"}
|
||||
2
node_modules/apollo-utilities/lib/util/cloneDeep.d.ts
generated
vendored
Normal file
2
node_modules/apollo-utilities/lib/util/cloneDeep.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export declare function cloneDeep<T>(value: T): T;
|
||||
//# sourceMappingURL=cloneDeep.d.ts.map
|
||||
1
node_modules/apollo-utilities/lib/util/cloneDeep.d.ts.map
generated
vendored
Normal file
1
node_modules/apollo-utilities/lib/util/cloneDeep.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"cloneDeep.d.ts","sourceRoot":"","sources":["../src/util/cloneDeep.ts"],"names":[],"mappings":"AAKA,wBAAgB,SAAS,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAExC"}
|
||||
34
node_modules/apollo-utilities/lib/util/cloneDeep.js
generated
vendored
Normal file
34
node_modules/apollo-utilities/lib/util/cloneDeep.js
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var toString = Object.prototype.toString;
|
||||
function cloneDeep(value) {
|
||||
return cloneDeepHelper(value, new Map());
|
||||
}
|
||||
exports.cloneDeep = cloneDeep;
|
||||
function cloneDeepHelper(val, seen) {
|
||||
switch (toString.call(val)) {
|
||||
case "[object Array]": {
|
||||
if (seen.has(val))
|
||||
return seen.get(val);
|
||||
var copy_1 = val.slice(0);
|
||||
seen.set(val, copy_1);
|
||||
copy_1.forEach(function (child, i) {
|
||||
copy_1[i] = cloneDeepHelper(child, seen);
|
||||
});
|
||||
return copy_1;
|
||||
}
|
||||
case "[object Object]": {
|
||||
if (seen.has(val))
|
||||
return seen.get(val);
|
||||
var copy_2 = Object.create(Object.getPrototypeOf(val));
|
||||
seen.set(val, copy_2);
|
||||
Object.keys(val).forEach(function (key) {
|
||||
copy_2[key] = cloneDeepHelper(val[key], seen);
|
||||
});
|
||||
return copy_2;
|
||||
}
|
||||
default:
|
||||
return val;
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=cloneDeep.js.map
|
||||
1
node_modules/apollo-utilities/lib/util/cloneDeep.js.map
generated
vendored
Normal file
1
node_modules/apollo-utilities/lib/util/cloneDeep.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"cloneDeep.js","sourceRoot":"","sources":["../../src/util/cloneDeep.ts"],"names":[],"mappings":";;AAAQ,IAAA,oCAAQ,CAAsB;AAKtC,SAAgB,SAAS,CAAI,KAAQ;IACnC,OAAO,eAAe,CAAC,KAAK,EAAE,IAAI,GAAG,EAAE,CAAC,CAAC;AAC3C,CAAC;AAFD,8BAEC;AAED,SAAS,eAAe,CAAI,GAAM,EAAE,IAAmB;IACrD,QAAQ,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;QAC5B,KAAK,gBAAgB,CAAC,CAAC;YACrB,IAAI,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;gBAAE,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YACxC,IAAM,MAAI,GAAe,GAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAC9C,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,MAAI,CAAC,CAAC;YACpB,MAAI,CAAC,OAAO,CAAC,UAAU,KAAK,EAAE,CAAC;gBAC7B,MAAI,CAAC,CAAC,CAAC,GAAG,eAAe,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;YACzC,CAAC,CAAC,CAAC;YACH,OAAO,MAAI,CAAC;SACb;QAED,KAAK,iBAAiB,CAAC,CAAC;YACtB,IAAI,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;gBAAE,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAGxC,IAAM,MAAI,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;YACvD,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,MAAI,CAAC,CAAC;YACpB,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,UAAA,GAAG;gBAC1B,MAAI,CAAC,GAAG,CAAC,GAAG,eAAe,CAAE,GAAW,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC;YACvD,CAAC,CAAC,CAAC;YACH,OAAO,MAAI,CAAC;SACb;QAED;YACE,OAAO,GAAG,CAAC;KACZ;AACH,CAAC"}
|
||||
6
node_modules/apollo-utilities/lib/util/environment.d.ts
generated
vendored
Normal file
6
node_modules/apollo-utilities/lib/util/environment.d.ts
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
export declare function getEnv(): string | undefined;
|
||||
export declare function isEnv(env: string): boolean;
|
||||
export declare function isProduction(): boolean;
|
||||
export declare function isDevelopment(): boolean;
|
||||
export declare function isTest(): boolean;
|
||||
//# sourceMappingURL=environment.d.ts.map
|
||||
1
node_modules/apollo-utilities/lib/util/environment.d.ts.map
generated
vendored
Normal file
1
node_modules/apollo-utilities/lib/util/environment.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../src/util/environment.ts"],"names":[],"mappings":"AAAA,wBAAgB,MAAM,IAAI,MAAM,GAAG,SAAS,CAO3C;AAED,wBAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAE1C;AAED,wBAAgB,YAAY,IAAI,OAAO,CAEtC;AAED,wBAAgB,aAAa,IAAI,OAAO,CAEvC;AAED,wBAAgB,MAAM,IAAI,OAAO,CAEhC"}
|
||||
26
node_modules/apollo-utilities/lib/util/environment.js
generated
vendored
Normal file
26
node_modules/apollo-utilities/lib/util/environment.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
function getEnv() {
|
||||
if (typeof process !== 'undefined' && process.env.NODE_ENV) {
|
||||
return process.env.NODE_ENV;
|
||||
}
|
||||
return 'development';
|
||||
}
|
||||
exports.getEnv = getEnv;
|
||||
function isEnv(env) {
|
||||
return getEnv() === env;
|
||||
}
|
||||
exports.isEnv = isEnv;
|
||||
function isProduction() {
|
||||
return isEnv('production') === true;
|
||||
}
|
||||
exports.isProduction = isProduction;
|
||||
function isDevelopment() {
|
||||
return isEnv('development') === true;
|
||||
}
|
||||
exports.isDevelopment = isDevelopment;
|
||||
function isTest() {
|
||||
return isEnv('test') === true;
|
||||
}
|
||||
exports.isTest = isTest;
|
||||
//# sourceMappingURL=environment.js.map
|
||||
1
node_modules/apollo-utilities/lib/util/environment.js.map
generated
vendored
Normal file
1
node_modules/apollo-utilities/lib/util/environment.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../src/util/environment.ts"],"names":[],"mappings":";;AAAA,SAAgB,MAAM;IACpB,IAAI,OAAO,OAAO,KAAK,WAAW,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE;QAC1D,OAAO,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC;KAC7B;IAGD,OAAO,aAAa,CAAC;AACvB,CAAC;AAPD,wBAOC;AAED,SAAgB,KAAK,CAAC,GAAW;IAC/B,OAAO,MAAM,EAAE,KAAK,GAAG,CAAC;AAC1B,CAAC;AAFD,sBAEC;AAED,SAAgB,YAAY;IAC1B,OAAO,KAAK,CAAC,YAAY,CAAC,KAAK,IAAI,CAAC;AACtC,CAAC;AAFD,oCAEC;AAED,SAAgB,aAAa;IAC3B,OAAO,KAAK,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;AACvC,CAAC;AAFD,sCAEC;AAED,SAAgB,MAAM;IACpB,OAAO,KAAK,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;AAChC,CAAC;AAFD,wBAEC"}
|
||||
4
node_modules/apollo-utilities/lib/util/errorHandling.d.ts
generated
vendored
Normal file
4
node_modules/apollo-utilities/lib/util/errorHandling.d.ts
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
import { ExecutionResult } from 'graphql';
|
||||
export declare function tryFunctionOrLogError(f: Function): any;
|
||||
export declare function graphQLResultHasError(result: ExecutionResult): number;
|
||||
//# sourceMappingURL=errorHandling.d.ts.map
|
||||
1
node_modules/apollo-utilities/lib/util/errorHandling.d.ts.map
generated
vendored
Normal file
1
node_modules/apollo-utilities/lib/util/errorHandling.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"errorHandling.d.ts","sourceRoot":"","sources":["../src/util/errorHandling.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,QAAQ,OAQhD;AAED,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,eAAe,UAE5D"}
|
||||
18
node_modules/apollo-utilities/lib/util/errorHandling.js
generated
vendored
Normal file
18
node_modules/apollo-utilities/lib/util/errorHandling.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
function tryFunctionOrLogError(f) {
|
||||
try {
|
||||
return f();
|
||||
}
|
||||
catch (e) {
|
||||
if (console.error) {
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
exports.tryFunctionOrLogError = tryFunctionOrLogError;
|
||||
function graphQLResultHasError(result) {
|
||||
return result.errors && result.errors.length;
|
||||
}
|
||||
exports.graphQLResultHasError = graphQLResultHasError;
|
||||
//# sourceMappingURL=errorHandling.js.map
|
||||
1
node_modules/apollo-utilities/lib/util/errorHandling.js.map
generated
vendored
Normal file
1
node_modules/apollo-utilities/lib/util/errorHandling.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"errorHandling.js","sourceRoot":"","sources":["../../src/util/errorHandling.ts"],"names":[],"mappings":";;AAEA,SAAgB,qBAAqB,CAAC,CAAW;IAC/C,IAAI;QACF,OAAO,CAAC,EAAE,CAAC;KACZ;IAAC,OAAO,CAAC,EAAE;QACV,IAAI,OAAO,CAAC,KAAK,EAAE;YACjB,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;SAClB;KACF;AACH,CAAC;AARD,sDAQC;AAED,SAAgB,qBAAqB,CAAC,MAAuB;IAC3D,OAAO,MAAM,CAAC,MAAM,IAAI,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;AAC/C,CAAC;AAFD,sDAEC"}
|
||||
2
node_modules/apollo-utilities/lib/util/filterInPlace.d.ts
generated
vendored
Normal file
2
node_modules/apollo-utilities/lib/util/filterInPlace.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export declare function filterInPlace<T>(array: T[], test: (elem: T) => boolean, context?: any): T[];
|
||||
//# sourceMappingURL=filterInPlace.d.ts.map
|
||||
1
node_modules/apollo-utilities/lib/util/filterInPlace.d.ts.map
generated
vendored
Normal file
1
node_modules/apollo-utilities/lib/util/filterInPlace.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"filterInPlace.d.ts","sourceRoot":"","sources":["../src/util/filterInPlace.ts"],"names":[],"mappings":"AAAA,wBAAgB,aAAa,CAAC,CAAC,EAC7B,KAAK,EAAE,CAAC,EAAE,EACV,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,EAC1B,OAAO,CAAC,EAAE,GAAG,GACZ,CAAC,EAAE,CASL"}
|
||||
14
node_modules/apollo-utilities/lib/util/filterInPlace.js
generated
vendored
Normal file
14
node_modules/apollo-utilities/lib/util/filterInPlace.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
function filterInPlace(array, test, context) {
|
||||
var target = 0;
|
||||
array.forEach(function (elem, i) {
|
||||
if (test.call(this, elem, i, array)) {
|
||||
array[target++] = elem;
|
||||
}
|
||||
}, context);
|
||||
array.length = target;
|
||||
return array;
|
||||
}
|
||||
exports.filterInPlace = filterInPlace;
|
||||
//# sourceMappingURL=filterInPlace.js.map
|
||||
1
node_modules/apollo-utilities/lib/util/filterInPlace.js.map
generated
vendored
Normal file
1
node_modules/apollo-utilities/lib/util/filterInPlace.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"filterInPlace.js","sourceRoot":"","sources":["../../src/util/filterInPlace.ts"],"names":[],"mappings":";;AAAA,SAAgB,aAAa,CAC3B,KAAU,EACV,IAA0B,EAC1B,OAAa;IAEb,IAAI,MAAM,GAAG,CAAC,CAAC;IACf,KAAK,CAAC,OAAO,CAAC,UAAU,IAAI,EAAE,CAAC;QAC7B,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE;YACnC,KAAK,CAAC,MAAM,EAAE,CAAC,GAAG,IAAI,CAAC;SACxB;IACH,CAAC,EAAE,OAAO,CAAC,CAAC;IACZ,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;IACtB,OAAO,KAAK,CAAC;AACf,CAAC;AAbD,sCAaC"}
|
||||
2
node_modules/apollo-utilities/lib/util/isEqual.d.ts
generated
vendored
Normal file
2
node_modules/apollo-utilities/lib/util/isEqual.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export { equal as isEqual } from '@wry/equality';
|
||||
//# sourceMappingURL=isEqual.d.ts.map
|
||||
1
node_modules/apollo-utilities/lib/util/isEqual.d.ts.map
generated
vendored
Normal file
1
node_modules/apollo-utilities/lib/util/isEqual.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"isEqual.d.ts","sourceRoot":"","sources":["../src/util/isEqual.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,OAAO,EAAE,MAAM,eAAe,CAAC"}
|
||||
5
node_modules/apollo-utilities/lib/util/isEqual.js
generated
vendored
Normal file
5
node_modules/apollo-utilities/lib/util/isEqual.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var equality_1 = require("@wry/equality");
|
||||
exports.isEqual = equality_1.equal;
|
||||
//# sourceMappingURL=isEqual.js.map
|
||||
1
node_modules/apollo-utilities/lib/util/isEqual.js.map
generated
vendored
Normal file
1
node_modules/apollo-utilities/lib/util/isEqual.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"isEqual.js","sourceRoot":"","sources":["../../src/util/isEqual.ts"],"names":[],"mappings":";;AAAA,0CAAiD;AAAxC,6BAAA,KAAK,CAAW"}
|
||||
2
node_modules/apollo-utilities/lib/util/maybeDeepFreeze.d.ts
generated
vendored
Normal file
2
node_modules/apollo-utilities/lib/util/maybeDeepFreeze.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export declare function maybeDeepFreeze(obj: any): any;
|
||||
//# sourceMappingURL=maybeDeepFreeze.d.ts.map
|
||||
1
node_modules/apollo-utilities/lib/util/maybeDeepFreeze.d.ts.map
generated
vendored
Normal file
1
node_modules/apollo-utilities/lib/util/maybeDeepFreeze.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"maybeDeepFreeze.d.ts","sourceRoot":"","sources":["../src/util/maybeDeepFreeze.ts"],"names":[],"mappings":"AAoBA,wBAAgB,eAAe,CAAC,GAAG,EAAE,GAAG,OAYvC"}
|
||||
25
node_modules/apollo-utilities/lib/util/maybeDeepFreeze.js
generated
vendored
Normal file
25
node_modules/apollo-utilities/lib/util/maybeDeepFreeze.js
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var environment_1 = require("./environment");
|
||||
function deepFreeze(o) {
|
||||
Object.freeze(o);
|
||||
Object.getOwnPropertyNames(o).forEach(function (prop) {
|
||||
if (o[prop] !== null &&
|
||||
(typeof o[prop] === 'object' || typeof o[prop] === 'function') &&
|
||||
!Object.isFrozen(o[prop])) {
|
||||
deepFreeze(o[prop]);
|
||||
}
|
||||
});
|
||||
return o;
|
||||
}
|
||||
function maybeDeepFreeze(obj) {
|
||||
if (environment_1.isDevelopment() || environment_1.isTest()) {
|
||||
var symbolIsPolyfilled = typeof Symbol === 'function' && typeof Symbol('') === 'string';
|
||||
if (!symbolIsPolyfilled) {
|
||||
return deepFreeze(obj);
|
||||
}
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
exports.maybeDeepFreeze = maybeDeepFreeze;
|
||||
//# sourceMappingURL=maybeDeepFreeze.js.map
|
||||
1
node_modules/apollo-utilities/lib/util/maybeDeepFreeze.js.map
generated
vendored
Normal file
1
node_modules/apollo-utilities/lib/util/maybeDeepFreeze.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"maybeDeepFreeze.js","sourceRoot":"","sources":["../../src/util/maybeDeepFreeze.ts"],"names":[],"mappings":";;AAAA,6CAAsD;AAItD,SAAS,UAAU,CAAC,CAAM;IACxB,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAEjB,MAAM,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,UAAS,IAAI;QACjD,IACE,CAAC,CAAC,IAAI,CAAC,KAAK,IAAI;YAChB,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,KAAK,QAAQ,IAAI,OAAO,CAAC,CAAC,IAAI,CAAC,KAAK,UAAU,CAAC;YAC9D,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,EACzB;YACA,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;SACrB;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,CAAC,CAAC;AACX,CAAC;AAED,SAAgB,eAAe,CAAC,GAAQ;IACtC,IAAI,2BAAa,EAAE,IAAI,oBAAM,EAAE,EAAE;QAG/B,IAAM,kBAAkB,GACtB,OAAO,MAAM,KAAK,UAAU,IAAI,OAAO,MAAM,CAAC,EAAE,CAAC,KAAK,QAAQ,CAAC;QAEjE,IAAI,CAAC,kBAAkB,EAAE;YACvB,OAAO,UAAU,CAAC,GAAG,CAAC,CAAC;SACxB;KACF;IACD,OAAO,GAAG,CAAC;AACb,CAAC;AAZD,0CAYC"}
|
||||
4
node_modules/apollo-utilities/lib/util/mergeDeep.d.ts
generated
vendored
Normal file
4
node_modules/apollo-utilities/lib/util/mergeDeep.d.ts
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
export declare type TupleToIntersection<T extends any[]> = T extends [infer A] ? A : T extends [infer A, infer B] ? A & B : T extends [infer A, infer B, infer C] ? A & B & C : T extends [infer A, infer B, infer C, infer D] ? A & B & C & D : T extends [infer A, infer B, infer C, infer D, infer E] ? A & B & C & D & E : T extends (infer U)[] ? U : any;
|
||||
export declare function mergeDeep<T extends any[]>(...sources: T): TupleToIntersection<T>;
|
||||
export declare function mergeDeepArray<T>(sources: T[]): T;
|
||||
//# sourceMappingURL=mergeDeep.d.ts.map
|
||||
1
node_modules/apollo-utilities/lib/util/mergeDeep.d.ts.map
generated
vendored
Normal file
1
node_modules/apollo-utilities/lib/util/mergeDeep.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"mergeDeep.d.ts","sourceRoot":"","sources":["../src/util/mergeDeep.ts"],"names":[],"mappings":"AAgBA,oBAAY,mBAAmB,CAAC,CAAC,SAAS,GAAG,EAAE,IAC7C,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GACvB,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GACpC,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GACjD,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAC9D,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAC3E,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,CAAC,GAAG,GAAG,CAAC;AAElC,wBAAgB,SAAS,CAAC,CAAC,SAAS,GAAG,EAAE,EACvC,GAAG,OAAO,EAAE,CAAC,GACZ,mBAAmB,CAAC,CAAC,CAAC,CAExB;AAQD,wBAAgB,cAAc,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,GAAG,CAAC,CAWjD"}
|
||||
64
node_modules/apollo-utilities/lib/util/mergeDeep.js
generated
vendored
Normal file
64
node_modules/apollo-utilities/lib/util/mergeDeep.js
generated
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var tslib_1 = require("tslib");
|
||||
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
||||
function mergeDeep() {
|
||||
var sources = [];
|
||||
for (var _i = 0; _i < arguments.length; _i++) {
|
||||
sources[_i] = arguments[_i];
|
||||
}
|
||||
return mergeDeepArray(sources);
|
||||
}
|
||||
exports.mergeDeep = mergeDeep;
|
||||
function mergeDeepArray(sources) {
|
||||
var target = sources[0] || {};
|
||||
var count = sources.length;
|
||||
if (count > 1) {
|
||||
var pastCopies = [];
|
||||
target = shallowCopyForMerge(target, pastCopies);
|
||||
for (var i = 1; i < count; ++i) {
|
||||
target = mergeHelper(target, sources[i], pastCopies);
|
||||
}
|
||||
}
|
||||
return target;
|
||||
}
|
||||
exports.mergeDeepArray = mergeDeepArray;
|
||||
function isObject(obj) {
|
||||
return obj !== null && typeof obj === 'object';
|
||||
}
|
||||
function mergeHelper(target, source, pastCopies) {
|
||||
if (isObject(source) && isObject(target)) {
|
||||
if (Object.isExtensible && !Object.isExtensible(target)) {
|
||||
target = shallowCopyForMerge(target, pastCopies);
|
||||
}
|
||||
Object.keys(source).forEach(function (sourceKey) {
|
||||
var sourceValue = source[sourceKey];
|
||||
if (hasOwnProperty.call(target, sourceKey)) {
|
||||
var targetValue = target[sourceKey];
|
||||
if (sourceValue !== targetValue) {
|
||||
target[sourceKey] = mergeHelper(shallowCopyForMerge(targetValue, pastCopies), sourceValue, pastCopies);
|
||||
}
|
||||
}
|
||||
else {
|
||||
target[sourceKey] = sourceValue;
|
||||
}
|
||||
});
|
||||
return target;
|
||||
}
|
||||
return source;
|
||||
}
|
||||
function shallowCopyForMerge(value, pastCopies) {
|
||||
if (value !== null &&
|
||||
typeof value === 'object' &&
|
||||
pastCopies.indexOf(value) < 0) {
|
||||
if (Array.isArray(value)) {
|
||||
value = value.slice(0);
|
||||
}
|
||||
else {
|
||||
value = tslib_1.__assign({ __proto__: Object.getPrototypeOf(value) }, value);
|
||||
}
|
||||
pastCopies.push(value);
|
||||
}
|
||||
return value;
|
||||
}
|
||||
//# sourceMappingURL=mergeDeep.js.map
|
||||
1
node_modules/apollo-utilities/lib/util/mergeDeep.js.map
generated
vendored
Normal file
1
node_modules/apollo-utilities/lib/util/mergeDeep.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"mergeDeep.js","sourceRoot":"","sources":["../../src/util/mergeDeep.ts"],"names":[],"mappings":";;;AAAQ,IAAA,gDAAc,CAAsB;AAwB5C,SAAgB,SAAS;IACvB,iBAAa;SAAb,UAAa,EAAb,qBAAa,EAAb,IAAa;QAAb,4BAAa;;IAEb,OAAO,cAAc,CAAC,OAAO,CAAC,CAAC;AACjC,CAAC;AAJD,8BAIC;AAQD,SAAgB,cAAc,CAAI,OAAY;IAC5C,IAAI,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,IAAI,EAAO,CAAC;IACnC,IAAM,KAAK,GAAG,OAAO,CAAC,MAAM,CAAC;IAC7B,IAAI,KAAK,GAAG,CAAC,EAAE;QACb,IAAM,UAAU,GAAU,EAAE,CAAC;QAC7B,MAAM,GAAG,mBAAmB,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;QACjD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,EAAE,CAAC,EAAE;YAC9B,MAAM,GAAG,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;SACtD;KACF;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAXD,wCAWC;AAED,SAAS,QAAQ,CAAC,GAAQ;IACxB,OAAO,GAAG,KAAK,IAAI,IAAI,OAAO,GAAG,KAAK,QAAQ,CAAC;AACjD,CAAC;AAED,SAAS,WAAW,CAClB,MAAW,EACX,MAAW,EACX,UAAiB;IAEjB,IAAI,QAAQ,CAAC,MAAM,CAAC,IAAI,QAAQ,CAAC,MAAM,CAAC,EAAE;QAGxC,IAAI,MAAM,CAAC,YAAY,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE;YACvD,MAAM,GAAG,mBAAmB,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;SAClD;QAED,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,UAAA,SAAS;YACnC,IAAM,WAAW,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;YACtC,IAAI,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,SAAS,CAAC,EAAE;gBAC1C,IAAM,WAAW,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;gBACtC,IAAI,WAAW,KAAK,WAAW,EAAE;oBAQ/B,MAAM,CAAC,SAAS,CAAC,GAAG,WAAW,CAC7B,mBAAmB,CAAC,WAAW,EAAE,UAAU,CAAC,EAC5C,WAAW,EACX,UAAU,CACX,CAAC;iBACH;aACF;iBAAM;gBAGL,MAAM,CAAC,SAAS,CAAC,GAAG,WAAW,CAAC;aACjC;QACH,CAAC,CAAC,CAAC;QAEH,OAAO,MAAM,CAAC;KACf;IAGD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,SAAS,mBAAmB,CAAI,KAAQ,EAAE,UAAiB;IACzD,IACE,KAAK,KAAK,IAAI;QACd,OAAO,KAAK,KAAK,QAAQ;QACzB,UAAU,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,EAC7B;QACA,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;YACxB,KAAK,GAAI,KAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;SACjC;aAAM;YACL,KAAK,sBACH,SAAS,EAAE,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,IACpC,KAAK,CACT,CAAC;SACH;QACD,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACxB;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
|
||||
2
node_modules/apollo-utilities/lib/util/stripSymbols.d.ts
generated
vendored
Normal file
2
node_modules/apollo-utilities/lib/util/stripSymbols.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export declare function stripSymbols<T>(data: T): T;
|
||||
//# sourceMappingURL=stripSymbols.d.ts.map
|
||||
1
node_modules/apollo-utilities/lib/util/stripSymbols.d.ts.map
generated
vendored
Normal file
1
node_modules/apollo-utilities/lib/util/stripSymbols.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"stripSymbols.d.ts","sourceRoot":"","sources":["../src/util/stripSymbols.ts"],"names":[],"mappings":"AAWA,wBAAgB,YAAY,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC,CAE1C"}
|
||||
7
node_modules/apollo-utilities/lib/util/stripSymbols.js
generated
vendored
Normal file
7
node_modules/apollo-utilities/lib/util/stripSymbols.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
function stripSymbols(data) {
|
||||
return JSON.parse(JSON.stringify(data));
|
||||
}
|
||||
exports.stripSymbols = stripSymbols;
|
||||
//# sourceMappingURL=stripSymbols.js.map
|
||||
1
node_modules/apollo-utilities/lib/util/stripSymbols.js.map
generated
vendored
Normal file
1
node_modules/apollo-utilities/lib/util/stripSymbols.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"stripSymbols.js","sourceRoot":"","sources":["../../src/util/stripSymbols.ts"],"names":[],"mappings":";;AAWA,SAAgB,YAAY,CAAI,IAAO;IACrC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;AAC1C,CAAC;AAFD,oCAEC"}
|
||||
2
node_modules/apollo-utilities/lib/util/warnOnce.d.ts
generated
vendored
Normal file
2
node_modules/apollo-utilities/lib/util/warnOnce.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export declare function warnOnceInDevelopment(msg: string, type?: string): void;
|
||||
//# sourceMappingURL=warnOnce.d.ts.map
|
||||
1
node_modules/apollo-utilities/lib/util/warnOnce.d.ts.map
generated
vendored
Normal file
1
node_modules/apollo-utilities/lib/util/warnOnce.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"warnOnce.d.ts","sourceRoot":"","sources":["../src/util/warnOnce.ts"],"names":[],"mappings":"AAYA,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,SAAS,QAW/D"}
|
||||
20
node_modules/apollo-utilities/lib/util/warnOnce.js
generated
vendored
Normal file
20
node_modules/apollo-utilities/lib/util/warnOnce.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var environment_1 = require("./environment");
|
||||
var haveWarned = Object.create({});
|
||||
function warnOnceInDevelopment(msg, type) {
|
||||
if (type === void 0) { type = 'warn'; }
|
||||
if (!environment_1.isProduction() && !haveWarned[msg]) {
|
||||
if (!environment_1.isTest()) {
|
||||
haveWarned[msg] = true;
|
||||
}
|
||||
if (type === 'error') {
|
||||
console.error(msg);
|
||||
}
|
||||
else {
|
||||
console.warn(msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
exports.warnOnceInDevelopment = warnOnceInDevelopment;
|
||||
//# sourceMappingURL=warnOnce.js.map
|
||||
1
node_modules/apollo-utilities/lib/util/warnOnce.js.map
generated
vendored
Normal file
1
node_modules/apollo-utilities/lib/util/warnOnce.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"warnOnce.js","sourceRoot":"","sources":["../../src/util/warnOnce.ts"],"names":[],"mappings":";;AAAA,6CAAqD;AAErD,IAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAUrC,SAAgB,qBAAqB,CAAC,GAAW,EAAE,IAAa;IAAb,qBAAA,EAAA,aAAa;IAC9D,IAAI,CAAC,0BAAY,EAAE,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE;QACvC,IAAI,CAAC,oBAAM,EAAE,EAAE;YACb,UAAU,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;SACxB;QACD,IAAI,IAAI,KAAK,OAAO,EAAE;YACpB,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;SACpB;aAAM;YACL,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;SACnB;KACF;AACH,CAAC;AAXD,sDAWC"}
|
||||
Reference in New Issue
Block a user