Preparing search index...
The search index is not available
Trova Core - v3.43.0
Trova Core
@trova-trip/trova-services
services
JobsService
Interface JobsService
interface
JobsService
{
create
(
job
:
Job
)
:
Promise
<
SavedJob
>
;
findById
(
id
:
string
,
listQueryOptions
?:
ListQueryOptions
<
SavedJob
>
,
)
:
Promise
<
null
|
SavedJob
>
;
findByUserId
(
userId
:
string
)
:
Promise
<
null
|
SavedJob
>
;
list
(
query
?:
FilterQuery
<
Job
>
,
listQueryOptions
?:
ListQueryOptions
<
Job
>
,
)
:
Promise
<
SavedJob
[]
>
;
updateById
(
id
:
string
,
job
:
Partial
<
Job
>
)
:
Promise
<
null
|
SavedJob
>
;
}
Index
Methods
create
find
By
Id
find
By
User
Id
list
update
By
Id
Methods
create
create
(
job
:
Job
)
:
Promise
<
SavedJob
>
Parameters
job
:
Job
Returns
Promise
<
SavedJob
>
find
By
Id
findById
(
id
:
string
,
listQueryOptions
?:
ListQueryOptions
<
SavedJob
>
,
)
:
Promise
<
null
|
SavedJob
>
Parameters
id
:
string
Optional
listQueryOptions
:
ListQueryOptions
<
SavedJob
>
Returns
Promise
<
null
|
SavedJob
>
find
By
User
Id
findByUserId
(
userId
:
string
)
:
Promise
<
null
|
SavedJob
>
Parameters
userId
:
string
Returns
Promise
<
null
|
SavedJob
>
list
list
(
query
?:
FilterQuery
<
Job
>
,
listQueryOptions
?:
ListQueryOptions
<
Job
>
,
)
:
Promise
<
SavedJob
[]
>
Parameters
Optional
query
:
FilterQuery
<
Job
>
Optional
listQueryOptions
:
ListQueryOptions
<
Job
>
Returns
Promise
<
SavedJob
[]
>
update
By
Id
updateById
(
id
:
string
,
job
:
Partial
<
Job
>
)
:
Promise
<
null
|
SavedJob
>
Parameters
id
:
string
job
:
Partial
<
Job
>
Returns
Promise
<
null
|
SavedJob
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
create
find
By
Id
find
By
User
Id
list
update
By
Id
Trova Core - v3.43.0
Loading...