@deep/nest-kit
Preparing search index...
modules/jobs
IBaseJobsResolverHost
Interface IBaseJobsResolverHost
interface
IBaseJobsResolverHost
{
createJob
(
input
:
CreateJobInput
,
ctx
:
IBaseActionContext
)
:
Promise
<
Job
>
;
job
(
id
:
string
,
ctx
:
IBaseActionContext
)
:
Promise
<
Job
>
;
jobs
(
input
:
FetchJobsInput
,
info
:
GraphQLResolveInfo
,
)
:
Promise
<
IOffsetPaginated
<
Job
>
>
;
jobUpdated
(
input
:
JobUpdatedSubscriptionInput
,
)
:
AsyncIterator
<
JobUpdatedSubscriptionPayload
>
;
lockJob
(
input
:
LockJobInput
,
ctx
:
IBaseActionContext
)
:
Promise
<
boolean
>
;
restartJob
(
input
:
RestartJobInput
,
ctx
:
IBaseActionContext
)
:
Promise
<
Job
>
;
runQueuedJobs
(
ctx
:
IBaseActionContext
)
:
Promise
<
boolean
>
;
runScheduledJobs
(
ctx
:
IBaseActionContext
)
:
Promise
<
boolean
>
;
updateJob
(
input
:
UpdateJobInput
,
ctx
:
IBaseActionContext
)
:
Promise
<
Job
>
;
}
Index
Methods
create
Job
job
jobs
job
Updated
lock
Job
restart
Job
run
Queued
Jobs
run
Scheduled
Jobs
update
Job
Methods
create
Job
createJob
(
input
:
CreateJobInput
,
ctx
:
IBaseActionContext
)
:
Promise
<
Job
>
Parameters
input
:
CreateJobInput
ctx
:
IBaseActionContext
Returns
Promise
<
Job
>
job
job
(
id
:
string
,
ctx
:
IBaseActionContext
)
:
Promise
<
Job
>
Parameters
id
:
string
ctx
:
IBaseActionContext
Returns
Promise
<
Job
>
jobs
jobs
(
input
:
FetchJobsInput
,
info
:
GraphQLResolveInfo
,
)
:
Promise
<
IOffsetPaginated
<
Job
>
>
Parameters
input
:
FetchJobsInput
info
:
GraphQLResolveInfo
Returns
Promise
<
IOffsetPaginated
<
Job
>
>
job
Updated
jobUpdated
(
input
:
JobUpdatedSubscriptionInput
,
)
:
AsyncIterator
<
JobUpdatedSubscriptionPayload
>
Parameters
input
:
JobUpdatedSubscriptionInput
Returns
AsyncIterator
<
JobUpdatedSubscriptionPayload
>
lock
Job
lockJob
(
input
:
LockJobInput
,
ctx
:
IBaseActionContext
)
:
Promise
<
boolean
>
Parameters
input
:
LockJobInput
ctx
:
IBaseActionContext
Returns
Promise
<
boolean
>
restart
Job
restartJob
(
input
:
RestartJobInput
,
ctx
:
IBaseActionContext
)
:
Promise
<
Job
>
Parameters
input
:
RestartJobInput
ctx
:
IBaseActionContext
Returns
Promise
<
Job
>
run
Queued
Jobs
runQueuedJobs
(
ctx
:
IBaseActionContext
)
:
Promise
<
boolean
>
Parameters
ctx
:
IBaseActionContext
Returns
Promise
<
boolean
>
run
Scheduled
Jobs
runScheduledJobs
(
ctx
:
IBaseActionContext
)
:
Promise
<
boolean
>
Parameters
ctx
:
IBaseActionContext
Returns
Promise
<
boolean
>
update
Job
updateJob
(
input
:
UpdateJobInput
,
ctx
:
IBaseActionContext
)
:
Promise
<
Job
>
Parameters
input
:
UpdateJobInput
ctx
:
IBaseActionContext
Returns
Promise
<
Job
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
create
Job
job
jobs
job
Updated
lock
Job
restart
Job
run
Queued
Jobs
run
Scheduled
Jobs
update
Job
@deep/nest-kit
Loading...