@sample-stack/counter-module-browser
Version:
Sample core for higher packages to depend on
22 lines • 639 B
TypeScript
import { IClientStateDefault } from '@common-stack/client-core';
import { InMemoryCache } from '@apollo/client/cache';
declare const stateDefault: IClientStateDefault;
declare const resolvers: {
Query: {
counterState: (_: any, args: any, { cache }: {
cache: any;
}) => {
counter: any;
__typename: string;
};
};
Mutation: {
addCounterState: (_: any, { amount }: {
amount: any;
}, { cache }: {
cache: InMemoryCache;
}) => Promise<any>;
};
};
export { stateDefault, resolvers };
//# sourceMappingURL=resolvers.d.ts.map