@valueflows/vf-graphql
Version:
Reference GraphQL implementation of the ValueFlows spec
97 lines (76 loc) • 1.92 kB
JavaScript
// Generated by scripts/build.js - edit the *.gql file instead!
module.exports = `
##
#
# ProcessSpecification module
#
# Provides functionality for classifying and organising Processes.
#
# @depends measurement.gql
# @package vf-graphql
# @since 2022-05-27
#
##
"""
Specifies the kind of process.
"""
type ProcessSpecification {
id: ID!
revisionId: ID!
"An informal or formal textual identifier for the process. Does not imply uniqueness."
name: String!
"A textual description or comment."
note: String
"The image of the process."
image: String
}
##
# API input and output types
##
input ProcessSpecificationCreateParams {
"An informal or formal textual identifier for the process. Does not imply uniqueness."
name: String!
"A textual description or comment."
note: String
"The image of the process."
image: String
}
input ProcessSpecificationUpdateParams {
revisionId: ID!
"An informal or formal textual identifier for the process. Does not imply uniqueness."
name: String
"A textual description or comment."
note: String
"The image of the process."
image: String
}
type ProcessSpecificationResponse {
processSpecification: ProcessSpecification!
}
type ProcessSpecificationConnection {
edges: [ProcessSpecificationEdge!]!
pageInfo: PageInfo!
}
type ProcessSpecificationEdge {
node: ProcessSpecification!
cursor: String!
}
type Query {
processSpecification(id: ID!): ProcessSpecification
processSpecifications(
first: Int
after: String
last: Int
before: String
): ProcessSpecificationConnection!
}
type Mutation {
createProcessSpecification(
processSpecification: ProcessSpecificationCreateParams!
): ProcessSpecificationResponse!
updateProcessSpecification(
processSpecification: ProcessSpecificationUpdateParams!
): ProcessSpecificationResponse!
deleteProcessSpecification(revisionId: ID!): Boolean!
}
`