Search
Preparing search index...
The search index is not available
@nationskollen/sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@nationskollen/sdk
services/menus
Menus
Class Menus
Hierarchy
BaseService
Menus
Index
Constructors
constructor
Properties
$connection
Methods
create
delete
update
upload
Constructors
constructor
new
Menus
(
connection
:
Connection
)
:
Menus
Parameters
connection:
Connection
Returns
Menus
Properties
Protected
$connection
$connection
:
Connection
Methods
create
create
(
locationId
:
number
, menuData
:
MenuCreateData
)
:
Promise
<
Menu
>
Parameters
locationId:
number
menuData:
MenuCreateData
Returns
Promise
<
Menu
>
delete
delete
(
locationId
:
number
, menuId
:
number
)
:
Promise
<
void
>
Parameters
locationId:
number
menuId:
number
Returns
Promise
<
void
>
update
update
(
locationId
:
number
, menuId
:
number
, menuData
:
Partial
<
MenuCreateData
>
)
:
Promise
<
Menu
>
Parameters
locationId:
number
menuId:
number
menuData:
Partial
<
MenuCreateData
>
Returns
Promise
<
Menu
>
upload
upload
(
menuId
:
number
, field
:
Cover
, file
:
Blob
)
:
Promise
<
Menu
>
Parameters
menuId:
number
field:
Cover
file:
Blob
Returns
Promise
<
Menu
>
Modules
services/menus
Menu
Uploads
Menus
constructor
$connection
create
delete
update
upload
Generated using
TypeDoc