Browse Source

Merge pull request #7708 from nocodb/release/0.204.1

pull/7709/head
github-actions[bot] 9 months ago committed by GitHub
parent
commit
01803fccc8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      packages/nc-gui/components.d.ts
  2. 2
      packages/nc-gui/package.json
  3. 2
      packages/nc-lib-gui/package.json
  4. 4
      packages/nocodb-sdk/package.json
  5. 207
      packages/nocodb-sdk/pnpm-lock.yaml
  6. 284
      packages/nocodb-sdk/src/lib/Api.ts
  7. 8
      packages/nocodb/package.json
  8. 12
      pnpm-lock.yaml

2
packages/nc-gui/components.d.ts vendored

@ -88,12 +88,10 @@ declare module 'vue' {
MaterialSymbolsAttachFile: typeof import('~icons/material-symbols/attach-file')['default'] MaterialSymbolsAttachFile: typeof import('~icons/material-symbols/attach-file')['default']
MaterialSymbolsChevronRightRounded: typeof import('~icons/material-symbols/chevron-right-rounded')['default'] MaterialSymbolsChevronRightRounded: typeof import('~icons/material-symbols/chevron-right-rounded')['default']
MaterialSymbolsCloseRounded: typeof import('~icons/material-symbols/close-rounded')['default'] MaterialSymbolsCloseRounded: typeof import('~icons/material-symbols/close-rounded')['default']
MaterialSymbolsDarkModeOutline: typeof import('~icons/material-symbols/dark-mode-outline')['default']
MaterialSymbolsDeleteOutlineRounded: typeof import('~icons/material-symbols/delete-outline-rounded')['default'] MaterialSymbolsDeleteOutlineRounded: typeof import('~icons/material-symbols/delete-outline-rounded')['default']
MaterialSymbolsFileCopyOutline: typeof import('~icons/material-symbols/file-copy-outline')['default'] MaterialSymbolsFileCopyOutline: typeof import('~icons/material-symbols/file-copy-outline')['default']
MaterialSymbolsKeyboardArrowDownRounded: typeof import('~icons/material-symbols/keyboard-arrow-down-rounded')['default'] MaterialSymbolsKeyboardArrowDownRounded: typeof import('~icons/material-symbols/keyboard-arrow-down-rounded')['default']
MaterialSymbolsKeyboardReturn: typeof import('~icons/material-symbols/keyboard-return')['default'] MaterialSymbolsKeyboardReturn: typeof import('~icons/material-symbols/keyboard-return')['default']
MaterialSymbolsLightModeOutline: typeof import('~icons/material-symbols/light-mode-outline')['default']
MaterialSymbolsLockOutline: typeof import('~icons/material-symbols/lock-outline')['default'] MaterialSymbolsLockOutline: typeof import('~icons/material-symbols/lock-outline')['default']
MaterialSymbolsPublic: typeof import('~icons/material-symbols/public')['default'] MaterialSymbolsPublic: typeof import('~icons/material-symbols/public')['default']
MaterialSymbolsRocketLaunchOutline: typeof import('~icons/material-symbols/rocket-launch-outline')['default'] MaterialSymbolsRocketLaunchOutline: typeof import('~icons/material-symbols/rocket-launch-outline')['default']

2
packages/nc-gui/package.json

@ -73,7 +73,7 @@
"marked": "^4.3.0", "marked": "^4.3.0",
"monaco-editor": "^0.45.0", "monaco-editor": "^0.45.0",
"monaco-sql-languages": "^0.11.0", "monaco-sql-languages": "^0.11.0",
"nocodb-sdk": "workspace:^", "nocodb-sdk": "0.204.1",
"papaparse": "^5.4.1", "papaparse": "^5.4.1",
"parse-github-url": "^1.0.2", "parse-github-url": "^1.0.2",
"pinia": "^2.1.7", "pinia": "^2.1.7",

2
packages/nc-lib-gui/package.json

@ -1,6 +1,6 @@
{ {
"name": "nc-lib-gui", "name": "nc-lib-gui",
"version": "0.204.0", "version": "0.204.1",
"description": "NocoDB GUI", "description": "NocoDB GUI",
"author": { "author": {
"name": "NocoDB", "name": "NocoDB",

4
packages/nocodb-sdk/package.json

@ -1,6 +1,6 @@
{ {
"name": "nocodb-sdk", "name": "nocodb-sdk",
"version": "0.204.0", "version": "0.204.1",
"description": "NocoDB SDK", "description": "NocoDB SDK",
"main": "build/main/index.js", "main": "build/main/index.js",
"typings": "build/main/index.d.ts", "typings": "build/main/index.d.ts",
@ -73,4 +73,4 @@
"prettier": { "prettier": {
"singleQuote": true "singleQuote": true
} }
} }

207
packages/nocodb-sdk/pnpm-lock.yaml

@ -6,8 +6,8 @@ settings:
dependencies: dependencies:
axios: axios:
specifier: ^1.6.5 specifier: ^1.6.7
version: 1.6.5 version: 1.6.7
dayjs: dayjs:
specifier: ^1.11.10 specifier: ^1.11.10
version: 1.11.10 version: 1.11.10
@ -17,35 +17,35 @@ dependencies:
devDependencies: devDependencies:
'@types/jest': '@types/jest':
specifier: ^29.5.11 specifier: ^29.5.12
version: 29.5.11 version: 29.5.12
'@typescript-eslint/eslint-plugin': '@typescript-eslint/eslint-plugin':
specifier: ^6.14.0 specifier: ^6.20.0
version: 6.14.0(@typescript-eslint/parser@6.14.0)(eslint@8.54.0)(typescript@5.3.3) version: 6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3)
'@typescript-eslint/parser': '@typescript-eslint/parser':
specifier: ^6.14.0 specifier: ^6.20.0
version: 6.14.0(eslint@8.54.0)(typescript@5.3.3) version: 6.21.0(eslint@8.56.0)(typescript@5.3.3)
cspell: cspell:
specifier: ^4.2.8 specifier: ^4.2.8
version: 4.2.8 version: 4.2.8
eslint: eslint:
specifier: ^8.54.0 specifier: ^8.56.0
version: 8.54.0 version: 8.56.0
eslint-config-prettier: eslint-config-prettier:
specifier: ^8.10.0 specifier: ^8.10.0
version: 8.10.0(eslint@8.54.0) version: 8.10.0(eslint@8.56.0)
eslint-plugin-eslint-comments: eslint-plugin-eslint-comments:
specifier: ^3.2.0 specifier: ^3.2.0
version: 3.2.0(eslint@8.54.0) version: 3.2.0(eslint@8.56.0)
eslint-plugin-functional: eslint-plugin-functional:
specifier: ^5.0.8 specifier: ^5.0.8
version: 5.0.8(eslint@8.54.0)(typescript@5.3.3) version: 5.0.8(eslint@8.56.0)(typescript@5.3.3)
eslint-plugin-import: eslint-plugin-import:
specifier: ^2.29.1 specifier: ^2.29.1
version: 2.29.1(@typescript-eslint/parser@6.14.0)(eslint@8.54.0) version: 2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)
eslint-plugin-prettier: eslint-plugin-prettier:
specifier: ^4.2.1 specifier: ^4.2.1
version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.54.0)(prettier@2.8.8) version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.56.0)(prettier@2.8.8)
npm-run-all: npm-run-all:
specifier: ^4.1.5 specifier: ^4.1.5
version: 4.1.5 version: 4.1.5
@ -56,8 +56,8 @@ devDependencies:
specifier: ^5.0.5 specifier: ^5.0.5
version: 5.0.5 version: 5.0.5
ts-jest: ts-jest:
specifier: ^29.1.1 specifier: ^29.1.2
version: 29.1.1(@babel/core@7.23.6)(jest@29.7.0)(typescript@5.3.3) version: 29.1.2(@babel/core@7.23.6)(jest@29.7.0)(typescript@5.3.3)
tsc-alias: tsc-alias:
specifier: ^1.8.8 specifier: ^1.8.8
version: 1.8.8 version: 1.8.8
@ -541,13 +541,13 @@ packages:
resolution: {integrity: sha512-yIuGeeZtQA2gqpGefGjZqBl8iGJpIYWz0QzDqsscNi2qfSnLsbjM0RkRbTehM8y9gGGe7xfgUP5adxceJa5Krg==} resolution: {integrity: sha512-yIuGeeZtQA2gqpGefGjZqBl8iGJpIYWz0QzDqsscNi2qfSnLsbjM0RkRbTehM8y9gGGe7xfgUP5adxceJa5Krg==}
dev: true dev: true
/@eslint-community/eslint-utils@4.4.0(eslint@8.54.0): /@eslint-community/eslint-utils@4.4.0(eslint@8.56.0):
resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies: peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
dependencies: dependencies:
eslint: 8.54.0 eslint: 8.56.0
eslint-visitor-keys: 3.4.3 eslint-visitor-keys: 3.4.3
dev: true dev: true
@ -556,8 +556,8 @@ packages:
engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
dev: true dev: true
/@eslint/eslintrc@2.1.3: /@eslint/eslintrc@2.1.4:
resolution: {integrity: sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA==} resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies: dependencies:
ajv: 6.12.6 ajv: 6.12.6
@ -573,8 +573,8 @@ packages:
- supports-color - supports-color
dev: true dev: true
/@eslint/js@8.54.0: /@eslint/js@8.56.0:
resolution: {integrity: sha512-ut5V+D+fOoWPgGGNj83GGjnntO39xDy6DWxO0wb7Jp3DcMX0TfIqdzHF85VTQkerdyGmuuMD9AKAo5KiNlf/AQ==} resolution: {integrity: sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true dev: true
@ -965,8 +965,8 @@ packages:
'@types/istanbul-lib-report': 3.0.3 '@types/istanbul-lib-report': 3.0.3
dev: true dev: true
/@types/jest@29.5.11: /@types/jest@29.5.12:
resolution: {integrity: sha512-S2mHmYIVe13vrm6q4kN6fLYYAka15ALQki/vgDC3mIukEOx8WJlv0kQPM+d4w8Gp6u0uSdKND04IlTXBv0rwnQ==} resolution: {integrity: sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==}
dependencies: dependencies:
expect: 29.7.0 expect: 29.7.0
pretty-format: 29.7.0 pretty-format: 29.7.0
@ -1004,8 +1004,8 @@ packages:
'@types/yargs-parser': 21.0.3 '@types/yargs-parser': 21.0.3
dev: true dev: true
/@typescript-eslint/eslint-plugin@6.14.0(@typescript-eslint/parser@6.14.0)(eslint@8.54.0)(typescript@5.3.3): /@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0)(eslint@8.56.0)(typescript@5.3.3):
resolution: {integrity: sha512-1ZJBykBCXaSHG94vMMKmiHoL0MhNHKSVlcHVYZNw+BKxufhqQVTOawNpwwI1P5nIFZ/4jLVop0mcY6mJJDFNaw==} resolution: {integrity: sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==}
engines: {node: ^16.0.0 || >=18.0.0} engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies: peerDependencies:
'@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha
@ -1016,13 +1016,13 @@ packages:
optional: true optional: true
dependencies: dependencies:
'@eslint-community/regexpp': 4.10.0 '@eslint-community/regexpp': 4.10.0
'@typescript-eslint/parser': 6.14.0(eslint@8.54.0)(typescript@5.3.3) '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.3.3)
'@typescript-eslint/scope-manager': 6.14.0 '@typescript-eslint/scope-manager': 6.21.0
'@typescript-eslint/type-utils': 6.14.0(eslint@8.54.0)(typescript@5.3.3) '@typescript-eslint/type-utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3)
'@typescript-eslint/utils': 6.14.0(eslint@8.54.0)(typescript@5.3.3) '@typescript-eslint/utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3)
'@typescript-eslint/visitor-keys': 6.14.0 '@typescript-eslint/visitor-keys': 6.21.0
debug: 4.3.4 debug: 4.3.4
eslint: 8.54.0 eslint: 8.56.0
graphemer: 1.4.0 graphemer: 1.4.0
ignore: 5.3.0 ignore: 5.3.0
natural-compare: 1.4.0 natural-compare: 1.4.0
@ -1033,8 +1033,8 @@ packages:
- supports-color - supports-color
dev: true dev: true
/@typescript-eslint/parser@6.14.0(eslint@8.54.0)(typescript@5.3.3): /@typescript-eslint/parser@6.21.0(eslint@8.56.0)(typescript@5.3.3):
resolution: {integrity: sha512-QjToC14CKacd4Pa7JK4GeB/vHmWFJckec49FR4hmIRf97+KXole0T97xxu9IFiPxVQ1DBWrQ5wreLwAGwWAVQA==} resolution: {integrity: sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==}
engines: {node: ^16.0.0 || >=18.0.0} engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies: peerDependencies:
eslint: ^7.0.0 || ^8.0.0 eslint: ^7.0.0 || ^8.0.0
@ -1043,12 +1043,12 @@ packages:
typescript: typescript:
optional: true optional: true
dependencies: dependencies:
'@typescript-eslint/scope-manager': 6.14.0 '@typescript-eslint/scope-manager': 6.21.0
'@typescript-eslint/types': 6.14.0 '@typescript-eslint/types': 6.21.0
'@typescript-eslint/typescript-estree': 6.14.0(typescript@5.3.3) '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3)
'@typescript-eslint/visitor-keys': 6.14.0 '@typescript-eslint/visitor-keys': 6.21.0
debug: 4.3.4 debug: 4.3.4
eslint: 8.54.0 eslint: 8.56.0
typescript: 5.3.3 typescript: 5.3.3
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
@ -1062,15 +1062,15 @@ packages:
'@typescript-eslint/visitor-keys': 5.62.0 '@typescript-eslint/visitor-keys': 5.62.0
dev: true dev: true
/@typescript-eslint/scope-manager@6.14.0: /@typescript-eslint/scope-manager@6.21.0:
resolution: {integrity: sha512-VT7CFWHbZipPncAZtuALr9y3EuzY1b1t1AEkIq2bTXUPKw+pHoXflGNG5L+Gv6nKul1cz1VH8fz16IThIU0tdg==} resolution: {integrity: sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==}
engines: {node: ^16.0.0 || >=18.0.0} engines: {node: ^16.0.0 || >=18.0.0}
dependencies: dependencies:
'@typescript-eslint/types': 6.14.0 '@typescript-eslint/types': 6.21.0
'@typescript-eslint/visitor-keys': 6.14.0 '@typescript-eslint/visitor-keys': 6.21.0
dev: true dev: true
/@typescript-eslint/type-utils@5.62.0(eslint@8.54.0)(typescript@5.3.3): /@typescript-eslint/type-utils@5.62.0(eslint@8.56.0)(typescript@5.3.3):
resolution: {integrity: sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==} resolution: {integrity: sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies: peerDependencies:
@ -1081,17 +1081,17 @@ packages:
optional: true optional: true
dependencies: dependencies:
'@typescript-eslint/typescript-estree': 5.62.0(typescript@5.3.3) '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.3.3)
'@typescript-eslint/utils': 5.62.0(eslint@8.54.0)(typescript@5.3.3) '@typescript-eslint/utils': 5.62.0(eslint@8.56.0)(typescript@5.3.3)
debug: 4.3.4 debug: 4.3.4
eslint: 8.54.0 eslint: 8.56.0
tsutils: 3.21.0(typescript@5.3.3) tsutils: 3.21.0(typescript@5.3.3)
typescript: 5.3.3 typescript: 5.3.3
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
dev: true dev: true
/@typescript-eslint/type-utils@6.14.0(eslint@8.54.0)(typescript@5.3.3): /@typescript-eslint/type-utils@6.21.0(eslint@8.56.0)(typescript@5.3.3):
resolution: {integrity: sha512-x6OC9Q7HfYKqjnuNu5a7kffIYs3No30isapRBJl1iCHLitD8O0lFbRcVGiOcuyN837fqXzPZ1NS10maQzZMKqw==} resolution: {integrity: sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag==}
engines: {node: ^16.0.0 || >=18.0.0} engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies: peerDependencies:
eslint: ^7.0.0 || ^8.0.0 eslint: ^7.0.0 || ^8.0.0
@ -1100,10 +1100,10 @@ packages:
typescript: typescript:
optional: true optional: true
dependencies: dependencies:
'@typescript-eslint/typescript-estree': 6.14.0(typescript@5.3.3) '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3)
'@typescript-eslint/utils': 6.14.0(eslint@8.54.0)(typescript@5.3.3) '@typescript-eslint/utils': 6.21.0(eslint@8.56.0)(typescript@5.3.3)
debug: 4.3.4 debug: 4.3.4
eslint: 8.54.0 eslint: 8.56.0
ts-api-utils: 1.0.3(typescript@5.3.3) ts-api-utils: 1.0.3(typescript@5.3.3)
typescript: 5.3.3 typescript: 5.3.3
transitivePeerDependencies: transitivePeerDependencies:
@ -1115,8 +1115,8 @@ packages:
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true dev: true
/@typescript-eslint/types@6.14.0: /@typescript-eslint/types@6.21.0:
resolution: {integrity: sha512-uty9H2K4Xs8E47z3SnXEPRNDfsis8JO27amp2GNCnzGETEW3yTqEIVg5+AI7U276oGF/tw6ZA+UesxeQ104ceA==} resolution: {integrity: sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==}
engines: {node: ^16.0.0 || >=18.0.0} engines: {node: ^16.0.0 || >=18.0.0}
dev: true dev: true
@ -1141,8 +1141,8 @@ packages:
- supports-color - supports-color
dev: true dev: true
/@typescript-eslint/typescript-estree@6.14.0(typescript@5.3.3): /@typescript-eslint/typescript-estree@6.21.0(typescript@5.3.3):
resolution: {integrity: sha512-yPkaLwK0yH2mZKFE/bXkPAkkFgOv15GJAUzgUVonAbv0Hr4PK/N2yaA/4XQbTZQdygiDkpt5DkxPELqHguNvyw==} resolution: {integrity: sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==}
engines: {node: ^16.0.0 || >=18.0.0} engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies: peerDependencies:
typescript: '*' typescript: '*'
@ -1150,11 +1150,12 @@ packages:
typescript: typescript:
optional: true optional: true
dependencies: dependencies:
'@typescript-eslint/types': 6.14.0 '@typescript-eslint/types': 6.21.0
'@typescript-eslint/visitor-keys': 6.14.0 '@typescript-eslint/visitor-keys': 6.21.0
debug: 4.3.4 debug: 4.3.4
globby: 11.1.0 globby: 11.1.0
is-glob: 4.0.3 is-glob: 4.0.3
minimatch: 9.0.3
semver: 7.5.4 semver: 7.5.4
ts-api-utils: 1.0.3(typescript@5.3.3) ts-api-utils: 1.0.3(typescript@5.3.3)
typescript: 5.3.3 typescript: 5.3.3
@ -1162,19 +1163,19 @@ packages:
- supports-color - supports-color
dev: true dev: true
/@typescript-eslint/utils@5.62.0(eslint@8.54.0)(typescript@5.3.3): /@typescript-eslint/utils@5.62.0(eslint@8.56.0)(typescript@5.3.3):
resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==} resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies: peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
dependencies: dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@8.54.0) '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0)
'@types/json-schema': 7.0.15 '@types/json-schema': 7.0.15
'@types/semver': 7.5.6 '@types/semver': 7.5.6
'@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/scope-manager': 5.62.0
'@typescript-eslint/types': 5.62.0 '@typescript-eslint/types': 5.62.0
'@typescript-eslint/typescript-estree': 5.62.0(typescript@5.3.3) '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.3.3)
eslint: 8.54.0 eslint: 8.56.0
eslint-scope: 5.1.1 eslint-scope: 5.1.1
semver: 7.5.4 semver: 7.5.4
transitivePeerDependencies: transitivePeerDependencies:
@ -1182,19 +1183,19 @@ packages:
- typescript - typescript
dev: true dev: true
/@typescript-eslint/utils@6.14.0(eslint@8.54.0)(typescript@5.3.3): /@typescript-eslint/utils@6.21.0(eslint@8.56.0)(typescript@5.3.3):
resolution: {integrity: sha512-XwRTnbvRr7Ey9a1NT6jqdKX8y/atWG+8fAIu3z73HSP8h06i3r/ClMhmaF/RGWGW1tHJEwij1uEg2GbEmPYvYg==} resolution: {integrity: sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==}
engines: {node: ^16.0.0 || >=18.0.0} engines: {node: ^16.0.0 || >=18.0.0}
peerDependencies: peerDependencies:
eslint: ^7.0.0 || ^8.0.0 eslint: ^7.0.0 || ^8.0.0
dependencies: dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@8.54.0) '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0)
'@types/json-schema': 7.0.15 '@types/json-schema': 7.0.15
'@types/semver': 7.5.6 '@types/semver': 7.5.6
'@typescript-eslint/scope-manager': 6.14.0 '@typescript-eslint/scope-manager': 6.21.0
'@typescript-eslint/types': 6.14.0 '@typescript-eslint/types': 6.21.0
'@typescript-eslint/typescript-estree': 6.14.0(typescript@5.3.3) '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.3.3)
eslint: 8.54.0 eslint: 8.56.0
semver: 7.5.4 semver: 7.5.4
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
@ -1209,11 +1210,11 @@ packages:
eslint-visitor-keys: 3.4.3 eslint-visitor-keys: 3.4.3
dev: true dev: true
/@typescript-eslint/visitor-keys@6.14.0: /@typescript-eslint/visitor-keys@6.21.0:
resolution: {integrity: sha512-fB5cw6GRhJUz03MrROVuj5Zm/Q+XWlVdIsFj+Zb1Hvqouc8t+XP2H5y53QYU/MGtd2dPg6/vJJlhoX3xc2ehfw==} resolution: {integrity: sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==}
engines: {node: ^16.0.0 || >=18.0.0} engines: {node: ^16.0.0 || >=18.0.0}
dependencies: dependencies:
'@typescript-eslint/types': 6.14.0 '@typescript-eslint/types': 6.21.0
eslint-visitor-keys: 3.4.3 eslint-visitor-keys: 3.4.3
dev: true dev: true
@ -1388,8 +1389,8 @@ packages:
engines: {node: '>= 0.4'} engines: {node: '>= 0.4'}
dev: true dev: true
/axios@1.6.5: /axios@1.6.7:
resolution: {integrity: sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==} resolution: {integrity: sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==}
dependencies: dependencies:
follow-redirects: 1.15.4 follow-redirects: 1.15.4
form-data: 4.0.0 form-data: 4.0.0
@ -2056,13 +2057,13 @@ packages:
engines: {node: '>=10'} engines: {node: '>=10'}
dev: true dev: true
/eslint-config-prettier@8.10.0(eslint@8.54.0): /eslint-config-prettier@8.10.0(eslint@8.56.0):
resolution: {integrity: sha512-SM8AMJdeQqRYT9O9zguiruQZaN7+z+E4eAP9oiLNGKMtomwaB1E9dcgUD6ZAn/eQAb52USbvezbiljfZUhbJcg==} resolution: {integrity: sha512-SM8AMJdeQqRYT9O9zguiruQZaN7+z+E4eAP9oiLNGKMtomwaB1E9dcgUD6ZAn/eQAb52USbvezbiljfZUhbJcg==}
hasBin: true hasBin: true
peerDependencies: peerDependencies:
eslint: '>=7.0.0' eslint: '>=7.0.0'
dependencies: dependencies:
eslint: 8.54.0 eslint: 8.56.0
dev: true dev: true
/eslint-import-resolver-node@0.3.9: /eslint-import-resolver-node@0.3.9:
@ -2075,7 +2076,7 @@ packages:
- supports-color - supports-color
dev: true dev: true
/eslint-module-utils@2.8.0(@typescript-eslint/parser@6.14.0)(eslint-import-resolver-node@0.3.9)(eslint@8.54.0): /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0):
resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==}
engines: {node: '>=4'} engines: {node: '>=4'}
peerDependencies: peerDependencies:
@ -2096,26 +2097,26 @@ packages:
eslint-import-resolver-webpack: eslint-import-resolver-webpack:
optional: true optional: true
dependencies: dependencies:
'@typescript-eslint/parser': 6.14.0(eslint@8.54.0)(typescript@5.3.3) '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.3.3)
debug: 3.2.7 debug: 3.2.7
eslint: 8.54.0 eslint: 8.56.0
eslint-import-resolver-node: 0.3.9 eslint-import-resolver-node: 0.3.9
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
dev: true dev: true
/eslint-plugin-eslint-comments@3.2.0(eslint@8.54.0): /eslint-plugin-eslint-comments@3.2.0(eslint@8.56.0):
resolution: {integrity: sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==} resolution: {integrity: sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==}
engines: {node: '>=6.5.0'} engines: {node: '>=6.5.0'}
peerDependencies: peerDependencies:
eslint: '>=4.19.1' eslint: '>=4.19.1'
dependencies: dependencies:
escape-string-regexp: 1.0.5 escape-string-regexp: 1.0.5
eslint: 8.54.0 eslint: 8.56.0
ignore: 5.3.0 ignore: 5.3.0
dev: true dev: true
/eslint-plugin-functional@5.0.8(eslint@8.54.0)(typescript@5.3.3): /eslint-plugin-functional@5.0.8(eslint@8.56.0)(typescript@5.3.3):
resolution: {integrity: sha512-rXC5THzqqSXUrbTBG+dLLYn10Af0C9Df+N4TT3onPrOz+kgInshLJdRAvEcV+8HHNsZyDrNLcgWh5jzVaAnleQ==} resolution: {integrity: sha512-rXC5THzqqSXUrbTBG+dLLYn10Af0C9Df+N4TT3onPrOz+kgInshLJdRAvEcV+8HHNsZyDrNLcgWh5jzVaAnleQ==}
engines: {node: '>=16.10.0'} engines: {node: '>=16.10.0'}
peerDependencies: peerDependencies:
@ -2125,19 +2126,19 @@ packages:
typescript: typescript:
optional: true optional: true
dependencies: dependencies:
'@typescript-eslint/type-utils': 5.62.0(eslint@8.54.0)(typescript@5.3.3) '@typescript-eslint/type-utils': 5.62.0(eslint@8.56.0)(typescript@5.3.3)
'@typescript-eslint/utils': 5.62.0(eslint@8.54.0)(typescript@5.3.3) '@typescript-eslint/utils': 5.62.0(eslint@8.56.0)(typescript@5.3.3)
deepmerge-ts: 5.1.0 deepmerge-ts: 5.1.0
escape-string-regexp: 4.0.0 escape-string-regexp: 4.0.0
eslint: 8.54.0 eslint: 8.56.0
is-immutable-type: 1.2.9(eslint@8.54.0)(typescript@5.3.3) is-immutable-type: 1.2.9(eslint@8.56.0)(typescript@5.3.3)
semver: 7.5.4 semver: 7.5.4
typescript: 5.3.3 typescript: 5.3.3
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
dev: true dev: true
/eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.14.0)(eslint@8.54.0): /eslint-plugin-import@2.29.1(@typescript-eslint/parser@6.21.0)(eslint@8.56.0):
resolution: {integrity: sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==} resolution: {integrity: sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==}
engines: {node: '>=4'} engines: {node: '>=4'}
peerDependencies: peerDependencies:
@ -2147,16 +2148,16 @@ packages:
'@typescript-eslint/parser': '@typescript-eslint/parser':
optional: true optional: true
dependencies: dependencies:
'@typescript-eslint/parser': 6.14.0(eslint@8.54.0)(typescript@5.3.3) '@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.3.3)
array-includes: 3.1.7 array-includes: 3.1.7
array.prototype.findlastindex: 1.2.3 array.prototype.findlastindex: 1.2.3
array.prototype.flat: 1.3.2 array.prototype.flat: 1.3.2
array.prototype.flatmap: 1.3.2 array.prototype.flatmap: 1.3.2
debug: 3.2.7 debug: 3.2.7
doctrine: 2.1.0 doctrine: 2.1.0
eslint: 8.54.0 eslint: 8.56.0
eslint-import-resolver-node: 0.3.9 eslint-import-resolver-node: 0.3.9
eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.14.0)(eslint-import-resolver-node@0.3.9)(eslint@8.54.0) eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.21.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0)
hasown: 2.0.0 hasown: 2.0.0
is-core-module: 2.13.1 is-core-module: 2.13.1
is-glob: 4.0.3 is-glob: 4.0.3
@ -2172,7 +2173,7 @@ packages:
- supports-color - supports-color
dev: true dev: true
/eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.10.0)(eslint@8.54.0)(prettier@2.8.8): /eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.10.0)(eslint@8.56.0)(prettier@2.8.8):
resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==} resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==}
engines: {node: '>=12.0.0'} engines: {node: '>=12.0.0'}
peerDependencies: peerDependencies:
@ -2183,8 +2184,8 @@ packages:
eslint-config-prettier: eslint-config-prettier:
optional: true optional: true
dependencies: dependencies:
eslint: 8.54.0 eslint: 8.56.0
eslint-config-prettier: 8.10.0(eslint@8.54.0) eslint-config-prettier: 8.10.0(eslint@8.56.0)
prettier: 2.8.8 prettier: 2.8.8
prettier-linter-helpers: 1.0.0 prettier-linter-helpers: 1.0.0
dev: true dev: true
@ -2210,15 +2211,15 @@ packages:
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: true dev: true
/eslint@8.54.0: /eslint@8.56.0:
resolution: {integrity: sha512-NY0DfAkM8BIZDVl6PgSa1ttZbx3xHgJzSNJKYcQglem6CppHyMhRIQkBVSSMaSRnLhig3jsDbEzOjwCVt4AmmA==} resolution: {integrity: sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
hasBin: true hasBin: true
dependencies: dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@8.54.0) '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0)
'@eslint-community/regexpp': 4.10.0 '@eslint-community/regexpp': 4.10.0
'@eslint/eslintrc': 2.1.3 '@eslint/eslintrc': 2.1.4
'@eslint/js': 8.54.0 '@eslint/js': 8.56.0
'@humanwhocodes/config-array': 0.11.13 '@humanwhocodes/config-array': 0.11.13
'@humanwhocodes/module-importer': 1.0.1 '@humanwhocodes/module-importer': 1.0.1
'@nodelib/fs.walk': 1.2.8 '@nodelib/fs.walk': 1.2.8
@ -2816,14 +2817,14 @@ packages:
is-extglob: 2.1.1 is-extglob: 2.1.1
dev: true dev: true
/is-immutable-type@1.2.9(eslint@8.54.0)(typescript@5.3.3): /is-immutable-type@1.2.9(eslint@8.56.0)(typescript@5.3.3):
resolution: {integrity: sha512-DDx04RjLpGNT4vtF49vGW5CECP6lAx8SL2keq99ogIxwLvJPBvgThdhb43ED5uYO4nq0kZ51tMj7VdCCQgdZ5Q==} resolution: {integrity: sha512-DDx04RjLpGNT4vtF49vGW5CECP6lAx8SL2keq99ogIxwLvJPBvgThdhb43ED5uYO4nq0kZ51tMj7VdCCQgdZ5Q==}
peerDependencies: peerDependencies:
eslint: '*' eslint: '*'
typescript: '>=4.7.4' typescript: '>=4.7.4'
dependencies: dependencies:
'@typescript-eslint/type-utils': 5.62.0(eslint@8.54.0)(typescript@5.3.3) '@typescript-eslint/type-utils': 5.62.0(eslint@8.56.0)(typescript@5.3.3)
eslint: 8.54.0 eslint: 8.56.0
typescript: 5.3.3 typescript: 5.3.3
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
@ -4385,9 +4386,9 @@ packages:
typescript: 5.3.3 typescript: 5.3.3
dev: true dev: true
/ts-jest@29.1.1(@babel/core@7.23.6)(jest@29.7.0)(typescript@5.3.3): /ts-jest@29.1.2(@babel/core@7.23.6)(jest@29.7.0)(typescript@5.3.3):
resolution: {integrity: sha512-D6xjnnbP17cC85nliwGiL+tpoKN0StpgE0TeOjXQTU6MVCfsB4v7aW05CgQ/1OywGb0x/oy9hHFnN+sczTiRaA==} resolution: {integrity: sha512-br6GJoH/WUX4pu7FbZXuWGKGNDuU7b8Uj77g/Sp7puZV6EXzuByl6JrECvm0MzVzSTkSHWTihsXt+5XYER5b+g==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} engines: {node: ^16.10.0 || ^18.0.0 || >=20.0.0}
hasBin: true hasBin: true
peerDependencies: peerDependencies:
'@babel/core': '>=7.0.0-beta.0 <8' '@babel/core': '>=7.0.0-beta.0 <8'

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

@ -1509,6 +1509,92 @@ export interface KanbanUpdateReqType {
meta?: MetaType; meta?: MetaType;
} }
/**
* Model for Calendar
*/
export interface CalendarType {
/** Unique ID */
id?: IdType;
/** View ID */
fk_view_id?: IdType;
/** Cover Image Column ID */
fk_cover_image_col_id?: StringOrNullType;
/** Calendar Columns */
columns?: CalendarColumnType[];
/** Calendar Date Range */
calendar_range?: CalendarRangeType[];
/** Meta Info for Kanban */
meta?: MetaType;
/**
* Kanban Title
* @example My Kanban
*/
title?: string;
}
/**
* Model for Calendar Column
*/
export interface CalendarColumnType {
/** Unique ID */
id?: IdType;
/** Foreign Key to Column */
fk_column_id?: IdType;
/** Foreign Key to View */
fk_view_id?: IdType;
/**
* Baes ID
*
*/
source_id?: IdType;
/** Base ID */
base_id?: IdType;
/** Base ID */
title?: string;
/** Is this column shown? */
show?: BoolType;
/** Is this column shown as bold? */
bold?: BoolType;
/** Is this column shown as italic? */
italic?: BoolType;
/** Is this column shown underlines? */
underline?: BoolType;
/**
* Column Order
* @example 1
*/
order?: number;
}
/**
* Model for Calendar Date Range
*/
export interface CalendarRangeType {
/** Foreign Key to Column */
fk_from_column_id?: IdType;
/** Foreign Key to View */
fk_view_id?: StringOrNullType;
/** Base ID */
label?: string;
}
/**
* Model for Calendar Update Request
*/
export interface CalendarUpdateReqType {
/** Foreign Key to Cover Image Column */
fk_cover_image_col_id?: StringOrNullType;
/**
* Calendar Title
* @example Calendar 01
*/
title?: string;
/** Calendar Columns */
calendar_range?: CalendarRangeType[];
/** Meta Info */
meta?: MetaType;
}
/** /**
* Model for Kanban Request * Model for Kanban Request
*/ */
@ -2326,6 +2412,12 @@ export interface SortReqType {
*/ */
export type TextOrNullType = string | null; export type TextOrNullType = string | null;
/**
* Model for CalendarRangeOrNull
* @example [{"id":"kvc_2skkg5mi1eb37f","fk_from_column_id":"cl_hzos4ghyncqi4k","fk_to_column_id":"cl_hzos4ghyncqi4k","fk_view_id":"vw_wqs4zheuo5lgdy","label":"string"}]
*/
export type CalendarRangeOrNullType = null | CalendarRangeType[];
/** /**
* Model for StringOrNull * Model for StringOrNull
*/ */
@ -2516,7 +2608,8 @@ export interface ViewType {
| GridType | GridType
| KanbanType | KanbanType
| MapType | MapType
| (FormType & GalleryType & GridType & KanbanType & MapType); | CalendarType
| (FormType & GalleryType & GridType & KanbanType & MapType & CalendarType);
} }
/** /**
@ -2546,6 +2639,8 @@ export interface ViewCreateReqType {
fk_grp_col_id?: StringOrNullType; fk_grp_col_id?: StringOrNullType;
/** Foreign Key to Geo Data Column. Used in creating Map View. */ /** Foreign Key to Geo Data Column. Used in creating Map View. */
fk_geo_data_col_id?: StringOrNullType; fk_geo_data_col_id?: StringOrNullType;
/** Calendar Range or Null */
calendar_range?: CalendarRangeOrNullType;
} }
/** /**
@ -6818,6 +6913,102 @@ export class Api<
format: 'json', format: 'json',
...params, ...params,
}), }),
/**
* @description Create a new Calendar View
*
* @tags DB View
* @name CalendarCreate
* @summary Create Calendar View
* @request POST:/api/v1/db/meta/tables/{tableId}/calendars
* @response `200` `ViewType` OK
* @response `400` `{
\** @example BadRequest [Error]: <ERROR MESSAGE> *\
msg: string,
}`
*/
calendarCreate: (
tableId: IdType,
data: ViewCreateReqType,
params: RequestParams = {}
) =>
this.request<
ViewType,
{
/** @example BadRequest [Error]: <ERROR MESSAGE> */
msg: string;
}
>({
path: `/api/v1/db/meta/tables/${tableId}/calendars`,
method: 'POST',
body: data,
type: ContentType.Json,
format: 'json',
...params,
}),
/**
* @description Update the Calendar View data with Calendar ID
*
* @tags DB View
* @name CalendarUpdate
* @summary Update Calendar View
* @request PATCH:/api/v1/db/meta/calendars/{calendarViewId}
* @response `200` `number` OK
* @response `400` `{
\** @example BadRequest [Error]: <ERROR MESSAGE> *\
msg: string,
}`
*/
calendarUpdate: (
calendarViewId: string,
data: CalendarUpdateReqType,
params: RequestParams = {}
) =>
this.request<
number,
{
/** @example BadRequest [Error]: <ERROR MESSAGE> */
msg: string;
}
>({
path: `/api/v1/db/meta/calendars/${calendarViewId}`,
method: 'PATCH',
body: data,
type: ContentType.Json,
format: 'json',
...params,
}),
/**
* @description Get the Calendar View data by Calendar ID
*
* @tags DB View
* @name CalendarRead
* @summary Get Calendar View
* @request GET:/api/v1/db/meta/calendars/{calendarViewId}
* @response `200` `CalendarType` OK
* @response `400` `{
\** @example BadRequest [Error]: <ERROR MESSAGE> *\
msg: string,
}`
*/
calendarRead: (calendarViewId: string, params: RequestParams = {}) =>
this.request<
CalendarType,
{
/** @example BadRequest [Error]: <ERROR MESSAGE> */
msg: string;
}
>({
path: `/api/v1/db/meta/calendars/${calendarViewId}`,
method: 'GET',
format: 'json',
...params,
}),
}; };
dbViewShare = { dbViewShare = {
/** /**
@ -8443,6 +8634,49 @@ export class Api<
...params, ...params,
}), }),
/**
* @description Get the count of table view rows grouped by the dates
*
* @tags DB View Row
* @name CalendarCount
* @summary Count of Records in Dates in Calendar View
* @request GET:/api/v1/db/data/{orgs}/{baseName}/{tableName}/views/{viewName}/countByDate/
* @response `200` `any` OK
* @response `400` `{
\** @example BadRequest [Error]: <ERROR MESSAGE> *\
msg: string,
}`
*/
calendarCount: (
orgs: string,
baseName: string,
tableName: string,
viewName: string,
query?: {
sort?: any[];
where?: string;
/** @min 1 */
limit?: number;
/** @min 0 */
offset?: number;
},
params: RequestParams = {}
) =>
this.request<
any,
{
/** @example BadRequest [Error]: <ERROR MESSAGE> */
msg: string;
}
>({
path: `/api/v1/db/data/${orgs}/${baseName}/${tableName}/views/${viewName}/countByDate/`,
method: 'GET',
query: query,
format: 'json',
...params,
}),
/** /**
* @description Get the table view rows grouped by the given query * @description Get the table view rows grouped by the given query
* *
@ -8781,6 +9015,46 @@ export class Api<
...params, ...params,
}), }),
/**
* No description
*
* @tags Public
* @name CalendarCount
* @summary Count of Records in Dates in Calendar View
* @request GET:/api/v1/db/public/shared-view/{sharedViewUuid}/countByDate
* @response `200` `any` OK
* @response `400` `{
\** @example BadRequest [Error]: <ERROR MESSAGE> *\
msg: string,
}`
*/
calendarCount: (
sharedViewUuid: string,
query?: {
sort?: any[];
where?: string;
/** @min 1 */
limit?: number;
/** @min 0 */
offset?: number;
},
params: RequestParams = {}
) =>
this.request<
any,
{
/** @example BadRequest [Error]: <ERROR MESSAGE> */
msg: string;
}
>({
path: `/api/v1/db/public/shared-view/${sharedViewUuid}/countByDate`,
method: 'GET',
query: query,
format: 'json',
...params,
}),
/** /**
* @description List all shared view rows * @description List all shared view rows
* *
@ -9778,6 +10052,8 @@ export class Api<
galleryCount?: number, galleryCount?: number,
\** Kanban Count *\ \** Kanban Count *\
kanbanCount?: number, kanbanCount?: number,
\** Calendar Count *\
calendarCount?: number,
\** Total View Count *\ \** Total View Count *\
total?: number, total?: number,
\** Shared Form Count *\ \** Shared Form Count *\
@ -9788,6 +10064,8 @@ export class Api<
sharedGalleryCount?: number, sharedGalleryCount?: number,
\** Shared Kanban Count *\ \** Shared Kanban Count *\
sharedKanbanCount?: number, sharedKanbanCount?: number,
\** Shared Calendar Count *\
sharedCalendarCount?: number,
\** Shared Total View Count *\ \** Shared Total View Count *\
sharedTotal?: number, sharedTotal?: number,
\** Shared Locked View Count *\ \** Shared Locked View Count *\
@ -9843,6 +10121,8 @@ export class Api<
galleryCount?: number; galleryCount?: number;
/** Kanban Count */ /** Kanban Count */
kanbanCount?: number; kanbanCount?: number;
/** Calendar Count */
calendarCount?: number;
/** Total View Count */ /** Total View Count */
total?: number; total?: number;
/** Shared Form Count */ /** Shared Form Count */
@ -9853,6 +10133,8 @@ export class Api<
sharedGalleryCount?: number; sharedGalleryCount?: number;
/** Shared Kanban Count */ /** Shared Kanban Count */
sharedKanbanCount?: number; sharedKanbanCount?: number;
/** Shared Calendar Count */
sharedCalendarCount?: number;
/** Shared Total View Count */ /** Shared Total View Count */
sharedTotal?: number; sharedTotal?: number;
/** Shared Locked View Count */ /** Shared Locked View Count */

8
packages/nocodb/package.json

@ -1,6 +1,6 @@
{ {
"name": "nocodb", "name": "nocodb",
"version": "0.204.0", "version": "0.204.1",
"description": "NocoDB Backend", "description": "NocoDB Backend",
"main": "dist/bundle.js", "main": "dist/bundle.js",
"author": { "author": {
@ -132,12 +132,12 @@
"mysql2": "^3.9.1", "mysql2": "^3.9.1",
"nanoid": "^3.3.7", "nanoid": "^3.3.7",
"nc-help": "0.3.1", "nc-help": "0.3.1",
"nc-lib-gui": "0.204.0", "nc-lib-gui": "0.204.1",
"nc-plugin": "^0.1.3", "nc-plugin": "^0.1.3",
"ncp": "^2.0.0", "ncp": "^2.0.0",
"nestjs-kafka": "^1.0.6", "nestjs-kafka": "^1.0.6",
"nestjs-throttler-storage-redis": "^0.4.1", "nestjs-throttler-storage-redis": "^0.4.1",
"nocodb-sdk": "workspace:^", "nocodb-sdk": "0.204.1",
"nodemailer": "^6.9.8", "nodemailer": "^6.9.8",
"object-hash": "^3.0.0", "object-hash": "^3.0.0",
"object-sizeof": "^2.6.4", "object-sizeof": "^2.6.4",
@ -229,4 +229,4 @@
"coverageDirectory": "../coverage", "coverageDirectory": "../coverage",
"testEnvironment": "node" "testEnvironment": "node"
} }
} }

12
pnpm-lock.yaml

@ -139,7 +139,7 @@ importers:
specifier: ^0.11.0 specifier: ^0.11.0
version: 0.11.0 version: 0.11.0
nocodb-sdk: nocodb-sdk:
specifier: workspace:^ specifier: 0.204.1
version: link:../nocodb-sdk version: link:../nocodb-sdk
papaparse: papaparse:
specifier: ^5.4.1 specifier: ^5.4.1
@ -671,8 +671,8 @@ importers:
specifier: 0.3.1 specifier: 0.3.1
version: 0.3.1(asn1.js@5.4.1)(debug@4.3.4)(knex@2.4.2) version: 0.3.1(asn1.js@5.4.1)(debug@4.3.4)(knex@2.4.2)
nc-lib-gui: nc-lib-gui:
specifier: 0.204.0 specifier: 0.204.1
version: 0.204.0 version: 0.204.1
nc-plugin: nc-plugin:
specifier: ^0.1.3 specifier: ^0.1.3
version: 0.1.3 version: 0.1.3
@ -686,7 +686,7 @@ importers:
specifier: ^0.4.1 specifier: ^0.4.1
version: 0.4.1(@nestjs/common@10.3.2)(@nestjs/core@10.3.2)(@nestjs/throttler@5.1.2)(ioredis@5.3.2)(reflect-metadata@0.2.1) version: 0.4.1(@nestjs/common@10.3.2)(@nestjs/core@10.3.2)(@nestjs/throttler@5.1.2)(ioredis@5.3.2)(reflect-metadata@0.2.1)
nocodb-sdk: nocodb-sdk:
specifier: workspace:^ specifier: 0.204.1
version: link:../nocodb-sdk version: link:../nocodb-sdk
nodemailer: nodemailer:
specifier: ^6.9.8 specifier: ^6.9.8
@ -20348,8 +20348,8 @@ packages:
- supports-color - supports-color
dev: false dev: false
/nc-lib-gui@0.204.0: /nc-lib-gui@0.204.1:
resolution: {integrity: sha512-NVkgdBp1DlJ2mXhTS9SHHIa3BMYf2+qlVRRXlC0yZem2auqpMHqyRkSe/ReVMxpfE2zw/ciTEWqhEnL24ya6lw==} resolution: {integrity: sha512-8Nyfg1o0K/QunDQLO1Io8bZjW0vB66yqUTAPBF7qN2Kjcyv12MaInfi9oLqJnZs7DORdTP0v3YFeKoQJfn5AjA==}
dependencies: dependencies:
express: 4.18.2 express: 4.18.2
transitivePeerDependencies: transitivePeerDependencies:

Loading…
Cancel
Save