OciRepoEvent
A lifecycle event for an OCI repository in the organization's bundle catalog.
Emitted with action CREATED the first time a bundle is published under a
new repository name. The registry is immutable — repositories cannot be
renamed or deleted through the API today — so subsequent publishes to an
existing repository fire a BundleEvent instead. Subscribe via
organizationEvents.
type OciRepoEvent implements Event {
action: EventAction!
timestamp: DateTime!
ociRepo: OciRepo!
}
Fields
OciRepoEvent.action ● EventAction! non-null enum {#action}
OciRepoEvent.timestamp ● DateTime! non-null scalar {#timestamp}
OciRepoEvent.ociRepo ● OciRepo! non-null object {#oci-repo}
The OCI repository that was created.
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 }
}
}
}