mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
refactor(tabs): enhance Tab interface with navigation and metadata
This commit is contained in:
@@ -1,7 +1,25 @@
|
||||
export interface Tab {
|
||||
id: number;
|
||||
name: string;
|
||||
tags: string[];
|
||||
createdAt: number;
|
||||
activatedAt?: number;
|
||||
}
|
||||
export interface Tab {
|
||||
id: number;
|
||||
name: string;
|
||||
navigation: TabNavigation;
|
||||
createdAt: number;
|
||||
activatedAt?: number;
|
||||
metadata: TabMetadata;
|
||||
/** @deprecated */
|
||||
tags: string[];
|
||||
}
|
||||
|
||||
export interface TabNavigation {
|
||||
current: number;
|
||||
locations: TabLocation[];
|
||||
}
|
||||
|
||||
export interface TabLocation {
|
||||
timestamp: number;
|
||||
title: string;
|
||||
url: string;
|
||||
}
|
||||
|
||||
export interface TabMetadata {
|
||||
[key: string]: unknown;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user