Apply prettier changes
This commit is contained in:
parent
82555d1f97
commit
a05a9d90c0
@ -45,7 +45,7 @@ import {
|
||||
IOperatorConfigDatabase,
|
||||
IPolarity,
|
||||
IEquipmentDatabase,
|
||||
IOperatorConfigClient,
|
||||
IOperatorConfigClient
|
||||
} from "@/src/types/inventoryTypes/commonInventoryTypes";
|
||||
import { toMongoDate, toOid } from "@/src/helpers/inventoryHelpers";
|
||||
|
||||
@ -202,7 +202,7 @@ const EquipmentSchema = new Schema<IEquipmentDatabase>(
|
||||
UnlockLevel: Number,
|
||||
Expiry: Date,
|
||||
SkillTree: String,
|
||||
ArchonCrystalUpgrades: [Schema.Types.Mixed], //TODO
|
||||
ArchonCrystalUpgrades: [Schema.Types.Mixed] //TODO
|
||||
},
|
||||
{ id: false }
|
||||
);
|
||||
|
@ -83,7 +83,6 @@ export interface IEquipmentClient extends Omit<IEquipmentDatabase, "_id"> {
|
||||
}
|
||||
|
||||
export interface IEquipmentDatabase {
|
||||
|
||||
ItemType: string;
|
||||
ItemName?: string;
|
||||
Configs: IItemConfig[];
|
||||
|
@ -60,7 +60,14 @@ export interface ITypeCount {
|
||||
ItemCount: number;
|
||||
}
|
||||
|
||||
export type IEquipmenItemKey = "Suits" | "LongGuns" | "Pistols" | "Melee" | "SpecialItems" | "Sentinels" | "SentinelWeapons";
|
||||
export type IEquipmenItemKey =
|
||||
| "Suits"
|
||||
| "LongGuns"
|
||||
| "Pistols"
|
||||
| "Melee"
|
||||
| "SpecialItems"
|
||||
| "Sentinels"
|
||||
| "SentinelWeapons";
|
||||
|
||||
export interface IDuviriInfo {
|
||||
Seed: number;
|
||||
@ -431,11 +438,11 @@ export interface ICrewshipWeapon {
|
||||
}
|
||||
|
||||
export interface IPortGuns {
|
||||
PRIMARY_A: IEquipmentSelection
|
||||
PRIMARY_A: IEquipmentSelection;
|
||||
}
|
||||
|
||||
export interface IPilot extends IPortGuns {
|
||||
SECONDARY_A: IEquipmentSelection
|
||||
SECONDARY_A: IEquipmentSelection;
|
||||
}
|
||||
|
||||
export interface IDiscoveredMarker {
|
||||
@ -624,12 +631,12 @@ export interface ILoadoutConfig {
|
||||
PresetIcon?: string;
|
||||
Favorite?: boolean;
|
||||
n?: string; // Loadout name
|
||||
s?: IEquipmentSelection // Suit
|
||||
p?: IEquipmentSelection
|
||||
l?: IEquipmentSelection // Primary weapon
|
||||
m?: IEquipmentSelection // Melee weapon
|
||||
h?: IEquipmentSelection // Gravimag weapon
|
||||
a?: IEquipmentSelection
|
||||
s?: IEquipmentSelection; // Suit
|
||||
p?: IEquipmentSelection;
|
||||
l?: IEquipmentSelection; // Primary weapon
|
||||
m?: IEquipmentSelection; // Melee weapon
|
||||
h?: IEquipmentSelection; // Gravimag weapon
|
||||
a?: IEquipmentSelection;
|
||||
ItemId: IOid;
|
||||
Remove?: boolean; // when client wants to remove a config, it only includes ItemId & Remove.
|
||||
}
|
||||
@ -655,7 +662,6 @@ export interface IMission {
|
||||
RewardsCooldownTime?: IMongoDate;
|
||||
}
|
||||
|
||||
|
||||
export interface INemesisHistory {
|
||||
fp: number;
|
||||
manifest: Manifest;
|
||||
|
@ -8,7 +8,7 @@ import {
|
||||
IMiscItem,
|
||||
IMission,
|
||||
IRawUpgrade,
|
||||
ISeasonChallenge,
|
||||
ISeasonChallenge
|
||||
} from "./inventoryTypes/inventoryTypes";
|
||||
|
||||
export interface IArtifactsRequest {
|
||||
|
Loading…
x
Reference in New Issue
Block a user