64 lines
1.2 KiB
TypeScript
64 lines
1.2 KiB
TypeScript
/**
|
|
* PikaNetwork API Module
|
|
* Exports all API-related types and classes
|
|
* Based on pikanetwork.js but rewritten in TypeScript with improvements
|
|
*/
|
|
|
|
export { PikaNetworkAPI } from './client.ts';
|
|
export { PikaCache } from './cache.ts';
|
|
export type {
|
|
// Profile types
|
|
ProfileResponse,
|
|
Rank,
|
|
PlayerRank,
|
|
Friend,
|
|
ClanInfo,
|
|
ClanLeveling,
|
|
ClanMember,
|
|
ClanMemberUser,
|
|
ClanOwner,
|
|
// Clan types
|
|
ClanResponse,
|
|
// Leaderboard types
|
|
LeaderboardResponse,
|
|
LeaderboardEntry,
|
|
LeaderboardEntryValue,
|
|
// Parsed stats types
|
|
BedWarsStats,
|
|
SkyWarsStats,
|
|
// Options and enums
|
|
GameMode,
|
|
Interval,
|
|
BedWarsMode,
|
|
SkyWarsMode,
|
|
PikaAPIOptions,
|
|
// Batch types
|
|
BatchLeaderboardResult,
|
|
MinimalLeaderboardData,
|
|
// Error types
|
|
PikaAPIError,
|
|
// Punishment types
|
|
Punishment,
|
|
PunishmentType,
|
|
// Staff types
|
|
StaffList,
|
|
StaffRole,
|
|
// Vote types
|
|
VoteEntry,
|
|
VoteLeaderboard,
|
|
// Server types
|
|
ServerStatus,
|
|
// Total leaderboard types
|
|
TotalLeaderboardEntry,
|
|
TotalLeaderboardOptions,
|
|
// Extended profile types
|
|
JoinInfo,
|
|
MiscInfo,
|
|
} from './types.ts';
|
|
|
|
export {
|
|
isProfileResponse,
|
|
isClanResponse,
|
|
isLeaderboardResponse,
|
|
} from './types.ts';
|