fix: update busevent type (#1084)
This commit is contained in:
parent
b7ea0f5840
commit
457c914fd5
@ -23,7 +23,7 @@ export const getMockBusEventsResult = (): BlockTime => ({
|
|||||||
busEvents: [
|
busEvents: [
|
||||||
{
|
{
|
||||||
__typename: 'BusEvent',
|
__typename: 'BusEvent',
|
||||||
eventId: '0',
|
id: '0',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
@ -12,7 +12,7 @@ export interface BlockTime_busEvents {
|
|||||||
/**
|
/**
|
||||||
* the ID for this event
|
* the ID for this event
|
||||||
*/
|
*/
|
||||||
eventId: string;
|
id: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface BlockTime {
|
export interface BlockTime {
|
||||||
|
@ -14,7 +14,7 @@ export const STATS_QUERY = gql`
|
|||||||
export const TIME_UPDATE_SUBSCRIPTION = gql`
|
export const TIME_UPDATE_SUBSCRIPTION = gql`
|
||||||
subscription BlockTime {
|
subscription BlockTime {
|
||||||
busEvents(types: TimeUpdate, batchSize: 1) {
|
busEvents(types: TimeUpdate, batchSize: 1) {
|
||||||
eventId
|
id
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
Loading…
Reference in New Issue
Block a user