Hierarchy

Methods

  • Deletes the filter

    Returns

    a promise that will be resolved when the filter is deleted

    Parameters

    Returns Promise<void>

  • Saves the new filter to the database

    Returns

    a promise that will be resolved when the filter is saved

    Parameters

    • filter: Filter

      a filter to save

    Returns Promise<void>

  • Subscribe to state changes

    Returns

    unsubscribe callback

    Parameters

    • callback: ((...args: unknown[]) => void)

      function to call when subscription updates

        • (...args: unknown[]): void
        • Parameters

          • Rest ...args: unknown[]

          Returns void

    • Optional options: StateOptions

      options for the state selector

    Returns (() => void)

      • (): void
      • Subscribe to state changes

        Returns

        unsubscribe callback

        Returns void