@homebound/graphql-typescript-simple-resolvers
Advanced tools
Comparing version 1.17.0 to 1.18.0
@@ -5,4 +5,4 @@ import { Context, AuthorId, Popularity } from "./entities"; | ||
export interface Resolvers { | ||
Author: AuthorResolvers; | ||
Query: QueryResolvers; | ||
Author: AuthorResolvers; | ||
Mutation: MutationResolvers; | ||
@@ -15,8 +15,2 @@ AuthorSummary?: AuthorSummaryResolvers; | ||
export interface QueryResolvers { | ||
authors: Resolver<{}, QueryAuthorsArgs, AuthorId[]>; | ||
authorSummaries: Resolver<{}, {}, AuthorSummary[]>; | ||
search: Resolver<{}, QuerySearchArgs, Array<AuthorId | Book>>; | ||
} | ||
export interface AuthorResolvers { | ||
@@ -30,2 +24,8 @@ name: Resolver<AuthorId, {}, string>; | ||
export interface QueryResolvers { | ||
authors: Resolver<{}, QueryAuthorsArgs, AuthorId[]>; | ||
authorSummaries: Resolver<{}, {}, AuthorSummary[]>; | ||
search: Resolver<{}, QuerySearchArgs, Array<AuthorId | Book>>; | ||
} | ||
export interface MutationResolvers { | ||
@@ -32,0 +32,0 @@ saveAuthor: Resolver<{}, MutationSaveAuthorArgs, SaveAuthorResult>; |
{ | ||
"name": "@homebound/graphql-typescript-simple-resolvers", | ||
"version": "1.17.0", | ||
"version": "1.18.0", | ||
"main": "./build/index.js", | ||
@@ -15,3 +15,3 @@ "types": "./build/", | ||
"dependencies": { | ||
"@graphql-codegen/plugin-helpers": "^1.12.1", | ||
"@graphql-codegen/plugin-helpers": "^1.13.2", | ||
"change-case": "^4.1.1", | ||
@@ -21,3 +21,4 @@ "ts-poet": "^3.0.0" | ||
"devDependencies": { | ||
"@graphql-codegen/cli": "^1.12.1", | ||
"@graphql-codegen/cli": "^1.13.2", | ||
"graphql": "^15.0.0", | ||
"eslint-config-prettier": "^6.5.0", | ||
@@ -24,0 +25,0 @@ "eslint-plugin-prettier": "^3.1.1", |
Sorry, the diff of this file is not supported yet
19811
9