fix: upgrade mongoose from 8.4.5 to 8.7.0 #268
Annotations
6 errors
Run npm run build:
src/controllers/api/getShipController.ts#L21
Type 'FlattenMaps<ILoadoutDatabase & Required<{ _id: ObjectId; }>>' is missing the following properties from type 'ObjectId': _bsontype, id, toHexString, toJSON, and 3 more.
|
Run npm run build:
src/controllers/api/inventoryController.ts#L33
Type 'FlattenMaps<Omit<Omit<IInventoryDatabase, "LoadOutPresets"> & { LoadOutPresets: ILoadoutDatabase; }, "Ships"> & { Ships: IShipInventory; } & { ...; }>' is not assignable to type 'IInventoryDatabase'.
|
Run npm run build:
src/services/inventoryService.ts#L372
Property 'ItemId' is missing in type 'FlattenMaps<IEquipmentDatabase & Required<{ _id: ObjectId; }>>' but required in type 'IEquipmentClient'.
|
Run npm run build:
src/services/inventoryService.ts#L530
Property 'ItemId' is missing in type 'FlattenMaps<IEquipmentDatabase & Required<{ _id: ObjectId; }>>' but required in type 'IEquipmentClient'.
|
Run npm run build:
src/services/inventoryService.ts#L544
Property 'ItemId' is missing in type 'FlattenMaps<IWeaponSkinDatabase & { _id: ObjectId; }>' but required in type 'IWeaponSkinClient'.
|
Run npm run build
Process completed with exit code 2.
|
Loading