File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
tensorboard/webapp/metrics/store Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ import {
2727} from '../data_source' ;
2828import {
2929 CardId ,
30+ CardIdWithMetadata ,
3031 CardMetadata ,
3132 CardUniqueInfo ,
3233 HistogramMode ,
@@ -166,6 +167,12 @@ export type CardStepIndexMap = Record<
166167 CardStepIndexMetaData | null
167168> ;
168169
170+ export type CardInteractions = {
171+ tagFilters : string [ ] ;
172+ pins : CardIdWithMetadata [ ] ;
173+ clicks : CardIdWithMetadata [ ] ;
174+ } ;
175+
169176export type CardToPinnedCard = Map < NonPinnedCardId , PinnedCardId > ;
170177
171178export type PinnedCardToCard = Map < PinnedCardId , NonPinnedCardId > ;
@@ -254,6 +261,8 @@ export interface MetricsNonNamespacedState {
254261 * Map from ElementId to CardId. Only contains all visible cards.
255262 */
256263 visibleCardMap : Map < ElementId , CardId > ;
264+ previousCardInteractions : CardInteractions ;
265+ newCardInteractions : CardInteractions ;
257266}
258267
259268export type MetricsState = NamespaceContextedState <
You can’t perform that action at this time.
0 commit comments