1 | export declare class MutationStore {
|
2 | private store;
|
3 | getStore(): {
|
4 | [mutationId: string]: MutationStoreValue;
|
5 | };
|
6 | get(mutationId: string): MutationStoreValue;
|
7 | initMutation(mutationId: string, mutationString: string, variables: Object | undefined): void;
|
8 | markMutationError(mutationId: string, error: Error): void;
|
9 | markMutationResult(mutationId: string): void;
|
10 | reset(): void;
|
11 | }
|
12 | export interface MutationStoreValue {
|
13 | mutationString: string;
|
14 | variables: Object;
|
15 | loading: boolean;
|
16 | error: Error | null;
|
17 | }
|
18 |
|
\ | No newline at end of file |