diff options
Diffstat (limited to 'sdnr/wt/odlux/apps/performanceHistoryApp/src/models/availableLtps.ts')
-rw-r--r-- | sdnr/wt/odlux/apps/performanceHistoryApp/src/models/availableLtps.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/availableLtps.ts b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/availableLtps.ts index 15a27f147..d5a6c6888 100644 --- a/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/availableLtps.ts +++ b/sdnr/wt/odlux/apps/performanceHistoryApp/src/models/availableLtps.ts @@ -1,14 +1,14 @@ - export type Ltp = { + export type LtpIds = { key: string } - export type Bucket={ - buckets: Ltp[] + export type Bucket<T>={ + buckets: T[] } /** * Represents distinct available ltps using elasticsearch aggregations structure. */ export type DistinctLtp = { - "uuid-interface": Bucket + "uuid-interface": Bucket<LtpIds> } |