(Feat): Added a minimal pikanetwork client
This commit is contained in:
63
src/api/pika/index.ts
Normal file
63
src/api/pika/index.ts
Normal file
@@ -0,0 +1,63 @@
|
||||
/**
|
||||
* 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';
|
||||
Reference in New Issue
Block a user