simple-graphql
Advanced tools
Comparing version 5.0.5 to 5.0.6
@@ -111,3 +111,3 @@ import { GraphQLFieldResolver, GraphQLInputType, GraphQLInterfaceType, GraphQLOutputType, GraphQLResolveInfo } from 'graphql'; | ||
}; | ||
export declare type SGFieldTypeDefinition<S1 extends SGFieldTypeMetadata = SGFieldTypeMetadata, S2 extends SGFieldTypeMetadata = S1, S3 extends SGFieldTypeMetadata = S2, S4 extends SGFieldTypeMetadata = S3> = ({ | ||
export declare type SGFieldTypeDefinition<S1 extends SGFieldTypeMetadata = SGFieldTypeMetadata, S2 extends SGFieldTypeMetadata = S1> = ({ | ||
type: 'String' | 'Number' | 'Integer' | 'Date' | 'JSON' | 'Boolean' | string; | ||
@@ -129,3 +129,3 @@ enum?: undefined; | ||
} | { | ||
elements: SGFieldTypeDefinition<S2, S3, S4>; | ||
elements: SGFieldTypeDefinition<S2>; | ||
type?: undefined; | ||
@@ -139,3 +139,3 @@ enum?: undefined; | ||
properties: { | ||
[key: string]: SGFieldTypeDefinition<S2, S3, S4>; | ||
[key: string]: SGFieldTypeDefinition<S2>; | ||
}; | ||
@@ -149,3 +149,3 @@ type?: undefined; | ||
} | { | ||
values: SGFieldTypeDefinition<S2, S3, S4>; | ||
values: SGFieldTypeDefinition<S2>; | ||
type?: undefined; | ||
@@ -160,3 +160,3 @@ enum?: undefined; | ||
mapping: { | ||
[key: string]: SGFieldTypeDefinition<S2, S3, S4>; | ||
[key: string]: SGFieldTypeDefinition<S2>; | ||
}; | ||
@@ -170,3 +170,3 @@ type?: undefined; | ||
definitions?: { | ||
[key: string]: SGFieldTypeDefinition<S2, S3, S4>; | ||
[key: string]: SGFieldTypeDefinition<S2>; | ||
}; | ||
@@ -180,3 +180,3 @@ nullable?: boolean; | ||
}; | ||
export declare type SGOutputFieldConfig<S1 = any, S2 = any, S3 = any, S4 = any, S5 = any> = SGFieldTypeDefinition<SGOutputFieldTypeMetadata<S1, S2>, SGOutputFieldTypeMetadata<S2, S3>, SGOutputFieldTypeMetadata<S3, S4>, SGOutputFieldTypeMetadata<S4, S5>>; | ||
export declare type SGOutputFieldConfig<S1 = any, S2 = any, S3 = any> = SGFieldTypeDefinition<SGOutputFieldTypeMetadata<S1, S2>, SGOutputFieldTypeMetadata<S2, S3>>; | ||
export declare type SGOutputFieldConfigMap<T = any> = { | ||
@@ -183,0 +183,0 @@ [key: string]: SGOutputFieldConfig<T>; |
@@ -5,4 +5,4 @@ import { GraphQLFieldConfigMap } from 'graphql'; | ||
declare const toGraphQLFieldConfigMap: (name: string, postfix: string, fields: { | ||
[id: string]: SGOutputFieldConfig<any, any, any, any, any>; | ||
[id: string]: SGOutputFieldConfig<any, any, any>; | ||
}, context: Context) => GraphQLFieldConfigMap<any, any>; | ||
export default toGraphQLFieldConfigMap; |
{ | ||
"name": "simple-graphql", | ||
"version": "5.0.5", | ||
"version": "5.0.6", | ||
"description": "The simple way to generates GraphQL schemas and Sequelize models from your models definition.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
339285