Type Parameters

Hierarchy

Constructors

Accessors

  • get _data(): S[]
  • Returns S[]

    The internal data array tracked allowing child classes direct access.

  • get length(): number
  • Returns number

    The length of all data.

Methods

  • Removes all child store entries.

    Returns void

  • 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 S

    Instance of StoreClass.

  • Find an entry in the backing child store array.

    Parameters

    • predicate: (value: S, index: number, obj: S[]) => unknown

      A predicate function.

    Returns S

    Found entry in array or undefined.

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

    Parameters

    • id: string

      A UUIDv4 string.

    Returns S

    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

    Returns void

  • Returns S[]