Add pagination info to rest query fields definition
This commit is contained in:
parent
c1feb935cd
commit
0cfd28fe27
|
@ -232,6 +232,7 @@ export interface RestQueryFields {
|
||||||
json: object
|
json: object
|
||||||
method: string
|
method: string
|
||||||
authConfigId: string
|
authConfigId: string
|
||||||
|
pagination: PaginationConfig | null
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface RestConfig {
|
export interface RestConfig {
|
||||||
|
@ -242,6 +243,13 @@ export interface RestConfig {
|
||||||
authConfigs: AuthConfig[]
|
authConfigs: AuthConfig[]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface PaginationConfig {
|
||||||
|
type: string
|
||||||
|
pageParam: string
|
||||||
|
sizeParam: string | null
|
||||||
|
responseParam: string | null
|
||||||
|
}
|
||||||
|
|
||||||
export interface Query {
|
export interface Query {
|
||||||
_id?: string
|
_id?: string
|
||||||
datasourceId: string
|
datasourceId: string
|
||||||
|
|
Loading…
Reference in New Issue