From 1abffdeee11e9e00bd70522e69d826951cd49a58 Mon Sep 17 00:00:00 2001 From: pranavxc Date: Tue, 4 Feb 2025 07:42:13 +0000 Subject: [PATCH 1/2] [create-pull-request] automated change Signed-off-by: GitHub --- packages/nc-gui/components.d.ts | 2 +- packages/nc-gui/package.json | 2 +- packages/nc-lib-gui/package.json | 2 +- packages/nocodb-sdk/package.json | 4 +- packages/nocodb-sdk/pnpm-lock.yaml | 302 ++++++++ packages/nocodb-sdk/src/lib/Api.ts | 1139 +++++++++++++++------------- packages/nocodb/package.json | 6 +- pnpm-lock.yaml | 156 ++-- 8 files changed, 1001 insertions(+), 612 deletions(-) diff --git a/packages/nc-gui/components.d.ts b/packages/nc-gui/components.d.ts index 13beb551e1..9027b65cb1 100644 --- a/packages/nc-gui/components.d.ts +++ b/packages/nc-gui/components.d.ts @@ -24,6 +24,7 @@ declare module 'vue' { ACollapsePanel: typeof import('ant-design-vue/es')['CollapsePanel'] AConfigProvider: typeof import('ant-design-vue/es')['ConfigProvider'] ADivider: typeof import('ant-design-vue/es')['Divider'] + ADrawer: typeof import('ant-design-vue/es')['Drawer'] ADropdown: typeof import('ant-design-vue/es')['Dropdown'] ADropdownButton: typeof import('ant-design-vue/es')['DropdownButton'] AEmpty: typeof import('ant-design-vue/es')['Empty'] @@ -61,7 +62,6 @@ declare module 'vue' { ASpin: typeof import('ant-design-vue/es')['Spin'] ASubMenu: typeof import('ant-design-vue/es')['SubMenu'] ASwitch: typeof import('ant-design-vue/es')['Switch'] - ATable: typeof import('ant-design-vue/es')['Table'] ATabPane: typeof import('ant-design-vue/es')['TabPane'] ATabs: typeof import('ant-design-vue/es')['Tabs'] ATag: typeof import('ant-design-vue/es')['Tag'] diff --git a/packages/nc-gui/package.json b/packages/nc-gui/package.json index 53851b5695..6a9ea9f0f8 100644 --- a/packages/nc-gui/package.json +++ b/packages/nc-gui/package.json @@ -92,7 +92,7 @@ "marked": "^4.3.0", "monaco-editor": "^0.50.0", "monaco-sql-languages": "^0.11.0", - "nocodb-sdk": "workspace:^", + "nocodb-sdk": "0.260.3", "papaparse": "^5.4.1", "parse-github-url": "^1.0.2", "pdfobject": "^2.3.0", diff --git a/packages/nc-lib-gui/package.json b/packages/nc-lib-gui/package.json index a5aa3c5bb3..b795c7b1fb 100644 --- a/packages/nc-lib-gui/package.json +++ b/packages/nc-lib-gui/package.json @@ -1,6 +1,6 @@ { "name": "nc-lib-gui", - "version": "0.260.2", + "version": "0.260.3", "description": "NocoDB GUI", "author": { "name": "NocoDB", diff --git a/packages/nocodb-sdk/package.json b/packages/nocodb-sdk/package.json index 41c983c7b8..004e851a1d 100644 --- a/packages/nocodb-sdk/package.json +++ b/packages/nocodb-sdk/package.json @@ -1,6 +1,6 @@ { "name": "nocodb-sdk", - "version": "0.260.2", + "version": "0.260.3", "description": "NocoDB SDK", "main": "build/main/index.js", "typings": "build/main/index.d.ts", @@ -75,4 +75,4 @@ "prettier": { "singleQuote": true } -} +} \ No newline at end of file diff --git a/packages/nocodb-sdk/pnpm-lock.yaml b/packages/nocodb-sdk/pnpm-lock.yaml index 740a960ab2..009196273e 100644 --- a/packages/nocodb-sdk/pnpm-lock.yaml +++ b/packages/nocodb-sdk/pnpm-lock.yaml @@ -60,6 +60,9 @@ importers: rimraf: specifier: ^5.0.7 version: 5.0.10 + swagger-typescript-api: + specifier: 10.0.3 + version: 10.0.3 ts-jest: specifier: ^29.1.2 version: 29.2.5(@babel/core@7.25.8)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.25.8))(jest@29.7.0(@types/node@22.7.5))(typescript@5.6.3) @@ -362,6 +365,9 @@ packages: resolution: {integrity: sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + '@exodus/schemasafe@1.3.0': + resolution: {integrity: sha512-5Aap/GaRupgNx/feGBwLLTVv8OQFfv3pq2lPRzPg9R+IOBnDgghTGW7l7EuVXOvg5cc/xSAlRW8rBrjIC3Nvqw==} + '@humanwhocodes/config-array@0.13.0': resolution: {integrity: sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==} engines: {node: '>=10.10.0'} @@ -553,6 +559,9 @@ packages: '@types/node@22.7.5': resolution: {integrity: sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==} + '@types/parse-json@4.0.2': + resolution: {integrity: sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==} + '@types/qs@6.9.18': resolution: {integrity: sha512-kK7dgTYDyGqS+e2Q4aK9X3D7q234CIZ1Bv0q/7Z5IwRDoADNU81xXJK/YVyLbLTZCoIwUoDoffFeF+p/eIklAA==} @@ -571,6 +580,9 @@ packages: '@types/stack-utils@2.0.3': resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==} + '@types/swagger-schema-official@2.0.22': + resolution: {integrity: sha512-7yQiX6MWSFSvc/1wW5smJMZTZ4fHOd+hqLr3qr/HONDxHEa2bnYAsOcGBOEqFIjd4yetwMOdEDdeW+udRAQnHA==} + '@types/yargs-parser@21.0.3': resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} @@ -771,6 +783,9 @@ packages: resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} engines: {node: '>= 0.4'} + axios@0.27.2: + resolution: {integrity: sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==} + axios@1.7.7: resolution: {integrity: sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==} @@ -835,6 +850,9 @@ packages: resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==} engines: {node: '>= 0.4'} + call-me-maybe@1.0.2: + resolution: {integrity: sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==} + callsites@3.1.0: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} @@ -905,6 +923,10 @@ packages: resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==} engines: {node: '>= 10'} + commander@9.4.1: + resolution: {integrity: sha512-5EEkTNyHNGFPD2H+c/dXXfQZYa/scCKasxWcXJaWnNJ99pnQN9Vnmqow+p+PlFPE63Q6mThaZws1T+HxfpgtPw==} + engines: {node: ^12.20.0 || >=14} + commander@9.5.0: resolution: {integrity: sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==} engines: {node: ^12.20.0 || >=14} @@ -926,6 +948,10 @@ packages: core-util-is@1.0.3: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} + cosmiconfig@7.0.1: + resolution: {integrity: sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==} + engines: {node: '>=10'} + create-jest@29.7.0: resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -1106,6 +1132,9 @@ packages: resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==} engines: {node: '>= 0.4'} + es6-promise@3.3.1: + resolution: {integrity: sha512-SOp9Phqvqn7jtEUxPWdWfWoLmyt2VaJ6MpvP9Comy1MceMXqE6bxvaTu4iaxpYYPzhny28Lc+M87/c2cPK6lDg==} + escalade@3.2.0: resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} engines: {node: '>=6'} @@ -1236,6 +1265,10 @@ packages: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} + eta@1.12.3: + resolution: {integrity: sha512-qHixwbDLtekO/d51Yr4glcaUJCIjGVJyTzuqV4GPlgZo1YpgOKG+avQynErZIYrfM6JIJdtiG2Kox8tbb+DoGg==} + engines: {node: '>=6.0.0'} + execa@5.1.1: resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} engines: {node: '>=10'} @@ -1264,6 +1297,9 @@ packages: fast-levenshtein@2.0.6: resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} + fast-safe-stringify@2.1.1: + resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==} + fastq@1.17.1: resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} @@ -1455,6 +1491,9 @@ packages: html-escaper@2.0.2: resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} + http2-client@1.3.5: + resolution: {integrity: sha512-EC2utToWl4RKfs5zd36Mxq7nzHHBuomZboI0yYL6Y0RmBgT7Sgkq4rQ0ezFTYoIsSs7Tm9SJe+o2FcAg6GBhGA==} + human-signals@2.1.0: resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} engines: {node: '>=10.17.0'} @@ -1854,6 +1893,9 @@ packages: lodash.merge@4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} + lodash@4.17.21: + resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + lru-cache@10.4.3: resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} @@ -1930,15 +1972,39 @@ packages: resolution: {integrity: sha512-+MrqnJRtxdF+xngFfUUkIMQrUUL0KsxbADUkn23Z/4ibGg192Q+z+CQyiYwvWTsYjJygmMR8+w3ZDa98Zh6ESg==} engines: {node: '>=12.0.0'} + nanoid@3.3.4: + resolution: {integrity: sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + natural-compare@1.4.0: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} nice-try@1.0.5: resolution: {integrity: sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==} + node-emoji@1.11.0: + resolution: {integrity: sha512-wo2DpQkQp7Sjm2A0cq+sN7EHKO6Sl0ctXeBdFZrL9T9+UywORbufTcTZxom8YqpLQt/FqNMUkOpkZrJVYSKD3A==} + + node-fetch-h2@2.3.0: + resolution: {integrity: sha512-ofRW94Ab0T4AOh5Fk8t0h8OBWrmjb0SSB20xh1H8YnPV9EJ+f5AMoYSUQ2zgJ4Iq2HAK0I2l5/Nequ8YzFS3Hg==} + engines: {node: 4.x || >=6.0.0} + + node-fetch@2.7.0: + resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} + engines: {node: 4.x || >=6.0.0} + peerDependencies: + encoding: ^0.1.0 + peerDependenciesMeta: + encoding: + optional: true + node-int64@0.4.0: resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} + node-readfiles@0.2.0: + resolution: {integrity: sha512-SU00ZarexNlE4Rjdm83vglt5Y9yiQ+XI1XpflWlb7q7UTN1JUItm69xMeiQCTxtTfnzt+83T8Cx+vI2ED++VDA==} + node-releases@2.0.18: resolution: {integrity: sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==} @@ -1958,6 +2024,22 @@ packages: resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} engines: {node: '>=8'} + oas-kit-common@1.0.8: + resolution: {integrity: sha512-pJTS2+T0oGIwgjGpw7sIRU8RQMcUoKCDWFLdBqKB2BNmGpbBMH2sdqAaOXUg8OzonZHU0L7vfJu1mJFEiYDWOQ==} + + oas-linter@3.2.2: + resolution: {integrity: sha512-KEGjPDVoU5K6swgo9hJVA/qYGlwfbFx+Kg2QB/kd7rzV5N8N5Mg6PlsoCMohVnQmo+pzJap/F610qTodKzecGQ==} + + oas-resolver@2.5.6: + resolution: {integrity: sha512-Yx5PWQNZomfEhPPOphFbZKi9W93CocQj18NlD2Pa4GWZzdZpSJvYwoiuurRI7m3SpcChrnO08hkuQDL3FGsVFQ==} + hasBin: true + + oas-schema-walker@1.1.5: + resolution: {integrity: sha512-2yucenq1a9YPmeNExoUa9Qwrt9RFkjqaMAA1X+U7sbb0AqBeTIdMHky9SQQ6iN94bO5NW0W4TRYXerG+BdAvAQ==} + + oas-validator@5.0.8: + resolution: {integrity: sha512-cu20/HE5N5HKqVygs3dt94eYJfBi0TsZvPVXDhbXQHiEityDN+RROTleefoKRKKJ9dFAF2JBkDHgvWj0sjKGmw==} + object-inspect@1.13.2: resolution: {integrity: sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==} engines: {node: '>= 0.4'} @@ -2099,6 +2181,11 @@ packages: resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==} engines: {node: '>=6.0.0'} + prettier@2.7.1: + resolution: {integrity: sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==} + engines: {node: '>=10.13.0'} + hasBin: true + prettier@2.8.8: resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} engines: {node: '>=10.13.0'} @@ -2140,6 +2227,9 @@ packages: resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} engines: {node: '>=8.10.0'} + reftools@1.1.9: + resolution: {integrity: sha512-OVede/NQE13xBQ+ob5CKd5KyeJYU2YInb1bmV4nRoOfquZPkAkxuOXicSe1PvqIuZZ4kD13sPKBbR7UFDmli6w==} + regexp.prototype.flags@1.5.3: resolution: {integrity: sha512-vqlC04+RQoFalODCbCumG2xIOvapzVMHwsyIGM/SIE8fRhFFsXeH8/QQ+s0T0kDAhKc4k30s73/0ydkHQz6HlQ==} engines: {node: '>= 0.4'} @@ -2243,6 +2333,24 @@ packages: shell-quote@1.8.1: resolution: {integrity: sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==} + should-equal@2.0.0: + resolution: {integrity: sha512-ZP36TMrK9euEuWQYBig9W55WPC7uo37qzAEmbjHz4gfyuXrEUgF8cUvQVO+w+d3OMfPvSRQJ22lSm8MQJ43LTA==} + + should-format@3.0.3: + resolution: {integrity: sha512-hZ58adtulAk0gKtua7QxevgUaXTTXxIi8t41L3zo9AHvjXO1/7sdLECuHeIN2SRtYXpNkmhoUP2pdeWgricQ+Q==} + + should-type-adaptors@1.1.0: + resolution: {integrity: sha512-JA4hdoLnN+kebEp2Vs8eBe9g7uy0zbRo+RMcU0EsNy+R+k049Ki+N5tT5Jagst2g7EAja+euFuoXFCa8vIklfA==} + + should-type@1.4.0: + resolution: {integrity: sha512-MdAsTu3n25yDbIe1NeN69G4n6mUnJGtSJHygX3+oN0ZbO3DTiATnf7XnYJdGT42JCXurTb1JI0qOBR65shvhPQ==} + + should-util@1.0.1: + resolution: {integrity: sha512-oXF8tfxx5cDk8r2kYqlkUJzZpDBqVY/II2WhvU0n9Y3XYvAYRmeaf1PvvIvTgPnv4KJ+ES5M0PyDq5Jp+Ygy2g==} + + should@13.2.3: + resolution: {integrity: sha512-ggLesLtu2xp+ZxI+ysJTmNjh2U0TsC+rQ/pfED9bUZZ4DKefP27D+7YJVVTvKsmjLpIi9jAa7itwDGkDDmt1GQ==} + side-channel@1.0.6: resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} engines: {node: '>= 0.4'} @@ -2354,6 +2462,17 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} + swagger-schema-official@2.0.0-bab6bed: + resolution: {integrity: sha512-rCC0NWGKr/IJhtRuPq/t37qvZHI/mH4I4sxflVM+qgVe5Z2uOCivzWaVbuioJaB61kvm5UvB7b49E+oBY0M8jA==} + + swagger-typescript-api@10.0.3: + resolution: {integrity: sha512-2jyuLtDIMl43/YDXuX1g4MtymyhO22LFer3wWZWkDEQOCy29pdKeNIi9aDYkWUCsEYSzgSmZfhA2eSa3t4d/XA==} + hasBin: true + + swagger2openapi@7.0.8: + resolution: {integrity: sha512-upi/0ZGkYgEcLeGieoz8gT74oWHA0E7JivX7aN9mAf+Tc7BQoRBvnIGHoPDw+f9TXTW4s6kGYCZJtauP6OYp7g==} + hasBin: true + test-exclude@6.0.0: resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} engines: {node: '>=8'} @@ -2372,6 +2491,9 @@ packages: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} engines: {node: '>=8.0'} + tr46@0.0.3: + resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} + ts-api-utils@1.3.0: resolution: {integrity: sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==} engines: {node: '>=16'} @@ -2453,6 +2575,11 @@ packages: typedarray-to-buffer@3.1.5: resolution: {integrity: sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==} + typescript@4.8.4: + resolution: {integrity: sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==} + engines: {node: '>=4.2.0'} + hasBin: true + typescript@5.6.3: resolution: {integrity: sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==} engines: {node: '>=14.17'} @@ -2494,6 +2621,12 @@ packages: walker@1.0.8: resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==} + webidl-conversions@3.0.1: + resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} + + whatwg-url@5.0.0: + resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} + which-boxed-primitive@1.0.2: resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==} @@ -2543,6 +2676,10 @@ packages: yallist@3.1.1: resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} + yaml@1.10.2: + resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} + engines: {node: '>= 6'} + yargs-parser@21.1.1: resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} engines: {node: '>=12'} @@ -2852,6 +2989,8 @@ snapshots: '@eslint/js@8.57.1': {} + '@exodus/schemasafe@1.3.0': {} + '@humanwhocodes/config-array@0.13.0': dependencies: '@humanwhocodes/object-schema': 2.0.3 @@ -3164,6 +3303,8 @@ snapshots: dependencies: undici-types: 6.19.8 + '@types/parse-json@4.0.2': {} + '@types/qs@6.9.18': {} '@types/range-parser@1.2.7': {} @@ -3183,6 +3324,8 @@ snapshots: '@types/stack-utils@2.0.3': {} + '@types/swagger-schema-official@2.0.22': {} + '@types/yargs-parser@21.0.3': {} '@types/yargs@17.0.33': @@ -3436,6 +3579,13 @@ snapshots: dependencies: possible-typed-array-names: 1.0.0 + axios@0.27.2: + dependencies: + follow-redirects: 1.15.9 + form-data: 4.0.1 + transitivePeerDependencies: + - debug + axios@1.7.7: dependencies: follow-redirects: 1.15.9 @@ -3541,6 +3691,8 @@ snapshots: get-intrinsic: 1.2.4 set-function-length: 1.2.2 + call-me-maybe@1.0.2: {} + callsites@3.1.0: {} camelcase@5.3.1: {} @@ -3606,6 +3758,8 @@ snapshots: commander@7.2.0: {} + commander@9.4.1: {} + commander@9.5.0: {} comment-json@4.2.5: @@ -3631,6 +3785,14 @@ snapshots: core-util-is@1.0.3: {} + cosmiconfig@7.0.1: + dependencies: + '@types/parse-json': 4.0.2 + import-fresh: 3.3.0 + parse-json: 5.2.0 + path-type: 4.0.0 + yaml: 1.10.2 + create-jest@29.7.0(@types/node@22.7.5): dependencies: '@jest/types': 29.6.3 @@ -3900,6 +4062,8 @@ snapshots: is-date-object: 1.0.5 is-symbol: 1.0.4 + es6-promise@3.3.1: {} + escalade@3.2.0: {} escape-string-regexp@1.0.5: {} @@ -4064,6 +4228,8 @@ snapshots: esutils@2.0.3: {} + eta@1.12.3: {} + execa@5.1.1: dependencies: cross-spawn: 7.0.3 @@ -4102,6 +4268,8 @@ snapshots: fast-levenshtein@2.0.6: {} + fast-safe-stringify@2.1.1: {} + fastq@1.17.1: dependencies: reusify: 1.0.4 @@ -4292,6 +4460,8 @@ snapshots: html-escaper@2.0.2: {} + http2-client@1.3.5: {} + human-signals@2.1.0: {} iconv-lite@0.6.3: @@ -4859,6 +5029,8 @@ snapshots: lodash.merge@4.6.2: {} + lodash@4.17.21: {} + lru-cache@10.4.3: {} lru-cache@5.1.1: @@ -4922,12 +5094,30 @@ snapshots: mylas@2.1.13: {} + nanoid@3.3.4: {} + natural-compare@1.4.0: {} nice-try@1.0.5: {} + node-emoji@1.11.0: + dependencies: + lodash: 4.17.21 + + node-fetch-h2@2.3.0: + dependencies: + http2-client: 1.3.5 + + node-fetch@2.7.0: + dependencies: + whatwg-url: 5.0.0 + node-int64@0.4.0: {} + node-readfiles@0.2.0: + dependencies: + es6-promise: 3.3.1 + node-releases@2.0.18: {} normalize-package-data@2.5.0: @@ -4955,6 +5145,37 @@ snapshots: dependencies: path-key: 3.1.1 + oas-kit-common@1.0.8: + dependencies: + fast-safe-stringify: 2.1.1 + + oas-linter@3.2.2: + dependencies: + '@exodus/schemasafe': 1.3.0 + should: 13.2.3 + yaml: 1.10.2 + + oas-resolver@2.5.6: + dependencies: + node-fetch-h2: 2.3.0 + oas-kit-common: 1.0.8 + reftools: 1.1.9 + yaml: 1.10.2 + yargs: 17.7.2 + + oas-schema-walker@1.1.5: {} + + oas-validator@5.0.8: + dependencies: + call-me-maybe: 1.0.2 + oas-kit-common: 1.0.8 + oas-linter: 3.2.2 + oas-resolver: 2.5.6 + oas-schema-walker: 1.1.5 + reftools: 1.1.9 + should: 13.2.3 + yaml: 1.10.2 + object-inspect@1.13.2: {} object-keys@1.1.1: {} @@ -5085,6 +5306,8 @@ snapshots: dependencies: fast-diff: 1.3.0 + prettier@2.7.1: {} + prettier@2.8.8: {} pretty-format@29.7.0: @@ -5120,6 +5343,8 @@ snapshots: dependencies: picomatch: 2.3.1 + reftools@1.1.9: {} + regexp.prototype.flags@1.5.3: dependencies: call-bind: 1.0.7 @@ -5216,6 +5441,32 @@ snapshots: shell-quote@1.8.1: {} + should-equal@2.0.0: + dependencies: + should-type: 1.4.0 + + should-format@3.0.3: + dependencies: + should-type: 1.4.0 + should-type-adaptors: 1.1.0 + + should-type-adaptors@1.1.0: + dependencies: + should-type: 1.4.0 + should-util: 1.0.1 + + should-type@1.4.0: {} + + should-util@1.0.1: {} + + should@13.2.3: + dependencies: + should-equal: 2.0.0 + should-format: 3.0.3 + should-type: 1.4.0 + should-type-adaptors: 1.1.0 + should-util: 1.0.1 + side-channel@1.0.6: dependencies: call-bind: 1.0.7 @@ -5331,6 +5582,44 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} + swagger-schema-official@2.0.0-bab6bed: {} + + swagger-typescript-api@10.0.3: + dependencies: + '@types/swagger-schema-official': 2.0.22 + axios: 0.27.2 + commander: 9.4.1 + cosmiconfig: 7.0.1 + eta: 1.12.3 + js-yaml: 4.1.0 + lodash: 4.17.21 + make-dir: 3.1.0 + nanoid: 3.3.4 + node-emoji: 1.11.0 + prettier: 2.7.1 + swagger-schema-official: 2.0.0-bab6bed + swagger2openapi: 7.0.8 + typescript: 4.8.4 + transitivePeerDependencies: + - debug + - encoding + + swagger2openapi@7.0.8: + dependencies: + call-me-maybe: 1.0.2 + node-fetch: 2.7.0 + node-fetch-h2: 2.3.0 + node-readfiles: 0.2.0 + oas-kit-common: 1.0.8 + oas-resolver: 2.5.6 + oas-schema-walker: 1.1.5 + oas-validator: 5.0.8 + reftools: 1.1.9 + yaml: 1.10.2 + yargs: 17.7.2 + transitivePeerDependencies: + - encoding + test-exclude@6.0.0: dependencies: '@istanbuljs/schema': 0.1.3 @@ -5347,6 +5636,8 @@ snapshots: dependencies: is-number: 7.0.0 + tr46@0.0.3: {} + ts-api-utils@1.3.0(typescript@5.6.3): dependencies: typescript: 5.6.3 @@ -5439,6 +5730,8 @@ snapshots: dependencies: is-typedarray: 1.0.0 + typescript@4.8.4: {} + typescript@5.6.3: {} unbox-primitive@1.0.2: @@ -5483,6 +5776,13 @@ snapshots: dependencies: makeerror: 1.0.12 + webidl-conversions@3.0.1: {} + + whatwg-url@5.0.0: + dependencies: + tr46: 0.0.3 + webidl-conversions: 3.0.1 + which-boxed-primitive@1.0.2: dependencies: is-bigint: 1.0.4 @@ -5541,6 +5841,8 @@ snapshots: yallist@3.1.1: {} + yaml@1.10.2: {} + yargs-parser@21.1.1: {} yargs@17.7.2: diff --git a/packages/nocodb-sdk/src/lib/Api.ts b/packages/nocodb-sdk/src/lib/Api.ts index fd499dc396..c8e9f5fb7d 100644 --- a/packages/nocodb-sdk/src/lib/Api.ts +++ b/packages/nocodb-sdk/src/lib/Api.ts @@ -9,6 +9,9 @@ * --------------------------------------------------------------- */ +/** + * Workspace roles for the user. + */ export enum WorkspaceRolesV3Type { WorkspaceLevelOwner = 'workspace-level-owner', WorkspaceLevelCreator = 'workspace-level-creator', @@ -18,6 +21,9 @@ export enum WorkspaceRolesV3Type { WorkspaceLevelNoAccess = 'workspace-level-no-access', } +/** + * Base roles for the user. + */ export enum BaseRolesV3Type { Owner = 'owner', Creator = 'creator', @@ -53,10 +59,18 @@ export type FilterUpdateV3Type = { export type FilterCreateV3Type = FilterV3Type | FilterGroupLevel1V3Type; export interface FilterGroupV3Type { - /** Logical operator for the group. */ + /** Unique identifier for the group. */ + id: string; + /** Parent ID of this filter-group. */ + parent_id?: string; + /** Logical operator for combining filters in the group. */ group_operator: 'AND' | 'OR'; - /** List of filters or nested filter groups at level 1. */ - filters: (FilterV3Type | FilterGroupV3Type)[]; + /** Nested filters or filter groups. */ + filters: ( + | FilterV3Type + | FilterGroupV3Type + | (FilterV3Type & FilterGroupV3Type) + )[]; } export interface FilterGroupLevel1V3Type { @@ -81,15 +95,16 @@ export interface FilterGroupLevel3V3Type { } export interface FilterListResponseV3Type { - list: (FilterGroupV3Type | FilterV3Type)[]; + /** List of filter groups. Initial set of filters are mapped to a default group with group-id set to **root**. */ + list: FilterGroupV3Type[]; } export interface FilterV3Type { /** Unique identifier for the filter. */ - filter_id: string; - /** Parent ID of the filter, specifying its group. */ - parent_id: string; - /** Field ID to which the filter applies. */ + id: string; + /** Parent ID of the filter, specifying this filters group association. */ + parent_id?: string; + /** Field ID to which this filter applies. Defaults to **root**. */ field_id: string; /** Primary comparison operator (e.g., eq, gt, lt). */ operator: string; @@ -115,10 +130,10 @@ export type FieldUpdateV3Type = FieldBaseV3Type & } | { type?: 'JSON'; - options?: FieldOptionsJSONV3Type; } | { type?: 'Currency'; + /** Currency settings for this column. Locale defaults to `en-US` and currency code defaults to `USD` */ options?: FieldOptionsCurrencyV3Type; } | { @@ -134,7 +149,7 @@ export type FieldUpdateV3Type = FieldBaseV3Type & options?: FieldOptionsDateTimeV3Type; } | { - type?: 'Single select' | 'Multi select'; + type?: 'SingleSelect' | 'MultiSelect'; options?: FieldOptionsSelectV3Type; } | { @@ -162,12 +177,12 @@ export type FieldUpdateV3Type = FieldBaseV3Type & options?: FieldOptionsLinksV3Type; } | { - type?: 'Link to another record'; + type?: 'LinkToAnotherRecord'; options?: FieldOptionsLinkToAnotherRecordV3Type; } ); -export type FilterCreateUpdateV3Type = any; +export type FilterCreateUpdateV3Type = FilterV3Type | FilterGroupV3Type; export type FieldV3Type = FieldBaseV3Type & ( @@ -185,10 +200,10 @@ export type FieldV3Type = FieldBaseV3Type & } | { type?: 'JSON'; - options?: FieldOptionsJSONV3Type; } | { type?: 'Currency'; + /** Currency settings for this column. Locale defaults to `en-US` and currency code defaults to `USD` */ options?: FieldOptionsCurrencyV3Type; } | { @@ -204,7 +219,7 @@ export type FieldV3Type = FieldBaseV3Type & options?: FieldOptionsDateTimeV3Type; } | { - type?: 'Single select' | 'Multi select'; + type?: 'SingleSelect' | 'MultiSelect'; options?: FieldOptionsSelectV3Type; } | { @@ -232,56 +247,73 @@ export type FieldV3Type = FieldBaseV3Type & options?: FieldOptionsLinksV3Type; } | { - type?: 'Link to another record'; + type?: 'LinkToAnotherRecord'; options?: FieldOptionsLinkToAnotherRecordV3Type; } ); -export type FieldOptionsJSONV3Type = object; - export interface FieldOptionsLinkToAnotherRecordV3Type { - /** Type of relationship (e.g., many-to-many, one-to-one). */ + /** + * Type of relationship. + * + * Supported options are listed below + * - `mm` many-to-many + * - `hm` has-many + * - `oo` one-to-one + */ relation_type: string; /** Identifier of the linked table. */ linked_table_id: string; } export interface FieldOptionsLinksV3Type { - /** Type of relationship (e.g., many-to-many, one-to-one). */ + /** + * Type of relationship. + * + * Supported options are listed below + * - `mm` many-to-many + * - `hm` has-many + * - `oo` one-to-one + */ relation_type: string; /** Identifier of the linked table. */ linked_table_id: string; } -export interface FieldOptionsLookupV3Type { +export type FieldOptionsButtonV3Type = any; + +export interface FieldOptionsRollupV3Type { /** Linked field ID. */ - link_field_id?: string; + link_field_id: string; + /** Rollup field ID in the linked table. */ + linked_table_rollup_field_id: string; + /** Rollup function. */ + rollup_function: + | 'count' + | 'min' + | 'max' + | 'avg' + | 'sum' + | 'countDistinct' + | 'sumDistinct' + | 'avgDistinct'; +} + +export interface FieldOptionsLookupV3Type { + /** Linked field ID. Can be of type Links or LinkToAnotherRecord */ + link_field_id: string; /** Lookup field ID in the linked table. */ - linked_table_lookup_field_id?: string; - result?: { - /** Result type. */ - type?: string; - options?: FieldOptionsNumberV3Type; - }; + linked_table_lookup_field_id: string; } export interface FieldOptionsUserV3Type { /** Allow selecting multiple users. */ allow_multiple_users?: boolean; - /** Notify user when they are added. */ - notify_user_when_added?: boolean; } export interface FieldOptionsFormulaV3Type { /** Formula expression. */ formula?: string; - /** Field IDs used in the formula. */ - reference_field_ids?: string[]; - result?: { - /** Result type. */ - type?: string; - options?: FieldOptionsNumberV3Type; - }; } export interface FieldOptionsBarcodeV3Type { @@ -291,59 +323,362 @@ export interface FieldOptionsBarcodeV3Type { value_field_id?: string; } +export interface FieldOptionsCheckboxV3Type { + /** + * Icon to display checkbox on the UI. Supported options are listed below + * - `square` + * - `circle-check` + * - `circle-filled` + * - `star` + * - `heart` + * - `thumbs-up` + * - `flag` + */ + icon?: + | 'square' + | 'circle-check' + | 'circle-filled' + | 'star' + | 'heart' + | 'thumbs-up' + | 'flag'; + /** + * Specifies icon color using a hexadecimal color code (e.g., `#36BFFF`). + * @pattern ^#[0-9A-Fa-f]{6}$ + */ + color?: string; +} + export interface FieldOptionsRatingV3Type { - /** Icon to use for ratings. */ - icon?: string; - /** Maximum value for the rating. */ + /** + * Icon to display rating on the UI. Supported options are listed below + * - `star` + * - `heart` + * - `circle-filled` + * - `thumbs-up` + * - `flag` + */ + icon?: 'star' | 'heart' | 'circle-filled' | 'thumbs-up' | 'flag'; + /** + * Maximum value for the rating. Allowed range: 1-10. + * @min 1 + * @max 10 + */ max_value?: number; - /** Color for the rating display. */ + /** + * Specifies icon color using a hexadecimal color code (e.g., `#36BFFF`). + * @pattern ^#[0-9A-Fa-f]{6}$ + */ color?: string; } export interface FieldOptionsSelectV3Type { choices?: { - /** Choice identifier. */ - id?: string; /** Choice title. */ - title?: string; - /** Choice color. */ + title: string; + /** + * Specifies the tile color for the choice using a hexadecimal color code (e.g., `#36BFFF`). + * @pattern ^#[0-9A-Fa-f]{6}$ + */ color?: string; }[]; } -export interface FieldOptionsDateTimeV3Type { - /** Date format (e.g., YYYY/MM/DD). */ +export interface FieldOptionsTimeV3Type { + /** + * Time format. Supported options are listed below + * - `HH:mm` + * - `HH:mm:ss` + * - `HH:mm:ss.SSS` + */ + time_format?: string; + /** Use 12-hour time format. */ + '12hr_format'?: boolean; +} + +export interface FieldOptionsDateV3Type { + /** + * Date format. Supported options are listed below + * - `YYYY/MM/DD` + * - `YYYY-MM-DD` + * - `YYYY MM DD` + * - `DD/MM/YYYY` + * - `DD-MM-YYYY` + * - `DD MM YYYY` + * - `MM/DD/YYYY` + * - `MM-DD-YYYY` + * - `MM DD YYYY` + * - `YYYY-MM` + * - `YYYY MM` + */ date_format?: string; - /** Time format (e.g., HH:mm:ss). */ +} + +export interface FieldOptionsDateTimeV3Type { + /** + * Date format. Supported options are listed below + * - `YYYY/MM/DD` + * - `YYYY-MM-DD` + * - `YYYY MM DD` + * - `DD/MM/YYYY` + * - `DD-MM-YYYY` + * - `DD MM YYYY` + * - `MM/DD/YYYY` + * - `MM-DD-YYYY` + * - `MM DD YYYY` + * - `YYYY-MM` + * - `YYYY MM` + */ + date_format?: string; + /** + * Time format. Supported options are listed below + * - `HH:mm` + * - `HH:mm:ss` + * - `HH:mm:ss.SSS` + */ time_format?: string; /** Use 12-hour time format. */ '12hr_format'?: boolean; } export interface FieldOptionsDurationV3Type { - /** Duration format (e.g., h:mm). */ + /** + * Duration format. Supported options are listed below + * - `h:mm` + * - `h:mm:ss` + * - `h:mm:ss.S` + * - `h:mm:ss.SS` + * - `h:mm:ss.SSS` + */ format?: string; } export interface FieldOptionsPercentV3Type { - /** Number of decimal places allowed. */ + /** + * Number of decimal places allowed. + * @min 0 + * @max 5 + */ precision?: number; /** Display as a progress bar. */ show_as_progress?: boolean; } +/** + * Currency settings for this column. Locale defaults to `en-US` and currency code defaults to `USD` + */ export interface FieldOptionsCurrencyV3Type { - /** Locale for currency formatting. */ + /** Locale for currency formatting. Refer https://simplelocalize.io/data/locales/ */ locale?: string; - /** Currency code (e.g., USD). */ - code?: string; + /** Currency code. Refer https://simplelocalize.io/data/locales/ */ + code?: + | 'AED' + | 'AFN' + | 'ALL' + | 'AMD' + | 'ANG' + | 'AOA' + | 'ARS' + | 'AUD' + | 'AWG' + | 'AZN' + | 'BAM' + | 'BBD' + | 'BDT' + | 'BGN' + | 'BHD' + | 'BIF' + | 'BMD' + | 'BND' + | 'BOB' + | 'BOV' + | 'BRL' + | 'BSD' + | 'BTN' + | 'BWP' + | 'BYR' + | 'BZD' + | 'CAD' + | 'CDF' + | 'CHE' + | 'CHF' + | 'CHW' + | 'CLF' + | 'CLP' + | 'CNY' + | 'COP' + | 'COU' + | 'CRC' + | 'CUP' + | 'CVE' + | 'CYP' + | 'CZK' + | 'DJF' + | 'DKK' + | 'DOP' + | 'DZD' + | 'EEK' + | 'EGP' + | 'ERN' + | 'ETB' + | 'EUR' + | 'FJD' + | 'FKP' + | 'GBP' + | 'GEL' + | 'GHC' + | 'GIP' + | 'GMD' + | 'GNF' + | 'GTQ' + | 'GYD' + | 'HKD' + | 'HNL' + | 'HRK' + | 'HTG' + | 'HUF' + | 'IDR' + | 'ILS' + | 'INR' + | 'IQD' + | 'IRR' + | 'ISK' + | 'JMD' + | 'JOD' + | 'JPY' + | 'KES' + | 'KGS' + | 'KHR' + | 'KMF' + | 'KPW' + | 'KRW' + | 'KWD' + | 'KYD' + | 'KZT' + | 'LAK' + | 'LBP' + | 'LKR' + | 'LRD' + | 'LSL' + | 'LTL' + | 'LVL' + | 'LYD' + | 'MAD' + | 'MDL' + | 'MGA' + | 'MKD' + | 'MMK' + | 'MNT' + | 'MOP' + | 'MRO' + | 'MTL' + | 'MUR' + | 'MVR' + | 'MWK' + | 'MXN' + | 'MXV' + | 'MYR' + | 'MZN' + | 'NAD' + | 'NGN' + | 'NIO' + | 'NOK' + | 'NPR' + | 'NZD' + | 'OMR' + | 'PAB' + | 'PEN' + | 'PGK' + | 'PHP' + | 'PKR' + | 'PLN' + | 'PYG' + | 'QAR' + | 'ROL' + | 'RON' + | 'RSD' + | 'RUB' + | 'RWF' + | 'SAR' + | 'SBD' + | 'SCR' + | 'SDD' + | 'SEK' + | 'SGD' + | 'SHP' + | 'SIT' + | 'SKK' + | 'SLL' + | 'SOS' + | 'SRD' + | 'STD' + | 'SYP' + | 'SZL' + | 'THB' + | 'TJS' + | 'TMM' + | 'TND' + | 'TOP' + | 'TRY' + | 'TTD' + | 'TWD' + | 'TZS' + | 'UAH' + | 'UGX' + | 'USD' + | 'USN' + | 'USS' + | 'UYU' + | 'UZS' + | 'VEB' + | 'VND' + | 'VUV' + | 'WST' + | 'XAF' + | 'XAG' + | 'XAU' + | 'XBA' + | 'XBB' + | 'XBC' + | 'XBD' + | 'XCD' + | 'XDR' + | 'XFO' + | 'XFU' + | 'XOF' + | 'XPD' + | 'XPF' + | 'XPT' + | 'XTS' + | 'XXX' + | 'YER' + | 'ZAR' + | 'ZMK' + | 'ZWD'; +} + +export interface FieldOptionsDecimalV3Type { + /** + * Decimal field precision. Defaults to 0 + * @min 0 + * @max 5 + */ + precision?: number; } export interface FieldOptionsNumberV3Type { - /** Number of decimal places allowed. */ - precision?: number; - /** Allow negative numbers. */ - allow_negative?: boolean; + /** Show thousand separator on the UI. */ + locale_string?: boolean; +} + +export interface FieldOptionsEmailV3Type { + /** Enable validation for Email. */ + validation?: boolean; +} + +export interface FieldOptionsURLV3Type { + /** Enable validation for URL. */ + validation?: boolean; } export interface FieldOptionsPhoneNumberV3Type { @@ -354,23 +689,10 @@ export interface FieldOptionsPhoneNumberV3Type { export interface FieldOptionsLongTextV3Type { /** Enable rich text formatting. */ rich_text?: boolean; - /** Allow AI-generated text. */ + /** Enable text generation for this field using NocoAI. */ generate_text_using_ai?: boolean; } -export interface FieldBaseV3Type { - /** Field identifier. */ - id?: string; - /** Field name. */ - title: string; - /** Field type. */ - type: string; - /** Default value for the field. */ - default_value?: string; - /** Field description. */ - description?: string; -} - /** * GRID View */ @@ -500,7 +822,7 @@ export type ViewV3Type = ( form_logo_url?: string; /** * Background color for the form. - * @format color + * @pattern ^#[0-9A-Fa-f]{6}$ */ form_background_color?: string; } @@ -555,6 +877,18 @@ export type ViewV3Type = ( sorts?: SortV3Type[]; }; +export interface ViewSummaryV3Type { + /** + * Unique identifier for the view. + * @format uuid + */ + id?: string; + /** Name of the view. */ + title?: string; + /** Type of the view. */ + view_type?: 'GRID' | 'GALLERY' | 'KANBAN' | 'CALENDAR' | 'FORM'; +} + export interface SortUpdateV3Type { /** Unique identifier for the sort. */ id: string; @@ -593,13 +927,29 @@ export interface SortV3Type { } export type TableUpdateV3Type = { + /** New title of the table. */ title?: string; - meta?: any; + /** Description of the table. */ + description?: string; + /** Unique identifier for the display field of the table. The type of the field should be one of the allowed types for display field. */ + display_field_id?: string; + /** Icon prefix to the table name that needs to be displayed in-lieu of the default table icon. */ + meta?: TableMetaReqV3Type; }; +export interface TableMetaReqV3Type { + /** Icon prefix to the table name that needs to be displayed in-lieu of the default table icon. */ + icon?: string; +} + export type BaseUserDeleteV3Type = { /** Unique identifier for the user. */ - user_id?: string; + id?: string; + /** + * Email address of the user. + * @format email + */ + email?: string; }[]; /** @@ -613,6 +963,7 @@ export type BaseUserUpdateV3Type = { * @format email */ email?: string; + /** Base roles for the user. */ base_role: BaseRolesV3Type; }[]; @@ -629,6 +980,7 @@ export type BaseUserCreateV3Type = { email?: string; /** Full name of the user. */ user_name?: string; + /** Base roles for the user. */ base_role: BaseRolesV3Type; }[]; @@ -646,7 +998,7 @@ export interface BaseUserV3Type { * @format email */ email: string; - /** Full name of the user. */ + /** Display name of the user. */ user_name?: string; /** * Timestamp of when the user was created. @@ -654,353 +1006,55 @@ export interface BaseUserV3Type { */ created_at: string; /** - * Timestamp of when the user was last updated. + * Timestamp of when the user access was last updated. * @format date-time */ updated_at: string; - base_role?: BaseRolesV3Type; + /** Base roles for the user. */ + base_role: BaseRolesV3Type; + /** Workspace roles for the user. */ workspace_role: WorkspaceRolesV3Type; /** Unique identifier for the workspace. */ workspace_id: string; } -/** - * Model for Calendar Column Request - */ -export interface CalendarColumnReqV3Type { - /** Is this column shown? */ - show?: any; - /** Is this column shown as bold? */ - bold?: any; - /** Is this column shown as italic? */ - italic?: any; - /** Is this column shown underlines? */ - underline?: any; - /** - * Column Order - * @example 1 - */ - order?: number; -} - -/** - * Model for Calendar Column - */ -export interface CalendarColumnV3Type { - /** Unique ID */ - id?: any; - /** Foreign Key to Column */ - fk_column_id?: any; - /** Foreign Key to View */ - fk_view_id?: any; - /** - * Baes ID - * - */ - source_id?: any; - /** Base ID */ - base_id?: any; - /** Base ID */ - title?: string; - /** Is this column shown? */ - show?: any; - /** Is this column shown as bold? */ - bold?: any; - /** Is this column shown as italic? */ - italic?: any; - /** Is this column shown underlines? */ - underline?: any; - /** - * Column Order - * @example 1 - */ - order?: number; -} - -/** - * Model for Gallery Column Request - */ -export interface GalleryColumnReqV3Type { - /** Show */ - show?: any; - /** - * Order - * @example 1 - */ - order?: number; -} - -/** - * Model for Kanban Column Request - */ -export interface KanbanColumnReqV3Type { - /** Title */ - title?: string; - /** Is this column shown? */ - show?: any; - /** - * Column Order - * @example 1 - */ - order?: number; -} - -/** - * Model for Kanban Column - */ -export interface KanbanColumnV3Type { - /** Unique ID */ - id?: any; - /** Foreign Key to Column */ - fk_column_id?: any; - /** Foreign Key to View */ - fk_view_id?: any; - /** - * Baes ID - * - */ - source_id?: any; - /** Base ID */ - base_id?: any; - /** Base ID */ - title?: string; - /** Is this column shown? */ - show?: any; - /** - * Column Order - * @example 1 - */ - order?: number; -} - -/** - * Model for Grid Column Request - */ -export interface GridColumnReqV3Type { - /** Foreign Key to Column */ - fk_column_id?: any; - help?: string; - /** - * The label of the column - * @example My Column - */ - label?: string; - /** - * The width of the column - * @pattern ^[0-9]+(px|%)$ - * @example 200px - */ - width?: string; - /** Group By */ - group_by?: any; - /** - * Group By Order - * @example 1 - */ - group_by_order?: number; - /** - * Group By Sort - * @example asc - */ - group_by_sort?: any; - /** Show */ - show?: any; - /** - * Order - * @example 1 - */ - order?: number; - /** - * Aggregation - * @example sum - */ - aggregation?: any; -} - -/** - * Model for Grid Column - */ -export interface GridColumnV3Type { - /** Unique ID */ - id?: any; - /** Foreign Key to View */ - fk_view_id?: any; - /** Foreign Key to Column */ - fk_column_id?: any; - /** Base ID */ - base_id?: any; - /** Source ID */ - source_id?: any; - show?: any; - /** - * Grid Column Order - * @example 1 - */ - order?: number; - /** - * Column Width - * @example 200px - */ - width?: string; - /** Column Help Text */ - help?: any; - /** Group By */ - group_by?: any; - /** - * Group By Order - * @example 1 - */ - group_by_order?: number; - /** - * Group By Sort - * @example asc - */ - group_by_sort?: any; - /** - * Aggregation - * @example sum - */ - aggregation?: any; -} - -/** - * Model for Gallery Column - */ -export interface GalleryColumnV3Type { - fk_col_id?: string; - fk_gallery_id?: string; - help?: string; - /** Unique ID */ - id?: any; - label?: string; -} - -/** - * Model for Form Column Request - */ -export interface FormColumnReqV3Type { - /** Form Column Description */ - description?: any; - /** Form Column Help Text (Not in use) */ - help?: any; - /** Form Column Label */ - label?: any; - /** Meta Info */ - meta?: any; - /** The order among all the columns in the form */ - order?: number; - /** Is this form column required in submission? */ - required?: any; - /** Is this column shown in Form? */ - show?: any; -} - -/** - * Model for Form Column - */ -export interface FormColumnV3Type { - /** Unique ID */ - id?: any; - /** Form Column Description */ - description?: any; - /** Foreign Key to Column */ - fk_column_id?: any; - /** Foreign Key to View */ - fk_view_id?: any; - /** Form Column Help Text (Not in use) */ - help?: any; - /** Form Column Label */ - label?: any; - /** Meta Info */ - meta?: any; - /** - * The order among all the columns in the form - * @example 1 - */ - order?: number; - /** Is this form column required in submission? */ - required?: any; - /** Is this column shown in Form? */ - show?: any; - /** - * Indicates whether the 'Fill by scan' button is visible for this column or not. - * @example true - */ - enable_scanner?: any; - /** Form Column UUID (Not in use) */ - uuid?: any; -} - export interface TableV3Type { - id?: string; + /** Unique identifier for the table. */ + id: string; + /** Unique identifier for the data source. This information will be included only if the table is associated with an external data source. */ source_id?: string; - base_id?: string; - title?: string; - description?: string; - display_field_id?: string; - workspace_id?: string; - fields?: FieldV3Type[]; - views?: ViewV3Type[]; -} - -export interface FieldBaseReqV3Type { - /** Title of the field. */ + /** Unique identifier for the base to which this table belongs to. */ + base_id: string; + /** Title of the table. */ title: string; - /** Field data type. */ - type: string; - /** Description of the field. */ - description?: string | null; - /** Default value for the field. */ - default_value?: string; + /** Description of the table. */ + description?: string; + /** Unique identifier for the display field of the table. First non system field is set as display field by default. */ + display_field_id: string; + /** Unique identifier for the workspace to which this base belongs to. */ + workspace_id: string; + /** List of fields associated with this table. */ + fields: CreateFieldV3Type[]; + /** List of views associated with this table. */ + views: ViewSummaryV3Type[]; } -export type TableCreateFieldV3Type = FieldBaseReqV3Type & - ( - | { - type?: 'LongText'; - options?: FieldOptionsLongTextV3Type; - } - | { - type?: 'PhoneNumber' | 'URL' | 'Email'; - options?: FieldOptionsPhoneNumberV3Type; - } - | { - type?: 'Number' | 'Decimal'; - options?: FieldOptionsNumberV3Type; - } - | { - type?: 'JSON'; - options?: FieldOptionsJSONV3Type; - } - | { - type?: 'Currency'; - options?: FieldOptionsCurrencyV3Type; - } - | { - type?: 'Percent'; - options?: FieldOptionsPercentV3Type; - } - | { - type?: 'Duration'; - options?: FieldOptionsDurationV3Type; - } - | { - type?: 'Date' | 'DateTime' | 'Time'; - options?: FieldOptionsDateTimeV3Type; - } - | { - type?: 'Single select' | 'Multi select'; - options?: FieldOptionsSelectV3Type; - } - | { - type?: 'Rating' | 'Checkbox'; - options?: FieldOptionsRatingV3Type; - } - | { - type?: 'User'; - options?: FieldOptionsUserV3Type; - } - ); +export interface FieldBaseV3Type { + /** Field identifier. */ + id?: string; + /** Field name. */ + title: string; + /** Field type. */ + type: string; + /** Default value for the field. Applicable for SingleLineText, LongText, PhoneNumber, URL, Email, Number, Decimal, Currency, Percent, Duration, Date, DateTime, Time, SingleSelect, MultiSelect, Rating, Checkbox, User and JSON fields. */ + default_value?: string; + /** Field description. */ + description?: string; +} + +export type CreateFieldV3Type = FieldBaseV3Type; + +export type FieldOptionsV3Type = any; export interface TableCreateV3Type { /** Title of the table. */ @@ -1010,7 +1064,7 @@ export interface TableCreateV3Type { meta?: TableMetaV3Type; /** Unique identifier for the data source. Include this information only if the table being created is part of a data source. */ source_id?: string; - fields?: TableCreateFieldV3Type[]; + fields?: CreateFieldV3Type[]; } export interface TableMetaV3Type { @@ -1055,7 +1109,7 @@ export interface BaseMetaReqV3Type { * **Constraints**: * - Must be a valid 6-character hexadecimal color code preceded by a `#`. * - Optional field; defaults to a standard color if not provided. - * @format color + * @pattern ^#[0-9A-Fa-f]{6}$ */ icon_color?: string; } @@ -1063,7 +1117,7 @@ export interface BaseMetaReqV3Type { export interface BaseMetaResV3Type { /** * Specifies the color of the base icon using a hexadecimal color code (e.g., `#36BFFF`) - * @format color + * @pattern ^#[0-9A-Fa-f]{6}$ */ icon_color?: string; } @@ -6689,7 +6743,7 @@ export class Api< * @name Cost * @summary Base Cost * @request GET:/api/v1/db/meta/projects/{baseId}/cost - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -6698,7 +6752,7 @@ export class Api< */ cost: (baseId: IdType, params: RequestParams = {}) => this.request< - FieldOptionsJSONV3Type, + object, { /** @example BadRequest [Error]: */ msg: string; @@ -6865,7 +6919,7 @@ export class Api< * @name HasEmptyOrNullFilters * @summary List Empty & Null Filter * @request GET:/api/v1/db/meta/projects/{baseId}/has-empty-or-null-filters - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -6874,7 +6928,7 @@ export class Api< */ hasEmptyOrNullFilters: (baseId: IdType, params: RequestParams = {}) => this.request< - FilterCreateUpdateV3Type, + FieldOptionsButtonV3Type, { /** @example BadRequest [Error]: */ msg: string; @@ -7010,7 +7064,7 @@ export class Api< * @name Update * @summary Update Source * @request PATCH:/api/v1/db/meta/projects/{baseId}/bases/{sourceId} - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -7020,11 +7074,11 @@ export class Api< update: ( baseId: IdType, sourceId: string, - data: FieldOptionsJSONV3Type, + data: object, params: RequestParams = {} ) => this.request< - FieldOptionsJSONV3Type, + object, { /** @example BadRequest [Error]: */ msg: string; @@ -7045,7 +7099,7 @@ export class Api< * @name List * @summary List Sources * @request GET:/api/v1/db/meta/projects/{baseId}/bases/ - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -7054,7 +7108,7 @@ export class Api< */ list: (baseId: IdType, params: RequestParams = {}) => this.request< - FilterCreateUpdateV3Type, + FieldOptionsButtonV3Type, { /** @example BadRequest [Error]: */ msg: string; @@ -9401,7 +9455,7 @@ export class Api< * @name Create * @summary Create Table Row * @request POST:/api/v1/db/data/{orgs}/{baseName}/{tableName} - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -9412,7 +9466,7 @@ export class Api< orgs: string, baseName: string, tableName: string, - data: FieldOptionsJSONV3Type, + data: object, query?: { before?: string; undo?: boolean; @@ -9420,7 +9474,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FilterCreateUpdateV3Type, + FieldOptionsButtonV3Type, { /** @example BadRequest [Error]: */ msg: string; @@ -9442,7 +9496,7 @@ export class Api< * @name FindOne * @summary Find One Table Row * @request GET:/api/v1/db/data/{orgs}/{baseName}/{tableName}/find-one - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -9461,7 +9515,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FieldOptionsJSONV3Type, + object, { /** @example BadRequest [Error]: */ msg: string; @@ -9481,7 +9535,7 @@ export class Api< * @name GroupBy * @summary Group By Table Row * @request GET:/api/v1/db/data/{orgs}/{baseName}/{tableName}/groupby - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK */ groupBy: ( orgs: string, @@ -9499,7 +9553,7 @@ export class Api< }, params: RequestParams = {} ) => - this.request({ + this.request({ path: `/api/v1/db/data/${orgs}/${baseName}/${tableName}/groupby`, method: 'GET', query: query, @@ -9556,7 +9610,7 @@ export class Api< * @name Read * @summary Get Table Row * @request GET:/api/v1/db/data/{orgs}/{baseName}/{tableName}/{rowId} - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -9575,7 +9629,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FieldOptionsJSONV3Type, + object, { /** @example BadRequest [Error]: */ msg: string; @@ -9595,7 +9649,7 @@ export class Api< * @name Update * @summary Update Table Row * @request PATCH:/api/v1/db/data/{orgs}/{baseName}/{tableName}/{rowId} - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -9607,7 +9661,7 @@ export class Api< baseName: string, tableName: string, rowId: any, - data: FieldOptionsJSONV3Type, + data: object, query?: { /** To get Hidden Columns */ getHiddenColumn?: boolean; @@ -9615,7 +9669,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FieldOptionsJSONV3Type, + object, { /** @example BadRequest [Error]: */ msg: string; @@ -9863,7 +9917,7 @@ export class Api< * @name BulkUpdateAll * @summary Bulk Update Table Rows with Conditions * @request PATCH:/api/v1/db/data/bulk/{orgs}/{baseName}/{tableName}/all - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -9874,7 +9928,7 @@ export class Api< orgs: string, baseName: string, tableName: string, - data: FieldOptionsJSONV3Type, + data: object, query?: { where?: string; viewId?: string; @@ -9882,7 +9936,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FilterCreateUpdateV3Type, + FieldOptionsButtonV3Type, { /** @example BadRequest [Error]: */ msg: string; @@ -9942,7 +9996,7 @@ export class Api< * @name CsvExport * @summary Export Table View Rows * @request GET:/api/v1/db/data/{orgs}/{baseName}/{tableName}/export/{type} - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -9957,7 +10011,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FilterCreateUpdateV3Type, + FieldOptionsButtonV3Type, { /** @example BadRequest [Error]: */ msg: string; @@ -9976,7 +10030,7 @@ export class Api< * @name NestedList * @summary List Nested Relations Rows * @request GET:/api/v1/db/data/{orgs}/{baseName}/{tableName}/{rowId}/{relationType}/{columnName} - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -10000,7 +10054,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FilterCreateUpdateV3Type, + FieldOptionsButtonV3Type, { /** @example BadRequest [Error]: */ msg: string; @@ -10131,7 +10185,7 @@ export class Api< * @name NestedChildrenExcludedList * @summary Referenced Table Rows Excluding Current Record's Children / Parent * @request GET:/api/v1/db/data/{orgs}/{baseName}/{tableName}/{rowId}/{relationType}/{columnName}/exclude - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -10155,7 +10209,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FilterCreateUpdateV3Type, + FieldOptionsButtonV3Type, { /** @example BadRequest [Error]: */ msg: string; @@ -10274,7 +10328,7 @@ export class Api< * @name Create * @summary Create Table View Row * @request POST:/api/v1/db/data/{orgs}/{baseName}/{tableName}/views/{viewName} - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -10286,7 +10340,7 @@ export class Api< baseName: string, tableName: string, viewName: string, - data: FieldOptionsJSONV3Type, + data: object, query?: { before?: string; undo?: string; @@ -10294,7 +10348,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FieldOptionsJSONV3Type, + object, { /** @example BadRequest [Error]: */ msg: string; @@ -10316,7 +10370,7 @@ export class Api< * @name FindOne * @summary Find One Table View Row * @request GET:/api/v1/db/data/{orgs}/{baseName}/{tableName}/views/{viewName}/find-one - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -10338,7 +10392,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FieldOptionsJSONV3Type, + object, { /** @example BadRequest [Error]: */ msg: string; @@ -10358,7 +10412,7 @@ export class Api< * @name GroupBy * @summary Group By Table View Row * @request GET:/api/v1/db/data/{orgs}/{baseName}/{tableName}/views/{viewName}/groupby - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -10383,7 +10437,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FilterCreateUpdateV3Type, + FieldOptionsButtonV3Type, { /** @example BadRequest [Error]: */ msg: string; @@ -10440,7 +10494,7 @@ export class Api< * @name Read * @summary Get Table View Row * @request GET:/api/v1/db/data/{orgs}/{baseName}/{tableName}/views/{viewName}/{rowId} - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -10456,7 +10510,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FieldOptionsJSONV3Type, + object, { /** @example BadRequest [Error]: */ msg: string; @@ -10475,7 +10529,7 @@ export class Api< * @name Update * @summary Update Table View Row * @request PATCH:/api/v1/db/data/{orgs}/{baseName}/{tableName}/views/{viewName}/{rowId} - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -10488,11 +10542,11 @@ export class Api< tableName: string, viewName: string, rowId: any, - data: FieldOptionsJSONV3Type, + data: object, params: RequestParams = {} ) => this.request< - FieldOptionsJSONV3Type, + object, { /** @example BadRequest [Error]: */ msg: string; @@ -10583,7 +10637,7 @@ export class Api< * @name Export * @summary Export Table View Rows * @request GET:/api/v1/db/data/{orgs}/{baseName}/{tableName}/views/{viewName}/export/{type} - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -10599,7 +10653,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FilterCreateUpdateV3Type, + FieldOptionsButtonV3Type, { /** @example BadRequest [Error]: */ msg: string; @@ -10716,7 +10770,7 @@ export class Api< * @name DbCalendarViewRowCount * @summary Count of Records in Dates in Calendar View * @request GET:/api/v1/db/calendar-data/{orgs}/{baseName}/{tableName}/views/{viewName}/countByDate/ - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -10741,7 +10795,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FilterCreateUpdateV3Type, + FieldOptionsButtonV3Type, { /** @example BadRequest [Error]: */ msg: string; @@ -10762,7 +10816,7 @@ export class Api< * @name DataCalendarRowCount * @summary Count of Records in Dates in Calendar View * @request GET:/api/v1/db/public/calendar-view/{sharedViewUuid}/countByDate - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -10784,7 +10838,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FilterCreateUpdateV3Type, + FieldOptionsButtonV3Type, { /** @example BadRequest [Error]: */ msg: string; @@ -10838,7 +10892,7 @@ export class Api< * @name DataTableBulkDataList * @summary Read Shared View Bulk Data List * @request POST:/api/v2/public/shared-view/{sharedViewUuid}/bulk/dataList - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -10855,7 +10909,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FieldOptionsJSONV3Type, + object, { /** @example BadRequest [Error]: */ msg: string; @@ -10877,7 +10931,7 @@ export class Api< * @name DataTableBulkGroup * @summary Read Shared View Bulk Group Data * @request POST:/api/v2/public/shared-view/{sharedViewUuid}/bulk/group - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -10894,7 +10948,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FieldOptionsJSONV3Type, + object, { /** @example BadRequest [Error]: */ msg: string; @@ -10916,7 +10970,7 @@ export class Api< * @name DataTableAggregate * @summary Read Shared View Aggregated Data * @request GET:/api/v2/public/shared-view/{sharedViewUuid}/aggregate - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -10936,7 +10990,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FieldOptionsJSONV3Type, + object, { /** @example BadRequest [Error]: */ msg: string; @@ -11138,7 +11192,7 @@ export class Api< * @name DataCreate * @summary Create Share View Row * @request POST:/api/v1/db/public/shared-view/{sharedViewUuid}/rows - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -11151,7 +11205,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FieldOptionsJSONV3Type, + object, { /** @example BadRequest [Error]: */ msg: string; @@ -11296,7 +11350,7 @@ export class Api< * @name CsvExport * @summary Export Rows in Share View * @request GET:/api/v1/db/public/shared-view/{sharedViewUuid}/rows/export/{type} - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -11309,7 +11363,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FilterCreateUpdateV3Type, + FieldOptionsButtonV3Type, { /** @example BadRequest [Error]: */ msg: string; @@ -11328,7 +11382,7 @@ export class Api< * @name DataRelationList * @summary List Nested Data Relation * @request GET:/api/v1/db/public/shared-view/{sharedViewUuid}/nested/{columnName} - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -11363,7 +11417,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FilterCreateUpdateV3Type, + FieldOptionsButtonV3Type, { /** @example BadRequest [Error]: */ msg: string; @@ -11491,7 +11545,7 @@ export class Api< * @name DbDataTableBulkList * @summary Read Bulk Data * @request POST:/api/v2/tables/{tableId}/bulk/dataList - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -11510,7 +11564,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FieldOptionsJSONV3Type, + object, { /** @example BadRequest [Error]: */ msg: string; @@ -11533,7 +11587,7 @@ export class Api< * @name DbDataTableBulkGroupList * @summary Read Bulk Group Data * @request POST:/api/v2/tables/{tableId}/bulk/group - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -11550,7 +11604,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FieldOptionsJSONV3Type, + object, { /** @example BadRequest [Error]: */ msg: string; @@ -11575,6 +11629,8 @@ export class Api< * @request GET:/api/v1/db/meta/audits * @response `200` `{ list: (AuditType)[], + \** Pagination Info *\ + pageInfo?: PaginatedType, }` OK * @response `400` `{ @@ -11585,6 +11641,10 @@ export class Api< */ auditList: ( query: { + /** @min 0 */ + offset?: number; + /** @min 1 */ + limit?: number; /** * Row ID * @example 10 @@ -11601,6 +11661,8 @@ export class Api< this.request< { list: AuditType[]; + /** Pagination Info */ + pageInfo?: PaginatedType; }, { /** @example BadRequest [Error]: */ @@ -12133,19 +12195,16 @@ export class Api< * @name AxiosRequestMake * @summary Axios Request * @request POST:/api/v1/db/meta/axiosRequestMake - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, }` */ - axiosRequestMake: ( - data: FieldOptionsJSONV3Type, - params: RequestParams = {} - ) => + axiosRequestMake: (data: object, params: RequestParams = {}) => this.request< - FieldOptionsJSONV3Type, + object, { /** @example BadRequest [Error]: */ msg: string; @@ -12499,10 +12558,10 @@ export class Api< * @name CommandPalette * @summary Get command palette suggestions * @request POST:/api/v1/command_palette - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK */ commandPalette: (data: any, params: RequestParams = {}) => - this.request({ + this.request({ path: `/api/v1/command_palette`, method: 'POST', body: data, @@ -12852,7 +12911,7 @@ export class Api< * @name Test * @summary Test Plugin * @request POST:/api/v1/db/meta/plugins/test - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -12861,7 +12920,7 @@ export class Api< */ test: (data: PluginTestReqType, params: RequestParams = {}) => this.request< - FilterCreateUpdateV3Type, + FieldOptionsButtonV3Type, { /** @example BadRequest [Error]: */ msg: string; @@ -12882,7 +12941,7 @@ export class Api< * @name Update * @summary Update Plugin * @request PATCH:/api/v1/db/meta/plugins/{pluginId} - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -12895,7 +12954,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FilterCreateUpdateV3Type, + FieldOptionsButtonV3Type, { /** @example BadRequest [Error]: */ msg: string; @@ -13105,10 +13164,10 @@ export class Api< * @name Poll * @summary Notification Poll * @request GET:/api/v1/notifications/poll - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK */ poll: (params: RequestParams = {}) => - this.request({ + this.request({ path: `/api/v1/notifications/poll`, method: 'GET', format: 'json', @@ -13202,7 +13261,7 @@ export class Api< * @name DbDataTableAggregate * @summary Read Aggregated Data * @request GET:/api/v2/tables/{tableId}/aggregate - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -13224,7 +13283,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FieldOptionsJSONV3Type, + object, { /** @example BadRequest [Error]: */ msg: string; @@ -13314,7 +13373,7 @@ export class Api< * @name Create * @summary Create Table Rows * @request POST:/api/v2/tables/{tableId}/records - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -13333,7 +13392,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FilterCreateUpdateV3Type, + FieldOptionsButtonV3Type, { /** @example BadRequest [Error]: */ msg: string; @@ -13355,7 +13414,7 @@ export class Api< * @name Update * @summary Update Table Rows * @request PATCH:/api/v2/tables/{tableId}/records - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -13372,7 +13431,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FilterCreateUpdateV3Type, + FieldOptionsButtonV3Type, { /** @example BadRequest [Error]: */ msg: string; @@ -13394,7 +13453,7 @@ export class Api< * @name Delete * @summary Delete Table Rows * @request DELETE:/api/v2/tables/{tableId}/records - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -13411,7 +13470,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FilterCreateUpdateV3Type, + FieldOptionsButtonV3Type, { /** @example BadRequest [Error]: */ msg: string; @@ -13433,7 +13492,7 @@ export class Api< * @name Read * @summary Read Table Row * @request GET:/api/v2/tables/{tableId}/records/{rowId} - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -13457,7 +13516,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FieldOptionsJSONV3Type, + object, { /** @example BadRequest [Error]: */ msg: string; @@ -13477,7 +13536,7 @@ export class Api< * @name Move * @summary Move Table Row * @request POST:/api/v2/tables/{tableId}/records/{rowId}/move - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -13494,7 +13553,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FieldOptionsJSONV3Type, + object, { /** @example BadRequest [Error]: */ msg: string; @@ -13630,7 +13689,7 @@ export class Api< * @name NestedLink * @summary Create Nested Relations Rows * @request POST:/api/v2/tables/{tableId}/links/{columnId}/records/{rowId} - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -13649,7 +13708,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FilterCreateUpdateV3Type, + FieldOptionsButtonV3Type, { /** @example BadRequest [Error]: */ msg: string; @@ -13671,7 +13730,7 @@ export class Api< * @name NestedUnlink * @summary Delete Nested Relations Rows * @request DELETE:/api/v2/tables/{tableId}/links/{columnId}/records/{rowId} - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -13690,7 +13749,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FilterCreateUpdateV3Type, + FieldOptionsButtonV3Type, { /** @example BadRequest [Error]: */ msg: string; @@ -13753,7 +13812,7 @@ export class Api< * @name NestedListCopyPasteOrDeleteAll * @summary Copy paste or deleteAll nested link * @request POST:/api/v2/tables/{tableId}/links/{columnId}/records - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK * @response `400` `{ \** @example BadRequest [Error]: *\ msg: string, @@ -13771,7 +13830,7 @@ export class Api< params: RequestParams = {} ) => this.request< - FilterCreateUpdateV3Type, + FieldOptionsButtonV3Type, { /** @example BadRequest [Error]: */ msg: string; @@ -13819,14 +13878,10 @@ export class Api< * @name Create * @summary Create Extension * @request POST:/api/v2/extensions/{baseId} - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK */ - create: ( - baseId: IdType, - data: FieldOptionsJSONV3Type, - params: RequestParams = {} - ) => - this.request({ + create: (baseId: IdType, data: object, params: RequestParams = {}) => + this.request({ path: `/api/v2/extensions/${baseId}`, method: 'POST', body: data, @@ -13842,10 +13897,10 @@ export class Api< * @name Read * @summary Get Extension * @request GET:/api/v2/extensions/{extensionId} - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK */ read: (extensionId: IdType, params: RequestParams = {}) => - this.request({ + this.request({ path: `/api/v2/extensions/${extensionId}`, method: 'GET', format: 'json', @@ -13859,14 +13914,10 @@ export class Api< * @name Update * @summary Update Extension * @request PATCH:/api/v2/extensions/{extensionId} - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK */ - update: ( - extensionId: IdType, - data: FieldOptionsJSONV3Type, - params: RequestParams = {} - ) => - this.request({ + update: (extensionId: IdType, data: object, params: RequestParams = {}) => + this.request({ path: `/api/v2/extensions/${extensionId}`, method: 'PATCH', body: data, @@ -13882,10 +13933,10 @@ export class Api< * @name Delete * @summary Delete Extension * @request DELETE:/api/v2/extensions/{extensionId} - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK */ delete: (extensionId: IdType, params: RequestParams = {}) => - this.request({ + this.request({ path: `/api/v2/extensions/${extensionId}`, method: 'DELETE', format: 'json', @@ -13901,7 +13952,7 @@ export class Api< * @summary Jobs Listen * @request POST:/jobs/listen */ - listen: (data: FieldOptionsJSONV3Type, params: RequestParams = {}) => + listen: (data: object, params: RequestParams = {}) => this.request({ path: `/jobs/listen`, method: 'POST', @@ -13946,7 +13997,7 @@ export class Api< data: ( viewId: IdType, exportAs: 'csv', - data: FieldOptionsJSONV3Type, + data: object, params: RequestParams = {} ) => this.request({ @@ -13965,7 +14016,7 @@ export class Api< * @name Utils * @summary AI Utils * @request POST:/api/v2/ai/bases/{baseId}/utils - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK */ utils: ( baseId: IdType, @@ -13975,7 +14026,7 @@ export class Api< }, params: RequestParams = {} ) => - this.request({ + this.request({ path: `/api/v2/ai/bases/${baseId}/utils`, method: 'POST', body: data, @@ -13991,7 +14042,7 @@ export class Api< * @name Schema * @summary AI Schema * @request POST:/api/v2/ai/bases/{baseId}/schema - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK */ schema: ( baseId: IdType, @@ -14001,7 +14052,7 @@ export class Api< }, params: RequestParams = {} ) => - this.request({ + this.request({ path: `/api/v2/ai/bases/${baseId}/schema`, method: 'POST', body: data, @@ -14017,7 +14068,7 @@ export class Api< * @name SchemaCreate * @summary AI Schema * @request POST:/api/v2/ai/workspaces/{workspaceId}/bases - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK */ schemaCreate: ( workspaceId: IdType, @@ -14027,7 +14078,7 @@ export class Api< }, params: RequestParams = {} ) => - this.request({ + this.request({ path: `/api/v2/ai/workspaces/${workspaceId}/bases`, method: 'POST', body: data, @@ -14132,7 +14183,7 @@ export class Api< * @name List * @summary List integrations * @request GET:/api/v2/meta/integrations - * @response `200` `FilterCreateUpdateV3Type` OK + * @response `200` `FieldOptionsButtonV3Type` OK */ list: ( query?: { @@ -14146,7 +14197,7 @@ export class Api< }, params: RequestParams = {} ) => - this.request({ + this.request({ path: `/api/v2/meta/integrations`, method: 'GET', query: query, @@ -14294,10 +14345,10 @@ export class Api< * @name List * @summary Integration List * @request GET:/api/v2/integrations - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK */ list: (params: RequestParams = {}) => - this.request({ + this.request({ path: `/api/v2/integrations`, method: 'GET', format: 'json', @@ -14311,10 +14362,10 @@ export class Api< * @name Info * @summary Get Integration Info * @request GET:/api/v2/integrations/:type/:subType - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK */ info: (type: string, subType: string, params: RequestParams = {}) => - this.request({ + this.request({ path: `/api/v2/integrations/${type}/${subType}`, method: 'GET', format: 'json', @@ -14328,15 +14379,15 @@ export class Api< * @name Endpoint * @summary Call exposed integration endpoint * @request POST:/api/v2/integrations/:integrationId/:endpoint - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK */ endpoint: ( integrationId: string, endpoint: string, - data: FieldOptionsJSONV3Type, + data: object, params: RequestParams = {} ) => - this.request({ + this.request({ path: `/api/v2/integrations/${integrationId}/${endpoint}`, method: 'POST', body: data, @@ -14353,7 +14404,7 @@ export class Api< * @name TriggerButton * @summary Trigger a button action * @request POST:/api/v2/tables/:tableId/button/:fieldId - * @response `200` `FieldOptionsJSONV3Type` OK + * @response `200` `object` OK */ triggerButton: ( tableId: string, @@ -14369,7 +14420,7 @@ export class Api< }, params: RequestParams = {} ) => - this.request({ + this.request({ path: `/api/v2/tables/${tableId}/button/${fieldId}`, method: 'POST', query: query, diff --git a/packages/nocodb/package.json b/packages/nocodb/package.json index 167d0c35c9..b671361999 100644 --- a/packages/nocodb/package.json +++ b/packages/nocodb/package.json @@ -1,6 +1,6 @@ { "name": "nocodb", - "version": "0.260.2", + "version": "0.260.3", "description": "NocoDB Backend", "main": "dist/bundle.js", "author": { @@ -126,9 +126,9 @@ "multer": "^1.4.5-lts.1", "mysql2": "^3.9.7", "nanoid": "^3.3.7", - "nc-lib-gui": "0.260.2", + "nc-lib-gui": "0.260.3", "nestjs-throttler-storage-redis": "^0.4.4", - "nocodb-sdk": "workspace:^", + "nocodb-sdk": "0.260.3", "node-addon-api": "^8.3.0", "nodemailer": "^6.9.13", "object-hash": "^3.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b730e37450..b845e3fa59 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -202,8 +202,8 @@ importers: specifier: ^0.11.0 version: 0.11.0 nocodb-sdk: - specifier: workspace:^ - version: link:../nocodb-sdk + specifier: 0.260.3 + version: 0.260.3 papaparse: specifier: ^5.4.1 version: 5.4.1 @@ -841,14 +841,14 @@ importers: specifier: ^3.3.7 version: 3.3.7 nc-lib-gui: - specifier: 0.260.2 - version: 0.260.2 + specifier: 0.260.3 + version: 0.260.3 nestjs-throttler-storage-redis: specifier: ^0.4.4 version: 0.4.4(@nestjs/common@10.3.8(class-validator@0.14.1)(reflect-metadata@0.2.1)(rxjs@7.8.1))(@nestjs/core@10.3.8)(@nestjs/throttler@5.1.2(@nestjs/common@10.3.8(class-validator@0.14.1)(reflect-metadata@0.2.1)(rxjs@7.8.1))(@nestjs/core@10.3.8)(reflect-metadata@0.2.1))(ioredis@5.4.1)(reflect-metadata@0.2.1) nocodb-sdk: - specifier: workspace:^ - version: link:../nocodb-sdk + specifier: 0.260.3 + version: 0.260.3(debug@4.3.4) node-addon-api: specifier: ^8.3.0 version: 8.3.0 @@ -4141,6 +4141,7 @@ packages: '@playwright/test@1.43.1': resolution: {integrity: sha512-HgtQzFgNEEo4TE22K/X7sYTYNqEMMTZmFS8kTq6m8hXj+m1D8TgwgIbumHddJa9h4yl4GkKb8/bgAl2+g7eDgA==} engines: {node: '>=16'} + deprecated: Please update to the latest version of Playwright to test up-to-date browsers. hasBin: true '@polka/url@1.0.0-next.21': @@ -10864,6 +10865,7 @@ packages: lodash.isequal@4.5.0: resolution: {integrity: sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==} + deprecated: This package is deprecated. Use require('node:util').isDeepStrictEqual instead. lodash.isinteger@4.0.4: resolution: {integrity: sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==} @@ -11520,8 +11522,8 @@ packages: natural-compare@1.4.0: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} - nc-lib-gui@0.260.2: - resolution: {integrity: sha512-ioz1W4vMmRHULhH7qB2qXwoBa+a5m211kGjn1oFjzXIllh/zwUDGO5qJcbykI8g6jzooAXmbZtkUKoUsVjlmEQ==} + nc-lib-gui@0.260.3: + resolution: {integrity: sha512-WuIF6cHWHex2nFmCKhB8s0CuOnJ3i0lSBF6Mm6oDDqMZCquAhb02/W7at5IhYTz7ICVMvieVOo5E8TggsfBH7Q==} negotiator@0.6.3: resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} @@ -11560,6 +11562,10 @@ packages: xml2js: optional: true + nocodb-sdk@0.260.3: + resolution: {integrity: sha512-LEIl7pgRb3suhZew3BzfbbrLWF6fsCikl5lhZ93QpCyOSQlP2R6rbvOhWwpX/9QCiz8KS0eQZn8B2USBhlrnXQ==} + engines: {node: '>=18.19.1'} + node-abi@3.47.0: resolution: {integrity: sha512-2s6B2CWZM//kPgwnuI0KrYwNjfdByE25zvAaEpq9IH4zcNsarH8Ihu/UuX6XMPEogDAxkuUFeZn60pXNHAqn3A==} engines: {node: '>=10'} @@ -17134,7 +17140,7 @@ snapshots: '@babel/traverse': 7.24.1 '@babel/types': 7.26.3 convert-source-map: 2.0.0 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -17154,7 +17160,7 @@ snapshots: '@babel/traverse': 7.26.3 '@babel/types': 7.26.3 convert-source-map: 2.0.0 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -17549,7 +17555,7 @@ snapshots: '@babel/helper-split-export-declaration': 7.22.6 '@babel/parser': 7.26.3 '@babel/types': 7.26.3 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -17561,7 +17567,7 @@ snapshots: '@babel/parser': 7.26.3 '@babel/template': 7.25.9 '@babel/types': 7.26.3 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -18017,7 +18023,7 @@ snapshots: '@eslint/eslintrc@1.4.1': dependencies: ajv: 6.12.6 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) espree: 9.6.1 globals: 13.21.0 ignore: 5.3.2 @@ -18117,7 +18123,7 @@ snapshots: '@humanwhocodes/config-array@0.11.10': dependencies: '@humanwhocodes/object-schema': 1.2.1 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) minimatch: 3.1.2 transitivePeerDependencies: - supports-color @@ -18235,7 +18241,7 @@ snapshots: '@antfu/install-pkg': 0.1.1 '@antfu/utils': 0.7.7 '@iconify/types': 2.0.0 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) kolorist: 1.8.0 local-pkg: 0.5.0 mlly: 1.5.0 @@ -18748,7 +18754,7 @@ snapshots: '@kwsites/file-exists@1.1.1': dependencies: - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) transitivePeerDependencies: - supports-color @@ -19766,7 +19772,7 @@ snapshots: dependencies: '@iconify/iconify': 2.1.2(encoding@0.1.13) axios: 1.6.8(debug@4.3.7) - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) fast-glob: 3.3.2 fs-extra: 10.1.0 transitivePeerDependencies: @@ -20987,7 +20993,7 @@ snapshots: '@swc-node/sourcemap-support': 0.5.1 '@swc/core': 1.9.2 colorette: 2.0.20 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) oxc-resolver: 1.12.0 pirates: 4.0.6 tslib: 2.8.1 @@ -21002,7 +21008,7 @@ snapshots: '@swc-node/sourcemap-support': 0.5.1 '@swc/core': 1.9.2 colorette: 2.0.20 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) oxc-resolver: 1.12.0 pirates: 4.0.6 tslib: 2.8.1 @@ -21695,7 +21701,7 @@ snapshots: '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/type-utils': 5.62.0(eslint@8.56.0)(typescript@5.6.2) '@typescript-eslint/utils': 5.62.0(eslint@8.56.0)(typescript@5.6.2) - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) eslint: 8.56.0 graphemer: 1.4.0 ignore: 5.3.2 @@ -21753,7 +21759,7 @@ snapshots: '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.6.2) - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) eslint: 8.56.0 optionalDependencies: typescript: 5.6.2 @@ -21841,7 +21847,7 @@ snapshots: dependencies: '@typescript-eslint/typescript-estree': 6.1.0(typescript@5.6.2) '@typescript-eslint/utils': 6.1.0(eslint@8.33.0)(typescript@5.6.2) - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) eslint: 8.33.0 ts-api-utils: 1.0.2(typescript@5.6.2) optionalDependencies: @@ -21871,7 +21877,7 @@ snapshots: dependencies: '@typescript-eslint/types': 5.62.0 '@typescript-eslint/visitor-keys': 5.62.0 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) globby: 11.1.0 is-glob: 4.0.3 semver: 7.6.3 @@ -21885,7 +21891,7 @@ snapshots: dependencies: '@typescript-eslint/types': 5.62.0 '@typescript-eslint/visitor-keys': 5.62.0 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) globby: 11.1.0 is-glob: 4.0.3 semver: 7.6.3 @@ -21899,7 +21905,7 @@ snapshots: dependencies: '@typescript-eslint/types': 6.1.0 '@typescript-eslint/visitor-keys': 6.1.0 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) globby: 11.1.0 is-glob: 4.0.3 semver: 7.6.3 @@ -22570,7 +22576,7 @@ snapshots: vue-demi: 0.14.7(vue@3.5.13(typescript@5.6.2)) optionalDependencies: async-validator: 4.2.5 - axios: 1.6.8(debug@4.3.7) + axios: 1.6.8 change-case: 5.4.4 focus-trap: 7.5.4 fuse.js: 6.6.2 @@ -22764,7 +22770,7 @@ snapshots: '@windicss/config@1.9.4': dependencies: - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) jiti: 1.21.6 windicss: 3.5.6 transitivePeerDependencies: @@ -22780,7 +22786,7 @@ snapshots: dependencies: '@antfu/utils': 0.7.10 '@windicss/config': 1.9.4 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) fast-glob: 3.3.2 magic-string: 0.30.14 micromatch: 4.0.8 @@ -22875,7 +22881,13 @@ snapshots: agent-base@6.0.2: dependencies: - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) + transitivePeerDependencies: + - supports-color + + agent-base@7.1.0: + dependencies: + debug: 4.3.7(supports-color@5.5.0) transitivePeerDependencies: - supports-color @@ -23230,6 +23242,14 @@ snapshots: transitivePeerDependencies: - debug + axios@1.6.8: + dependencies: + follow-redirects: 1.15.6(debug@4.3.7) + form-data: 4.0.0 + proxy-from-env: 1.1.0 + transitivePeerDependencies: + - debug + axios@1.6.8(debug@4.3.4): dependencies: follow-redirects: 1.15.6(debug@4.3.4) @@ -24893,7 +24913,7 @@ snapshots: engine.io-client@6.5.3: dependencies: '@socket.io/component-emitter': 3.1.0 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) engine.io-parser: 5.2.1 ws: 8.18.0 xmlhttprequest-ssl: 2.0.0 @@ -24913,7 +24933,7 @@ snapshots: base64id: 2.0.0 cookie: 0.4.2 cors: 2.8.5 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) engine.io-parser: 5.2.1 ws: 8.18.0 transitivePeerDependencies: @@ -25629,7 +25649,7 @@ snapshots: eslint-plugin-yml@1.12.2(eslint@8.56.0): dependencies: - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) eslint: 8.56.0 eslint-compat-utils: 0.4.1(eslint@8.56.0) lodash: 4.17.21 @@ -26193,7 +26213,7 @@ snapshots: follow-redirects@1.15.6(debug@4.3.7): optionalDependencies: - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) for-each@0.3.3: dependencies: @@ -26903,7 +26923,7 @@ snapshots: dependencies: '@tootallnate/once': 1.1.2 agent-base: 6.0.2 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) transitivePeerDependencies: - supports-color optional: true @@ -26912,14 +26932,14 @@ snapshots: dependencies: '@tootallnate/once': 2.0.0 agent-base: 6.0.2 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) transitivePeerDependencies: - supports-color http-proxy-agent@7.0.0: dependencies: - agent-base: 7.1.0(supports-color@9.4.0) - debug: 4.3.7(supports-color@9.4.0) + agent-base: 7.1.0 + debug: 4.3.7(supports-color@5.5.0) transitivePeerDependencies: - supports-color @@ -26966,8 +26986,8 @@ snapshots: https-proxy-agent@7.0.2: dependencies: - agent-base: 7.1.0(supports-color@9.4.0) - debug: 4.3.7(supports-color@9.4.0) + agent-base: 7.1.0 + debug: 4.3.7(supports-color@5.5.0) transitivePeerDependencies: - supports-color @@ -27582,7 +27602,7 @@ snapshots: istanbul-lib-source-maps@4.0.1: dependencies: - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) istanbul-lib-coverage: 3.2.0 source-map: 0.6.1 transitivePeerDependencies: @@ -28988,7 +29008,7 @@ snapshots: micromark@2.11.4: dependencies: - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) parse-entities: 2.0.0 transitivePeerDependencies: - supports-color @@ -28996,7 +29016,7 @@ snapshots: micromark@4.0.0: dependencies: '@types/debug': 4.1.12 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) decode-named-character-reference: 1.0.2 devlop: 1.1.0 micromark-core-commonmark: 2.0.1 @@ -29430,7 +29450,7 @@ snapshots: natural-compare@1.4.0: {} - nc-lib-gui@0.260.2: + nc-lib-gui@0.260.3: dependencies: express: 4.19.2 transitivePeerDependencies: @@ -29549,6 +29569,22 @@ snapshots: - typescript - uWebSockets.js + nocodb-sdk@0.260.3: + dependencies: + axios: 1.6.8 + dayjs: 1.11.11 + jsep: 1.3.8 + transitivePeerDependencies: + - debug + + nocodb-sdk@0.260.3(debug@4.3.4): + dependencies: + axios: 1.6.8(debug@4.3.4) + dayjs: 1.11.11 + jsep: 1.3.8 + transitivePeerDependencies: + - debug + node-abi@3.47.0: dependencies: semver: 7.6.3 @@ -29943,7 +29979,7 @@ snapshots: '@yarnpkg/lockfile': 1.1.0 '@yarnpkg/parsers': 3.0.0-rc.46 '@zkochan/js-yaml': 0.0.6 - axios: 1.6.8(debug@4.3.7) + axios: 1.6.8 chalk: 4.1.2 cli-cursor: 3.1.0 cli-spinners: 2.6.1 @@ -32064,7 +32100,7 @@ snapshots: dependencies: '@kwsites/file-exists': 1.1.1 '@kwsites/promise-deferred': 1.1.1 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) transitivePeerDependencies: - supports-color @@ -32154,7 +32190,7 @@ snapshots: socket.io-parser@4.2.4: dependencies: '@socket.io/component-emitter': 3.1.0 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) transitivePeerDependencies: - supports-color @@ -32181,7 +32217,7 @@ snapshots: socks-proxy-agent@6.2.1: dependencies: agent-base: 6.0.2 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) socks: 2.7.1 transitivePeerDependencies: - supports-color @@ -32190,7 +32226,7 @@ snapshots: socks-proxy-agent@7.0.0: dependencies: agent-base: 6.0.2 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) socks: 2.7.1 transitivePeerDependencies: - supports-color @@ -32250,7 +32286,7 @@ snapshots: spdy-transport@3.0.0: dependencies: - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) detect-node: 2.1.0 hpack.js: 2.1.6 obuf: 1.1.2 @@ -32261,7 +32297,7 @@ snapshots: spdy@4.0.2: dependencies: - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) handle-thing: 2.0.1 http-deceiver: 1.2.7 select-hose: 2.0.0 @@ -32568,7 +32604,7 @@ snapshots: dependencies: component-emitter: 1.3.0 cookiejar: 2.1.4 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) fast-safe-stringify: 2.1.1 form-data: 4.0.0 formidable: 2.1.2 @@ -32636,7 +32672,7 @@ snapshots: swagger-typescript-api@10.0.3(encoding@0.1.13): dependencies: '@types/swagger-schema-official': 2.0.22 - axios: 1.6.8(debug@4.3.7) + axios: 1.6.8 commander: 9.4.1 cosmiconfig: 7.0.1 eta: 1.12.3 @@ -33071,7 +33107,7 @@ snapshots: tuf-js@1.1.7: dependencies: '@tufjs/models': 1.0.4 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) make-fetch-happen: 11.1.1 transitivePeerDependencies: - supports-color @@ -33663,7 +33699,7 @@ snapshots: vite-node@1.2.2(@types/node@22.10.2)(sass@1.71.1)(terser@5.27.0): dependencies: cac: 6.7.14 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) pathe: 1.1.2 picocolors: 1.1.0 vite: 5.2.11(@types/node@22.10.2)(sass@1.71.1)(terser@5.27.0) @@ -33680,7 +33716,7 @@ snapshots: vite-node@2.1.8(@types/node@22.10.2)(sass@1.71.1)(terser@5.27.0): dependencies: cac: 6.7.14 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) es-module-lexer: 1.5.4 pathe: 1.1.2 vite: 5.4.11(@types/node@22.10.2)(sass@1.71.1)(terser@5.27.0) @@ -33721,7 +33757,7 @@ snapshots: dependencies: '@antfu/utils': 0.7.10 '@rollup/pluginutils': 5.1.3(rollup@4.28.0) - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) error-stack-parser-es: 0.1.5 fs-extra: 11.2.0 open: 10.1.0 @@ -33767,7 +33803,7 @@ snapshots: vite-plugin-windicss@1.9.4(vite@5.4.11(@types/node@22.10.2)(sass@1.71.1)(terser@5.27.0)): dependencies: '@windicss/plugin-utils': 1.9.4 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) kolorist: 1.8.0 vite: 5.4.11(@types/node@22.10.2)(sass@1.71.1)(terser@5.27.0) windicss: 3.5.6 @@ -33929,7 +33965,7 @@ snapshots: vue-eslint-parser@9.4.2(eslint@8.56.0): dependencies: - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) eslint: 8.56.0 eslint-scope: 7.2.2 eslint-visitor-keys: 3.4.3 @@ -34349,7 +34385,7 @@ snapshots: windicss-webpack-plugin@1.8.0: dependencies: '@windicss/plugin-utils': 1.9.4 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) get-port: 6.1.2 loader-utils: 2.0.4 lodash: 4.17.21 @@ -34570,7 +34606,7 @@ snapshots: youtube-player@5.6.0: dependencies: - debug: 4.3.7(supports-color@9.4.0) + debug: 4.3.7(supports-color@5.5.0) load-script: 1.0.0 sister: 3.0.2 transitivePeerDependencies: From 3c6ff98c5ce18c0007be8df0d4cad487db43a2cd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 4 Feb 2025 07:43:50 +0000 Subject: [PATCH 2/2] chore: update sdk path --- packages/nc-gui/package.json | 2 +- packages/nocodb/package.json | 2 +- pnpm-lock.yaml | 146 ++++++++++++++--------------------- 3 files changed, 58 insertions(+), 92 deletions(-) diff --git a/packages/nc-gui/package.json b/packages/nc-gui/package.json index 6a9ea9f0f8..53851b5695 100644 --- a/packages/nc-gui/package.json +++ b/packages/nc-gui/package.json @@ -92,7 +92,7 @@ "marked": "^4.3.0", "monaco-editor": "^0.50.0", "monaco-sql-languages": "^0.11.0", - "nocodb-sdk": "0.260.3", + "nocodb-sdk": "workspace:^", "papaparse": "^5.4.1", "parse-github-url": "^1.0.2", "pdfobject": "^2.3.0", diff --git a/packages/nocodb/package.json b/packages/nocodb/package.json index b671361999..02343d46c2 100644 --- a/packages/nocodb/package.json +++ b/packages/nocodb/package.json @@ -128,7 +128,7 @@ "nanoid": "^3.3.7", "nc-lib-gui": "0.260.3", "nestjs-throttler-storage-redis": "^0.4.4", - "nocodb-sdk": "0.260.3", + "nocodb-sdk": "workspace:^", "node-addon-api": "^8.3.0", "nodemailer": "^6.9.13", "object-hash": "^3.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b845e3fa59..42116b3e4a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -202,8 +202,8 @@ importers: specifier: ^0.11.0 version: 0.11.0 nocodb-sdk: - specifier: 0.260.3 - version: 0.260.3 + specifier: workspace:^ + version: link:../nocodb-sdk papaparse: specifier: ^5.4.1 version: 5.4.1 @@ -847,8 +847,8 @@ importers: specifier: ^0.4.4 version: 0.4.4(@nestjs/common@10.3.8(class-validator@0.14.1)(reflect-metadata@0.2.1)(rxjs@7.8.1))(@nestjs/core@10.3.8)(@nestjs/throttler@5.1.2(@nestjs/common@10.3.8(class-validator@0.14.1)(reflect-metadata@0.2.1)(rxjs@7.8.1))(@nestjs/core@10.3.8)(reflect-metadata@0.2.1))(ioredis@5.4.1)(reflect-metadata@0.2.1) nocodb-sdk: - specifier: 0.260.3 - version: 0.260.3(debug@4.3.4) + specifier: workspace:^ + version: link:../nocodb-sdk node-addon-api: specifier: ^8.3.0 version: 8.3.0 @@ -1062,7 +1062,7 @@ importers: dependencies: axios: specifier: ^1.6.8 - version: 1.6.8(debug@4.3.7) + version: 1.6.8(debug@4.3.4) dayjs: specifier: ^1.11.11 version: 1.11.11 @@ -11562,10 +11562,6 @@ packages: xml2js: optional: true - nocodb-sdk@0.260.3: - resolution: {integrity: sha512-LEIl7pgRb3suhZew3BzfbbrLWF6fsCikl5lhZ93QpCyOSQlP2R6rbvOhWwpX/9QCiz8KS0eQZn8B2USBhlrnXQ==} - engines: {node: '>=18.19.1'} - node-abi@3.47.0: resolution: {integrity: sha512-2s6B2CWZM//kPgwnuI0KrYwNjfdByE25zvAaEpq9IH4zcNsarH8Ihu/UuX6XMPEogDAxkuUFeZn60pXNHAqn3A==} engines: {node: '>=10'} @@ -17140,7 +17136,7 @@ snapshots: '@babel/traverse': 7.24.1 '@babel/types': 7.26.3 convert-source-map: 2.0.0 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -17160,7 +17156,7 @@ snapshots: '@babel/traverse': 7.26.3 '@babel/types': 7.26.3 convert-source-map: 2.0.0 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -17555,7 +17551,7 @@ snapshots: '@babel/helper-split-export-declaration': 7.22.6 '@babel/parser': 7.26.3 '@babel/types': 7.26.3 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -17567,7 +17563,7 @@ snapshots: '@babel/parser': 7.26.3 '@babel/template': 7.25.9 '@babel/types': 7.26.3 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -18023,7 +18019,7 @@ snapshots: '@eslint/eslintrc@1.4.1': dependencies: ajv: 6.12.6 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) espree: 9.6.1 globals: 13.21.0 ignore: 5.3.2 @@ -18123,7 +18119,7 @@ snapshots: '@humanwhocodes/config-array@0.11.10': dependencies: '@humanwhocodes/object-schema': 1.2.1 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) minimatch: 3.1.2 transitivePeerDependencies: - supports-color @@ -18241,7 +18237,7 @@ snapshots: '@antfu/install-pkg': 0.1.1 '@antfu/utils': 0.7.7 '@iconify/types': 2.0.0 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) kolorist: 1.8.0 local-pkg: 0.5.0 mlly: 1.5.0 @@ -18754,7 +18750,7 @@ snapshots: '@kwsites/file-exists@1.1.1': dependencies: - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) transitivePeerDependencies: - supports-color @@ -19772,7 +19768,7 @@ snapshots: dependencies: '@iconify/iconify': 2.1.2(encoding@0.1.13) axios: 1.6.8(debug@4.3.7) - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) fast-glob: 3.3.2 fs-extra: 10.1.0 transitivePeerDependencies: @@ -20993,7 +20989,7 @@ snapshots: '@swc-node/sourcemap-support': 0.5.1 '@swc/core': 1.9.2 colorette: 2.0.20 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) oxc-resolver: 1.12.0 pirates: 4.0.6 tslib: 2.8.1 @@ -21008,7 +21004,7 @@ snapshots: '@swc-node/sourcemap-support': 0.5.1 '@swc/core': 1.9.2 colorette: 2.0.20 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) oxc-resolver: 1.12.0 pirates: 4.0.6 tslib: 2.8.1 @@ -21701,7 +21697,7 @@ snapshots: '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/type-utils': 5.62.0(eslint@8.56.0)(typescript@5.6.2) '@typescript-eslint/utils': 5.62.0(eslint@8.56.0)(typescript@5.6.2) - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) eslint: 8.56.0 graphemer: 1.4.0 ignore: 5.3.2 @@ -21759,7 +21755,7 @@ snapshots: '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.6.2) - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) eslint: 8.56.0 optionalDependencies: typescript: 5.6.2 @@ -21847,7 +21843,7 @@ snapshots: dependencies: '@typescript-eslint/typescript-estree': 6.1.0(typescript@5.6.2) '@typescript-eslint/utils': 6.1.0(eslint@8.33.0)(typescript@5.6.2) - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) eslint: 8.33.0 ts-api-utils: 1.0.2(typescript@5.6.2) optionalDependencies: @@ -21877,7 +21873,7 @@ snapshots: dependencies: '@typescript-eslint/types': 5.62.0 '@typescript-eslint/visitor-keys': 5.62.0 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) globby: 11.1.0 is-glob: 4.0.3 semver: 7.6.3 @@ -21891,7 +21887,7 @@ snapshots: dependencies: '@typescript-eslint/types': 5.62.0 '@typescript-eslint/visitor-keys': 5.62.0 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) globby: 11.1.0 is-glob: 4.0.3 semver: 7.6.3 @@ -21905,7 +21901,7 @@ snapshots: dependencies: '@typescript-eslint/types': 6.1.0 '@typescript-eslint/visitor-keys': 6.1.0 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) globby: 11.1.0 is-glob: 4.0.3 semver: 7.6.3 @@ -22576,7 +22572,7 @@ snapshots: vue-demi: 0.14.7(vue@3.5.13(typescript@5.6.2)) optionalDependencies: async-validator: 4.2.5 - axios: 1.6.8 + axios: 1.6.8(debug@4.3.4) change-case: 5.4.4 focus-trap: 7.5.4 fuse.js: 6.6.2 @@ -22770,7 +22766,7 @@ snapshots: '@windicss/config@1.9.4': dependencies: - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) jiti: 1.21.6 windicss: 3.5.6 transitivePeerDependencies: @@ -22786,7 +22782,7 @@ snapshots: dependencies: '@antfu/utils': 0.7.10 '@windicss/config': 1.9.4 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) fast-glob: 3.3.2 magic-string: 0.30.14 micromatch: 4.0.8 @@ -22881,13 +22877,7 @@ snapshots: agent-base@6.0.2: dependencies: - debug: 4.3.7(supports-color@5.5.0) - transitivePeerDependencies: - - supports-color - - agent-base@7.1.0: - dependencies: - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) transitivePeerDependencies: - supports-color @@ -23242,14 +23232,6 @@ snapshots: transitivePeerDependencies: - debug - axios@1.6.8: - dependencies: - follow-redirects: 1.15.6(debug@4.3.7) - form-data: 4.0.0 - proxy-from-env: 1.1.0 - transitivePeerDependencies: - - debug - axios@1.6.8(debug@4.3.4): dependencies: follow-redirects: 1.15.6(debug@4.3.4) @@ -24913,7 +24895,7 @@ snapshots: engine.io-client@6.5.3: dependencies: '@socket.io/component-emitter': 3.1.0 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) engine.io-parser: 5.2.1 ws: 8.18.0 xmlhttprequest-ssl: 2.0.0 @@ -24933,7 +24915,7 @@ snapshots: base64id: 2.0.0 cookie: 0.4.2 cors: 2.8.5 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) engine.io-parser: 5.2.1 ws: 8.18.0 transitivePeerDependencies: @@ -25649,7 +25631,7 @@ snapshots: eslint-plugin-yml@1.12.2(eslint@8.56.0): dependencies: - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) eslint: 8.56.0 eslint-compat-utils: 0.4.1(eslint@8.56.0) lodash: 4.17.21 @@ -26213,7 +26195,7 @@ snapshots: follow-redirects@1.15.6(debug@4.3.7): optionalDependencies: - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) for-each@0.3.3: dependencies: @@ -26923,7 +26905,7 @@ snapshots: dependencies: '@tootallnate/once': 1.1.2 agent-base: 6.0.2 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) transitivePeerDependencies: - supports-color optional: true @@ -26932,14 +26914,14 @@ snapshots: dependencies: '@tootallnate/once': 2.0.0 agent-base: 6.0.2 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) transitivePeerDependencies: - supports-color http-proxy-agent@7.0.0: dependencies: - agent-base: 7.1.0 - debug: 4.3.7(supports-color@5.5.0) + agent-base: 7.1.0(supports-color@9.4.0) + debug: 4.3.7(supports-color@9.4.0) transitivePeerDependencies: - supports-color @@ -26986,8 +26968,8 @@ snapshots: https-proxy-agent@7.0.2: dependencies: - agent-base: 7.1.0 - debug: 4.3.7(supports-color@5.5.0) + agent-base: 7.1.0(supports-color@9.4.0) + debug: 4.3.7(supports-color@9.4.0) transitivePeerDependencies: - supports-color @@ -27602,7 +27584,7 @@ snapshots: istanbul-lib-source-maps@4.0.1: dependencies: - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) istanbul-lib-coverage: 3.2.0 source-map: 0.6.1 transitivePeerDependencies: @@ -29008,7 +28990,7 @@ snapshots: micromark@2.11.4: dependencies: - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) parse-entities: 2.0.0 transitivePeerDependencies: - supports-color @@ -29016,7 +28998,7 @@ snapshots: micromark@4.0.0: dependencies: '@types/debug': 4.1.12 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) decode-named-character-reference: 1.0.2 devlop: 1.1.0 micromark-core-commonmark: 2.0.1 @@ -29569,22 +29551,6 @@ snapshots: - typescript - uWebSockets.js - nocodb-sdk@0.260.3: - dependencies: - axios: 1.6.8 - dayjs: 1.11.11 - jsep: 1.3.8 - transitivePeerDependencies: - - debug - - nocodb-sdk@0.260.3(debug@4.3.4): - dependencies: - axios: 1.6.8(debug@4.3.4) - dayjs: 1.11.11 - jsep: 1.3.8 - transitivePeerDependencies: - - debug - node-abi@3.47.0: dependencies: semver: 7.6.3 @@ -29979,7 +29945,7 @@ snapshots: '@yarnpkg/lockfile': 1.1.0 '@yarnpkg/parsers': 3.0.0-rc.46 '@zkochan/js-yaml': 0.0.6 - axios: 1.6.8 + axios: 1.6.8(debug@4.3.4) chalk: 4.1.2 cli-cursor: 3.1.0 cli-spinners: 2.6.1 @@ -32100,7 +32066,7 @@ snapshots: dependencies: '@kwsites/file-exists': 1.1.1 '@kwsites/promise-deferred': 1.1.1 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) transitivePeerDependencies: - supports-color @@ -32190,7 +32156,7 @@ snapshots: socket.io-parser@4.2.4: dependencies: '@socket.io/component-emitter': 3.1.0 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) transitivePeerDependencies: - supports-color @@ -32217,7 +32183,7 @@ snapshots: socks-proxy-agent@6.2.1: dependencies: agent-base: 6.0.2 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) socks: 2.7.1 transitivePeerDependencies: - supports-color @@ -32226,7 +32192,7 @@ snapshots: socks-proxy-agent@7.0.0: dependencies: agent-base: 6.0.2 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) socks: 2.7.1 transitivePeerDependencies: - supports-color @@ -32286,7 +32252,7 @@ snapshots: spdy-transport@3.0.0: dependencies: - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) detect-node: 2.1.0 hpack.js: 2.1.6 obuf: 1.1.2 @@ -32297,7 +32263,7 @@ snapshots: spdy@4.0.2: dependencies: - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) handle-thing: 2.0.1 http-deceiver: 1.2.7 select-hose: 2.0.0 @@ -32604,7 +32570,7 @@ snapshots: dependencies: component-emitter: 1.3.0 cookiejar: 2.1.4 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) fast-safe-stringify: 2.1.1 form-data: 4.0.0 formidable: 2.1.2 @@ -32672,7 +32638,7 @@ snapshots: swagger-typescript-api@10.0.3(encoding@0.1.13): dependencies: '@types/swagger-schema-official': 2.0.22 - axios: 1.6.8 + axios: 1.6.8(debug@4.3.4) commander: 9.4.1 cosmiconfig: 7.0.1 eta: 1.12.3 @@ -33107,7 +33073,7 @@ snapshots: tuf-js@1.1.7: dependencies: '@tufjs/models': 1.0.4 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) make-fetch-happen: 11.1.1 transitivePeerDependencies: - supports-color @@ -33699,7 +33665,7 @@ snapshots: vite-node@1.2.2(@types/node@22.10.2)(sass@1.71.1)(terser@5.27.0): dependencies: cac: 6.7.14 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) pathe: 1.1.2 picocolors: 1.1.0 vite: 5.2.11(@types/node@22.10.2)(sass@1.71.1)(terser@5.27.0) @@ -33716,7 +33682,7 @@ snapshots: vite-node@2.1.8(@types/node@22.10.2)(sass@1.71.1)(terser@5.27.0): dependencies: cac: 6.7.14 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) es-module-lexer: 1.5.4 pathe: 1.1.2 vite: 5.4.11(@types/node@22.10.2)(sass@1.71.1)(terser@5.27.0) @@ -33757,7 +33723,7 @@ snapshots: dependencies: '@antfu/utils': 0.7.10 '@rollup/pluginutils': 5.1.3(rollup@4.28.0) - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) error-stack-parser-es: 0.1.5 fs-extra: 11.2.0 open: 10.1.0 @@ -33803,7 +33769,7 @@ snapshots: vite-plugin-windicss@1.9.4(vite@5.4.11(@types/node@22.10.2)(sass@1.71.1)(terser@5.27.0)): dependencies: '@windicss/plugin-utils': 1.9.4 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) kolorist: 1.8.0 vite: 5.4.11(@types/node@22.10.2)(sass@1.71.1)(terser@5.27.0) windicss: 3.5.6 @@ -33965,7 +33931,7 @@ snapshots: vue-eslint-parser@9.4.2(eslint@8.56.0): dependencies: - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) eslint: 8.56.0 eslint-scope: 7.2.2 eslint-visitor-keys: 3.4.3 @@ -34385,7 +34351,7 @@ snapshots: windicss-webpack-plugin@1.8.0: dependencies: '@windicss/plugin-utils': 1.9.4 - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) get-port: 6.1.2 loader-utils: 2.0.4 lodash: 4.17.21 @@ -34606,7 +34572,7 @@ snapshots: youtube-player@5.6.0: dependencies: - debug: 4.3.7(supports-color@5.5.0) + debug: 4.3.7(supports-color@9.4.0) load-script: 1.0.0 sister: 3.0.2 transitivePeerDependencies: