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

Finds the items that should be deleted based on the given Insurance object.

Parameters

rootItemParentID: string
  • The ID that should be assigned to all "hideout"/root items.
insured: Insurance
  • The insurance object containing the items to evaluate for deletion.

Returns

Set<string>

A Set containing the IDs of items that should be deleted.