import { LICENSE_TYPE_ENTERPRISE , LICENSE_TYPE_GOLD , LICENSE_TYPE_PLATINUM , LICENSE_TYPE_STANDARD , LICENSE_TYPE_TRIAL , PNG_JOB_TYPE as jobType , } from '../../../common/constants' ; import { CreateJobFn , ExportTypeDefinition , RunTaskFn } from '../../types' ; import { createJobFnFactory } from './create_job' ; import { runTaskFnFactory } from './execute_job' ; import { metadata } from './metadata' ; import { JobParamsPNG , TaskPayloadPNG } from './types' ; export const getExportType = ( ) : ExportTypeDefinition < CreateJobFn < JobParamsPNG > , RunTaskFn < TaskPayloadPNG > > => ( { ... metadata , jobType , jobContentEncoding : 'base64' , jobContentExtension : 'PNG' , createJobFnFactory , runTaskFnFactory , validLicenses : [ LICENSE_TYPE_TRIAL , LICENSE_TYPE_STANDARD , LICENSE_TYPE_GOLD , LICENSE_TYPE_PLATINUM , LICENSE_TYPE_ENTERPRISE , ] , } ) ;