feat!: balances and items replace the wallet in the player profile
CI / check (push) Failing after 10s
CI / publish (push) Has been skipped

This commit is contained in:
edmand46
2026-09-21 23:39:02 +03:00
parent 83e3f78823
commit 7e232a9000
6 changed files with 42 additions and 33 deletions
+12 -7
View File
@@ -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;
}