@valueflows/vf-graphql
Version:
Reference GraphQL implementation of the ValueFlows spec
54 lines (42 loc) • 2.41 kB
JavaScript
// Generated by scripts/build.js - edit the *.gql file instead!
module.exports = `
##
#
# Location <> Agent query indexes
#
# @package vf-graphql
# @since 2020-02-12
#
##
interface Agent {
"The main place an agent is located, often an address where activities occur and mail can be sent. This is usually a mappable geographic location. It also could be a website address, as in the case of agents who have no physical location."
primaryLocation: SpatialThing
}
type Person implements Agent {
"The main place an agent is located, often an address where activities occur and mail can be sent. This is usually a mappable geographic location. It also could be a website address, as in the case of agents who have no physical location."
primaryLocation: SpatialThing
}
type Organization implements Agent {
"The main place an agent is located, often an address where activities occur and mail can be sent. This is usually a mappable geographic location. It also could be a website address, as in the case of agents who have no physical location."
primaryLocation: SpatialThing
}
type SpatialThing {
agents: [Agent!]
}
input AgentCreateParams {
"(\`SpatialThing\`) The main place an agent is located, often an address where activities occur and mail can be sent. This is usually a mappable geographic location. It also could be a website address, as in the case of agents who have no physical location."
primaryLocation: ID
}
input AgentUpdateParams {
"(\`SpatialThing\`) The main place an agent is located, often an address where activities occur and mail can be sent. This is usually a mappable geographic location. It also could be a website address, as in the case of agents who have no physical location."
primaryLocation: ID
}
input OrganizationCreateParams {
"(\`SpatialThing\`) The main place an agent is located, often an address where activities occur and mail can be sent. This is usually a mappable geographic location. It also could be a website address, as in the case of agents who have no physical location."
primaryLocation: ID
}
input OrganizationUpdateParams {
"(\`SpatialThing\`) The main place an agent is located, often an address where activities occur and mail can be sent. This is usually a mappable geographic location. It also could be a website address, as in the case of agents who have no physical location."
primaryLocation: ID
}
`