SpaceNinjaServer/src/types/commonTypes.ts
Sainan a75e6d6b95 chore: add warning coverage for cyclic includes (#2407)
and some initial refactoring to avoid it where possible

Reviewed-on: OpenWF/SpaceNinjaServer#2407
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-07-04 16:49:25 -07:00

27 lines
418 B
TypeScript

export interface IOid {
$oid: string;
}
export interface IOidWithLegacySupport {
$oid?: string;
$id?: string;
}
export interface IMongoDate {
$date: {
$numberLong: string;
};
}
export interface ITypeCount {
ItemType: string;
ItemCount: number;
}
export interface IReward {
items: ITypeCount[];
credits: number;
}
export type IJunctionRewards = Record<string, IReward>;