Files
coopgo/node_modules/apollo-cache-inmemory/lib/fragmentMatcher.d.ts
sgauthier 6e64e138e2
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
planning
2024-10-14 09:15:30 +02:00

18 lines
839 B
TypeScript

import { IdValue } from 'apollo-utilities';
import { ReadStoreContext, FragmentMatcherInterface, IntrospectionResultData } from './types';
export declare class HeuristicFragmentMatcher implements FragmentMatcherInterface {
constructor();
ensureReady(): Promise<void>;
canBypassInit(): boolean;
match(idValue: IdValue, typeCondition: string, context: ReadStoreContext): boolean | 'heuristic';
}
export declare class IntrospectionFragmentMatcher implements FragmentMatcherInterface {
private isReady;
private possibleTypesMap;
constructor(options?: {
introspectionQueryResultData?: IntrospectionResultData;
});
match(idValue: IdValue, typeCondition: string, context: ReadStoreContext): boolean;
private parseIntrospectionResult;
}
//# sourceMappingURL=fragmentMatcher.d.ts.map