Type Parameters

Hierarchy

Constructors

Accessors

  • get _data(): T[]
  • Protected

    Returns T[]

    The internal data array tracked allowing child classes direct access.

  • get length(): number
  • Returns number

    The length of all data.

Methods

  • Provide an iterator for public access to entry stores.

    Returns Generator<T, void, unknown>

  • Removes all child store entries.

    Returns void

  • Creates a new store from given data.

    Parameters

    • OptionalentryData: object

    Returns T

    The store

  • Deletes a given entry store by ID from this world setting array store instance.

    Parameters

    • id: string

      ID of entry to delete.

    Returns boolean

    Delete operation successful.

  • Duplicates an entry store by the given ID.

    Parameters

    • id: string

      UUIDv4 string.

    Returns any

    Instance of StoreClass.

  • Find an entry in the backing child store array.

    Parameters

    • predicate: ((arg0: T) => void | T)

      A predicate function

        • (arg0): void | T
        • Parameters

          • arg0: T

          Returns void | T

    Returns void | T

    Found entry in array or undefined.

  • Finds an entry store instance by 'id' / UUIDv4.

    Parameters

    • id: string

      A UUIDv4 string.

    Returns void | T

    Entry store instance.

  • Sets the children store data by 'id', adds new entry store instances, or removes entries that are no longer in the update list.

    Parameters

    • updateList: T[]

    Returns void

  • Returns T[]

  • Updates subscribers.

    Parameters

    Returns void