This commit is contained in:
19
node_modules/apollo-client/data/mutations.d.ts
generated
vendored
Normal file
19
node_modules/apollo-client/data/mutations.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import { DocumentNode } from 'graphql';
|
||||
export declare class MutationStore {
|
||||
private store;
|
||||
getStore(): {
|
||||
[mutationId: string]: MutationStoreValue;
|
||||
};
|
||||
get(mutationId: string): MutationStoreValue;
|
||||
initMutation(mutationId: string, mutation: DocumentNode, variables: Object | undefined): void;
|
||||
markMutationError(mutationId: string, error: Error): void;
|
||||
markMutationResult(mutationId: string): void;
|
||||
reset(): void;
|
||||
}
|
||||
export interface MutationStoreValue {
|
||||
mutation: DocumentNode;
|
||||
variables: Object;
|
||||
loading: boolean;
|
||||
error: Error | null;
|
||||
}
|
||||
//# sourceMappingURL=mutations.d.ts.map
|
||||
Reference in New Issue
Block a user