/** * #curated_game.ts * * Code generated by ts-proto. DO NOT EDIT. * @packageDocumentation */ /** The curated list type for a game entry, for example NEW or POPULAR. */ export declare enum CuratedGameCurationType { /** UNSPECIFIED - Unspecified curation type. Example: omitted in a malformed request. */ UNSPECIFIED = 0, /** NEW - Entry appears in the "New" curated games list. */ NEW = 1, /** POPULAR - Entry appears in the "Popular" curated games list. */ POPULAR = 2, UNRECOGNIZED = -1 } /** Represents one curated game in an admin-managed ranked list. */ export type CuratedGameEntry = { /** The app UUID, for example "6d0a383a-eb60-44ed-92c5-62b6261177f8". */ appId: string; /** The display name of the app, for example "Pixelary". */ appName: string; /** The app slug, for example "pixelary-game". */ appSlug: string; /** The curated list that this entry belongs to, for example NEW. */ curationType: CuratedGameCurationType; /** The timestamp when this entry was last modified, for example "2026-02-07T18:43:12Z". */ lastModified?: string | undefined; /** The 1-indexed rank inside the curated list, for example 3. */ rank: number; /** The subreddit thing ID where this entry is displayed, for example "t5_2qh1i". */ subredditId: string; }; /** Request to list curated games, optionally filtered by curation type. */ export type ListCuratedGamesRequest = { /** Optional curation type filter, for example POPULAR. */ curationType?: CuratedGameCurationType | undefined; }; /** Response containing curated game entries ordered by curation type and rank. */ export type ListCuratedGamesResponse = { /** Curated game entries, for example the NEW and POPULAR lists. */ entries: CuratedGameEntry[]; }; /** Request to add an app to a curated game list. */ export type AddCuratedGameRequest = { /** The app slug to add, for example "pixelary-game". */ appSlug: string; /** The target curated list, for example NEW. */ curationType: CuratedGameCurationType; /** The subreddit thing ID where this curated app is shown, for example "t5_2qh1i". */ subredditId: string; }; /** Response after adding a curated game entry. */ export type AddCuratedGameResponse = { /** The created curated game entry. */ entry?: CuratedGameEntry | undefined; }; /** Request to update rank for an existing curated game entry. */ export type UpdateCuratedGameRankRequest = { /** The app slug of the entry to update, for example "pixelary-game". */ appSlug: string; /** The curated list containing the entry, for example POPULAR. */ curationType: CuratedGameCurationType; /** The new 1-indexed rank, for example 1. */ rank: number; }; /** Response after updating rank for a curated game entry. */ export type UpdateCuratedGameRankResponse = { /** The updated curated game entry. */ entry?: CuratedGameEntry | undefined; }; /** Request to remove an app from a curated game list. */ export type RemoveCuratedGameRequest = { /** The app slug to remove, for example "pixelary-game". */ appSlug: string; /** The curated list containing the entry, for example NEW. */ curationType: CuratedGameCurationType; }; //# sourceMappingURL=curated_game.d.ts.map