WIP - add extractor, generate snippet_data
This commit is contained in:
15
node_modules/graphql-compose/mjs/directive/default.js.flow
generated
vendored
Normal file
15
node_modules/graphql-compose/mjs/directive/default.js.flow
generated
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
/* @flow */
|
||||
|
||||
import { GraphQLDirective, DirectiveLocation, GraphQLNonNull } from '../graphql';
|
||||
import GraphQLJSON from '../type/json';
|
||||
|
||||
export default new GraphQLDirective({
|
||||
name: 'default',
|
||||
description: 'Provides default value for input field.',
|
||||
locations: [DirectiveLocation.INPUT_FIELD_DEFINITION],
|
||||
args: {
|
||||
value: {
|
||||
type: new GraphQLNonNull(GraphQLJSON),
|
||||
},
|
||||
},
|
||||
});
|
||||
12
node_modules/graphql-compose/mjs/directive/default.mjs
generated
vendored
Normal file
12
node_modules/graphql-compose/mjs/directive/default.mjs
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
import { GraphQLDirective, DirectiveLocation, GraphQLNonNull } from '../graphql';
|
||||
import GraphQLJSON from '../type/json';
|
||||
export default new GraphQLDirective({
|
||||
name: 'default',
|
||||
description: 'Provides default value for input field.',
|
||||
locations: [DirectiveLocation.INPUT_FIELD_DEFINITION],
|
||||
args: {
|
||||
value: {
|
||||
type: new GraphQLNonNull(GraphQLJSON)
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user