[Snyk] Upgrade mongoose from 8.4.5 to 8.7.0 #269
Annotations
19 errors
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
Property 'ItemId' is missing in type 'FlattenMaps<IEquipmentDatabase & Required<{ _id: ObjectId; }>>' but required in 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)
Process completed with exit code 2.
|
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)
Process completed with exit code 2.
|
build (20)
The job was canceled because "_22" failed.
|
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.
|