Preparing search index...
The search index is not available
Trova Core - v3.43.0
Trova Core
@trova-trip/trova-services
services
DestinationsService
Interface DestinationsService
interface
DestinationsService
{
create
(
destination
:
DestinationCreate
)
:
Promise
<
SavedDestination
>
;
findById
(
id
:
string
,
listQueryOptions
?:
ListQueryOptions
<
SavedDestination
>
,
)
:
Promise
<
SavedDestination
>
;
findByName
(
name
:
string
)
:
Promise
<
null
|
SavedDestination
>
;
list
(
options
?:
PaginateQueryOptions
<
SavedDestination
>
,
)
:
Promise
<
PaginationResponse
>
;
update
(
id
:
string
,
destination
:
Partial
<
Destination
>
,
)
:
Promise
<
SavedDestination
>
;
}
Index
Methods
create
find
By
Id
find
By
Name
list
update
Methods
create
create
(
destination
:
DestinationCreate
)
:
Promise
<
SavedDestination
>
Parameters
destination
:
DestinationCreate
Returns
Promise
<
SavedDestination
>
find
By
Id
findById
(
id
:
string
,
listQueryOptions
?:
ListQueryOptions
<
SavedDestination
>
,
)
:
Promise
<
SavedDestination
>
Parameters
id
:
string
Optional
listQueryOptions
:
ListQueryOptions
<
SavedDestination
>
Returns
Promise
<
SavedDestination
>
find
By
Name
findByName
(
name
:
string
)
:
Promise
<
null
|
SavedDestination
>
Parameters
name
:
string
Returns
Promise
<
null
|
SavedDestination
>
list
list
(
options
?:
PaginateQueryOptions
<
SavedDestination
>
,
)
:
Promise
<
PaginationResponse
>
Parameters
Optional
options
:
PaginateQueryOptions
<
SavedDestination
>
Returns
Promise
<
PaginationResponse
>
update
update
(
id
:
string
,
destination
:
Partial
<
Destination
>
)
:
Promise
<
SavedDestination
>
Parameters
id
:
string
destination
:
Partial
<
Destination
>
Returns
Promise
<
SavedDestination
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
create
find
By
Id
find
By
Name
list
update
Trova Core - v3.43.0
Loading...