Skip to main content

Interface: ActivityDigestKey

Defined in: packages/sdk/src/types/generated/activity_feed.ts:213

One grouping key a slot read: an actor, a ref, a token, or nothing.

Exactly one of actor, ref and token is populated, decided by the value kind of the binding the slot reads. Which binding that was does not travel: the slot's role is what the reading keys on, and a second axis on the wire that nothing renders is a field to delete.

All three null is a key, not an omission. A payload that names no origin, no Workflow, no data type is a real group — those events happened and they are counted — and the reading says so.

token is always a closed-vocabulary value: it is read out of detail, which a typed emitter wrote from a StrEnum declared in :mod:lib.activity.details, so the client has copy for every value it can receive.

Properties

actor?

optional actor: ActivityDigestActor | null

Defined in: packages/sdk/src/types/generated/activity_feed.ts:214


ref?

optional ref: ActivityRefResponse | null

Defined in: packages/sdk/src/types/generated/activity_feed.ts:215


token?

optional token: string | null

Defined in: packages/sdk/src/types/generated/activity_feed.ts:216