Browse Source

Merge pull request #3827 from nocodb/fix/missing-params

fix(nocodb-sdk): add missing offset & limit
pull/3904/head
navi 2 years ago committed by GitHub
parent
commit
2866b29e9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      packages/nocodb-sdk/src/lib/Api.ts
  2. 14
      scripts/sdk/swagger.json

8
packages/nocodb-sdk/src/lib/Api.ts

@ -2252,7 +2252,13 @@ export class Api<
orgs: string,
projectName: string,
tableName: string,
query?: { fields?: any[]; sort?: any[]; where?: string },
query?: {
fields?: any[];
sort?: any[];
where?: string;
offset?: string;
limit?: string;
},
params: RequestParams = {}
) =>
this.request<any, any>({

14
scripts/sdk/swagger.json

@ -2608,6 +2608,20 @@
},
"in": "query",
"name": "where"
},
{
"schema": {
"type": "string"
},
"in": "query",
"name": "offset"
},
{
"schema": {
"type": "string"
},
"in": "query",
"name": "limit"
}
],
"responses": {

Loading…
Cancel
Save