PeerTube/shared/models/runners/request-runner-job-result.m...

11 lines
291 B
TypeScript
Raw Normal View History

import { RunnerJobPayload } from './runner-job-payload.model'
import { RunnerJobType } from './runner-job-type.type'
export interface RequestRunnerJobResult <P extends RunnerJobPayload = RunnerJobPayload> {
availableJobs: {
uuid: string
type: RunnerJobType
payload: P
}[]
}