create-root-schema
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -6,15 +6,11 @@ import { GraphQLSchema } from 'graphql'; | ||
}; | ||
declare type TypeDef = string; | ||
export interface SchemaPart { | ||
resolvers?: IResolvers; | ||
schemaDirectives?: SchemaDirective; | ||
typeDefs?: TypeDef; | ||
} | ||
declare type TypeDef = string | string[]; | ||
export interface SchemaDefinition { | ||
resolvers?: IResolvers; | ||
schemaDirectives?: SchemaDirective; | ||
typeDefs: TypeDef[]; | ||
resolvers: IResolvers; | ||
schemaDirectives: SchemaDirective; | ||
typeDefs: TypeDef; | ||
} | ||
export declare type SchemaPart = Partial<SchemaDefinition>; | ||
export declare function combineSchemaDefinitions(schemaParts: SchemaPart[]): SchemaDefinition; | ||
export declare function makeExecutableSchema(schemaParts: SchemaPart[], options?: object): GraphQLSchema; | ||
export {}; |
{ | ||
"name": "create-root-schema", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/gsandf/create-root-schema", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
306939
57