@valueflows/vf-graphql
Version:
Reference GraphQL implementation of the ValueFlows spec
35 lines (27 loc) • 750 B
JavaScript
// Generated by scripts/build.js - edit the *.gql file instead!
module.exports = `
##
#
# Query filter parameters for Agent <> Process relationships
#
# :TODO: decide on final set
# @see https://lab.allmende.io/valueflows/vf-schemas/vf-graphql/-/issues/90
# @package vf-graphql
# @since 2022-06-07
#
##
"Query parameters for reading \`Process\`es related to an \`Agent\`"
input AgentProcessFilterParams {
searchString: String
finished: Boolean
}
interface Agent {
processes(filter: AgentProcessFilterParams): ProcessConnection
}
type Person implements Agent {
processes(filter: AgentProcessFilterParams): ProcessConnection
}
type Organization implements Agent {
processes(filter: AgentProcessFilterParams): ProcessConnection
}
`