forked from OpenWF/SpaceNinjaServer
This at least allows mission inventory update to succeed on U19.5 and below. Reviewed-on: OpenWF/SpaceNinjaServer#2033 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
24 lines
413 B
TypeScript
24 lines
413 B
TypeScript
import { ITypeCount } from "@/src/types/inventoryTypes/inventoryTypes";
|
|
|
|
export interface IOid {
|
|
$oid: string;
|
|
}
|
|
|
|
export interface IOidWithLegacySupport {
|
|
$oid?: string;
|
|
$id?: string;
|
|
}
|
|
|
|
export interface IMongoDate {
|
|
$date: {
|
|
$numberLong: string;
|
|
};
|
|
}
|
|
|
|
export interface IReward {
|
|
items: ITypeCount[];
|
|
credits: number;
|
|
}
|
|
|
|
export type IJunctionRewards = Record<string, IReward>;
|