@valueflows/vf-graphql
Version:
Reference GraphQL implementation of the ValueFlows spec
38 lines (29 loc) • 1.1 kB
JavaScript
// Generated by scripts/build.js - edit the *.gql file instead!
module.exports = `
##
#
# Intent <> ResourceSpecification API
#
# @package vf-graphql
# @since 2022-05-27
#
##
type Intent {
"The primary resource specification or definition of an existing or potential economic resource. A resource will have only one, as this specifies exactly what the resource is."
resourceConformsTo: ResourceSpecification
}
type ResourceSpecification {
intents(first: Int, after: String, last: Int, before: String): IntentConnection
}
##
# API input and output types
##
input IntentCreateParams {
"(\`ResourceSpecification\`) The primary resource specification or definition of an existing or potential economic resource. A resource will have only one, as this specifies exactly what the resource is."
resourceConformsTo: ID
}
input IntentUpdateParams {
"(\`ResourceSpecification\`) The primary resource specification or definition of an existing or potential economic resource. A resource will have only one, as this specifies exactly what the resource is."
resourceConformsTo: ID
}
`