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. 2
      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 {

2
scripts/sdk/swagger.json

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

Loading…
Cancel
Save