@valueflows/vf-graphql
Version:
Reference GraphQL implementation of the ValueFlows spec
50 lines (38 loc) • 936 B
JavaScript
// Generated by scripts/build.js - edit the *.gql file instead!
module.exports = `
##
#
# Process <> Intent API
#
# There is a one-to-many relationship between a Process and Intents.
#
# @package vf-graphql
# @since 2022-05-27
#
##
type Intent {
"Defines the process to which this intent is an input."
inputOf: Process
"Defines the process to which this intent is an output."
outputOf: Process
}
type Process {
intendedInputs: [Intent!]
intendedOutputs: [Intent!]
}
##
# API input and output types
##
input IntentCreateParams {
"(\`Process\`) Defines the process to which this intent is an input."
inputOf: ID
"(\`Process\`) Defines the process to which this intent is an output."
outputOf: ID
}
input IntentUpdateParams {
"(\`Process\`) Defines the process to which this intent is an input."
inputOf: ID
"(\`Process\`) Defines the process to which this intent is an output."
outputOf: ID
}
`