Skip to main content
The Deno 2 Release Candidate is here
Learn more
method RepairService.prototype.addMaxResourceToKitIfMissing
import { RepairService } from "https://deno.land/x/sptaki@1.2.0/services/mod.ts";

Update repair kits Resource object if it doesn't exist

Parameters

repairKitDetails: ITemplateItem

Repair kit details from db

repairKitInInventory: Item

Repair kit to update