This commit is contained in:
2025-11-20 23:00:33 +08:00
parent 4ef857ec0b
commit f5c59e584a
3 changed files with 28 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@kevisual/noco",
"version": "0.0.1",
"version": "0.0.2",
"description": "",
"main": "index.js",
"scripts": {
@@ -21,13 +21,13 @@
],
"author": "abearxiong <xiongxiao@xiongxiao.me> (https://www.xiongxiao.me)",
"license": "MIT",
"packageManager": "pnpm@10.14.0",
"packageManager": "pnpm@10.23.0",
"type": "module",
"devDependencies": {
"@kevisual/types": "^0.0.10",
"@kevisual/use-config": "^1.0.19",
"@types/node": "^24.2.1",
"nocodb-sdk": "^0.264.4"
"@types/node": "^24.10.1",
"nocodb-sdk": "^0.265.1"
},
"exports": {
".": "./dist/app.js"

28
pnpm-lock.yaml generated
View File

@@ -15,11 +15,11 @@ importers:
specifier: ^1.0.19
version: 1.0.19(dotenv@16.6.1)
'@types/node':
specifier: ^24.2.1
version: 24.2.1
specifier: ^24.10.1
version: 24.10.1
nocodb-sdk:
specifier: ^0.264.4
version: 0.264.4
specifier: ^0.265.1
version: 0.265.1
packages:
@@ -46,8 +46,8 @@ packages:
peerDependencies:
dotenv: ^16.4.7
'@types/node@24.2.1':
resolution: {integrity: sha512-DRh5K+ka5eJic8CjH7td8QpYEV6Zo10gfRkjHCO3weqZHWDtAaSTFtl4+VMqOJ4N5jcuhZ9/l+yy8rVgw7BQeQ==}
'@types/node@24.10.1':
resolution: {integrity: sha512-GNWcUTRBgIRJD5zj+Tq0fKOJ5XZajIiBroOF0yvj2bSU1WvNdYS/dn9UxwsujGW4JX06dnHyjV2y9rRaybH0iQ==}
asynckit@0.4.0:
resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==}
@@ -159,8 +159,8 @@ packages:
resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==}
engines: {node: '>= 0.6'}
nocodb-sdk@0.264.4:
resolution: {integrity: sha512-t5DI7FNO1LiMqFXI82GbZefMgjhd+0FL8yjF7QW0n4fPoL24W2+8pJ2mVfhJRnvmZ5wQuLCXMlcdqFcgbpuw7g==}
nocodb-sdk@0.265.1:
resolution: {integrity: sha512-RD5rOiCrHu5ImFxElTpHPdNFaoF74O00ixauQr/XkzjMRvI3yVw6xFHdxb5bFoLbeee0/7kYpOmrPSbCNQ/YMA==}
engines: {node: '>=18'}
proxy-from-env@1.1.0:
@@ -169,8 +169,8 @@ packages:
regexp-to-ast@0.5.0:
resolution: {integrity: sha512-tlbJqcMHnPKI9zSrystikWKwHkBqu2a/Sgw01h3zFjvYrMxEDYHzzoMZnUrbIfpTFEsoRnnviOXNCzFiSc54Qw==}
undici-types@7.10.0:
resolution: {integrity: sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag==}
undici-types@7.16.0:
resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==}
validator@13.15.15:
resolution: {integrity: sha512-BgWVbCI72aIQy937xbawcs+hrVaN/CZ2UwutgaJ36hGqRrLNM+f5LUT/YPRbo8IV/ASeFzXszezV+y2+rq3l8A==}
@@ -204,9 +204,9 @@ snapshots:
'@kevisual/load': 0.0.6
dotenv: 16.6.1
'@types/node@24.2.1':
'@types/node@24.10.1':
dependencies:
undici-types: 7.10.0
undici-types: 7.16.0
asynckit@0.4.0: {}
@@ -319,7 +319,7 @@ snapshots:
dependencies:
mime-db: 1.52.0
nocodb-sdk@0.264.4:
nocodb-sdk@0.265.1:
dependencies:
axios: 1.11.0
chevrotain: 10.5.0
@@ -333,6 +333,6 @@ snapshots:
regexp-to-ast@0.5.0: {}
undici-types@7.10.0: {}
undici-types@7.16.0: {}
validator@13.15.15: {}

View File

@@ -10,3 +10,13 @@ const listResult = await nocoAPi.record.list();
await nocoAPi.record.update({ id: 1, Title: '123' });
```
## nocodb的资料地址
### meta
https://nocodb.com/apis/v2/meta
### data
https://nocodb.com/apis/v2/data