OpAttributionKey Interface
AttributionKey representing a reference to some op in the op stream. Content associated with this key aligns with content modified by that op.
To use, import via @fluidframework/runtime-definitions/legacy
.
For more information about our API support guarantees, see here.
Signature
export interface OpAttributionKey
Properties
Property | Alerts | Type | Description |
---|---|---|---|
seq | Alpha |
number | The sequenceNumber of the op this attribution key is for. |
type | Alpha |
"op" |
The type of attribution this key corresponds to. Keys currently all represent op-based attribution, so have the form |
Property Details
seq
The sequenceNumber of the op this attribution key is for.
To use, import via @fluidframework/runtime-definitions/alpha
.
For more information about our API support guarantees, see here.
Signature
seq: number;
Type: number
type
The type of attribution this key corresponds to.
Keys currently all represent op-based attribution, so have the form { type: "op", key: sequenceNumber }
. Thus, they can be used with an OpStreamAttributor
to recover timestamp/user information.
To use, import via @fluidframework/runtime-definitions/alpha
.
For more information about our API support guarantees, see here.
Signature
type: "op";
Type: "op"