rmapi-js
    Preparing search index...

    Class Trash

    the trash

    Hierarchy

    • PlaceOf
      • Trash
    Index
    • the items directly inside it, in id order

      Returns Entry[]

    • create a folder in it, which the next sync sends

      Parameters

      • name: string

      Returns Folder

    • purge everything in the trash, returning the ids queued to purge

      Returns string[]

    • purge exactly the items ids, each in the trash or in a folder there, and not what is inside them, queued at once so the next sync sends them together; the sync purges those still in the trash then

      Parameters

      • ids: readonly string[]

      Returns void

      a NotHeldError for an id the library does not hold, and a NotInTrashError for one not in the trash; nothing is purged then