Browse Source

fix(nocodb): plugin input type

pull/5669/head
Wing-Kam Wong 1 year ago
parent
commit
6af4f7bce7
  1. 209
      packages/nocodb/src/schema/swagger.json

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

@ -14000,7 +14000,7 @@
}
},
"x-stoplight": {
"id": "95rfb0httdmw0"
"id": "c7i7cfci4kobt"
}
},
"ApiTokenReq": {
@ -14021,13 +14021,13 @@
}
},
"x-stoplight": {
"id": "h3g2houpa6y9y"
"id": "53ux6deypkuwb"
}
},
"ApiTokenList": {
"description": "Model for API Token List",
"x-stoplight": {
"id": "35b7cvjplxmfm"
"id": "t24xmch4x2o30"
},
"examples": [
{
@ -14132,7 +14132,7 @@
}
},
"x-stoplight": {
"id": "pbx8hqgwdz7lw"
"id": "mjewsbpmazrwe"
}
},
"AttachmentReq": {
@ -14170,7 +14170,7 @@
}
},
"x-stoplight": {
"id": "jmahtr8c5rw7f"
"id": "6cr1iwhbyxncd"
}
},
"Audit": {
@ -14293,7 +14293,7 @@
}
},
"x-stoplight": {
"id": "i5ug0n7j1wub8"
"id": "n44nqsmhm56c7"
}
},
"AuditRowUpdateReq": {
@ -14333,7 +14333,7 @@
}
},
"x-stoplight": {
"id": "jcw57b1yv3xog"
"id": "2fzwvc4m1k5or"
}
},
"Base": {
@ -14410,7 +14410,7 @@
}
},
"x-stoplight": {
"id": "9hy3cgp0r2c95"
"id": "qyzsky82ovjiv"
}
},
"BaseList": {
@ -14512,7 +14512,7 @@
},
"required": ["list", "pageInfo"],
"x-stoplight": {
"id": "kk8uqxeefumma"
"id": "tty21vb01bfr0"
}
},
"BaseReq": {
@ -14568,7 +14568,7 @@
"title": "Base Request",
"type": "object",
"x-stoplight": {
"id": "j2z6ain3204zi"
"id": "ky2ak9xsyl3b5"
}
},
"Bool": {
@ -14590,7 +14590,7 @@
],
"title": "Bool Model",
"x-stoplight": {
"id": "8n3vnyr22sbvj"
"id": "y0m76u8t9x2tn"
}
},
"Column": {
@ -14878,7 +14878,7 @@
}
},
"x-stoplight": {
"id": "3a4lsn477mx4e"
"id": "y9jx9r6o6x0h6"
}
},
"ColumnList": {
@ -14986,7 +14986,7 @@
},
"required": ["list", "pageInfo"],
"x-stoplight": {
"id": "rldg44w1alasg"
"id": "rsk9o5cs00wh5"
}
},
"ColumnReq": {
@ -15078,7 +15078,7 @@
"title": "Column Request Model",
"type": "object",
"x-stoplight": {
"id": "dvbn9dnme6jgi"
"id": "aipiq4098ocg3"
}
},
"CommentReq": {
@ -15111,13 +15111,13 @@
},
"required": ["fk_model_id", "row_id"],
"x-stoplight": {
"id": "7nwlyinuliuvy"
"id": "ohotsd0vq6d8w"
}
},
"CommentUpdateReq": {
"description": "Model for Comment Update Request",
"x-stoplight": {
"id": "r0f3ng2rahe38"
"id": "5shp04hfghm3a"
},
"examples": [
{
@ -15290,7 +15290,7 @@
"title": "Filter Model",
"type": "object",
"x-stoplight": {
"id": "f8vsb8alix01i"
"id": "txz3lsqh1rbsu"
}
},
"FilterList": {
@ -15379,13 +15379,13 @@
},
"required": ["list", "pageInfo"],
"x-stoplight": {
"id": "mfxg43iomcoue"
"id": "wbc42cyev1qzt"
}
},
"FilterLogList": {
"description": "Model for Filter Log List",
"x-stoplight": {
"id": "0voe9zdizy5qd"
"id": "jbgae8q40szhc"
},
"examples": [
{
@ -15486,7 +15486,7 @@
"title": "Filter Request Model",
"type": "object",
"x-stoplight": {
"id": "pugjn1hobswqf"
"id": "f95qy45zzlhei"
},
"properties": {
"comparison_op": {
@ -15707,7 +15707,7 @@
}
},
"x-stoplight": {
"id": "918aga51qb7w1"
"id": "szw7mwcmvrj90"
}
},
"FormUpdateReq": {
@ -15778,7 +15778,7 @@
}
},
"x-stoplight": {
"id": "zn4juts75pksq"
"id": "gqdmtil2ni0ln"
}
},
"FormColumn": {
@ -15872,7 +15872,7 @@
}
},
"x-stoplight": {
"id": "gm46pinkspvrz"
"id": "rs2uh5opf10q6"
}
},
"FormColumnReq": {
@ -15939,7 +15939,7 @@
}
},
"x-stoplight": {
"id": "nmffmb1p3wkg9"
"id": "a1vgymjna1ose"
}
},
"Formula": {
@ -15980,7 +15980,7 @@
}
},
"x-stoplight": {
"id": "hlu7yokpavxwb"
"id": "syn5ameyiipp7"
}
},
"FormulaColumnReq": {
@ -16017,7 +16017,7 @@
}
},
"x-stoplight": {
"id": "v26r0c9hlimtv"
"id": "tvczns7x7nj73"
}
},
"Gallery": {
@ -16111,7 +16111,7 @@
"title": "Gallery Model",
"type": "object",
"x-stoplight": {
"id": "i0h7av37o4eks"
"id": "brih3mxjli606"
}
},
"GalleryColumn": {
@ -16146,13 +16146,13 @@
"title": "Gallery Column Model",
"type": "object",
"x-stoplight": {
"id": "jdhvl7gb33fqo"
"id": "auloy6128iwh9"
}
},
"GalleryUpdateReq": {
"description": "Model for Gallery View Update Request",
"x-stoplight": {
"id": "x57k1fq4101e1"
"id": "8o7b279bp9wmg"
},
"examples": [
{
@ -16205,7 +16205,7 @@
"title": "Geo Location Model",
"type": "object",
"x-stoplight": {
"id": "685e1l91iuxhv"
"id": "jv0zkileq99er"
}
},
"Grid": {
@ -16315,13 +16315,13 @@
}
},
"x-stoplight": {
"id": "1xswddf91q5pu"
"id": "wlj101286bua3"
}
},
"Grid - copy": {
"description": "Model for Grid",
"x-stoplight": {
"id": "xheueli0578g0"
"id": "9hiq0xt18jao0"
},
"examples": [
{
@ -16509,7 +16509,7 @@
}
},
"x-stoplight": {
"id": "g06nri6t6h6ke"
"id": "195gzd7s6p7nv"
}
},
"GridColumnReq": {
@ -16547,13 +16547,13 @@
"title": "Grid Column Request Model",
"type": "object",
"x-stoplight": {
"id": "8v9cxve0332zg"
"id": "9yhalgmix6d0m"
}
},
"GridUpdateReq": {
"description": "Model for Grid View Update",
"x-stoplight": {
"id": "g10t5gray4bk5"
"id": "v0hz01gynll1t"
},
"examples": [
{
@ -16604,7 +16604,7 @@
"title": "Hook Model",
"type": "object",
"x-stoplight": {
"id": "32blg2oqo6g7p"
"id": "5jvfnece2nu6w"
},
"properties": {
"active": {
@ -16695,7 +16695,7 @@
"HookReq": {
"description": "Model for Hook",
"x-stoplight": {
"id": "85vr8fx3oea31"
"id": "btj9o665l08xj"
},
"examples": [
{
@ -16880,7 +16880,7 @@
},
"required": ["list", "pageInfo"],
"x-stoplight": {
"id": "n2sbatqu55day"
"id": "oza9z6dpygn29"
}
},
"HookLog": {
@ -16905,7 +16905,7 @@
"title": "Hook Log Model",
"type": "object",
"x-stoplight": {
"id": "ni303795b18y5"
"id": "alkb2a68ewbpz"
},
"properties": {
"base_id": {
@ -16997,7 +16997,7 @@
"HookLogList": {
"description": "Model for Hook Log List",
"x-stoplight": {
"id": "tfv7y629w2ap2"
"id": "ck3ymtqepbl7e"
},
"examples": [],
"title": "Hook Log List Model",
@ -17098,7 +17098,7 @@
},
"required": ["hook", "payload"],
"x-stoplight": {
"id": "w64q11jiv01np"
"id": "fmxwekzyi46za"
}
},
"Id": {
@ -17109,7 +17109,7 @@
"title": "ID Model",
"type": "string",
"x-stoplight": {
"id": "obj8r7jhyfoqg"
"id": "upw7it13u2dkn"
}
},
"Kanban": {
@ -17176,7 +17176,7 @@
}
},
"x-stoplight": {
"id": "sfbbvgbcv7je6"
"id": "gu721t0zw7jqq"
}
},
"KanbanColumn": {
@ -17249,7 +17249,7 @@
}
},
"x-stoplight": {
"id": "epfedw9ccxgxe"
"id": "psbv6c6y9qvbu"
}
},
"KanbanUpdateReq": {
@ -17326,7 +17326,7 @@
}
},
"x-stoplight": {
"id": "b1jlyk12kfuwx"
"id": "9zirjgj9k1gqa"
}
},
"LicenseReq": {
@ -17347,7 +17347,7 @@
"title": "License Key Request Model",
"type": "object",
"x-stoplight": {
"id": "trgk6qlmgdyfo"
"id": "4vo9hms4s6uie"
}
},
"LinkToAnotherColumnReq": {
@ -17396,7 +17396,7 @@
"title": "LinkToAnotherColumn Request Model",
"type": "object",
"x-stoplight": {
"id": "x59gz5reg12x3"
"id": "ke4urwgcmt83x"
}
},
"LinkToAnotherRecord": {
@ -17472,7 +17472,7 @@
"title": "LinkToAnotherRecord Model",
"type": "object",
"x-stoplight": {
"id": "27q0vnr79hxla"
"id": "tcn1muyj67810"
}
},
"Lookup": {
@ -17512,7 +17512,7 @@
}
},
"x-stoplight": {
"id": "guyozhka8sx1t"
"id": "53ff6kxwlgjrb"
}
},
"LookupColumnReq": {
@ -17549,7 +17549,7 @@
}
},
"x-stoplight": {
"id": "hmeckhq2ciwpf"
"id": "rmmtwpsofeqo5"
}
},
"Map": {
@ -17626,13 +17626,13 @@
"title": "Map Model",
"type": "object",
"x-stoplight": {
"id": "hd60sf3k0bs3w"
"id": "bg6hvpyk90f0p"
}
},
"MapUpdateReq": {
"description": "Model for Map",
"x-stoplight": {
"id": "3hceyh9ukp5ln"
"id": "2me98w8ot1e6o"
},
"examples": [
{
@ -17707,7 +17707,7 @@
"title": "Map Column Model",
"type": "object",
"x-stoplight": {
"id": "bvk0acuepoqw1"
"id": "01nfqgzhqlqoe"
}
},
"Meta": {
@ -17726,7 +17726,7 @@
],
"title": "Meta Model",
"x-stoplight": {
"id": "2ohjoms6hjcym"
"id": "daskjldw4zldd"
}
},
"ModelRoleVisibility": {
@ -17769,7 +17769,7 @@
"title": "ModelRoleVisibility Model",
"type": "object",
"x-stoplight": {
"id": "68m1dblcswem2"
"id": "cxh7walcnpkn0"
}
},
"NormalColumnRequest": {
@ -17948,7 +17948,7 @@
"type": "object",
"required": ["column_name"],
"x-stoplight": {
"id": "b67hswwa49t9u"
"id": "fn3gqmojvswv2"
}
},
"OrgUserReq": {
@ -17973,7 +17973,7 @@
"title": "Organisation User Request Model",
"type": "object",
"x-stoplight": {
"id": "hs5aforkqjbkb"
"id": "n484boi6jv3up"
}
},
"Paginated": {
@ -18015,7 +18015,7 @@
"title": "Paginated Model",
"type": "object",
"x-stoplight": {
"id": "ny0v2losvmitz"
"id": "2x65v3n9xo8q3"
}
},
"Password": {
@ -18026,7 +18026,7 @@
"title": "Password Model",
"type": "string",
"x-stoplight": {
"id": "c6iocwuo2j8z8"
"id": "s7gk265anpyc7"
}
},
"PasswordChangeReq": {
@ -18050,7 +18050,7 @@
"title": "Password Change Request Model",
"type": "object",
"x-stoplight": {
"id": "99dogahvh0gla"
"id": "wvritsht82jyy"
}
},
"PasswordForgotReq": {
@ -18071,7 +18071,7 @@
"title": "Password Forgot Request Model",
"type": "object",
"x-stoplight": {
"id": "1kkft7m54ax45"
"id": "qj6pb0nc6dtb1"
}
},
"PasswordResetReq": {
@ -18093,7 +18093,7 @@
"title": "Password Reset Request Model",
"type": "object",
"x-stoplight": {
"id": "i3gzz403zjwh8"
"id": "24ig9uh9evw2p"
}
},
"Plugin": {
@ -18210,7 +18210,7 @@
}
},
"x-stoplight": {
"id": "uux5n95kbh2r5"
"id": "xxoy0oe5kab93"
}
},
"PluginReq": {
@ -18223,18 +18223,25 @@
],
"title": "Plugin Reqeust",
"type": "object",
"x-stoplight": {
"id": "qcriv4xl88hyu"
},
"properties": {
"active": {
"$ref": "#/components/schemas/Bool",
"description": "Is Plugin Active?"
},
"input": {
"$ref": "#/components/schemas/StringOrNull",
"description": "Plugin Input"
"description": "Plugin Input",
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"x-stoplight": {
"id": "pci8zg4wgn3bx"
}
},
"PluginTestReq": {
@ -18276,7 +18283,7 @@
},
"required": ["title", "input", "category"],
"x-stoplight": {
"id": "gest5kbecpjdi"
"id": "zrvjtpfx9wc54"
}
},
"Project": {
@ -18366,7 +18373,7 @@
}
},
"x-stoplight": {
"id": "gae6rj3whdnj9"
"id": "t8uouhop01ndi"
}
},
"ProjectList": {
@ -18462,7 +18469,7 @@
},
"required": ["list", "pageInfo"],
"x-stoplight": {
"id": "xbosckfm1h9l0"
"id": "fr75wwwzt951h"
}
},
"ProjectReq": {
@ -18520,13 +18527,13 @@
"title": "Project Request Model",
"type": "object",
"x-stoplight": {
"id": "aicbp4keo57ld"
"id": "f5k929rrvfy92"
}
},
"ProjectUpdateReq": {
"description": "Model for Project Update Request",
"x-stoplight": {
"id": "83257b35r118q"
"id": "0fq3a94qjgb5f"
},
"examples": [
{
@ -18596,7 +18603,7 @@
},
"required": ["email", "roles"],
"x-stoplight": {
"id": "tq2wpd2agebjz"
"id": "3bvgqk9tn16ur"
}
},
"Rollup": {
@ -18645,7 +18652,7 @@
}
},
"x-stoplight": {
"id": "vdzh0qojyn9a9"
"id": "imknmkksc8bqk"
}
},
"RollupColumnReq": {
@ -18696,7 +18703,7 @@
}
},
"x-stoplight": {
"id": "uw9fq6lp1lone"
"id": "ayjjv1pfxmvlv"
}
},
"SelectOption": {
@ -18738,7 +18745,7 @@
}
},
"x-stoplight": {
"id": "onnh5qie1ul32"
"id": "y9gglydcl3zjr"
}
},
"SelectOptions": {
@ -18769,7 +18776,7 @@
},
"required": ["options"],
"x-stoplight": {
"id": "3i68n0spduuf9"
"id": "3rx8jyy2ufbc3"
}
},
"SharedBaseReq": {
@ -18797,7 +18804,7 @@
}
},
"x-stoplight": {
"id": "ep7ikmx3sudcl"
"id": "4jvab8fa8ibxv"
}
},
"SharedView": {
@ -18835,7 +18842,7 @@
}
],
"x-stoplight": {
"id": "fqfohevz2zj4u"
"id": "gagdto3i3c0fb"
}
},
"SharedViewList": {
@ -18929,7 +18936,7 @@
},
"required": ["list", "pageInfo"],
"x-stoplight": {
"id": "zdpekhmw0wvj3"
"id": "5gnbbmgal3om3"
}
},
"SharedViewReq": {
@ -18953,7 +18960,7 @@
}
},
"x-stoplight": {
"id": "0g3o2uo9y4h4g"
"id": "hbj6j87gyi7ap"
}
},
"SignInReq": {
@ -18979,7 +18986,7 @@
"title": "Signin Request Model",
"type": "object",
"x-stoplight": {
"id": "dxxafjky40cz1"
"id": "efb2gvnypydy9"
}
},
"SignUpReq": {
@ -19038,7 +19045,7 @@
},
"required": ["email", "password"],
"x-stoplight": {
"id": "2rcbk0flkc4yu"
"id": "6ia1chyii9w48"
}
},
"Sort": {
@ -19091,7 +19098,7 @@
}
},
"x-stoplight": {
"id": "3jjbe2mjzy5li"
"id": "25fm97zsmwf6h"
}
},
"SortList": {
@ -19172,7 +19179,7 @@
},
"required": ["list", "pageInfo"],
"x-stoplight": {
"id": "fsq6d3pi8b3iz"
"id": "us9qfo1go142f"
}
},
"SortReq": {
@ -19198,7 +19205,7 @@
}
},
"x-stoplight": {
"id": "lao7jfow2dbe7"
"id": "8v8qzwm3w4v11"
}
},
"StringOrNull": {
@ -19215,7 +19222,7 @@
],
"title": "StringOrNull Model",
"x-stoplight": {
"id": "xh9dwrizrvfh6"
"id": "p1g7xrgdsn540"
}
},
"Table": {
@ -19644,7 +19651,7 @@
},
"required": ["table_name", "title"],
"x-stoplight": {
"id": "rvdu5okgpz1xk"
"id": "dkfoyjcny5am9"
}
},
"TableList": {
@ -19774,7 +19781,7 @@
},
"required": ["list", "pageInfo"],
"x-stoplight": {
"id": "25z7dodhqs3lc"
"id": "urwk2euatlkjl"
}
},
"TableReq": {
@ -19915,7 +19922,7 @@
"title": "Table Request Model",
"type": "object",
"x-stoplight": {
"id": "kilqakhuuzstv"
"id": "sv3junrrevn31"
}
},
"User": {
@ -19967,7 +19974,7 @@
},
"required": ["email", "email_verified", "firstname", "id", "lastname"],
"x-stoplight": {
"id": "nwug6wvbc5yrp"
"id": "hcruzlenrwb2x"
}
},
"UserInfo": {
@ -20011,7 +20018,7 @@
"title": "User Info Model",
"type": "object",
"x-stoplight": {
"id": "qravubcoxvr6x"
"id": "mzqg7tcf4hglo"
}
},
"UserList": {
@ -20092,7 +20099,7 @@
},
"required": ["list", "pageInfo"],
"x-stoplight": {
"id": "11epslmm9jcga"
"id": "32mz06s4tgptq"
}
},
"View": {
@ -20210,7 +20217,7 @@
},
"required": ["fk_model_id", "show", "title", "type"],
"x-stoplight": {
"id": "pbahdgaroikdz"
"id": "nobjewdlhxrkq"
}
},
"ViewList": {
@ -20338,13 +20345,13 @@
},
"required": ["list", "pageInfo"],
"x-stoplight": {
"id": "5wwtppugkhbeh"
"id": "a1f99jvpiuugl"
}
},
"ViewCreateReq": {
"type": "object",
"x-stoplight": {
"id": "lksv99846uy60"
"id": "zvdo4i7c70jmo"
},
"title": "ViewCreateReq",
"description": "Model for View Create Request",
@ -20413,7 +20420,7 @@
"ViewUpdateReq": {
"description": "Model for View Update Request",
"x-stoplight": {
"id": "1enlswadfc6p5"
"id": "7inf594lhs8mh"
},
"examples": [
{
@ -20478,7 +20485,7 @@
"ViewColumnUpdateReq": {
"description": "Model for View Column Update Request",
"x-stoplight": {
"id": "ifzuv29axterb"
"id": "7xso36z6hvh43"
},
"examples": [
{
@ -20507,7 +20514,7 @@
"ViewColumnReq": {
"description": "Model for View Column Request",
"x-stoplight": {
"id": "z4bq84nyqkhd8"
"id": "ofapz0gzl35z2"
},
"examples": [
{
@ -20598,7 +20605,7 @@
"title": "Visibility Rule Request Model",
"type": "array",
"x-stoplight": {
"id": "vuo5q4vwtarx8"
"id": "xu5zgt0fc3ms9"
}
}
},

Loading…
Cancel
Save