You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
490 B

  1. import { ParseRepository } from '~/domain/models/upload/parseRepository'
  2. export class ParseApplicationService {
  3. constructor(
  4. private readonly repository: ParseRepository
  5. ) {}
  6. public async analyze(projectId: string, format: string, uploadIds: number[], option: object): Promise<string> {
  7. const item = await this.repository.analyze(projectId, format, uploadIds, option)
  8. return item
  9. }
  10. public revert(serverId: string): void {
  11. this.repository.revert(serverId)
  12. }
  13. }