@@ -3,7 +3,7 @@ import { assertNumber, bigint } from '../protocol/serialization';
33import { Entry } from './entry' ;
44import { OutputElementStyle } from './styles' ;
55
6- export const TimeGraphEntrySchema : Schema = {
6+ export const TimeGraphEntrySchema : Schema < TimeGraphEntry > = {
77 end : bigint ,
88 id : assertNumber ,
99 parentId : assertNumber ,
@@ -25,7 +25,7 @@ export interface TimeGraphEntry extends Entry {
2525 end : bigint ;
2626}
2727
28- const TimeGraphStateSchema : Schema = {
28+ const TimeGraphStateSchema : Schema < TimeGraphState > = {
2929 end : bigint ,
3030 start : bigint ,
3131 tags : assertNumber ,
@@ -61,7 +61,7 @@ export interface TimeGraphState {
6161 style ?: OutputElementStyle ;
6262}
6363
64- export const TimeGraphRowSchema : Schema = {
64+ export const TimeGraphRowSchema : Schema < TimeGraphRow > = {
6565 entryId : assertNumber ,
6666 states : [ TimeGraphStateSchema ] ,
6767} ;
@@ -81,7 +81,7 @@ export interface TimeGraphRow {
8181 states : TimeGraphState [ ] ;
8282}
8383
84- export const TimeGraphModelSchema : Schema = {
84+ export const TimeGraphModelSchema : Schema < TimeGraphModel > = {
8585 rows : [ TimeGraphRowSchema ] ,
8686} ;
8787
@@ -92,7 +92,7 @@ export interface TimeGraphModel {
9292 rows : TimeGraphRow [ ] ;
9393}
9494
95- export const TimeGraphArrowSchema : Schema = {
95+ export const TimeGraphArrowSchema : Schema < TimeGraphArrow > = {
9696 end : bigint ,
9797 sourceId : assertNumber ,
9898 start : bigint ,
0 commit comments