Skip to content

fix: upgrade mongoose from 8.4.5 to 8.7.0 #268

fix: upgrade mongoose from 8.4.5 to 8.7.0

fix: upgrade mongoose from 8.4.5 to 8.7.0 #268

Triggered via push October 27, 2024 06:08
Status Failure
Total duration 32s
Artifacts

build.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

15 errors
build (20): 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.
build (20): src/controllers/api/inventoryController.ts#L33
Type 'FlattenMaps<Omit<Omit<IInventoryDatabase, "LoadOutPresets"> & { LoadOutPresets: ILoadoutDatabase; }, "Ships"> & { Ships: IShipInventory; } & { ...; }>' is not assignable to type 'IInventoryDatabase'.
build (20): src/services/inventoryService.ts#L372
Property 'ItemId' is missing in type 'FlattenMaps<IEquipmentDatabase & Required<{ _id: ObjectId; }>>' but required in type 'IEquipmentClient'.
build (20): src/services/inventoryService.ts#L530
Property 'ItemId' is missing in type 'FlattenMaps<IEquipmentDatabase & Required<{ _id: ObjectId; }>>' but required in type 'IEquipmentClient'.
build (20): src/services/inventoryService.ts#L544
Property 'ItemId' is missing in type 'FlattenMaps<IWeaponSkinDatabase & { _id: ObjectId; }>' but required in type 'IWeaponSkinClient'.
build (20)
Process completed with exit code 2.
build (18)
The job was canceled because "_20" failed.
build (18): 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.
build (18): src/controllers/api/inventoryController.ts#L33
Type 'FlattenMaps<Omit<Omit<IInventoryDatabase, "LoadOutPresets"> & { LoadOutPresets: ILoadoutDatabase; }, "Ships"> & { Ships: IShipInventory; } & { ...; }>' is not assignable to type 'IInventoryDatabase'.
build (18): src/services/inventoryService.ts#L372
Property 'ItemId' is missing in type 'FlattenMaps<IEquipmentDatabase & Required<{ _id: ObjectId; }>>' but required in type 'IEquipmentClient'.
build (18): src/services/inventoryService.ts#L530
Property 'ItemId' is missing in type 'FlattenMaps<IEquipmentDatabase & Required<{ _id: ObjectId; }>>' but required in type 'IEquipmentClient'.
build (18): src/services/inventoryService.ts#L544
Property 'ItemId' is missing in type 'FlattenMaps<IWeaponSkinDatabase & { _id: ObjectId; }>' but required in type 'IWeaponSkinClient'.
build (18)
The operation was canceled.
build (22)
The job was canceled because "_20" failed.
build (22)
The operation was canceled.