Skip to main content

Interface: ActivityDigestSlot

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

One part of the sentence: a few named examples and how many there are.

role is what the slot is for — the argument the client's message puts it in ({people}, {subjects}, {workflows}) — and it is what copy keys on, so a binding can move from the subject columns to a payload ref without any copy changing.

distinctCount is every distinct key the slice holds, not just the named ones, so the tail writes itself: "and distinctCount − len(examples) other people". nullCount is the events with no value at all for this slot — an anonymous inbound call has nobody to name — and it is reported rather than hidden, because a slot that is mostly null is a sentence that should fall back to a different reading.

Properties

distinctCount

distinctCount: number

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

Minimum

0


examples

examples: ActivityDigestExample[]

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


nullCount

nullCount: number

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

Minimum

0


role

role: DigestSlotRole

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