Class ProductService

Interface for a generic service.

Hierarchy

Implements

Constructors

Properties

db: Dexie
http: AxiosInstance
methodName: string = 'product'
moduleName: string = 'products'

Methods

  • Retrieves multiple entities with optional pagination and filtering.

    Parameters

    • params: any = {}

      [UNUSED PARAMETER, KEPT FOR POSSIBLE FUTURE USE] Filtering parameters.

    • options: any = {}

      Query options including pagination.

    Returns Promise<IGetManyResult<IItem>>

    An object containing the retrieved entities and total count.

  • Creates a live query.

    Type Parameters

    • T

    Parameters

    • expr: (() => T)

      Function that returns the query expression.

        • (): T
        • Returns T

    Returns Observable<T>

    A live query.

Generated using TypeDoc