Constructors

Properties

idService: IdService
loggerFactory: WinstonLoggerFactory

Methods

  • Get category by ID

    Parameters

    • id: string

      Category ID

    Returns Promise<MaybeNull<Category>>

    Category entity or null if not found

  • Get category by ID or throw an exception if not found

    Parameters

    Returns Promise<Category>

    Category entity or throws an exception if not found

  • Returns void