Chocobozzz/PeerTube

View on GitHub
packages/models/src/runners/request-runner-job-result.model.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { RunnerJobPayload } from './runner-job-payload.model.js'
import { RunnerJobType } from './runner-job-type.type.js'

export interface RequestRunnerJobResult <P extends RunnerJobPayload = RunnerJobPayload> {
  availableJobs: {
    uuid: string
    type: RunnerJobType
    payload: P
  }[]
}