feat!: balances and items replace the wallet in the player profile
This commit is contained in:
+12
-7
@@ -1,5 +1,15 @@
|
||||
// Code generated by apigen. DO NOT EDIT.
|
||||
|
||||
export interface Balance {
|
||||
"balance"?: number;
|
||||
"currency"?: string;
|
||||
}
|
||||
|
||||
export interface InventoryStack {
|
||||
"item"?: string;
|
||||
"quantity"?: number;
|
||||
}
|
||||
|
||||
export interface Player {
|
||||
"avatarUrl"?: string;
|
||||
"createdAt"?: string;
|
||||
@@ -11,10 +21,10 @@ export interface Player {
|
||||
}
|
||||
|
||||
export interface PlayerProfile {
|
||||
"counters"?: { [key: string]: number };
|
||||
"balances"?: Balance[];
|
||||
"identities"?: PlayerProfileIdentity[];
|
||||
"items"?: InventoryStack[];
|
||||
"player"?: Player;
|
||||
"wallets"?: Wallet[];
|
||||
}
|
||||
|
||||
export interface PlayerProfileIdentity {
|
||||
@@ -23,8 +33,3 @@ export interface PlayerProfileIdentity {
|
||||
"subject": string;
|
||||
}
|
||||
|
||||
export interface Wallet {
|
||||
"balance"?: number;
|
||||
"currency"?: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user