1type Subscription {
2 """Subscribe to events on all entities. For events on a specific repo you can provide a repo reference. Without it, you get the unique default repo or all repo events."""
3 allEvents(repoRef: String, typename: String): EntityEvent!
4 """Subscribe to identity entity events. For events on a specific repo you can provide a repo reference. Without it, you get the unique default repo or all repo events."""
5 identityEvents(repoRef: String): IdentityEvent!
6 """Subscribe to bug entity events. For events on a specific repo you can provide a repo reference. Without it, you get the unique default repo or all repo events."""
7 bugEvents(repoRef: String): BugEvent!
8}
9
10enum EntityEventType {
11 CREATED
12 UPDATED
13 REMOVED
14}
15
16type EntityEvent {
17 type: EntityEventType!
18 entity: Entity
19}
20
21type IdentityEvent {
22 type: EntityEventType!
23 identity: Identity!
24}
25
26type BugEvent {
27 type: EntityEventType!
28 bug: Bug!
29}