Skip to content

Commit 1741efb

Browse files
committed
Align Bookmark data structure with TSP specification
- Rename startTime to start - Rename endTime to end - Remove type Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
1 parent 02d2099 commit 1741efb

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

tsp-typescript-client/src/models/bookmark.ts

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { createNormalizer } from '../protocol/serialization';
22

33
export const Bookmark = createNormalizer<Bookmark>({
4-
endTime: BigInt,
5-
startTime: BigInt,
4+
end: BigInt,
5+
start: BigInt,
66
});
77

88
/**
@@ -22,15 +22,10 @@ export interface Bookmark {
2222
/**
2323
* Start time for the bookmark
2424
*/
25-
startTime: bigint;
25+
start: bigint;
2626

2727
/**
2828
* End time for the bookmark
2929
*/
30-
endTime: bigint;
31-
32-
/**
33-
* Type of the bookmark
34-
*/
35-
type: string;
30+
end: bigint;
3631
}

0 commit comments

Comments
 (0)