import { ConfigItem, ConfigItemList } from '@/models/config/config-item-list' export interface ConfigTestResponse { valid: boolean, labels: object[] } export interface ConfigItemListRepository { list(projectId: string): Promise create(projectId: string, item: ConfigItem): Promise delete(projectId: string, itemId: number): Promise update(projectId: string, item: ConfigItem): Promise testConfig(projectId: string, item: ConfigItem, text: string): Promise testParameters(item: ConfigItem, text: string): Promise testTemplate(projectId: string, response: any, item: ConfigItem): Promise testMapping(projectId: string, item: ConfigItem, response: any): Promise }