Browse Source

fix(nocodb-sdk): SelectOptionType -> SelectOptionType[]

pull/3818/head
Wing-Kam Wong 2 years ago
parent
commit
bb7d0abed8
  1. 2
      packages/nocodb-sdk/src/lib/Api.ts
  2. 4
      scripts/sdk/swagger.json

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

@ -311,7 +311,7 @@ export interface FormulaType {
} }
export interface SelectOptionsType { export interface SelectOptionsType {
options: SelectOptionType; options: SelectOptionType[];
} }
export interface SelectOptionType { export interface SelectOptionType {

4
scripts/sdk/swagger.json

@ -7083,7 +7083,9 @@
"properties": { "properties": {
"options": { "options": {
"type": "array", "type": "array",
"$ref": "#/components/schemas/SelectOption" "items": {
"$ref": "#/components/schemas/SelectOption"
}
} }
}, },
"required": [ "required": [

Loading…
Cancel
Save