chore: regenerate models, CurrencyBalance replaces Balance

This commit is contained in:
edmand46
2026-09-24 13:40:34 +03:00
parent 8e67591fdb
commit 1392d9ed99
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
// Code generated by apigen. DO NOT EDIT. // Code generated by apigen. DO NOT EDIT.
export interface Balance { export interface CurrencyBalance {
"balance"?: number; "balance"?: number;
"currency"?: string; "currency"?: string;
} }
@@ -21,7 +21,7 @@ export interface Player {
} }
export interface PlayerProfile { export interface PlayerProfile {
"balances"?: Balance[]; "balances"?: CurrencyBalance[];
"identities"?: PlayerProfileIdentity[]; "identities"?: PlayerProfileIdentity[];
"items"?: InventoryStack[]; "items"?: InventoryStack[];
"player"?: Player; "player"?: Player;
+1 -1
View File
@@ -46,7 +46,7 @@ export type { StorageDomain } from './domains/StorageDomain.js';
// Generated wire types — the shapes returned by the observable state and // Generated wire types — the shapes returned by the observable state and
// handles, so consumers can name them instead of re-declaring mirrors. // handles, so consumers can name them instead of re-declaring mirrors.
export type { Balance, InventoryStack, Player, PlayerProfile, PlayerProfileIdentity } from './generated/player.js'; export type { CurrencyBalance, InventoryStack, Player, PlayerProfile, PlayerProfileIdentity } from './generated/player.js';
export type { CatalogCurrency } from './generated/catalog.js'; export type { CatalogCurrency } from './generated/catalog.js';
export type { StorageItem, GetStorageResponse } from './generated/storage.js'; export type { StorageItem, GetStorageResponse } from './generated/storage.js';
export type { ModuleErrorResponse } from './generated/modules.js'; export type { ModuleErrorResponse } from './generated/modules.js';