/** * #telemetry.ts * * Code generated by ts-proto. DO NOT EDIT. * @packageDocumentation */ /** Request to start a new telemetry journey. */ export type StartJourneyRequest = {}; /** Response for starting a journey. */ export type StartJourneyResponse = { /** * Unique identifier for the journey. * Example: "journey_1234567890" */ journeyId: string; }; /** Request to record progress within a journey. */ export type JourneyProgressRequest = { /** * Unique identifier for the journey. * Example: "journey_1234567890" */ journeyId: string; /** * Normalized progress value between 0.0 and 1.0. * Example: 0.5 */ progress: number; /** * The action that occurred during the progress update. * Example: "level_complete" */ action?: string | undefined; /** * Additional details about the action. * Example: "level_3" */ actionDetails?: string | undefined; }; /** Response for recording journey progress. */ export type JourneyProgressResponse = {}; /** Request to record an interaction within a journey. */ export type JourneyInteractionRequest = { /** * Unique identifier for the journey. * Example: "journey_1234567890" */ journeyId: string; /** * The action that occurred during the interaction. * Example: "word_complete" */ action: string; /** * Additional details about the action. * Example: "apple" */ actionDetails: string; }; /** Response for recording a journey interaction. */ export type JourneyInteractionResponse = {}; /** Game-specific result data for journey completion. */ export type GameResult = { /** * Indicates if the user won the game. * Example: true */ win: boolean; /** * The final score achieved in the game. * Example: 1000 */ score: number; }; /** Request to end a telemetry journey. */ export type EndJourneyRequest = { /** * Unique identifier for the journey. * Example: "journey_1234567890" */ journeyId: string; /** * Indicates if the journey objective was completed. * Example: true */ complete: boolean; /** Game-specific result data. Only applicable for game journeys. */ game?: GameResult | undefined; }; /** Response for ending a journey. */ export type EndJourneyResponse = {}; /** Request to signal that the app is ready. */ export type AppReadyRequest = { /** * Milliseconds elapsed from runtime initialization to app ready, measured by the platform runtime. * Example: 350 */ startupTimeMs: number; }; /** Response for the app ready signal. */ export type AppReadyResponse = {}; //# sourceMappingURL=telemetry.d.ts.map