SpaceNinjaServer/src/types/commonTypes.ts

24 lines
413 B
TypeScript
Raw Normal View History

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 IOidWithLegacySupport {
$oid?: string;
$id?: string;
}
2023-09-11 13:20:07 +02:00
export interface IMongoDate {
$date: {
$numberLong: string;
};
}
export interface IReward {
items: ITypeCount[];
credits: number;
}
export type IJunctionRewards = Record<string, IReward>;