Provides a wrapper implementing the Svelte store / subscriber protocol around any DocumentCollection. This makes document collections reactive in a Svelte component, but otherwise provides subscriber functionality external to Svelte.

Type Parameters

Constructors

Accessors

  • get uuid(): string
  • Returns the UUID assigned to this store.

    Returns string

    UUID

Methods

  • Completely removes all internal subscribers, any optional delete callback, and unregisters from the DocumentCollection apps tracking array.

    Returns void

  • Returns T

    Current collection

  • Parameters

    Returns void

  • Sets options for this collection wrapper / store.

    Parameters

    Returns void