export type ScoreBoardOptions = { key: string; }; export type ScoreBoardOptionsInput = Partial; export type ScoreBoardGetOptions = { limit?: number; offset?: number; /** * default: 'DESC' */ sort?: 'ASC' | 'DESC'; }; export type ScoreBoardItem = { id: string; score: number; }; export type ScoreBoardGetOutput = { meta: { total: number; limit?: number; offset?: number; }; data: ScoreBoardItem[]; };