aboutsummaryrefslogtreecommitdiff
path: root/src/lib/APITypes.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/APITypes.d.ts')
-rw-r--r--src/lib/APITypes.d.ts20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/lib/APITypes.d.ts b/src/lib/APITypes.d.ts
index 6402721..e01a950 100644
--- a/src/lib/APITypes.d.ts
+++ b/src/lib/APITypes.d.ts
@@ -434,3 +434,23 @@ export interface AccessoryBagUpgrades {
list: string[]
}
}
+
+export interface SimpleAuctionSchema {
+ /** The UUID of the auction so we can look it up later. */
+ id: string
+ coins: number
+ /**
+ * The timestamp as **seconds** since epoch. It's in seconds instead of ms
+ * since we don't need to be super exact and so it's shorter.
+ */
+ ts: number
+ /** Whether the auction was bought or simply expired. */
+ success: boolean
+ bin: boolean
+}
+export interface ItemAuctionsSchema {
+ /** The id of the item */
+ id: string
+ sbId: string
+ auctions: SimpleAuctionSchema[]
+}