@valueflows/vf-graphql
Version:
Reference GraphQL implementation of the ValueFlows spec
50 lines (38 loc) • 977 B
JavaScript
// Generated by scripts/build.js - edit the *.gql file instead!
module.exports = `
##
#
# Commitment <> Plan API
#
# Augments Commitments with the ability to be referenced in Plans.
#
# @package vf-graphql
# @since 2020-02-12
#
##
type Commitment {
"Represents a desired deliverable expected from this plan."
independentDemandOf: Plan
"The transfer commitment is part of the plan."
plannedWithin: Plan
}
type Plan {
independentDemands: [Commitment!]
nonProcessCommitments: [Commitment!]
}
##
# API input and output types
##
input CommitmentCreateParams {
"(\`Plan\`) Represents a desired deliverable expected from this plan."
independentDemandOf: ID
"(\`Plan\`) The transfer commitment is part of the plan."
plannedWithin: ID
}
input CommitmentUpdateParams {
"(\`Plan\`) Represents a desired deliverable expected from this plan."
independentDemandOf: ID
"(\`Plan\`) The transfer commitment is part of the plan."
plannedWithin: ID
}
`