1
0
Fork 0
mirror of synced 2024-10-03 10:36:59 +13:00

Add pagination info to rest query fields definition

This commit is contained in:
Andrew Kingston 2021-12-17 18:59:24 +00:00
parent c1feb935cd
commit 0cfd28fe27

View file

@ -232,6 +232,7 @@ export interface RestQueryFields {
json: object
method: string
authConfigId: string
pagination: PaginationConfig | null
}
export interface RestConfig {
@ -242,6 +243,13 @@ export interface RestConfig {
authConfigs: AuthConfig[]
}
export interface PaginationConfig {
type: string
pageParam: string
sizeParam: string | null
responseParam: string | null
}
export interface Query {
_id?: string
datasourceId: string