Class ItemService

Interface for a generic service.

Hierarchy

Implements

Constructors

Properties

db: Dexie
http: AxiosInstance
methodName: string = 'item'
moduleName: string = 'items'

Methods

  • attach a ungrouped modifier to a modifier group (category) if you want to detach a modifier from a group, pass an empty string as the category_uid

    Parameters

    • item: IItem

      the item to attach the modifier to it's modifier category

    • modifier_uid: string

      the uid of the modifier to attach

    • category_uid: string

      the uid of the category to attach the modifier to

    Returns Promise<IItem>

Generated using TypeDoc