Skip to content

build(deps): bump mongoose from 8.4.5 to 8.8.1 #310

build(deps): bump mongoose from 8.4.5 to 8.8.1

build(deps): bump mongoose from 8.4.5 to 8.8.1 #310

Triggered via push November 11, 2024 04:51
Status Failure
Total duration 24s
Artifacts

build.yml

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

Annotations

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