mirror of
https://github.com/CamHenlin/MessagesForMacintosh.git
synced 2025-02-18 05:30:26 +00:00
18 lines
839 B
TypeScript
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
|