Browse Source

Add interface for ConfigTemplate API

pull/1206/head
Hironsan 4 years ago
parent
commit
2709ec60a6
1 changed files with 7 additions and 0 deletions
  1. 7
      frontend/repositories/template/interface.ts

7
frontend/repositories/template/interface.ts

@ -0,0 +1,7 @@
import { ConfigTemplateItem } from '@/models/config/config-template'
export interface TemplateRepository {
list(projectId: string): Promise<string[]>
find(projectId: string, optionName: string): Promise<ConfigTemplateItem>
}
Loading…
Cancel
Save