import { SchemaPropertyResponse } from '@/models/api/SchemaResponse'

export type DefaultBaseJobConfigurationResponse = {
  job_configuration: Record<string, unknown>,
  variables: SchemaPropertyResponse,
}

export type WorkerCollectionItemResponse = {
  default_base_job_configuration?: DefaultBaseJobConfigurationResponse,
  description?: string,
  display_name?: string,
  documentation_url?: string,
  install_command?: string,
  logo_url?: string,
  type?: string,
  is_beta?: boolean,
  is_push_pool?: boolean,
  is_mex_pool?: boolean,
}

export type WorkerCollectionResponse = Record<string, WorkerCollectionItemResponse>

export type PrefectWorkerCollectionResponse = Record<string, WorkerCollectionResponse>