UNPKG

@boostercloud/application-tester

Version:

Contains Booster types related to the information extracted from the user project

21 lines (20 loc) 593 B
export interface ApplicationOutputs { graphqlURL: string; websocketURL: string; healthURL: string; } export interface Counters { subscriptions(): Promise<number>; connections(): Promise<number>; readModels(readModelName: string): Promise<number>; events(): Promise<number>; } export interface Queries { events(primaryKey: string): Promise<Array<unknown>>; readModels(primaryKey: string, readModelName: string): Promise<Array<unknown>>; } export interface ProviderTestHelper { outputs: ApplicationOutputs; counters: Counters; queries: Queries; }