Search
Preparing search index...
The search index is not available
@nationskollen/sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@nationskollen/sdk
services/menu-items
MenuItems
Class MenuItems
Hierarchy
BaseService
MenuItems
Index
Constructors
constructor
Properties
$connection
Methods
create
delete
update
upload
Constructors
constructor
new
Menu
Items
(
connection
:
Connection
)
:
MenuItems
Parameters
connection:
Connection
Returns
MenuItems
Properties
Protected
$connection
$connection
:
Connection
Methods
create
create
(
menuId
:
number
, data
:
MenuItemCreateData
)
:
Promise
<
MenuItem
>
Parameters
menuId:
number
data:
MenuItemCreateData
Returns
Promise
<
MenuItem
>
delete
delete
(
menuId
:
number
, itemId
:
number
)
:
Promise
<
void
>
Parameters
menuId:
number
itemId:
number
Returns
Promise
<
void
>
update
update
(
menuId
:
number
, itemId
:
number
, data
:
Partial
<
MenuItemCreateData
>
)
:
Promise
<
MenuItem
>
Parameters
menuId:
number
itemId:
number
data:
Partial
<
MenuItemCreateData
>
Returns
Promise
<
MenuItem
>
upload
upload
(
menuId
:
number
, itemId
:
number
, field
:
Cover
, file
:
Blob
)
:
Promise
<
MenuItem
>
Parameters
menuId:
number
itemId:
number
field:
Cover
file:
Blob
Returns
Promise
<
MenuItem
>
Modules
services/menu-
items
Menu
Item
Uploads
Menu
Items
constructor
$connection
create
delete
update
upload
Generated using
TypeDoc