Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/whisper/src/types/generated/lol.ts

Large diffs are not rendered by default.

19 changes: 11 additions & 8 deletions packages/whisper/src/types/generated/lor.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Auto-generated by generate-schema. Do not edit.


/** Localized content string with a locale identifier */
export interface Content {
/** The content text */
Expand All @@ -15,7 +16,7 @@ export interface Content {
*/
export interface LorLeaderboard {
/** Array of ranked players with their LP, name, and rank position */
players: ({ /** League points */ lp: number; /** Player name */ name: string; /** Leaderboard position */ rank: number })[];
players: ({ lp: number; name: string; rank: number })[];
}

/**
Expand All @@ -27,11 +28,13 @@ export interface LorPlatformData {
/** Platform region identifier (e.g., 'Americas') */
id: string;
/** Active incidents affecting the platform */
incidents: ({ /** Time when the incident was archived */ archive_at: string; /** Time when the incident was created */ created_at: string; /** Unique incident identifier */ id: number; /** Severity level of the incident */ incident_severity: string; /** Current maintenance status */ maintenance_status: string; /** Affected platforms */ platforms: string[]; /** Localized title content */ titles: ({ /** Title text */ content: string; /** Locale code */ locale: string })[]; /** Time of last update */ updated_at: string; /** Chronological list of updates for this incident */ updates: ({ /** Author of the update */ author: string; /** Time the update was created */ created_at: string; /** Unique update identifier */ id: number; /** Whether the update is published */ publish: boolean; /** Where the update was published */ publish_locations: string[]; /** Localized translations of the update */ translations: ({ /** Translation text */ content: string; /** Locale code */ locale: string })[]; /** Time the update was last modified */ updated_at: string })[] })[];
/** Supported locale codes */ locales: string[];
incidents: ({ archive_at: string; created_at: string; id: number; incident_severity: string; maintenance_status: string; platforms: string[]; titles: ({ content: string; locale: string })[]; updated_at: string; updates: ({ author: string; created_at: string; id: number; publish: boolean; publish_locations: string[]; translations: ({ content: string; locale: string })[]; updated_at: string })[] })[];
/** Supported locale codes */
locales: string[];
/** Scheduled maintenances for the platform */
maintenances: ({ /** Time when the maintenance was archived */ archive_at: string; /** Time when the maintenance was created */ created_at: string; /** Unique maintenance identifier */ id: number; /** Severity level */ incident_severity: string; /** Current maintenance status */ maintenance_status: string; /** Affected platforms */ platforms: string[]; /** Localized title content */ titles: ({ /** Title text */ content: string; /** Locale code */ locale: string })[]; /** Time of last update */ updated_at: string; /** Chronological list of updates for this maintenance */ updates: ({ /** Author of the update */ author: string; /** Time the update was created */ created_at: string; /** Unique update identifier */ id: number; /** Whether the update is published */ publish: boolean; /** Where the update was published */ publish_locations: string[]; /** Localized translations of the update */ translations: ({ /** Translation text */ content: string; /** Locale code */ locale: string })[]; /** Time the update was last modified */ updated_at: string })[] })[];
/** Human-readable platform name */ name: string;
maintenances: ({ archive_at: string; created_at: string; id: number; incident_severity: string; maintenance_status: string; platforms: string[]; titles: ({ content: string; locale: string })[]; updated_at: string; updates: ({ author: string; created_at: string; id: number; publish: boolean; publish_locations: string[]; translations: ({ content: string; locale: string })[]; updated_at: string })[] })[];
/** Human-readable platform name */
name: string;
}

/** A status entry representing an incident or maintenance event */
Expand All @@ -49,11 +52,11 @@ export interface Status {
/** Affected platforms */
platforms: string[];
/** Localized title content */
titles: ({ /** Title text */ content: string; /** Locale code */ locale: string })[];
titles: ({ content: string; locale: string })[];
/** Time of last update */
updated_at: string;
/** Chronological list of updates */
updates: ({ /** Author of the update */ author: string; /** Time the update was created */ created_at: string; /** Unique update identifier */ id: number; /** Whether the update is published */ publish: boolean; /** Where the update was published */ publish_locations: string[]; /** Localized translations */ translations: ({ /** Translation text */ content: string; /** Locale code */ locale: string })[]; /** Time the update was last modified */ updated_at: string })[];
updates: ({ author: string; created_at: string; id: number; publish: boolean; publish_locations: string[]; translations: ({ content: string; locale: string })[]; updated_at: string })[];
}

/** A status update entry within an incident or maintenance */
Expand All @@ -69,7 +72,7 @@ export interface Update {
/** Where the update was published */
publish_locations: string[];
/** Localized translations of the update */
translations: ({ /** Translation text */ content: string; /** Locale code */ locale: string })[];
translations: ({ content: string; locale: string })[];
/** Time the update was last modified */
updated_at: string;
}
9 changes: 5 additions & 4 deletions packages/whisper/src/types/generated/riftbound.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
// Auto-generated by generate-schema. Do not edit.


/**
* A card in the Riftbound card game.
*
* Contains all metadata, art references, stats, and tags for a single card.
*/
export interface Card {
/** Card artwork references */
art: { /** Artist name */ artist: string; /** Full-resolution image URL */ fullURL: string; /** Thumbnail image URL */ thumbnailURL: string };
art: { artist: string; fullURL: string; thumbnailURL: string };
/** Card collector number within its set */
collectorNumber: number;
/** Card description text */
Expand All @@ -27,7 +28,7 @@ export interface Card {
/** Set identifier this card belongs to */
set: string;
/** Card gameplay statistics */
stats: { /** Mana/resource cost */ cost: number; /** Energy stat */ energy: number; /** Might stat */ might: number; /** Power stat */ power: number };
stats: { cost: number; energy: number; might: number; power: number };
/** Searchable tags for card categorization */
tags: string[];
/** Card type (CHAMPION or ACCOUNT) */
Expand Down Expand Up @@ -67,15 +68,15 @@ export interface RiftboundContent {
/** ISO timestamp of last content update */
lastUpdated: string;
/** Array of card sets, each containing its cards */
sets: ({ /** Cards in this set */ cards: ({ /** Card artwork references */ art: { /** Artist name */ artist: string; /** Full-resolution image URL */ fullURL: string; /** Thumbnail image URL */ thumbnailURL: string }; /** Card collector number within its set */ collectorNumber: number; /** Card description text */ description: string; /** Card faction */ faction: string; /** Flavor text */ flavorText: string; /** Unique card identifier */ id: string; /** Keyword abilities */ keywords: string[]; /** Card name */ name: string; /** Card rarity tier */ rarity: string; /** Set identifier */ set: string; /** Card gameplay statistics */ stats: { /** Mana/resource cost */ cost: number; /** Energy stat */ energy: number; /** Might stat */ might: number; /** Power stat */ power: number }; /** Searchable tags */ tags: string[]; /** Card type */ type: 'CHAMPION' | 'ACCOUNT' })[]; /** Set identifier */ id: string; /** Set name */ name: string })[];
sets: ({ cards: ({ art: { artist: string; fullURL: string; thumbnailURL: string }; collectorNumber: number; description: string; faction: string; flavorText: string; id: string; keywords: string[]; name: string; rarity: string; set: string; stats: { cost: number; energy: number; might: number; power: number }; tags: string[]; type: 'CHAMPION' | 'ACCOUNT' })[]; id: string; name: string })[];
/** Content version string */
version: string;
}

/** A set of cards in Riftbound */
export interface Set {
/** Cards in this set */
cards: ({ /** Card artwork references */ art: { /** Artist name */ artist: string; /** Full-resolution image URL */ fullURL: string; /** Thumbnail image URL */ thumbnailURL: string }; /** Card collector number */ collectorNumber: number; /** Card description text */ description: string; /** Card faction */ faction: string; /** Flavor text */ flavorText: string; /** Unique card identifier */ id: string; /** Keyword abilities */ keywords: string[]; /** Card name */ name: string; /** Card rarity tier */ rarity: string; /** Set identifier */ set: string; /** Card gameplay statistics */ stats: { /** Mana/resource cost */ cost: number; /** Energy stat */ energy: number; /** Might stat */ might: number; /** Power stat */ power: number }; /** Searchable tags */ tags: string[]; /** Card type */ type: 'CHAMPION' | 'ACCOUNT' })[];
cards: ({ art: { artist: string; fullURL: string; thumbnailURL: string }; collectorNumber: number; description: string; faction: string; flavorText: string; id: string; keywords: string[]; name: string; rarity: string; set: string; stats: { cost: number; energy: number; might: number; power: number }; tags: string[]; type: 'CHAMPION' | 'ACCOUNT' })[];
/** Set identifier */
id: string;
/** Set name */
Expand Down
13 changes: 7 additions & 6 deletions packages/whisper/src/types/generated/tft.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Auto-generated by generate-schema. Do not edit.


/** A banned champion entry in a TFT spectator game */
export interface BannedChampion {
/** Numeric champion ID */
Expand All @@ -17,7 +18,7 @@ export interface CurrentGameParticipant {
/** Numeric champion ID */
championId: number;
/** Custom game customization objects */
gameCustomizationObjects: { category: string; content: string }[];
gameCustomizationObjects: ({ category: string; content: string })[];
/** Rune (perk) configuration for this participant */
perks: { perkIds: number[]; perkStyle: number; perkSubStyle: number };
/** Summoner profile icon ID */
Expand Down Expand Up @@ -59,7 +60,7 @@ export interface Perks {
/** Live TFT game information from the spectator API */
export interface TftCurrentGameInfo {
/** List of banned champions in this game */
bannedChampions: { championId: number; pickTurn: number; teamId: number }[];
bannedChampions: ({ championId: number; pickTurn: number; teamId: number })[];
/** Unique game ID */
gameId: number;
/** Current game length in seconds */
Expand All @@ -77,15 +78,15 @@ export interface TftCurrentGameInfo {
/** Observer credentials for spectating */
observers: { encryptionKey: string };
/** List of participants in this game */
participants: { bot: boolean; championId: number; gameCustomizationObjects: { category: string; content: string }[]; perks: { perkIds: number[]; perkStyle: number; perkSubStyle: number }; profileIconId: number; puuid: string; spell1Id: number; spell2Id: number; teamId: number }[];
participants: ({ bot: boolean; championId: number; gameCustomizationObjects: ({ category: string; content: string })[]; perks: { perkIds: number[]; perkStyle: number; perkSubStyle: number }; profileIconId: number; puuid: string; spell1Id: number; spell2Id: number; teamId: number })[];
/** Platform ID where this game is running (e.g., "NA1") */
platformId: string;
}

/** A TFT ranked league containing a list of entries */
export interface TftLeagueList {
/** List of ranked entries in this league */
entries: { freshBlood: boolean; hotStreak: boolean; inactive: boolean; leaguePoints: number; losses: number; puuid: string; rank: 'I' | 'II' | 'III' | 'IV'; veteran: boolean; wins: number }[];
entries: ({ freshBlood: boolean; hotStreak: boolean; inactive: boolean; leaguePoints: number; losses: number; puuid: string; rank: 'I' | 'II' | 'III' | 'IV'; veteran: boolean; wins: number })[];
/** Unique league identifier */
leagueId: string;
/** Display name of this league */
Expand All @@ -99,7 +100,7 @@ export interface TftLeagueList {
/** Full TFT match data including game info and metadata */
export interface TftMatch {
/** Game information including participants, traits, and units */
info: { endOfGameResult: string; gameCreation: number; gameId: number; game_datetime: number; game_length: number; game_version: string; mapId: number; participants: { companion: { content_ID: string; item_ID: number; skin_ID: number; species: string }; gold_left: number; last_round: number; level: number; missions: { PlayerScore2: number }; placement: number; players_eliminated: number; puuid: string; riotIdGameName: string; riotIdTagline: string; time_eliminated: number; total_damage_to_players: number; traits: { name: string; num_units: number; style: number; tier_current: number; tier_total: number }[]; units: { character_id: string; itemNames: string[]; name: string; rarity: number; tier: number }[]; win: boolean }[]; queueId: number; queue_id: number; tft_game_type: string; tft_set_core_name: string; tft_set_number: number };
info: { endOfGameResult: string; gameCreation: number; gameId: number; game_datetime: number; game_length: number; game_version: string; mapId: number; participants: ({ companion: { content_ID: string; item_ID: number; skin_ID: number; species: string }; gold_left: number; last_round: number; level: number; missions: { PlayerScore2: number }; placement: number; players_eliminated: number; puuid: string; riotIdGameName: string; riotIdTagline: string; time_eliminated: number; total_damage_to_players: number; traits: ({ name: string; num_units: number; style: number; tier_current: number; tier_total: number })[]; units: ({ character_id: string; itemNames: string[]; name: string; rarity: number; tier: number })[]; win: boolean })[]; queueId: number; queue_id: number; tft_game_type: string; tft_set_core_name: string; tft_set_number: number };
/** Match metadata including data version, match ID, and participant PUUIDs */
metadata: { data_version: string; match_id: string; participants: string[] };
}
Expand All @@ -113,7 +114,7 @@ export interface TftPlatformData {
/** Supported locale codes (e.g., ["en_US"]) */
locales: string[];
/** List of scheduled or active maintenances */
maintenances: { archive_at: string; created_at: string; id: number; incident_severity: unknown | null; maintenance_status: string; platforms: string[]; titles: { content: string; locale: string }[]; updated_at: unknown | null; updates: { author: string; created_at: string; id: number; publish: boolean; publish_locations: string[]; translations: { content: string; locale: string }[]; updated_at: string }[] }[];
maintenances: ({ archive_at: string; created_at: string; id: number; incident_severity: unknown | null; maintenance_status: string; platforms: string[]; titles: ({ content: string; locale: string })[]; updated_at: unknown | null; updates: ({ author: string; created_at: string; id: number; publish: boolean; publish_locations: string[]; translations: ({ content: string; locale: string })[]; updated_at: string })[] })[];
/** Display name of the platform (e.g., "North America") */
name: string;
}
Expand Down
38 changes: 19 additions & 19 deletions packages/whisper/src/types/generated/val.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,25 +169,25 @@ export interface Leaderboard {

/** Localized display names keyed by locale code. */
export interface LocalizedNames {
'ar-AE': string;
'de-DE': string;
'en-GB': string;
'en-US': string;
'es-ES': string;
'es-MX': string;
'fr-FR': string;
'id-ID': string;
'it-IT': string;
'ja-JP': string;
'ko-KR': string;
'pl-PL': string;
'pt-BR': string;
'ru-RU': string;
'th-TH': string;
'tr-TR': string;
'vi-VN': string;
'zh-CN': string;
'zh-TW': string;
"ar-AE": string;
"de-DE": string;
"en-GB": string;
"en-US": string;
"es-ES": string;
"es-MX": string;
"fr-FR": string;
"id-ID": string;
"it-IT": string;
"ja-JP": string;
"ko-KR": string;
"pl-PL": string;
"pt-BR": string;
"ru-RU": string;
"th-TH": string;
"tr-TR": string;
"vi-VN": string;
"zh-CN": string;
"zh-TW": string;
}

/** A 2D map coordinate. */
Expand Down
Loading