Browse Source

chore(swagger): add missing props in view schema

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

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

@ -127,6 +127,7 @@ export interface ViewType {
order?: number;
fk_model_id?: string;
slug?: string;
lock_type?: 'collaborative' | 'locked' | 'personal';
}
export interface TableInfoType {
@ -313,6 +314,7 @@ export interface GridType {
alias?: string;
deleted?: boolean;
order?: number;
lock_type?: 'collaborative' | 'locked' | 'personal';
}
export interface GalleryType {
@ -331,6 +333,7 @@ export interface GalleryType {
columns?: GalleryColumnType[];
fk_model_id?: string;
fk_cover_image_col_id?: string;
lock_type?: 'collaborative' | 'locked' | 'personal';
}
export interface GalleryColumnType {
@ -382,6 +385,7 @@ export interface FormType {
submit_another_form?: boolean;
columns?: FormColumnType[];
fk_model_id?: string;
lock_type?: 'collaborative' | 'locked' | 'personal';
}
export interface FormColumnType {

32
scripts/sdk/swagger.json

@ -6024,6 +6024,14 @@
},
"slug": {
"type": "string"
},
"lock_type": {
"type": "string",
"enum": [
"collaborative",
"locked",
"personal"
]
}
}
},
@ -6852,6 +6860,14 @@
},
"order": {
"type": "number"
},
"lock_type": {
"type": "string",
"enum": [
"collaborative",
"locked",
"personal"
]
}
},
"description": ""
@ -6908,6 +6924,14 @@
},
"fk_cover_image_col_id": {
"type": "string"
},
"lock_type": {
"type": "string",
"enum": [
"collaborative",
"locked",
"personal"
]
}
}
},
@ -7057,6 +7081,14 @@
},
"fk_model_id": {
"type": "string"
},
"lock_type": {
"type": "string",
"enum": [
"collaborative",
"locked",
"personal"
]
}
}
},

Loading…
Cancel
Save