BundleEvent
A lifecycle event for a published bundle version.
Emitted with action CREATED each time a new bundle release is pushed to
an OCI repository in the organization. Bundle versions are immutable, so
neither UPDATED nor DELETED is emitted today. Subscribe via
organizationEvents.
type BundleEvent implements Event {
action: EventAction!
timestamp: DateTime!
bundle: Bundle!
}
Fields
BundleEvent.action ● EventAction! non-null enum {#action}
BundleEvent.timestamp ● DateTime! non-null scalar {#timestamp}
BundleEvent.bundle ● Bundle! non-null object {#bundle}
The bundle version that was published.
Interfaces
Event interface
Base interface implemented by all lifecycle events.
Every event carries an action describing what happened and a timestamp recording
when it occurred. Concrete event types add a field for the affected resource.
Because each subscription returns a union, use an ... on Event fragment to
access the shared fields and concrete fragments for the resource payload:
subscription {
projectEvents(organizationId: "my-org", projectId: "my-project") {
... on Event { action timestamp }
... on ComponentEvent {
component { id name }
}
... on LinkEvent {
link { id fromField toField }
}
}
}