fix: update busevent type (#1084)

This commit is contained in:
botond 2022-08-23 17:44:47 +01:00 committed by GitHub
parent b7ea0f5840
commit 457c914fd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ export const getMockBusEventsResult = (): BlockTime => ({
busEvents: [
{
__typename: 'BusEvent',
eventId: '0',
id: '0',
},
],
});

View File

@ -12,7 +12,7 @@ export interface BlockTime_busEvents {
/**
* the ID for this event
*/
eventId: string;
id: string;
}
export interface BlockTime {

View File

@ -14,7 +14,7 @@ export const STATS_QUERY = gql`
export const TIME_UPDATE_SUBSCRIPTION = gql`
subscription BlockTime {
busEvents(types: TimeUpdate, batchSize: 1) {
eventId
id
}
}
`;