@valueflows/vf-graphql
Version:
Reference GraphQL implementation of the ValueFlows spec
47 lines (37 loc) • 1.59 kB
JavaScript
// Generated by scripts/build.js - edit the *.gql file instead!
module.exports = `
##
#
# Recipe <> ProcessSpecification API
#
# Extends Recipes with ProcessSpecification
#
# @package vf-graphql
# @since 2020-02-12
#
##
type RecipeProcess {
"The standard specification or definition of a process."
processConformsTo: ProcessSpecification
}
type ProcessSpecification {
conformingRecipeProcesses(first: Int, after: String, last: Int, before: String): RecipeProcessConnection
recipeFlowsRequiringStage(first: Int, after: String, last: Int, before: String): RecipeFlowConnection
}
input RecipeProcessCreateParams {
"(\`ProcessSpecification\`) The standard specification or definition of a process."
processConformsTo: ID
}
input RecipeProcessUpdateParams {
"(\`ProcessSpecification\`) The standard specification or definition of a process."
processConformsTo: ID
}
input RecipeFlowCreateParams {
"(\`ProcessSpecification\`) References the ProcessSpecification of the last process the economic resource went through. Stage is used when the last process is important for finding proper resources, such as where the publishing process wants only documents that have gone through the editing process."
stage: ID
}
input RecipeFlowUpdateParams {
"(\`ProcessSpecification\`) References the ProcessSpecification of the last process the economic resource went through. Stage is used when the last process is important for finding proper resources, such as where the publishing process wants only documents that have gone through the editing process."
stage: ID
}
`