Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function withSubmitComment(operationOptions?: ApolloReactHoc.OperationOption>) {
return ApolloReactHoc.withMutation>(SubmitCommentDocument, {
alias: 'submitComment',
...operationOptions,
});
}
export function withCreateReviewForEpisode(operationOptions?: ApolloReactHoc.OperationOption>) {
return ApolloReactHoc.withMutation>(CreateReviewForEpisodeDocument, {
alias: 'createReviewForEpisode',
...operationOptions,
});
}
export type CreateReviewForEpisodeMutationResult = ApolloReactCommon.MutationResult;
export function withVote(operationOptions?: ApolloReactHoc.OperationOption>) {
return ApolloReactHoc.withMutation>(VoteDocument, {
alias: 'vote',
...operationOptions,
});
}
export type VoteMutationResult = ApolloReactCommon.MutationResult;
export function withVote(operationOptions?: ApolloReactHoc.OperationOption>) {
return ApolloReactHoc.withMutation>(VoteDocument, {
alias: 'vote',
...operationOptions,
});
}
export type VoteMutationResult = ApolloReactCommon.MutationResult;
export function withVote(operationOptions?: ApolloReactHoc.OperationOption>) {
return ApolloReactHoc.withMutation>(VoteDocument, {
alias: 'vote',
...operationOptions,
});
}
export function withSubmitComment(operationOptions?: ApolloReactHoc.OperationOption>) {
return ApolloReactHoc.withMutation>(SubmitCommentDocument, {
alias: 'submitComment',
...operationOptions,
});
}
export type SubmitCommentMutationResult = ApolloReactCommon.MutationResult;
export function withSubmitRepository(operationOptions?: ApolloReactHoc.OperationOption>) {
return ApolloReactHoc.withMutation>(SubmitRepositoryDocument, {
alias: 'submitRepository',
...operationOptions,
});
}
export type SubmitRepositoryMutationResult = ApolloReactCommon.MutationResult;
export function withSubmitComment(operationOptions?: ApolloReactHoc.OperationOption>) {
return ApolloReactHoc.withMutation>(SubmitCommentDocument, {
alias: 'submitComment',
...operationOptions,
});
}
export type SubmitCommentMutationResult = ApolloReactCommon.MutationResult;
export function withAddCounterState(operationOptions?: ApolloReactHoc.OperationOption<
TProps,
AddCounterStateMutation,
AddCounterStateMutationVariables,
AddCounterStateProps>) {
return ApolloReactHoc.withMutation>(AddCounterStateDocument, {
alias: 'addCounterState',
...operationOptions
});
};
export type AddCounterStateMutationResult = ApolloReactCommon.MutationResult;
export function withAddCounter(operationOptions?: ApolloReactHoc.OperationOption<
TProps,
AddCounterMutation,
AddCounterMutationVariables,
AddCounterProps>) {
return ApolloReactHoc.withMutation>(AddCounterDocument, {
alias: 'addCounter',
...operationOptions
});
};
export type AddCounterMutationResult = ApolloReactCommon.MutationResult;