aboutsummaryrefslogtreecommitdiff
path: root/src/lib/utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/utils.ts')
-rw-r--r--src/lib/utils.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/utils.ts b/src/lib/utils.ts
index c2e4b86..c094db4 100644
--- a/src/lib/utils.ts
+++ b/src/lib/utils.ts
@@ -1,3 +1,5 @@
+import type { SimpleAuctionSchema } from "./APITypes"
+
export const colorCodes: { [key: string]: string } = {
'0': '#000000', // black
'1': '#0000be', // blue
@@ -224,5 +226,5 @@ export function skyblockTime(year: number, month = 1, day = 1) {
export interface PreviewedAuctionData {
pageX: number
pageY: number
- uuid: string
+ auction: SimpleAuctionSchema
}