fix: keep tierlist saves consistent
Build and Deploy Next Preview / build-deploy (push) Successful in 2m52s
Build and Deploy Next Preview / build-deploy (push) Successful in 2m52s
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import type { tierlistStates } from "./db/schema";
|
||||
|
||||
export type TierlistState = typeof tierlistStates.$inferSelect;
|
||||
|
||||
export type TierlistSyncData = {
|
||||
states: TierlistState[];
|
||||
placements: Record<string, string[]>;
|
||||
};
|
||||
|
||||
export type TierlistWriteResult<T> = {
|
||||
persisted: true;
|
||||
data: T;
|
||||
publication: "sent" | "failed";
|
||||
};
|
||||
Reference in New Issue
Block a user