@webshop/root - v1.0.0
HBO-ICT Knowledgebase
HBO-ICT.Cloud
Preparing search index...
web/src/interfaces/IProductService
IProductService
Class IProductService
Abstract
Implemented by
ProductService
Index
Constructors
constructor
Methods
get
All
Products
get
All
Tags
get
Product
By
Id
get
Products
By
Tag
get
Random
Products
Constructors
constructor
new
IProductService
()
:
IProductService
Returns
IProductService
Methods
Abstract
get
All
Products
getAllProducts
()
:
Promise
<
Product
[]
>
Returns
Promise
<
Product
[]
>
Abstract
get
All
Tags
getAllTags
()
:
Promise
<
string
[]
>
Returns
Promise
<
string
[]
>
Abstract
get
Product
By
Id
getProductById
(
id
:
number
)
:
Promise
<
Product
|
undefined
>
Parameters
id
:
number
Returns
Promise
<
Product
|
undefined
>
Abstract
get
Products
By
Tag
getProductsByTag
(
tag
:
string
)
:
Promise
<
Product
[]
>
Parameters
tag
:
string
Returns
Promise
<
Product
[]
>
Abstract
get
Random
Products
getRandomProducts
(
amount
:
number
,
type
:
"Game"
|
"Merch"
)
:
Promise
<
Product
[]
>
Parameters
amount
:
number
type
:
"Game"
|
"Merch"
Returns
Promise
<
Product
[]
>
Settings
Member Visibility
Private
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
All
Products
get
All
Tags
get
Product
By
Id
get
Products
By
Tag
get
Random
Products
HBO-ICT Knowledgebase
HBO-ICT.Cloud
@webshop/root - v1.0.0
Loading...