Skip to main content

Interface: ActivityGroupKey

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

What an aggregate line is a line of.

Which fields are populated is chosen by the request's groupBy: one for the single-axis groupings, and both workspaceUuid and family for workspace_family. Optional fields rather than a union because the client renders a line the same way whichever is set, and a discriminated union here would buy nothing but a tag.

family is a property of the event vocabulary (:mod:lib.activity.families), computed server-side and sent as a closed token. The client translates the token and never learns which types are in it — the drill query that narrows to them is issued here, so there is no membership table on the wire and therefore none to go stale in a client.

Properties

eventType?

optional eventType: ActivityEventType | null

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


family?

optional family: ActivityEventFamily | null

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


outcome?

optional outcome: ActivityOutcome | null

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


workspaceUuid?

optional workspaceUuid: string | null

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