Skip to main content

ResourceTypeConsumer

A bundle with a dependency that accepts a resource type, and the dependency field that accepts it.

type ResourceTypeConsumer {
bundle: Bundle!
field: String!
required: Boolean!
versionConstraint: String
}

Fields​

ResourceTypeConsumer.bundle ● Bundle! non-null object {#bundle}​

The bundle, at its newest stable version.

ResourceTypeConsumer.field ● String! non-null scalar {#field}​

The name of the dependency field that accepts the resource type (e.g., database).

ResourceTypeConsumer.required ● Boolean! non-null scalar {#required}​

When true, the dependency must be connected before the bundle can be deployed.

ResourceTypeConsumer.versionConstraint ● String scalar {#version-constraint}​

The version range of the resource type this dependency accepts, as declared in the bundle: an exact version (1.2.3), a tilde range (~1, ~1.2), or a channel (latest, latest+dev). null for bundles published before dependencies declared a version range.

Member Of​

ResourceTypeConsumersPage object