UNPKG

@valueflows/vf-graphql

Version:

Reference GraphQL implementation of the ValueFlows spec

49 lines (42 loc) 1.06 kB
// Generated by scripts/build.js - edit the *.gql file instead! module.exports = ` ## # Query filtering parameters for the Planning module # # :TODO: decide on final set # @see https://github.com/dyne/reflow-os/issues/16 # @see https://lab.allmende.io/valueflows/vf-schemas/vf-graphql/-/issues/90 # # @package vf-graphql # @since 2021-11-27 # ## input CommitmentFilterParams { searchString: String action: [ID!] startDate: DateTime endDate: DateTime finished: Boolean } input IntentFilterParams { searchString: String startDate: DateTime endDate: DateTime finished: Boolean action: [ID!] inScopeOf: [ID!] tagIds: [ID!] classifiedAs: [URI!] atLocation: [ID!] agent: [ID!] provider: [ID!] receiver: [ID!] status: String } type Query { commitments(filter: CommitmentFilterParams): CommitmentConnection! intents(filter: IntentFilterParams): IntentConnection! # fulfillments(filter: FulfillmentFilterParams): FulfillmentConnection! # satisfactions(filter: SatisfactionFilterParams): SatisfactionConnection! } `