planning
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s

This commit is contained in:
2024-10-14 09:15:30 +02:00
parent bcba00a730
commit 6e64e138e2
21059 changed files with 2317811 additions and 1 deletions

194
node_modules/apollo-cache/lib/bundle.cjs.js generated vendored Normal file
View File

@@ -0,0 +1,194 @@
exports.__esModule = true;
exports.Cache = exports.ApolloCache = void 0;
var _apolloUtilities = require("apollo-utilities");
function queryFromPojo(obj) {
var op = {
kind: 'OperationDefinition',
operation: 'query',
name: {
kind: 'Name',
value: 'GeneratedClientQuery'
},
selectionSet: selectionSetFromObj(obj)
};
var out = {
kind: 'Document',
definitions: [op]
};
return out;
}
function fragmentFromPojo(obj, typename) {
var frag = {
kind: 'FragmentDefinition',
typeCondition: {
kind: 'NamedType',
name: {
kind: 'Name',
value: typename || '__FakeType'
}
},
name: {
kind: 'Name',
value: 'GeneratedClientQuery'
},
selectionSet: selectionSetFromObj(obj)
};
var out = {
kind: 'Document',
definitions: [frag]
};
return out;
}
function selectionSetFromObj(obj) {
if (typeof obj === 'number' || typeof obj === 'boolean' || typeof obj === 'string' || typeof obj === 'undefined' || obj === null) {
return null;
}
if (Array.isArray(obj)) {
return selectionSetFromObj(obj[0]);
}
var selections = [];
Object.keys(obj).forEach(function (key) {
var nestedSelSet = selectionSetFromObj(obj[key]);
var field = {
kind: 'Field',
name: {
kind: 'Name',
value: key
},
selectionSet: nestedSelSet || undefined
};
selections.push(field);
});
var selectionSet = {
kind: 'SelectionSet',
selections: selections
};
return selectionSet;
}
var justTypenameQuery = {
kind: 'Document',
definitions: [{
kind: 'OperationDefinition',
operation: 'query',
name: null,
variableDefinitions: null,
directives: [],
selectionSet: {
kind: 'SelectionSet',
selections: [{
kind: 'Field',
alias: null,
name: {
kind: 'Name',
value: '__typename'
},
arguments: [],
directives: [],
selectionSet: null
}]
}
}]
};
var ApolloCache = function () {
function ApolloCache() {}
ApolloCache.prototype.transformDocument = function (document) {
return document;
};
ApolloCache.prototype.transformForLink = function (document) {
return document;
};
ApolloCache.prototype.readQuery = function (options, optimistic) {
if (optimistic === void 0) {
optimistic = false;
}
return this.read({
query: options.query,
variables: options.variables,
optimistic: optimistic
});
};
ApolloCache.prototype.readFragment = function (options, optimistic) {
if (optimistic === void 0) {
optimistic = false;
}
return this.read({
query: (0, _apolloUtilities.getFragmentQueryDocument)(options.fragment, options.fragmentName),
variables: options.variables,
rootId: options.id,
optimistic: optimistic
});
};
ApolloCache.prototype.writeQuery = function (options) {
this.write({
dataId: 'ROOT_QUERY',
result: options.data,
query: options.query,
variables: options.variables
});
};
ApolloCache.prototype.writeFragment = function (options) {
this.write({
dataId: options.id,
result: options.data,
variables: options.variables,
query: (0, _apolloUtilities.getFragmentQueryDocument)(options.fragment, options.fragmentName)
});
};
ApolloCache.prototype.writeData = function (_a) {
var id = _a.id,
data = _a.data;
if (typeof id !== 'undefined') {
var typenameResult = null;
try {
typenameResult = this.read({
rootId: id,
optimistic: false,
query: justTypenameQuery
});
} catch (e) {}
var __typename = typenameResult && typenameResult.__typename || '__ClientData';
var dataToWrite = Object.assign({
__typename: __typename
}, data);
this.writeFragment({
id: id,
fragment: fragmentFromPojo(dataToWrite, __typename),
data: dataToWrite
});
} else {
this.writeQuery({
query: queryFromPojo(data),
data: data
});
}
};
return ApolloCache;
}();
exports.ApolloCache = ApolloCache;
var Cache;
exports.Cache = Cache;
(function (Cache) {})(Cache || (exports.Cache = Cache = {}));

1
node_modules/apollo-cache/lib/bundle.cjs.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

1
node_modules/apollo-cache/lib/bundle.cjs.min.js generated vendored Normal file
View File

@@ -0,0 +1 @@
exports.__esModule=!0,exports.Cache=exports.ApolloCache=void 0;var e=require("apollo-utilities");function t(e){return{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:i(e)}]}}function i(e){if("number"==typeof e||"boolean"==typeof e||"string"==typeof e||null==e)return null;if(Array.isArray(e))return i(e[0]);var t=[];return Object.keys(e).forEach(function(n){var r={kind:"Field",name:{kind:"Name",value:n},selectionSet:i(e[n])||void 0};t.push(r)}),{kind:"SelectionSet",selections:t}}var n,r={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:null,variableDefinitions:null,directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:null,name:{kind:"Name",value:"__typename"},arguments:[],directives:[],selectionSet:null}]}}]},a=function(){function n(){}return n.prototype.transformDocument=function(e){return e},n.prototype.transformForLink=function(e){return e},n.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.read({query:e.query,variables:e.variables,optimistic:t})},n.prototype.readFragment=function(t,i){return void 0===i&&(i=!1),this.read({query:(0,e.getFragmentQueryDocument)(t.fragment,t.fragmentName),variables:t.variables,rootId:t.id,optimistic:i})},n.prototype.writeQuery=function(e){this.write({dataId:"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables})},n.prototype.writeFragment=function(t){this.write({dataId:t.id,result:t.data,variables:t.variables,query:(0,e.getFragmentQueryDocument)(t.fragment,t.fragmentName)})},n.prototype.writeData=function(e){var n,a,o=e.id,u=e.data;if(void 0!==o){var l=null;try{l=this.read({rootId:o,optimistic:!1,query:r})}catch(e){}var s=l&&l.__typename||"__ClientData",d=Object.assign({__typename:s},u);this.writeFragment({id:o,fragment:(n=d,a=s,{kind:"Document",definitions:[{kind:"FragmentDefinition",typeCondition:{kind:"NamedType",name:{kind:"Name",value:a||"__FakeType"}},name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:i(n)}]}),data:d})}else this.writeQuery({query:t(u),data:u})},n}();exports.ApolloCache=a,exports.Cache=n,n||(exports.Cache=n={});

175
node_modules/apollo-cache/lib/bundle.esm.js generated vendored Normal file
View File

@@ -0,0 +1,175 @@
import { getFragmentQueryDocument } from 'apollo-utilities';
function queryFromPojo(obj) {
var op = {
kind: 'OperationDefinition',
operation: 'query',
name: {
kind: 'Name',
value: 'GeneratedClientQuery',
},
selectionSet: selectionSetFromObj(obj),
};
var out = {
kind: 'Document',
definitions: [op],
};
return out;
}
function fragmentFromPojo(obj, typename) {
var frag = {
kind: 'FragmentDefinition',
typeCondition: {
kind: 'NamedType',
name: {
kind: 'Name',
value: typename || '__FakeType',
},
},
name: {
kind: 'Name',
value: 'GeneratedClientQuery',
},
selectionSet: selectionSetFromObj(obj),
};
var out = {
kind: 'Document',
definitions: [frag],
};
return out;
}
function selectionSetFromObj(obj) {
if (typeof obj === 'number' ||
typeof obj === 'boolean' ||
typeof obj === 'string' ||
typeof obj === 'undefined' ||
obj === null) {
return null;
}
if (Array.isArray(obj)) {
return selectionSetFromObj(obj[0]);
}
var selections = [];
Object.keys(obj).forEach(function (key) {
var nestedSelSet = selectionSetFromObj(obj[key]);
var field = {
kind: 'Field',
name: {
kind: 'Name',
value: key,
},
selectionSet: nestedSelSet || undefined,
};
selections.push(field);
});
var selectionSet = {
kind: 'SelectionSet',
selections: selections,
};
return selectionSet;
}
var justTypenameQuery = {
kind: 'Document',
definitions: [
{
kind: 'OperationDefinition',
operation: 'query',
name: null,
variableDefinitions: null,
directives: [],
selectionSet: {
kind: 'SelectionSet',
selections: [
{
kind: 'Field',
alias: null,
name: {
kind: 'Name',
value: '__typename',
},
arguments: [],
directives: [],
selectionSet: null,
},
],
},
},
],
};
var ApolloCache = (function () {
function ApolloCache() {
}
ApolloCache.prototype.transformDocument = function (document) {
return document;
};
ApolloCache.prototype.transformForLink = function (document) {
return document;
};
ApolloCache.prototype.readQuery = function (options, optimistic) {
if (optimistic === void 0) { optimistic = false; }
return this.read({
query: options.query,
variables: options.variables,
optimistic: optimistic,
});
};
ApolloCache.prototype.readFragment = function (options, optimistic) {
if (optimistic === void 0) { optimistic = false; }
return this.read({
query: getFragmentQueryDocument(options.fragment, options.fragmentName),
variables: options.variables,
rootId: options.id,
optimistic: optimistic,
});
};
ApolloCache.prototype.writeQuery = function (options) {
this.write({
dataId: 'ROOT_QUERY',
result: options.data,
query: options.query,
variables: options.variables,
});
};
ApolloCache.prototype.writeFragment = function (options) {
this.write({
dataId: options.id,
result: options.data,
variables: options.variables,
query: getFragmentQueryDocument(options.fragment, options.fragmentName),
});
};
ApolloCache.prototype.writeData = function (_a) {
var id = _a.id, data = _a.data;
if (typeof id !== 'undefined') {
var typenameResult = null;
try {
typenameResult = this.read({
rootId: id,
optimistic: false,
query: justTypenameQuery,
});
}
catch (e) {
}
var __typename = (typenameResult && typenameResult.__typename) || '__ClientData';
var dataToWrite = Object.assign({ __typename: __typename }, data);
this.writeFragment({
id: id,
fragment: fragmentFromPojo(dataToWrite, __typename),
data: dataToWrite,
});
}
else {
this.writeQuery({ query: queryFromPojo(data), data: data });
}
};
return ApolloCache;
}());
var Cache;
(function (Cache) {
})(Cache || (Cache = {}));
export { ApolloCache, Cache };
//# sourceMappingURL=bundle.esm.js.map

1
node_modules/apollo-cache/lib/bundle.esm.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

208
node_modules/apollo-cache/lib/bundle.umd.js generated vendored Normal file
View File

@@ -0,0 +1,208 @@
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["exports", "apollo-utilities"], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require("apollo-utilities"));
} else {
var mod = {
exports: {}
};
factory(mod.exports, global.apolloUtilities);
global.unknown = mod.exports;
}
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _apolloUtilities) {
_exports.__esModule = true;
_exports.Cache = _exports.ApolloCache = void 0;
function queryFromPojo(obj) {
var op = {
kind: 'OperationDefinition',
operation: 'query',
name: {
kind: 'Name',
value: 'GeneratedClientQuery'
},
selectionSet: selectionSetFromObj(obj)
};
var out = {
kind: 'Document',
definitions: [op]
};
return out;
}
function fragmentFromPojo(obj, typename) {
var frag = {
kind: 'FragmentDefinition',
typeCondition: {
kind: 'NamedType',
name: {
kind: 'Name',
value: typename || '__FakeType'
}
},
name: {
kind: 'Name',
value: 'GeneratedClientQuery'
},
selectionSet: selectionSetFromObj(obj)
};
var out = {
kind: 'Document',
definitions: [frag]
};
return out;
}
function selectionSetFromObj(obj) {
if (typeof obj === 'number' || typeof obj === 'boolean' || typeof obj === 'string' || typeof obj === 'undefined' || obj === null) {
return null;
}
if (Array.isArray(obj)) {
return selectionSetFromObj(obj[0]);
}
var selections = [];
Object.keys(obj).forEach(function (key) {
var nestedSelSet = selectionSetFromObj(obj[key]);
var field = {
kind: 'Field',
name: {
kind: 'Name',
value: key
},
selectionSet: nestedSelSet || undefined
};
selections.push(field);
});
var selectionSet = {
kind: 'SelectionSet',
selections: selections
};
return selectionSet;
}
var justTypenameQuery = {
kind: 'Document',
definitions: [{
kind: 'OperationDefinition',
operation: 'query',
name: null,
variableDefinitions: null,
directives: [],
selectionSet: {
kind: 'SelectionSet',
selections: [{
kind: 'Field',
alias: null,
name: {
kind: 'Name',
value: '__typename'
},
arguments: [],
directives: [],
selectionSet: null
}]
}
}]
};
var ApolloCache = function () {
function ApolloCache() {}
ApolloCache.prototype.transformDocument = function (document) {
return document;
};
ApolloCache.prototype.transformForLink = function (document) {
return document;
};
ApolloCache.prototype.readQuery = function (options, optimistic) {
if (optimistic === void 0) {
optimistic = false;
}
return this.read({
query: options.query,
variables: options.variables,
optimistic: optimistic
});
};
ApolloCache.prototype.readFragment = function (options, optimistic) {
if (optimistic === void 0) {
optimistic = false;
}
return this.read({
query: (0, _apolloUtilities.getFragmentQueryDocument)(options.fragment, options.fragmentName),
variables: options.variables,
rootId: options.id,
optimistic: optimistic
});
};
ApolloCache.prototype.writeQuery = function (options) {
this.write({
dataId: 'ROOT_QUERY',
result: options.data,
query: options.query,
variables: options.variables
});
};
ApolloCache.prototype.writeFragment = function (options) {
this.write({
dataId: options.id,
result: options.data,
variables: options.variables,
query: (0, _apolloUtilities.getFragmentQueryDocument)(options.fragment, options.fragmentName)
});
};
ApolloCache.prototype.writeData = function (_a) {
var id = _a.id,
data = _a.data;
if (typeof id !== 'undefined') {
var typenameResult = null;
try {
typenameResult = this.read({
rootId: id,
optimistic: false,
query: justTypenameQuery
});
} catch (e) {}
var __typename = typenameResult && typenameResult.__typename || '__ClientData';
var dataToWrite = Object.assign({
__typename: __typename
}, data);
this.writeFragment({
id: id,
fragment: fragmentFromPojo(dataToWrite, __typename),
data: dataToWrite
});
} else {
this.writeQuery({
query: queryFromPojo(data),
data: data
});
}
};
return ApolloCache;
}();
_exports.ApolloCache = ApolloCache;
var Cache;
_exports.Cache = Cache;
(function (Cache) {})(Cache || (_exports.Cache = Cache = {}));
});

1
node_modules/apollo-cache/lib/bundle.umd.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

24
node_modules/apollo-cache/lib/cache.d.ts generated vendored Normal file
View File

@@ -0,0 +1,24 @@
import { DocumentNode } from 'graphql';
import { DataProxy, Cache } from './types';
export declare type Transaction<T> = (c: ApolloCache<T>) => void;
export declare abstract class ApolloCache<TSerialized> implements DataProxy {
abstract read<T, TVariables = any>(query: Cache.ReadOptions<TVariables>): T | null;
abstract write<TResult = any, TVariables = any>(write: Cache.WriteOptions<TResult, TVariables>): void;
abstract diff<T>(query: Cache.DiffOptions): Cache.DiffResult<T>;
abstract watch(watch: Cache.WatchOptions): () => void;
abstract evict<TVariables = any>(query: Cache.EvictOptions<TVariables>): Cache.EvictionResult;
abstract reset(): Promise<void>;
abstract restore(serializedState: TSerialized): ApolloCache<TSerialized>;
abstract extract(optimistic?: boolean): TSerialized;
abstract removeOptimistic(id: string): void;
abstract performTransaction(transaction: Transaction<TSerialized>): void;
abstract recordOptimisticTransaction(transaction: Transaction<TSerialized>, id: string): void;
transformDocument(document: DocumentNode): DocumentNode;
transformForLink(document: DocumentNode): DocumentNode;
readQuery<QueryType, TVariables = any>(options: DataProxy.Query<TVariables>, optimistic?: boolean): QueryType | null;
readFragment<FragmentType, TVariables = any>(options: DataProxy.Fragment<TVariables>, optimistic?: boolean): FragmentType | null;
writeQuery<TData = any, TVariables = any>(options: Cache.WriteQueryOptions<TData, TVariables>): void;
writeFragment<TData = any, TVariables = any>(options: Cache.WriteFragmentOptions<TData, TVariables>): void;
writeData<TData = any>({ id, data, }: Cache.WriteDataOptions<TData>): void;
}
//# sourceMappingURL=cache.d.ts.map

1
node_modules/apollo-cache/lib/cache.d.ts.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["src/cache.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAGvC,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAG3C,oBAAY,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;AAEzD,8BAAsB,WAAW,CAAC,WAAW,CAAE,YAAW,SAAS;aAGjD,IAAI,CAAC,CAAC,EAAE,UAAU,GAAG,GAAG,EACtC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,GACnC,CAAC,GAAG,IAAI;aACK,KAAK,CAAC,OAAO,GAAG,GAAG,EAAE,UAAU,GAAG,GAAG,EACnD,KAAK,EAAE,KAAK,CAAC,YAAY,CAAC,OAAO,EAAE,UAAU,CAAC,GAC7C,IAAI;aACS,IAAI,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;aACtD,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,YAAY,GAAG,MAAM,IAAI;aAC5C,KAAK,CAAC,UAAU,GAAG,GAAG,EACpC,KAAK,EAAE,KAAK,CAAC,YAAY,CAAC,UAAU,CAAC,GACpC,KAAK,CAAC,cAAc;aACP,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;aAUtB,OAAO,CACrB,eAAe,EAAE,WAAW,GAC3B,WAAW,CAAC,WAAW,CAAC;aAKX,OAAO,CAAC,UAAU,CAAC,EAAE,OAAO,GAAG,WAAW;aAG1C,gBAAgB,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;aAGlC,kBAAkB,CAChC,WAAW,EAAE,WAAW,CAAC,WAAW,CAAC,GACpC,IAAI;aACS,2BAA2B,CACzC,WAAW,EAAE,WAAW,CAAC,WAAW,CAAC,EACrC,EAAE,EAAE,MAAM,GACT,IAAI;IAGA,iBAAiB,CAAC,QAAQ,EAAE,YAAY,GAAG,YAAY;IAIvD,gBAAgB,CAAC,QAAQ,EAAE,YAAY,GAAG,YAAY;IAUtD,SAAS,CAAC,SAAS,EAAE,UAAU,GAAG,GAAG,EAC1C,OAAO,EAAE,SAAS,CAAC,KAAK,CAAC,UAAU,CAAC,EACpC,UAAU,GAAE,OAAe,GAC1B,SAAS,GAAG,IAAI;IAQZ,YAAY,CAAC,YAAY,EAAE,UAAU,GAAG,GAAG,EAChD,OAAO,EAAE,SAAS,CAAC,QAAQ,CAAC,UAAU,CAAC,EACvC,UAAU,GAAE,OAAe,GAC1B,YAAY,GAAG,IAAI;IASf,UAAU,CAAC,KAAK,GAAG,GAAG,EAAE,UAAU,GAAG,GAAG,EAC7C,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,KAAK,EAAE,UAAU,CAAC,GAClD,IAAI;IASA,aAAa,CAAC,KAAK,GAAG,GAAG,EAAE,UAAU,GAAG,GAAG,EAChD,OAAO,EAAE,KAAK,CAAC,oBAAoB,CAAC,KAAK,EAAE,UAAU,CAAC,GACrD,IAAI;IASA,SAAS,CAAC,KAAK,GAAG,GAAG,EAAE,EAC5B,EAAE,EACF,IAAI,GACL,EAAE,KAAK,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,IAAI;CAiCxC"}

75
node_modules/apollo-cache/lib/cache.js generated vendored Normal file
View File

@@ -0,0 +1,75 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var apollo_utilities_1 = require("apollo-utilities");
var utils_1 = require("./utils");
var ApolloCache = (function () {
function ApolloCache() {
}
ApolloCache.prototype.transformDocument = function (document) {
return document;
};
ApolloCache.prototype.transformForLink = function (document) {
return document;
};
ApolloCache.prototype.readQuery = function (options, optimistic) {
if (optimistic === void 0) { optimistic = false; }
return this.read({
query: options.query,
variables: options.variables,
optimistic: optimistic,
});
};
ApolloCache.prototype.readFragment = function (options, optimistic) {
if (optimistic === void 0) { optimistic = false; }
return this.read({
query: apollo_utilities_1.getFragmentQueryDocument(options.fragment, options.fragmentName),
variables: options.variables,
rootId: options.id,
optimistic: optimistic,
});
};
ApolloCache.prototype.writeQuery = function (options) {
this.write({
dataId: 'ROOT_QUERY',
result: options.data,
query: options.query,
variables: options.variables,
});
};
ApolloCache.prototype.writeFragment = function (options) {
this.write({
dataId: options.id,
result: options.data,
variables: options.variables,
query: apollo_utilities_1.getFragmentQueryDocument(options.fragment, options.fragmentName),
});
};
ApolloCache.prototype.writeData = function (_a) {
var id = _a.id, data = _a.data;
if (typeof id !== 'undefined') {
var typenameResult = null;
try {
typenameResult = this.read({
rootId: id,
optimistic: false,
query: utils_1.justTypenameQuery,
});
}
catch (e) {
}
var __typename = (typenameResult && typenameResult.__typename) || '__ClientData';
var dataToWrite = Object.assign({ __typename: __typename }, data);
this.writeFragment({
id: id,
fragment: utils_1.fragmentFromPojo(dataToWrite, __typename),
data: dataToWrite,
});
}
else {
this.writeQuery({ query: utils_1.queryFromPojo(data), data: data });
}
};
return ApolloCache;
}());
exports.ApolloCache = ApolloCache;
//# sourceMappingURL=cache.js.map

1
node_modules/apollo-cache/lib/cache.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"cache.js","sourceRoot":"","sources":["../src/cache.ts"],"names":[],"mappings":";;AACA,qDAA4D;AAG5D,iCAA6E;AAI7E;IAAA;IA6IA,CAAC;IA/FQ,uCAAiB,GAAxB,UAAyB,QAAsB;QAC7C,OAAO,QAAQ,CAAC;IAClB,CAAC;IAEM,sCAAgB,GAAvB,UAAwB,QAAsB;QAC5C,OAAO,QAAQ,CAAC;IAClB,CAAC;IAQM,+BAAS,GAAhB,UACE,OAAoC,EAC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;oBACV,UAAU,EAAE,KAAK;oBACjB,KAAK,EAAE,yBAAiB;iBACzB,CAAC,CAAC;aACJ;YAAC,OAAO,CAAC,EAAE;aAEX;YAGD,IAAM,UAAU,GACd,CAAC,cAAc,IAAI,cAAc,CAAC,UAAU,CAAC,IAAI,cAAc,CAAC;YAGlE,IAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,UAAU,YAAA,EAAE,EAAE,IAAI,CAAC,CAAC;YAExD,IAAI,CAAC,aAAa,CAAC;gBACjB,EAAE,IAAA;gBACF,QAAQ,EAAE,wBAAgB,CAAC,WAAW,EAAE,UAAU,CAAC;gBACnD,IAAI,EAAE,WAAW;aAClB,CAAC,CAAC;SACJ;aAAM;YACL,IAAI,CAAC,UAAU,CAAC,EAAE,KAAK,EAAE,qBAAa,CAAC,IAAI,CAAC,EAAE,IAAI,MAAA,EAAE,CAAC,CAAC;SACvD;IACH,CAAC;IACH,kBAAC;AAAD,CAAC,AA7ID,IA6IC;AA7IqB,kCAAW"}

3
node_modules/apollo-cache/lib/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,3 @@
export * from './cache';
export * from './types';
//# sourceMappingURL=index.d.ts.map

1
node_modules/apollo-cache/lib/index.d.ts.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}

6
node_modules/apollo-cache/lib/index.js generated vendored Normal file
View File

@@ -0,0 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
tslib_1.__exportStar(require("./cache"), exports);
tslib_1.__exportStar(require("./types"), exports);
//# sourceMappingURL=index.js.map

1
node_modules/apollo-cache/lib/index.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,kDAAwB;AACxB,kDAAwB"}

31
node_modules/apollo-cache/lib/types/Cache.d.ts generated vendored Normal file
View File

@@ -0,0 +1,31 @@
import { DataProxy } from './DataProxy';
export declare namespace Cache {
type WatchCallback = (newData: any) => void;
interface EvictionResult {
success: Boolean;
}
interface ReadOptions<TVariables = any> extends DataProxy.Query<TVariables> {
rootId?: string;
previousResult?: any;
optimistic: boolean;
}
interface WriteOptions<TResult = any, TVariables = any> extends DataProxy.Query<TVariables> {
dataId: string;
result: TResult;
}
interface DiffOptions extends ReadOptions {
returnPartialData?: boolean;
}
interface WatchOptions extends ReadOptions {
callback: WatchCallback;
}
interface EvictOptions<TVariables = any> extends DataProxy.Query<TVariables> {
rootId?: string;
}
export import DiffResult = DataProxy.DiffResult;
export import WriteQueryOptions = DataProxy.WriteQueryOptions;
export import WriteFragmentOptions = DataProxy.WriteFragmentOptions;
export import WriteDataOptions = DataProxy.WriteDataOptions;
export import Fragment = DataProxy.Fragment;
}
//# sourceMappingURL=Cache.d.ts.map

1
node_modules/apollo-cache/lib/types/Cache.d.ts.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"Cache.d.ts","sourceRoot":"","sources":["../src/types/Cache.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,yBAAiB,KAAK,CAAC;IACrB,KAAY,aAAa,GAAG,CAAC,OAAO,EAAE,GAAG,KAAK,IAAI,CAAC;IACnD,UAAiB,cAAc;QAC7B,OAAO,EAAE,OAAO,CAAC;KAClB;IAED,UAAiB,WAAW,CAAC,UAAU,GAAG,GAAG,CAC3C,SAAQ,SAAS,CAAC,KAAK,CAAC,UAAU,CAAC;QACnC,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,cAAc,CAAC,EAAE,GAAG,CAAC;QACrB,UAAU,EAAE,OAAO,CAAC;KACrB;IAED,UAAiB,YAAY,CAAC,OAAO,GAAG,GAAG,EAAE,UAAU,GAAG,GAAG,CAC3D,SAAQ,SAAS,CAAC,KAAK,CAAC,UAAU,CAAC;QACnC,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,OAAO,CAAC;KACjB;IAED,UAAiB,WAAY,SAAQ,WAAW;QAC9C,iBAAiB,CAAC,EAAE,OAAO,CAAC;KAC7B;IAED,UAAiB,YAAa,SAAQ,WAAW;QAC/C,QAAQ,EAAE,aAAa,CAAC;KACzB;IAED,UAAiB,YAAY,CAAC,UAAU,GAAG,GAAG,CAC5C,SAAQ,SAAS,CAAC,KAAK,CAAC,UAAU,CAAC;QACnC,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB;IAED,MAAM,QAAQ,UAAU,GAAG,SAAS,CAAC,UAAU,CAAC;IAChD,MAAM,QAAQ,iBAAiB,GAAG,SAAS,CAAC,iBAAiB,CAAC;IAC9D,MAAM,QAAQ,oBAAoB,GAAG,SAAS,CAAC,oBAAoB,CAAC;IACpE,MAAM,QAAQ,gBAAgB,GAAG,SAAS,CAAC,gBAAgB,CAAC;IAC5D,MAAM,QAAQ,QAAQ,GAAG,SAAS,CAAC,QAAQ,CAAC;CAC7C"}

6
node_modules/apollo-cache/lib/types/Cache.js generated vendored Normal file
View File

@@ -0,0 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Cache;
(function (Cache) {
})(Cache = exports.Cache || (exports.Cache = {}));
//# sourceMappingURL=Cache.js.map

1
node_modules/apollo-cache/lib/types/Cache.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"Cache.js","sourceRoot":"","sources":["../../src/types/Cache.ts"],"names":[],"mappings":";;AAEA,IAAiB,KAAK,CAqCrB;AArCD,WAAiB,KAAK;AAqCtB,CAAC,EArCgB,KAAK,GAAL,aAAK,KAAL,aAAK,QAqCrB"}

35
node_modules/apollo-cache/lib/types/DataProxy.d.ts generated vendored Normal file
View File

@@ -0,0 +1,35 @@
import { DocumentNode } from 'graphql';
export declare namespace DataProxy {
interface Query<TVariables> {
query: DocumentNode;
variables?: TVariables;
}
interface Fragment<TVariables> {
id: string;
fragment: DocumentNode;
fragmentName?: string;
variables?: TVariables;
}
interface WriteQueryOptions<TData, TVariables> extends Query<TVariables> {
data: TData;
}
interface WriteFragmentOptions<TData, TVariables> extends Fragment<TVariables> {
data: TData;
}
interface WriteDataOptions<TData> {
data: TData;
id?: string;
}
type DiffResult<T> = {
result?: T;
complete?: boolean;
};
}
export interface DataProxy {
readQuery<QueryType, TVariables = any>(options: DataProxy.Query<TVariables>, optimistic?: boolean): QueryType | null;
readFragment<FragmentType, TVariables = any>(options: DataProxy.Fragment<TVariables>, optimistic?: boolean): FragmentType | null;
writeQuery<TData = any, TVariables = any>(options: DataProxy.WriteQueryOptions<TData, TVariables>): void;
writeFragment<TData = any, TVariables = any>(options: DataProxy.WriteFragmentOptions<TData, TVariables>): void;
writeData<TData = any>(options: DataProxy.WriteDataOptions<TData>): void;
}
//# sourceMappingURL=DataProxy.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"DataProxy.d.ts","sourceRoot":"","sources":["../src/types/DataProxy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,yBAAiB,SAAS,CAAC;IACzB,UAAiB,KAAK,CAAC,UAAU;QAM/B,KAAK,EAAE,YAAY,CAAC;QAKpB,SAAS,CAAC,EAAE,UAAU,CAAC;KACxB;IAED,UAAiB,QAAQ,CAAC,UAAU;QAMlC,EAAE,EAAE,MAAM,CAAC;QAQX,QAAQ,EAAE,YAAY,CAAC;QAOvB,YAAY,CAAC,EAAE,MAAM,CAAC;QAKtB,SAAS,CAAC,EAAE,UAAU,CAAC;KACxB;IAED,UAAiB,iBAAiB,CAAC,KAAK,EAAE,UAAU,CAClD,SAAQ,KAAK,CAAC,UAAU,CAAC;QAIzB,IAAI,EAAE,KAAK,CAAC;KACb;IAED,UAAiB,oBAAoB,CAAC,KAAK,EAAE,UAAU,CACrD,SAAQ,QAAQ,CAAC,UAAU,CAAC;QAI5B,IAAI,EAAE,KAAK,CAAC;KACb;IAED,UAAiB,gBAAgB,CAAC,KAAK;QAMrC,IAAI,EAAE,KAAK,CAAC;QACZ,EAAE,CAAC,EAAE,MAAM,CAAC;KACb;IAED,KAAY,UAAU,CAAC,CAAC,IAAI;QAC1B,MAAM,CAAC,EAAE,CAAC,CAAC;QACX,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,CAAC;CACH;AAQD,MAAM,WAAW,SAAS;IAIxB,SAAS,CAAC,SAAS,EAAE,UAAU,GAAG,GAAG,EACnC,OAAO,EAAE,SAAS,CAAC,KAAK,CAAC,UAAU,CAAC,EACpC,UAAU,CAAC,EAAE,OAAO,GACnB,SAAS,GAAG,IAAI,CAAC;IAOpB,YAAY,CAAC,YAAY,EAAE,UAAU,GAAG,GAAG,EACzC,OAAO,EAAE,SAAS,CAAC,QAAQ,CAAC,UAAU,CAAC,EACvC,UAAU,CAAC,EAAE,OAAO,GACnB,YAAY,GAAG,IAAI,CAAC;IAKvB,UAAU,CAAC,KAAK,GAAG,GAAG,EAAE,UAAU,GAAG,GAAG,EACtC,OAAO,EAAE,SAAS,CAAC,iBAAiB,CAAC,KAAK,EAAE,UAAU,CAAC,GACtD,IAAI,CAAC;IAOR,aAAa,CAAC,KAAK,GAAG,GAAG,EAAE,UAAU,GAAG,GAAG,EACzC,OAAO,EAAE,SAAS,CAAC,oBAAoB,CAAC,KAAK,EAAE,UAAU,CAAC,GACzD,IAAI,CAAC;IAQR,SAAS,CAAC,KAAK,GAAG,GAAG,EAAE,OAAO,EAAE,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC;CAC1E"}

3
node_modules/apollo-cache/lib/types/DataProxy.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=DataProxy.js.map

1
node_modules/apollo-cache/lib/types/DataProxy.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"DataProxy.js","sourceRoot":"","sources":["../../src/types/DataProxy.ts"],"names":[],"mappings":""}

3
node_modules/apollo-cache/lib/types/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,3 @@
export * from './DataProxy';
export * from './Cache';
//# sourceMappingURL=index.d.ts.map

1
node_modules/apollo-cache/lib/types/index.d.ts.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}

5
node_modules/apollo-cache/lib/types/index.js generated vendored Normal file
View File

@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
tslib_1.__exportStar(require("./Cache"), exports);
//# sourceMappingURL=index.js.map

1
node_modules/apollo-cache/lib/types/index.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;AACA,kDAAwB"}

5
node_modules/apollo-cache/lib/utils.d.ts generated vendored Normal file
View File

@@ -0,0 +1,5 @@
import { DocumentNode } from 'graphql';
export declare function queryFromPojo(obj: any): DocumentNode;
export declare function fragmentFromPojo(obj: any, typename?: string): DocumentNode;
export declare const justTypenameQuery: DocumentNode;
//# sourceMappingURL=utils.d.ts.map

1
node_modules/apollo-cache/lib/utils.d.ts.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EAKb,MAAM,SAAS,CAAC;AAEjB,wBAAgB,aAAa,CAAC,GAAG,EAAE,GAAG,GAAG,YAAY,CAiBpD;AAED,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,GAAG,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,YAAY,CAuB1E;AA6CD,eAAO,MAAM,iBAAiB,EAAE,YA2B/B,CAAC"}

101
node_modules/apollo-cache/lib/utils.js generated vendored Normal file
View File

@@ -0,0 +1,101 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function queryFromPojo(obj) {
var op = {
kind: 'OperationDefinition',
operation: 'query',
name: {
kind: 'Name',
value: 'GeneratedClientQuery',
},
selectionSet: selectionSetFromObj(obj),
};
var out = {
kind: 'Document',
definitions: [op],
};
return out;
}
exports.queryFromPojo = queryFromPojo;
function fragmentFromPojo(obj, typename) {
var frag = {
kind: 'FragmentDefinition',
typeCondition: {
kind: 'NamedType',
name: {
kind: 'Name',
value: typename || '__FakeType',
},
},
name: {
kind: 'Name',
value: 'GeneratedClientQuery',
},
selectionSet: selectionSetFromObj(obj),
};
var out = {
kind: 'Document',
definitions: [frag],
};
return out;
}
exports.fragmentFromPojo = fragmentFromPojo;
function selectionSetFromObj(obj) {
if (typeof obj === 'number' ||
typeof obj === 'boolean' ||
typeof obj === 'string' ||
typeof obj === 'undefined' ||
obj === null) {
return null;
}
if (Array.isArray(obj)) {
return selectionSetFromObj(obj[0]);
}
var selections = [];
Object.keys(obj).forEach(function (key) {
var nestedSelSet = selectionSetFromObj(obj[key]);
var field = {
kind: 'Field',
name: {
kind: 'Name',
value: key,
},
selectionSet: nestedSelSet || undefined,
};
selections.push(field);
});
var selectionSet = {
kind: 'SelectionSet',
selections: selections,
};
return selectionSet;
}
exports.justTypenameQuery = {
kind: 'Document',
definitions: [
{
kind: 'OperationDefinition',
operation: 'query',
name: null,
variableDefinitions: null,
directives: [],
selectionSet: {
kind: 'SelectionSet',
selections: [
{
kind: 'Field',
alias: null,
name: {
kind: 'Name',
value: '__typename',
},
arguments: [],
directives: [],
selectionSet: null,
},
],
},
},
],
};
//# sourceMappingURL=utils.js.map

1
node_modules/apollo-cache/lib/utils.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;AAQA,SAAgB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