sleeper-api-tsclient
Version:
Typescript client for the sleeper api
31 lines (30 loc) • 1.17 kB
TypeScript
export * from './Draft';
export * from './DraftMetadata';
export * from './DraftPick';
export * from './DraftSettings';
export * from './League';
export * from './LeagueSettings';
export * from './Matchup';
export * from './Pick';
export * from './PickMetadata';
export * from './Player';
export * from './Roster';
export * from './RosterSettings';
export * from './ScoreingSettings';
export * from './SportState';
export * from './TradedPick';
export * from './Transaction';
export * from './TrendingPlayer';
export * from './User';
export * from './UserInLeague';
export * from './UserInLeagueMetadata';
export * from './WaiverBudget';
export declare class ObjectSerializer {
static findCorrectType(data: any, expectedType: string): any;
static serialize(data: any, type: string, format: string): any;
static deserialize(data: any, type: string, format: string): any;
static normalizeMediaType(mediaType: string | undefined): string | undefined;
static getPreferredMediaType(mediaTypes: Array<string>): string;
static stringify(data: any, mediaType: string): string;
static parse(rawData: string, mediaType: string | undefined): any;
}