Skip to content

Commit

Permalink
Move facet inside of core public typing
Browse files Browse the repository at this point in the history
  • Loading branch information
samccone committed Oct 8, 2019
1 parent 9713253 commit d71d402
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/format.d.ts
Expand Up @@ -46,6 +46,9 @@ export interface TimelineEvent<T = never> {
// Text label to be associated with the timeline entry
label: string;

// Additional [optiona] text based information to bucket events by.
facet?: string;

// Process / Thread that the events are associated with.
rowId: string;

Expand All @@ -59,7 +62,6 @@ export interface InternalTimelineEvent<T = never> extends TimelineEvent<T> {
duration?: number;
// Process / Thread index
row?: number;
facet?: string;
// Internal ID for Event tracking [Shared with RenderOp]
uuid?: string;
}
Expand Down

0 comments on commit d71d402

Please sign in to comment.