Browse Source

fix(nocodb): update attachmentRes type

pull/7768/head
Ramesh Mane 9 months ago
parent
commit
8f53161c17
  1. 4
      packages/nocodb/src/models/FormView.ts
  2. 3
      packages/nocodb/src/schema/swagger-v2.json
  3. 7
      packages/nocodb/src/schema/swagger.json

4
packages/nocodb/src/models/FormView.ts

@ -25,8 +25,8 @@ export default class FormView implements FormType {
redirect_url?: string;
redirect_after_secs?: string;
email?: string;
banner_image_url?: AttachmentResType;
logo_url?: AttachmentResType;
banner_image_url?: AttachmentResType | string;
logo_url?: AttachmentResType | string;
submit_another_form?: BoolType;
show_blank_form?: BoolType;

3
packages/nocodb/src/schema/swagger-v2.json

@ -11560,9 +11560,6 @@
}
}
},
{
"type": "string"
},
{
"type": "null"
}

7
packages/nocodb/src/schema/swagger.json

@ -17156,9 +17156,6 @@
}
}
},
{
"type": "string"
},
{
"type": "null"
}
@ -18861,7 +18858,7 @@
"type": "object",
"properties": {
"banner_image_url": {
"$ref": "#/components/schemas/AttachmentRes",
"$ref": "#/components/schemas/AttachmentReq",
"description": "Banner Image URL"
},
"email": {
@ -18875,7 +18872,7 @@
"type": "string"
},
"logo_url": {
"$ref": "#/components/schemas/AttachmentRes",
"$ref": "#/components/schemas/AttachmentReq",
"description": "Logo URL"
},
"meta": {

Loading…
Cancel
Save