import { Injectable } from '@nestjs/common'

import type { UploadStorageMode } from './upload.types'

export type UploadConfigValues = Readonly<{
  storage: UploadStorageMode
  localDirectory: string
  dryRun: boolean
  maxSizeBytes: number
}>

@Injectable()
export class UploadConfig {
  constructor(public readonly values: UploadConfigValues) {}
}
