2023-07-18 12:56:24 +02:00
|
|
|
import TestConfiguration from "../TestConfiguration"
|
2023-08-22 09:24:43 +02:00
|
|
|
import { PermissionAPI } from "./permission"
|
2023-07-26 12:29:19 +02:00
|
|
|
import { RowAPI } from "./row"
|
2023-07-19 15:47:45 +02:00
|
|
|
import { TableAPI } from "./table"
|
2023-07-18 12:56:24 +02:00
|
|
|
import { ViewV2API } from "./viewV2"
|
2023-09-04 18:53:32 +02:00
|
|
|
import { DatasourceAPI } from "./datasource"
|
2023-09-13 09:59:17 +02:00
|
|
|
import { LegacyViewAPI } from "./legacyView"
|
2023-09-20 19:25:34 +02:00
|
|
|
import { ScreenAPI } from "./screen"
|
2023-10-13 19:03:10 +02:00
|
|
|
import { ApplicationAPI } from "./application"
|
2023-10-30 17:46:27 +01:00
|
|
|
import { AttachmentAPI } from "./attachment"
|
2023-07-18 12:56:24 +02:00
|
|
|
|
|
|
|
export default class API {
|
2023-07-19 15:47:45 +02:00
|
|
|
table: TableAPI
|
2023-09-13 09:59:17 +02:00
|
|
|
legacyView: LegacyViewAPI
|
2023-07-18 12:56:24 +02:00
|
|
|
viewV2: ViewV2API
|
2023-07-26 12:29:19 +02:00
|
|
|
row: RowAPI
|
2023-08-22 09:24:43 +02:00
|
|
|
permission: PermissionAPI
|
2023-09-04 18:53:32 +02:00
|
|
|
datasource: DatasourceAPI
|
2023-09-20 19:25:34 +02:00
|
|
|
screen: ScreenAPI
|
2023-10-13 19:03:10 +02:00
|
|
|
application: ApplicationAPI
|
2023-10-30 17:46:27 +01:00
|
|
|
attachment: AttachmentAPI
|
2023-07-18 12:56:24 +02:00
|
|
|
|
|
|
|
constructor(config: TestConfiguration) {
|
2023-07-19 15:47:45 +02:00
|
|
|
this.table = new TableAPI(config)
|
2023-09-13 09:59:17 +02:00
|
|
|
this.legacyView = new LegacyViewAPI(config)
|
2023-07-18 12:56:24 +02:00
|
|
|
this.viewV2 = new ViewV2API(config)
|
2023-07-26 12:29:19 +02:00
|
|
|
this.row = new RowAPI(config)
|
2023-08-22 09:24:43 +02:00
|
|
|
this.permission = new PermissionAPI(config)
|
2023-09-04 18:53:32 +02:00
|
|
|
this.datasource = new DatasourceAPI(config)
|
2023-09-20 19:25:34 +02:00
|
|
|
this.screen = new ScreenAPI(config)
|
2023-10-13 19:03:10 +02:00
|
|
|
this.application = new ApplicationAPI(config)
|
2023-10-30 17:46:27 +01:00
|
|
|
this.attachment = new AttachmentAPI(config)
|
2023-07-18 12:56:24 +02:00
|
|
|
}
|
|
|
|
}
|