Interface ObjectStore

Hierarchy

  • ObjectStore

Methods

  • Deletes the specified entry from the object store.

    Parameters

    • name: string

    Returns Promise<PurgeResponse>

  • Destroys the object store and all its entries.

    Returns Promise<boolean>

  • Returns an object you can use for reading the data from the named stored object or null if the entry doesn't exist.

    Parameters

    • name: string

    Returns Promise<ObjectResult>

  • Returns the data stored for the named entry.

    Parameters

    • name: string

    Returns Promise<Uint8Array>

  • Returns the ObjectInfo of the named entry. Or null if the entry doesn't exist.

    Parameters

    • name: string

    Returns Promise<ObjectInfo>

  • Adds a link to another object in the same store or a different one. Note that links of links are rejected. object.

    Parameters

    Returns Promise<ObjectInfo>

  • Add a link to another object store

    Parameters

    Returns Promise<ObjectInfo>

  • Returns a list of the entries in the ObjectStore

    Returns Promise<ObjectInfo[]>

  • Seals the object store preventing any further modifications.

    Returns Promise<ObjectStoreStatus>

  • Update the metadata for an object. If the name is modified, the object is effectively renamed and will only be accessible by its new name.

    Parameters

    Returns Promise<PubAck>

  • Watch an object store and receive updates of modifications via an iterator.

    Parameters

    • Optional opts: Partial<{
          ignoreDeletes?: boolean;
          includeHistory?: boolean;
      }>

    Returns Promise<QueuedIterator<ObjectInfo>>

Generated using TypeDoc