forked from OpenWF/SpaceNinjaServer
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>
27 lines
418 B
TypeScript
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>;
|