Browse Source

feat(sdk): add api in swagger json

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4630/head
Pranav C 2 years ago
parent
commit
1a975db018
  1. 3
      packages/nocodb-sdk/src/lib/Api.ts
  2. 6
      scripts/sdk/swagger.json

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

@ -124,6 +124,7 @@ export interface TableType {
columnsById?: object;
slug?: string;
mm?: boolean | number;
meta?: any;
}
export interface ViewType {
@ -175,6 +176,7 @@ export interface TableReqType {
order?: number;
mm?: boolean;
columns: ColumnType[];
meta?: any;
}
export interface TableListType {
@ -2159,6 +2161,7 @@ export class Api<
table_name?: string;
title?: string;
project_id?: string;
meta?: any;
},
params: RequestParams = {}
) =>

6
scripts/sdk/swagger.json

@ -1971,6 +1971,8 @@
},
"project_id": {
"type": "string"
},
"meta": {
}
}
}
@ -7484,6 +7486,8 @@
"boolean",
"number"
]
},
"meta": {
}
},
"required": [
@ -7823,6 +7827,8 @@
"items": {
"$ref": "#/components/schemas/Column"
}
},
"meta": {
}
},
"required": [

Loading…
Cancel
Save