Skip to content

ComponentVersion ​

Version of a component. Can specifies visible/invisible InterfaceSpecifications. Can be used in Relations, affected by issues and included by Projects. READ is granted if READ is granted on component.

graphql
type ComponentVersion implements AffectedByIssue, BaseNode, MutableTemplatedNode, Node, RelationPartner, TemplatedNode, Versioned {
  affectingIssues(
    after: String
    before: String
    filter: IssueFilterInput
    first: Int
    last: Int
    orderBy: [IssueOrder!]
    skip: Int
  ): IssueConnection!
  aggregatedIssues(
    after: String
    before: String
    filter: AggregatedIssueFilterInput
    first: Int
    last: Int
    orderBy: [AggregatedIssueOrder!]
    skip: Int
  ): AggregatedIssueConnection!
  component: Component!
  hasPermission(
    permission: AllPermissionEntry
  ): Boolean!
  id: ID!
  includingProjects(
    after: String
    before: String
    filter: ProjectFilterInput
    first: Int
    last: Int
    orderBy: [ProjectOrder!]
    skip: Int
  ): ProjectConnection!
  incomingRelations(
    after: String
    before: String
    filter: RelationFilterInput
    first: Int
    last: Int
    orderBy: [RelationOrder!]
    skip: Int
  ): RelationConnection!
  interfaceDefinitions(
    after: String
    before: String
    filter: InterfaceDefinitionFilterInput
    first: Int
    last: Int
    orderBy: [InterfaceDefinitionOrder!]
    skip: Int
  ): InterfaceDefinitionConnection!
  intraComponentDependencySpecifications(
    after: String
    before: String
    filter: IntraComponentDependencySpecificationFilterInput
    first: Int
    last: Int
    orderBy: [IntraComponentDependencySpecificationOrder!]
    skip: Int
  ): IntraComponentDependencySpecificationConnection!
  outgoingRelations(
    after: String
    before: String
    filter: RelationFilterInput
    first: Int
    last: Int
    orderBy: [RelationOrder!]
    skip: Int
  ): RelationConnection!
  tags: [String!]!
  template: ComponentVersionTemplate!
  templatedField(
    name: String!
  ): JSON
  templatedFields(
    names: [String!]
    prefixMatching: Boolean
  ): [JSONField!]!
  version: String!
}

Fields ​

ComponentVersion.affectingIssues ● IssueConnection! non-null object ​

The issues which affect this entity

ComponentVersion.affectingIssues.after ● String scalar ​

Get only items after the cursor

ComponentVersion.affectingIssues.before ● String scalar ​

Get only items before the cursor

ComponentVersion.affectingIssues.filter ● IssueFilterInput input ​

Filter for specific items in the connection

ComponentVersion.affectingIssues.first ● Int scalar ​

Get the first n items. Must not be used if before is specified

ComponentVersion.affectingIssues.last ● Int scalar ​

Get the last n items. Must not be used if after is specified

ComponentVersion.affectingIssues.orderBy ● [IssueOrder!] list input ​

Order in which the items are sorted

ComponentVersion.affectingIssues.skip ● Int scalar ​

Skips n items. First or last MUST be specified, is otherwise ignored

ComponentVersion.aggregatedIssues ● AggregatedIssueConnection! non-null object ​

AggregatedIssues on this RelationPartner.

ComponentVersion.aggregatedIssues.after ● String scalar ​

Get only items after the cursor

ComponentVersion.aggregatedIssues.before ● String scalar ​

Get only items before the cursor

ComponentVersion.aggregatedIssues.filter ● AggregatedIssueFilterInput input ​

Filter for specific items in the connection

ComponentVersion.aggregatedIssues.first ● Int scalar ​

Get the first n items. Must not be used if before is specified

ComponentVersion.aggregatedIssues.last ● Int scalar ​

Get the last n items. Must not be used if after is specified

ComponentVersion.aggregatedIssues.orderBy ● [AggregatedIssueOrder!] list input ​

Order in which the items are sorted

ComponentVersion.aggregatedIssues.skip ● Int scalar ​

Skips n items. First or last MUST be specified, is otherwise ignored

ComponentVersion.component ● Component! non-null object ​

The Component which defines this ComponentVersions

ComponentVersion.hasPermission ● Boolean! non-null scalar ​

Checks if the current user has a specific permission on this Node

ComponentVersion.hasPermission.permission ● AllPermissionEntry enum ​

The permission to check for

ComponentVersion.id ● ID! non-null scalar ​

The unique id of this node

ComponentVersion.includingProjects ● ProjectConnection! non-null object ​

Projects which include this ComponentVersion

ComponentVersion.includingProjects.after ● String scalar ​

Get only items after the cursor

ComponentVersion.includingProjects.before ● String scalar ​

Get only items before the cursor

ComponentVersion.includingProjects.filter ● ProjectFilterInput input ​

Filter for specific items in the connection

ComponentVersion.includingProjects.first ● Int scalar ​

Get the first n items. Must not be used if before is specified

ComponentVersion.includingProjects.last ● Int scalar ​

Get the last n items. Must not be used if after is specified

ComponentVersion.includingProjects.orderBy ● [ProjectOrder!] list input ​

Order in which the items are sorted

ComponentVersion.includingProjects.skip ● Int scalar ​

Skips n items. First or last MUST be specified, is otherwise ignored

ComponentVersion.incomingRelations ● RelationConnection! non-null object ​

Relations which use this as the end of the Relation.

ComponentVersion.incomingRelations.after ● String scalar ​

Get only items after the cursor

ComponentVersion.incomingRelations.before ● String scalar ​

Get only items before the cursor

ComponentVersion.incomingRelations.filter ● RelationFilterInput input ​

Filter for specific items in the connection

ComponentVersion.incomingRelations.first ● Int scalar ​

Get the first n items. Must not be used if before is specified

ComponentVersion.incomingRelations.last ● Int scalar ​

Get the last n items. Must not be used if after is specified

ComponentVersion.incomingRelations.orderBy ● [RelationOrder!] list input ​

Order in which the items are sorted

ComponentVersion.incomingRelations.skip ● Int scalar ​

Skips n items. First or last MUST be specified, is otherwise ignored

ComponentVersion.interfaceDefinitions ● InterfaceDefinitionConnection! non-null object ​

InterfaceDefinitions on this ComponentVersion.

ComponentVersion.interfaceDefinitions.after ● String scalar ​

Get only items after the cursor

ComponentVersion.interfaceDefinitions.before ● String scalar ​

Get only items before the cursor

ComponentVersion.interfaceDefinitions.filter ● InterfaceDefinitionFilterInput input ​

Filter for specific items in the connection

ComponentVersion.interfaceDefinitions.first ● Int scalar ​

Get the first n items. Must not be used if before is specified

ComponentVersion.interfaceDefinitions.last ● Int scalar ​

Get the last n items. Must not be used if after is specified

ComponentVersion.interfaceDefinitions.orderBy ● [InterfaceDefinitionOrder!] list input ​

Order in which the items are sorted

ComponentVersion.interfaceDefinitions.skip ● Int scalar ​

Skips n items. First or last MUST be specified, is otherwise ignored

ComponentVersion.intraComponentDependencySpecifications ● IntraComponentDependencySpecificationConnection! non-null object ​

IntraComponentDependencySpecifications associated with this ComponentVersion

ComponentVersion.intraComponentDependencySpecifications.after ● String scalar ​

Get only items after the cursor

ComponentVersion.intraComponentDependencySpecifications.before ● String scalar ​

Get only items before the cursor

ComponentVersion.intraComponentDependencySpecifications.filter ● IntraComponentDependencySpecificationFilterInput input ​

Filter for specific items in the connection

ComponentVersion.intraComponentDependencySpecifications.first ● Int scalar ​

Get the first n items. Must not be used if before is specified

ComponentVersion.intraComponentDependencySpecifications.last ● Int scalar ​

Get the last n items. Must not be used if after is specified

ComponentVersion.intraComponentDependencySpecifications.orderBy ● [IntraComponentDependencySpecificationOrder!] list input ​

Order in which the items are sorted

ComponentVersion.intraComponentDependencySpecifications.skip ● Int scalar ​

Skips n items. First or last MUST be specified, is otherwise ignored

ComponentVersion.outgoingRelations ● RelationConnection! non-null object ​

Relations which use this as the start of the Relation.

ComponentVersion.outgoingRelations.after ● String scalar ​

Get only items after the cursor

ComponentVersion.outgoingRelations.before ● String scalar ​

Get only items before the cursor

ComponentVersion.outgoingRelations.filter ● RelationFilterInput input ​

Filter for specific items in the connection

ComponentVersion.outgoingRelations.first ● Int scalar ​

Get the first n items. Must not be used if before is specified

ComponentVersion.outgoingRelations.last ● Int scalar ​

Get the last n items. Must not be used if after is specified

ComponentVersion.outgoingRelations.orderBy ● [RelationOrder!] list input ​

Order in which the items are sorted

ComponentVersion.outgoingRelations.skip ● Int scalar ​

Skips n items. First or last MUST be specified, is otherwise ignored

ComponentVersion.tags ● [String!]! non-null scalar ​

The tags of this ComponentVersion

ComponentVersion.template ● ComponentVersionTemplate! non-null object ​

The Template of this ComponentVersion

ComponentVersion.templatedField ● JSON scalar ​

Value of a field defined by the template. Error if such a field is not defined.

ComponentVersion.templatedField.name ● String! non-null scalar ​

Name of the extension field

ComponentVersion.templatedFields ● [JSONField!]! non-null object ​

All templatedFields If names is provided, only those matching the name. If prefixMatching is true, matching is done by prefix, otherwise by full name.

ComponentVersion.templatedFields.names ● [String!] list scalar ​

Names of the templated fields. If not provided, all templatedFields.

ComponentVersion.templatedFields.prefixMatching ● Boolean scalar ​

If true, name matching is performed as prefix matching, otherwise as absolute match. Defaults to absolute matching

ComponentVersion.version ● String! non-null scalar ​

The version of this ComponentVersion

Interfaces ​

AffectedByIssue interface ​

Entities that can be affected by an Issue, meaning that this entity is in some regard impacted by e.g. a bug described by an issue, or the non-present of a feature described by an issue.

BaseNode interface ​

Shared extensions to the node type.

MutableTemplatedNode interface ​

Interface for all types which support templates describing user writeable fields.

Node interface ​

Base class of all nodes

RelationPartner interface ​

Entity which can be used as start / end of Relations. Can be affected by Issues.

TemplatedNode interface ​

Interface for all types which support templates.

Versioned interface ​

Entity with a version

Returned By ​

searchComponentVersions query

Member Of ​

AddComponentVersionToProjectPayload object ● AddInterfaceSpecificationVersionToComponentVersionPayload object ● ComponentVersionConnection object ● ComponentVersionEdge object ● CreateComponentVersionPayload object ● InterfaceDefinition object ● IntraComponentDependencySpecification object ● RemoveInterfaceSpecificationVersionFromComponentVersionPayload object ● UpdateComponentVersionPayload object

Released under the MIT License.