Interface: ActivityAggregateLine
Defined in: packages/sdk/src/types/generated/activity_feed.ts:56
One count, and the query that reproduces exactly those rows.
bucketStart is a naive local-calendar label, not an instant:
date(bucket_hour) recomposes the workspace's calendar day exactly,
including half-hour-offset zones, and re-anchoring it to UTC on the way out
would destroy the property the whole column exists for. bucketLabel is
that same value rendered at the line's grain, so a client never has to
reimplement the truncation.
attentionDrill is a different question, issued only on a line whose
outcome is not ok, and the difference is the point rather than a wart.
drill narrows to the events this line counted, and executing it returns
exactly count rows. attentionDrill opens the one view filtered to
has-open-state for the same scope and the kinds this line's types feed —
"what is still open here" — and that number is legitimately different: five
calls were missed in that hour, and three of them have since been returned.
The two answer "what happened" and "what is still owed", which is exactly
the pair of questions the surface's two lanes used to exist for; under the
one view they are one stream and a filter, and this field is the filter
activation the count carries. It is not a second drill and must never be
presented as one; a UI that showed count and then opened this is
obliged to say it is changing the question.
drill is the contract. It is the request that produced this line,
narrowed to this line's bucket, group and the next finer grain — issued by
the server and POSTed back verbatim. At the event grain there is no
finer feed query, so drill is null and the line's own refs are the
destinations.
Executing it on a quiesced substrate returns exactly count rows; under
object-level restriction it returns no more than count; and after new
events land, a refetch of both halves agrees again. It carries no snapshot —
see :class:ActivityResponseEnvelope.
Properties
attentionDrill?
optionalattentionDrill:ActivityOneViewRequest|null
Defined in: packages/sdk/src/types/generated/activity_feed.ts:63
bucketLabel
bucketLabel:
string
Defined in: packages/sdk/src/types/generated/activity_feed.ts:57
bucketStart
bucketStart:
string
Defined in: packages/sdk/src/types/generated/activity_feed.ts:58
count
count:
number
Defined in: packages/sdk/src/types/generated/activity_feed.ts:61
Minimum
0
drill?
optionaldrill:ActivityFeedQueryRequest|null
Defined in: packages/sdk/src/types/generated/activity_feed.ts:62
groupKey
groupKey:
ActivityGroupKey
Defined in: packages/sdk/src/types/generated/activity_feed.ts:59