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
487 B

import { ConfigItemList } from '@/models/config/config-item-list'
import { ConfigItemListRepository } from '@/repositories/config/interface'
export class ConfigApplicationService {
constructor(
private readonly configRepository: ConfigItemListRepository
) {}
public list(id: string): Promise<ConfigItemList> {
return this.configRepository.list(id)
}
public delete(projectId: string, itemId: number) {
return this.configRepository.delete(projectId, itemId)
}
}