@valueflows/vf-graphql
Version:
Reference GraphQL implementation of the ValueFlows spec
41 lines (32 loc) • 846 B
JavaScript
// Generated by scripts/build.js - edit the *.gql file instead!
module.exports = `
##
#
# Commitment <> Observation API
#
# Extends Commitments with the ability to reference concrete Economic Resources
#
# @package vf-graphql
# @since 2022-05-27
#
##
type Commitment {
"Exact economic resource involved in the commitment."
resourceInventoriedAs: EconomicResource
fulfilledBy: [EconomicEvent!]
}
type EconomicResource {
commitments(first: Int, after: String, last: Int, before: String): CommitmentConnection
}
##
# API input and output types
##
input CommitmentCreateParams {
"(\`EconomicResource\`) Exact economic resource involved in the commitment."
resourceInventoriedAs: ID
}
input CommitmentUpdateParams {
"(\`EconomicResource\`) Exact economic resource involved in the commitment."
resourceInventoriedAs: ID
}
`