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