@valueflows/vf-graphql
Version:
Reference GraphQL implementation of the ValueFlows spec
40 lines (30 loc) • 959 B
JavaScript
// Generated by scripts/build.js - edit the *.gql file instead!
module.exports = `
##
#
# Agent <> Plan API
#
# Provides information about the relationships between agents and plans.
#
# @package
# @author pospi <pospi@spadgos.com>
# @since 2021-12-13
#
##
type Plan {
##############################################################################
# inverse relationships and queries
"Grouping around something to create a boundary or context, used for documenting, accounting, planning."
inScopeOf: [AccountingScope!]
involvedAgents(first: Int, after: String, last: Int, before: String): AgentConnection
}
interface Agent {
plans(first: Int, after: String, last: Int, before: String): PlanConnection
}
type Person implements Agent {
plans(first: Int, after: String, last: Int, before: String): PlanConnection
}
type Organization implements Agent {
plans(first: Int, after: String, last: Int, before: String): PlanConnection
}
`