diff --git a/frontend/services/application/template.service.ts b/frontend/services/application/template.service.ts new file mode 100644 index 00000000..6375f000 --- /dev/null +++ b/frontend/services/application/template.service.ts @@ -0,0 +1,16 @@ +import { TemplateRepository } from '@/repositories/template/interface' +import { ConfigTemplateItem } from '@/models/config/config-template' + +export class TemplateApplicationService { + constructor( + private readonly repository: TemplateRepository + ) {} + + public list(id: string): Promise { + return this.repository.list(id) + } + + public find(projectId: string, optionName: string): Promise { + return this.repository.find(projectId, optionName) + } +}