SpaceNinjaServer/src/types/commonTypes.ts

19 lines
332 B
TypeScript
Raw Normal View History

2025-02-21 15:27:12 +01:00
import { ITypeCount } from "@/src/types/inventoryTypes/inventoryTypes";
export interface IOid {
2023-06-05 04:16:49 +08:00
$oid: string;
}
2023-09-11 13:20:07 +02:00
export interface IMongoDate {
$date: {
$numberLong: string;
};
}
2025-02-21 15:06:48 +01:00
export interface IReward {
2025-02-21 15:27:12 +01:00
items: ITypeCount[];
2025-02-21 15:06:48 +01:00
credits: number;
}
export type IJunctionRewards = Record<string, IReward>;