ts-buildkit
Version:
Typescript Build Kit, this is generic build kit package created by Ahsan Mahmood (https://aoneahsan.com), this package is generic and contains code which will work both on frontend (ReactJs/typescript/etc) as well as on backend (nodejs/typescript/etc). pl
90 lines (88 loc) • 2.16 kB
TypeScript
declare enum BalanceUpdateActionEnum {
add = 1,
subtract = 2
}
declare enum BalanceUpdateTypeEnum {
exact = 1,
percentage = 2
}
declare enum PlayerBalanceUpdateRequestTypeEnum {
topup = 1,
withdraw = 2,
transferred = 3,
received = 4,
wonGameRoomPoolPrice = 5,
gameRoomFeeReturnedAfterReleased = 6,
lostGameRoom = 7,
coinsAddedByAdmin = 8,
coinsRemovedByAdmin = 9,
earnedGameRoomEngagerFee = 10
}
declare enum InAppNotificationSendToEnum {
allUsers = 1,
allAdmins = 2,
allEngagers = 3,
allPlayers = 4,
allEngagersAndPlayers = 5,
specificUsers = 6
}
declare enum InAppNotificationStatusEnum {
sent = 1,
pending = 2,
draft = 3
}
declare enum GameRoomStatusEnum {
waitingForPlayers = 1,
inProgress = 2,
waitingForResult = 3,
completed = 4,
waitingForEngager = 5,
released = 6
}
declare enum WithdrawRequestStatusEnum {
processing = 1,
completed = 2,
rejected = 3,
cancelled = 4
}
declare enum TopupStatusEnum {
paymentVerificationRequired = 1,
waitingForReview = 2,
completed = 3,
rejected = 4,
cancelled = 5
}
declare enum TransactionTypeEnum {
topup = 1,
withdraw = 2,
transfer = 3,
received = 4,
wonGameRoomPoolPrice = 5,
gameRoomFeeReturnedAfterReleased = 6,
lostGameRoom = 7,
coinsAddedByAdmin = 8,
coinsRemovedByAdmin = 9,
earnedGameRoomEngagerFee = 10
}
declare enum CoinManagementActionEnum {
add = 0,
remove = 1
}
declare enum GameTypeEnum {
pubg = 1,
ludoStar = 2,
freeFire = 3,
callOfDuty = 4,
roblox = 5,
eightBallPool = 6,
amongUs = 7,
uno = 8,
miniMilitia = 9,
carrom = 10,
tennisClash = 11,
chess = 12,
asphalt9 = 13,
golfBattle = 14,
arenaBreakout = 15
}
export { BalanceUpdateTypeEnum as B, CoinManagementActionEnum as C, GameTypeEnum as G, InAppNotificationSendToEnum as I, PlayerBalanceUpdateRequestTypeEnum as P, TopupStatusEnum as T, WithdrawRequestStatusEnum as W, InAppNotificationStatusEnum as a, GameRoomStatusEnum as b, TransactionTypeEnum as c, BalanceUpdateActionEnum as d };