@lark-apaas/coding-template-nestjs-react-fullstack 0.1.72-alpha.20261120131909 → 0.1.72-alpha.20261123002135
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
"name": "fullstack-nestjs-template",
|
|
9
9
|
"version": "2.3.0",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@lark-apaas/fullstack-nestjs-core": "1.
|
|
11
|
+
"@lark-apaas/fullstack-nestjs-core": "^1.1.79",
|
|
12
|
+
"@larksuiteoapi/node-sdk": "^1.76.0",
|
|
12
13
|
"@nestjs/axios": "^4.0.1",
|
|
13
14
|
"@nestjs/cache-manager": "^3.1.3",
|
|
14
15
|
"@nestjs/common": "^10.4.20",
|
|
@@ -32,9 +33,8 @@
|
|
|
32
33
|
},
|
|
33
34
|
"devDependencies": {
|
|
34
35
|
"@hookform/resolvers": "^5.2.2",
|
|
35
|
-
"@lark-apaas/client-toolkit": "1.2.
|
|
36
|
+
"@lark-apaas/client-toolkit": "^1.2.85",
|
|
36
37
|
"@lark-apaas/coding-preset-vite-react": "^1.0.33",
|
|
37
|
-
"@lark-apaas/db-schema-sync": "0.1.24-alpha.20261120130330",
|
|
38
38
|
"@lark-apaas/fullstack-presets": "^1.1.26",
|
|
39
39
|
"@nestjs/cli": "^10.4.9",
|
|
40
40
|
"@radix-ui/react-accordion": "^1.2.12",
|
|
@@ -1521,9 +1521,9 @@
|
|
|
1521
1521
|
}
|
|
1522
1522
|
},
|
|
1523
1523
|
"node_modules/@lark-apaas/client-toolkit": {
|
|
1524
|
-
"version": "1.2.
|
|
1525
|
-
"resolved": "https://registry.npmmirror.com/@lark-apaas/client-toolkit/-/client-toolkit-1.2.
|
|
1526
|
-
"integrity": "sha512-
|
|
1524
|
+
"version": "1.2.85",
|
|
1525
|
+
"resolved": "https://registry.npmmirror.com/@lark-apaas/client-toolkit/-/client-toolkit-1.2.85.tgz",
|
|
1526
|
+
"integrity": "sha512-PQcfmaDOviZJ4dd6r82r7/BZ0i3Ky5dR94l6QUgjOk7bejocjkws6MqGlL/SSRQYjqWbcNKwojfG5HHKI8LhLQ==",
|
|
1527
1527
|
"dev": true,
|
|
1528
1528
|
"dependencies": {
|
|
1529
1529
|
"@ant-design/colors": "^7.2.1",
|
|
@@ -1531,7 +1531,7 @@
|
|
|
1531
1531
|
"@lark-apaas/aily-web-sdk": "^0.0.12",
|
|
1532
1532
|
"@lark-apaas/auth-sdk": "^0.1.8",
|
|
1533
1533
|
"@lark-apaas/client-capability": "^0.1.8",
|
|
1534
|
-
"@lark-apaas/dataloom": "0.1.
|
|
1534
|
+
"@lark-apaas/dataloom": "^0.1.6",
|
|
1535
1535
|
"@lark-apaas/internal-slardar": "^0.0.3",
|
|
1536
1536
|
"@lark-apaas/miaoda-inspector": "^1.0.25",
|
|
1537
1537
|
"@lark-apaas/observable-web": "^1.0.11",
|
|
@@ -1629,33 +1629,14 @@
|
|
|
1629
1629
|
"license": "MIT"
|
|
1630
1630
|
},
|
|
1631
1631
|
"node_modules/@lark-apaas/dataloom": {
|
|
1632
|
-
"version": "0.1.
|
|
1633
|
-
"resolved": "https://registry.npmmirror.com/@lark-apaas/dataloom/-/dataloom-0.1.
|
|
1634
|
-
"integrity": "sha512-
|
|
1632
|
+
"version": "0.1.6",
|
|
1633
|
+
"resolved": "https://registry.npmmirror.com/@lark-apaas/dataloom/-/dataloom-0.1.6.tgz",
|
|
1634
|
+
"integrity": "sha512-NaMLYODTYlp4ziH1memTuEnARQhlbwMBm+MaWYT2Ue/3nf729i13hjkvxdmMTJq2qyWAnAhgEZvJ4Sccy+rmEQ==",
|
|
1635
1635
|
"dev": true,
|
|
1636
1636
|
"dependencies": {
|
|
1637
1637
|
"@lark-apaas/internal-slardar": "^0.0.3"
|
|
1638
1638
|
}
|
|
1639
1639
|
},
|
|
1640
|
-
"node_modules/@lark-apaas/db-schema-sync": {
|
|
1641
|
-
"version": "0.1.24-alpha.20261120130330",
|
|
1642
|
-
"resolved": "https://registry.npmmirror.com/@lark-apaas/db-schema-sync/-/db-schema-sync-0.1.24-alpha.20261120130330.tgz",
|
|
1643
|
-
"integrity": "sha512-OgfZiaLod0CULV3p7Z8CkYkypyxD9Qe+jCDoSUmP3vTguwTkSKAWsao1jpmO6IXZ7blDQ9VO8cldOFQfDEeE5w==",
|
|
1644
|
-
"dev": true,
|
|
1645
|
-
"dependencies": {
|
|
1646
|
-
"@lark-apaas/http-client": "^0.1.9",
|
|
1647
|
-
"dotenv": "^17.3.1",
|
|
1648
|
-
"proper-lockfile": "^4.1.2",
|
|
1649
|
-
"tiny-pinyin": "^1.3.2"
|
|
1650
|
-
},
|
|
1651
|
-
"bin": {
|
|
1652
|
-
"db-schema-check": "dist/check-bin.js",
|
|
1653
|
-
"db-schema-sync": "dist/bin.js"
|
|
1654
|
-
},
|
|
1655
|
-
"engines": {
|
|
1656
|
-
"node": ">=18.0.0"
|
|
1657
|
-
}
|
|
1658
|
-
},
|
|
1659
1640
|
"node_modules/@lark-apaas/file-service": {
|
|
1660
1641
|
"version": "0.1.2",
|
|
1661
1642
|
"resolved": "https://registry.npmmirror.com/@lark-apaas/file-service/-/file-service-0.1.2.tgz",
|
|
@@ -1666,9 +1647,9 @@
|
|
|
1666
1647
|
}
|
|
1667
1648
|
},
|
|
1668
1649
|
"node_modules/@lark-apaas/fullstack-nestjs-core": {
|
|
1669
|
-
"version": "1.
|
|
1670
|
-
"resolved": "https://registry.npmmirror.com/@lark-apaas/fullstack-nestjs-core/-/fullstack-nestjs-core-1.
|
|
1671
|
-
"integrity": "sha512-
|
|
1650
|
+
"version": "1.1.79",
|
|
1651
|
+
"resolved": "https://registry.npmmirror.com/@lark-apaas/fullstack-nestjs-core/-/fullstack-nestjs-core-1.1.79.tgz",
|
|
1652
|
+
"integrity": "sha512-uivHPh3T19EVIRPXWgh7a4+Av+LinnwbH1S0PobmL/FQBOwYfm8qc4UtCwDKWqrAy9a17UCVYvEjc73/D2M5Bw==",
|
|
1672
1653
|
"license": "MIT",
|
|
1673
1654
|
"dependencies": {
|
|
1674
1655
|
"@lark-apaas/cache-service": "^0.1.9",
|
|
@@ -1678,7 +1659,7 @@
|
|
|
1678
1659
|
"@lark-apaas/nestjs-authzpaas": "^0.1.18",
|
|
1679
1660
|
"@lark-apaas/nestjs-capability": "^0.1.17",
|
|
1680
1661
|
"@lark-apaas/nestjs-common": "^0.1.11",
|
|
1681
|
-
"@lark-apaas/nestjs-datapaas": "1.0.
|
|
1662
|
+
"@lark-apaas/nestjs-datapaas": "^1.0.30",
|
|
1682
1663
|
"@lark-apaas/nestjs-http-forwarder": "^0.1.7",
|
|
1683
1664
|
"@lark-apaas/nestjs-logger": "^1.0.25",
|
|
1684
1665
|
"@lark-apaas/nestjs-mcp": "^0.1.4",
|
|
@@ -1856,9 +1837,9 @@
|
|
|
1856
1837
|
}
|
|
1857
1838
|
},
|
|
1858
1839
|
"node_modules/@lark-apaas/nestjs-datapaas": {
|
|
1859
|
-
"version": "1.0.
|
|
1860
|
-
"resolved": "https://registry.npmmirror.com/@lark-apaas/nestjs-datapaas/-/nestjs-datapaas-1.0.
|
|
1861
|
-
"integrity": "sha512-
|
|
1840
|
+
"version": "1.0.30",
|
|
1841
|
+
"resolved": "https://registry.npmmirror.com/@lark-apaas/nestjs-datapaas/-/nestjs-datapaas-1.0.30.tgz",
|
|
1842
|
+
"integrity": "sha512-EpnzymJWG5djjunlj6UbP2j+rMjE5GfLkeiB8TD9IOiaZ09yIvxH8lcBO1FdMIx3XlhIUqXCV9AMY4QTSi6Swg==",
|
|
1862
1843
|
"license": "MIT",
|
|
1863
1844
|
"dependencies": {
|
|
1864
1845
|
"@types/pg": "^8.10.9",
|
|
@@ -2033,6 +2014,21 @@
|
|
|
2033
2014
|
"vite": "^6.0.0 || ^7.0.0 || ^8.0.0"
|
|
2034
2015
|
}
|
|
2035
2016
|
},
|
|
2017
|
+
"node_modules/@larksuiteoapi/node-sdk": {
|
|
2018
|
+
"version": "1.76.0",
|
|
2019
|
+
"resolved": "https://registry.npmmirror.com/@larksuiteoapi/node-sdk/-/node-sdk-1.76.0.tgz",
|
|
2020
|
+
"integrity": "sha512-v/bxQNCugwAmMPbZtBGJtSu8hdQLiB1/29Jr+GBIG18DyQ4LYyp7gxQ74pkhXVSuoUeH4v+/ZHAw/SW+KMrj2g==",
|
|
2021
|
+
"license": "MIT",
|
|
2022
|
+
"dependencies": {
|
|
2023
|
+
"axios": "^1.16.0",
|
|
2024
|
+
"lodash.identity": "^3.0.0",
|
|
2025
|
+
"lodash.merge": "^4.6.2",
|
|
2026
|
+
"lodash.pickby": "^4.6.0",
|
|
2027
|
+
"protobufjs": "^7.2.6",
|
|
2028
|
+
"qs": "^6.14.2",
|
|
2029
|
+
"ws": "^8.19.0"
|
|
2030
|
+
}
|
|
2031
|
+
},
|
|
2036
2032
|
"node_modules/@ljharb/through": {
|
|
2037
2033
|
"version": "2.3.14",
|
|
2038
2034
|
"resolved": "https://registry.npmmirror.com/@ljharb/through/-/through-2.3.14.tgz",
|
|
@@ -4032,6 +4028,63 @@
|
|
|
4032
4028
|
"node": ">=14"
|
|
4033
4029
|
}
|
|
4034
4030
|
},
|
|
4031
|
+
"node_modules/@protobufjs/aspromise": {
|
|
4032
|
+
"version": "1.1.2",
|
|
4033
|
+
"resolved": "https://registry.npmmirror.com/@protobufjs/aspromise/-/aspromise-1.1.2.tgz",
|
|
4034
|
+
"integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==",
|
|
4035
|
+
"license": "BSD-3-Clause"
|
|
4036
|
+
},
|
|
4037
|
+
"node_modules/@protobufjs/base64": {
|
|
4038
|
+
"version": "1.1.2",
|
|
4039
|
+
"resolved": "https://registry.npmmirror.com/@protobufjs/base64/-/base64-1.1.2.tgz",
|
|
4040
|
+
"integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==",
|
|
4041
|
+
"license": "BSD-3-Clause"
|
|
4042
|
+
},
|
|
4043
|
+
"node_modules/@protobufjs/codegen": {
|
|
4044
|
+
"version": "2.0.5",
|
|
4045
|
+
"resolved": "https://registry.npmmirror.com/@protobufjs/codegen/-/codegen-2.0.5.tgz",
|
|
4046
|
+
"integrity": "sha512-zgXFLzW3Ap33e6d0Wlj4MGIm6Ce8O89n/apUaGNB/jx+hw+ruWEp7EwGUshdLKVRCxZW12fp9r40E1mQrf/34g==",
|
|
4047
|
+
"license": "BSD-3-Clause"
|
|
4048
|
+
},
|
|
4049
|
+
"node_modules/@protobufjs/eventemitter": {
|
|
4050
|
+
"version": "1.1.1",
|
|
4051
|
+
"resolved": "https://registry.npmmirror.com/@protobufjs/eventemitter/-/eventemitter-1.1.1.tgz",
|
|
4052
|
+
"integrity": "sha512-vW1GmwMZNnL+gMRaovlh9yZX74kc+TTU3FObkkurpMaRtBfLP3ldjS9KQWlwZgraRE0+dheEEoAxdzcJQ8eXZg==",
|
|
4053
|
+
"license": "BSD-3-Clause"
|
|
4054
|
+
},
|
|
4055
|
+
"node_modules/@protobufjs/fetch": {
|
|
4056
|
+
"version": "1.1.1",
|
|
4057
|
+
"resolved": "https://registry.npmmirror.com/@protobufjs/fetch/-/fetch-1.1.1.tgz",
|
|
4058
|
+
"integrity": "sha512-GpptLrs57adMSuHi3VNj0mAF8dwh36LMaYF6XyJ6JMWlVsc+t42tm1HSEDmOs3A8fC9yyeisgLhsTVQokOZ0zw==",
|
|
4059
|
+
"license": "BSD-3-Clause",
|
|
4060
|
+
"dependencies": {
|
|
4061
|
+
"@protobufjs/aspromise": "^1.1.1"
|
|
4062
|
+
}
|
|
4063
|
+
},
|
|
4064
|
+
"node_modules/@protobufjs/float": {
|
|
4065
|
+
"version": "1.0.2",
|
|
4066
|
+
"resolved": "https://registry.npmmirror.com/@protobufjs/float/-/float-1.0.2.tgz",
|
|
4067
|
+
"integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==",
|
|
4068
|
+
"license": "BSD-3-Clause"
|
|
4069
|
+
},
|
|
4070
|
+
"node_modules/@protobufjs/path": {
|
|
4071
|
+
"version": "1.1.2",
|
|
4072
|
+
"resolved": "https://registry.npmmirror.com/@protobufjs/path/-/path-1.1.2.tgz",
|
|
4073
|
+
"integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==",
|
|
4074
|
+
"license": "BSD-3-Clause"
|
|
4075
|
+
},
|
|
4076
|
+
"node_modules/@protobufjs/pool": {
|
|
4077
|
+
"version": "1.1.0",
|
|
4078
|
+
"resolved": "https://registry.npmmirror.com/@protobufjs/pool/-/pool-1.1.0.tgz",
|
|
4079
|
+
"integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==",
|
|
4080
|
+
"license": "BSD-3-Clause"
|
|
4081
|
+
},
|
|
4082
|
+
"node_modules/@protobufjs/utf8": {
|
|
4083
|
+
"version": "1.1.2",
|
|
4084
|
+
"resolved": "https://registry.npmmirror.com/@protobufjs/utf8/-/utf8-1.1.2.tgz",
|
|
4085
|
+
"integrity": "sha512-b1UQwcEZ4yCnMCD8DAL1VlbvBJE9/IX4FTIp7BG1xYpf29SLazLSrqUkj4w7Y5y7cCVP6E5tcqqcI0xemPkHug==",
|
|
4086
|
+
"license": "BSD-3-Clause"
|
|
4087
|
+
},
|
|
4035
4088
|
"node_modules/@radix-ui/number": {
|
|
4036
4089
|
"version": "1.1.3",
|
|
4037
4090
|
"resolved": "https://registry.npmmirror.com/@radix-ui/number/-/number-1.1.3.tgz",
|
|
@@ -15374,6 +15427,12 @@
|
|
|
15374
15427
|
"integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==",
|
|
15375
15428
|
"license": "MIT"
|
|
15376
15429
|
},
|
|
15430
|
+
"node_modules/lodash.identity": {
|
|
15431
|
+
"version": "3.0.0",
|
|
15432
|
+
"resolved": "https://registry.npmmirror.com/lodash.identity/-/lodash.identity-3.0.0.tgz",
|
|
15433
|
+
"integrity": "sha512-AupTIzdLQxJS5wIYUQlgGyk2XRTfGXA+MCghDHqZk0pzUNYvd3EESS6dkChNauNYVIutcb0dfHw1ri9Q1yPV8Q==",
|
|
15434
|
+
"license": "MIT"
|
|
15435
|
+
},
|
|
15377
15436
|
"node_modules/lodash.includes": {
|
|
15378
15437
|
"version": "4.3.0",
|
|
15379
15438
|
"resolved": "https://registry.npmmirror.com/lodash.includes/-/lodash.includes-4.3.0.tgz",
|
|
@@ -15414,7 +15473,6 @@
|
|
|
15414
15473
|
"version": "4.6.2",
|
|
15415
15474
|
"resolved": "https://registry.npmmirror.com/lodash.merge/-/lodash.merge-4.6.2.tgz",
|
|
15416
15475
|
"integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
|
|
15417
|
-
"dev": true,
|
|
15418
15476
|
"license": "MIT"
|
|
15419
15477
|
},
|
|
15420
15478
|
"node_modules/lodash.once": {
|
|
@@ -15423,6 +15481,12 @@
|
|
|
15423
15481
|
"integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==",
|
|
15424
15482
|
"license": "MIT"
|
|
15425
15483
|
},
|
|
15484
|
+
"node_modules/lodash.pickby": {
|
|
15485
|
+
"version": "4.6.0",
|
|
15486
|
+
"resolved": "https://registry.npmmirror.com/lodash.pickby/-/lodash.pickby-4.6.0.tgz",
|
|
15487
|
+
"integrity": "sha512-AZV+GsS/6ckvPOVQPXSiFFacKvKB4kOQu6ynt9wz0F3LO4R9Ij4K1ddYsIytDpSgLz88JHd9P+oaLeej5/Sl7Q==",
|
|
15488
|
+
"license": "MIT"
|
|
15489
|
+
},
|
|
15426
15490
|
"node_modules/lodash.truncate": {
|
|
15427
15491
|
"version": "4.4.2",
|
|
15428
15492
|
"resolved": "https://registry.npmmirror.com/lodash.truncate/-/lodash.truncate-4.4.2.tgz",
|
|
@@ -15447,6 +15511,12 @@
|
|
|
15447
15511
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
15448
15512
|
}
|
|
15449
15513
|
},
|
|
15514
|
+
"node_modules/long": {
|
|
15515
|
+
"version": "5.3.2",
|
|
15516
|
+
"resolved": "https://registry.npmmirror.com/long/-/long-5.3.2.tgz",
|
|
15517
|
+
"integrity": "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==",
|
|
15518
|
+
"license": "Apache-2.0"
|
|
15519
|
+
},
|
|
15450
15520
|
"node_modules/longest-streak": {
|
|
15451
15521
|
"version": "3.1.0",
|
|
15452
15522
|
"resolved": "https://registry.npmmirror.com/longest-streak/-/longest-streak-3.1.0.tgz",
|
|
@@ -18123,18 +18193,6 @@
|
|
|
18123
18193
|
"dev": true,
|
|
18124
18194
|
"license": "MIT"
|
|
18125
18195
|
},
|
|
18126
|
-
"node_modules/proper-lockfile": {
|
|
18127
|
-
"version": "4.1.2",
|
|
18128
|
-
"resolved": "https://registry.npmmirror.com/proper-lockfile/-/proper-lockfile-4.1.2.tgz",
|
|
18129
|
-
"integrity": "sha512-TjNPblN4BwAWMXU8s9AEz4JmQxnD1NNL7bNOY/AKUzyamc379FWASUhc/K1pL2noVb+XmZKLL68cjzLsiOAMaA==",
|
|
18130
|
-
"dev": true,
|
|
18131
|
-
"license": "MIT",
|
|
18132
|
-
"dependencies": {
|
|
18133
|
-
"graceful-fs": "^4.2.4",
|
|
18134
|
-
"retry": "^0.12.0",
|
|
18135
|
-
"signal-exit": "^3.0.2"
|
|
18136
|
-
}
|
|
18137
|
-
},
|
|
18138
18196
|
"node_modules/property-information": {
|
|
18139
18197
|
"version": "7.2.0",
|
|
18140
18198
|
"resolved": "https://registry.npmmirror.com/property-information/-/property-information-7.2.0.tgz",
|
|
@@ -18146,6 +18204,29 @@
|
|
|
18146
18204
|
"url": "https://github.com/sponsors/wooorm"
|
|
18147
18205
|
}
|
|
18148
18206
|
},
|
|
18207
|
+
"node_modules/protobufjs": {
|
|
18208
|
+
"version": "7.6.6",
|
|
18209
|
+
"resolved": "https://registry.npmmirror.com/protobufjs/-/protobufjs-7.6.6.tgz",
|
|
18210
|
+
"integrity": "sha512-dYDWdjSl5RNb7SgPxGQcRU+GtvP7s2fpkrY0r432PcOIaZ0/rBcxEZnQN67iJhFuQiVw754JDoPruPCNdGsbjg==",
|
|
18211
|
+
"hasInstallScript": true,
|
|
18212
|
+
"license": "BSD-3-Clause",
|
|
18213
|
+
"dependencies": {
|
|
18214
|
+
"@protobufjs/aspromise": "^1.1.2",
|
|
18215
|
+
"@protobufjs/base64": "^1.1.2",
|
|
18216
|
+
"@protobufjs/codegen": "^2.0.5",
|
|
18217
|
+
"@protobufjs/eventemitter": "^1.1.1",
|
|
18218
|
+
"@protobufjs/fetch": "^1.1.1",
|
|
18219
|
+
"@protobufjs/float": "^1.0.2",
|
|
18220
|
+
"@protobufjs/path": "^1.1.2",
|
|
18221
|
+
"@protobufjs/pool": "^1.1.0",
|
|
18222
|
+
"@protobufjs/utf8": "^1.1.1",
|
|
18223
|
+
"@types/node": ">=13.7.0",
|
|
18224
|
+
"long": "^5.3.2"
|
|
18225
|
+
},
|
|
18226
|
+
"engines": {
|
|
18227
|
+
"node": ">=12.0.0"
|
|
18228
|
+
}
|
|
18229
|
+
},
|
|
18149
18230
|
"node_modules/proxy-addr": {
|
|
18150
18231
|
"version": "2.0.8",
|
|
18151
18232
|
"resolved": "https://registry.npmmirror.com/proxy-addr/-/proxy-addr-2.0.8.tgz",
|
|
@@ -19360,16 +19441,6 @@
|
|
|
19360
19441
|
"node": ">=8"
|
|
19361
19442
|
}
|
|
19362
19443
|
},
|
|
19363
|
-
"node_modules/retry": {
|
|
19364
|
-
"version": "0.12.0",
|
|
19365
|
-
"resolved": "https://registry.npmmirror.com/retry/-/retry-0.12.0.tgz",
|
|
19366
|
-
"integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==",
|
|
19367
|
-
"dev": true,
|
|
19368
|
-
"license": "MIT",
|
|
19369
|
-
"engines": {
|
|
19370
|
-
"node": ">= 4"
|
|
19371
|
-
}
|
|
19372
|
-
},
|
|
19373
19444
|
"node_modules/reusify": {
|
|
19374
19445
|
"version": "1.1.0",
|
|
19375
19446
|
"resolved": "https://registry.npmmirror.com/reusify/-/reusify-1.1.0.tgz",
|
|
@@ -21152,13 +21223,6 @@
|
|
|
21152
21223
|
"dev": true,
|
|
21153
21224
|
"license": "MIT"
|
|
21154
21225
|
},
|
|
21155
|
-
"node_modules/tiny-pinyin": {
|
|
21156
|
-
"version": "1.3.2",
|
|
21157
|
-
"resolved": "https://registry.npmmirror.com/tiny-pinyin/-/tiny-pinyin-1.3.2.tgz",
|
|
21158
|
-
"integrity": "sha512-uHNGu4evFt/8eNLldazeAM1M8JrMc1jshhJJfVRARTN3yT8HEEibofeQ7QETWQ5ISBjd6fKtTVBCC/+mGS6FpA==",
|
|
21159
|
-
"dev": true,
|
|
21160
|
-
"license": "MIT"
|
|
21161
|
-
},
|
|
21162
21226
|
"node_modules/tinyexec": {
|
|
21163
21227
|
"version": "1.3.0",
|
|
21164
21228
|
"resolved": "https://registry.npmmirror.com/tinyexec/-/tinyexec-1.3.0.tgz",
|
|
@@ -22624,6 +22688,27 @@
|
|
|
22624
22688
|
"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
|
|
22625
22689
|
"license": "ISC"
|
|
22626
22690
|
},
|
|
22691
|
+
"node_modules/ws": {
|
|
22692
|
+
"version": "8.23.0",
|
|
22693
|
+
"resolved": "https://registry.npmmirror.com/ws/-/ws-8.23.0.tgz",
|
|
22694
|
+
"integrity": "sha512-wCkmX8QMOrKjgO8HW2WyDbTSGeqkocxgDzS9iR79rEAexty6/2qzilx3Ag8Tqf9ykop3irLKle0MtVn5qjVnoQ==",
|
|
22695
|
+
"license": "MIT",
|
|
22696
|
+
"engines": {
|
|
22697
|
+
"node": ">=10.0.0"
|
|
22698
|
+
},
|
|
22699
|
+
"peerDependencies": {
|
|
22700
|
+
"bufferutil": "^4.0.1",
|
|
22701
|
+
"utf-8-validate": ">=5.0.2"
|
|
22702
|
+
},
|
|
22703
|
+
"peerDependenciesMeta": {
|
|
22704
|
+
"bufferutil": {
|
|
22705
|
+
"optional": true
|
|
22706
|
+
},
|
|
22707
|
+
"utf-8-validate": {
|
|
22708
|
+
"optional": true
|
|
22709
|
+
}
|
|
22710
|
+
}
|
|
22711
|
+
},
|
|
22627
22712
|
"node_modules/wsl-utils": {
|
|
22628
22713
|
"version": "0.1.0",
|
|
22629
22714
|
"resolved": "https://registry.npmmirror.com/wsl-utils/-/wsl-utils-0.1.0.tgz",
|
package/template/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"dev": "./scripts/dev.sh",
|
|
12
12
|
"dev:server": "NODE_ENV=development nest start --watch",
|
|
13
13
|
"dev:client": "NODE_ENV=development vite --config vite.config.ts",
|
|
14
|
-
"gen:db-schema": "
|
|
14
|
+
"gen:db-schema": "npx -y @lark-apaas/db-schema-sync@latest --output server/database/schema.ts --export-custom-types",
|
|
15
15
|
"gen:openapi": "echo 'UNSUPPORTED, SKIP'",
|
|
16
16
|
"build": "./scripts/build.sh",
|
|
17
17
|
"build:prod": "npm run build:server && npm run build:client",
|
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
"upgrade": "npx -y @lark-apaas/fullstack-cli sync --disable-gen-openapi"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@lark-apaas/fullstack-nestjs-core": "1.
|
|
31
|
+
"@lark-apaas/fullstack-nestjs-core": "^1.1.79",
|
|
32
|
+
"@larksuiteoapi/node-sdk": "^1.76.0",
|
|
32
33
|
"@nestjs/axios": "^4.0.1",
|
|
33
34
|
"@nestjs/cache-manager": "^3.1.3",
|
|
34
35
|
"@nestjs/common": "^10.4.20",
|
|
@@ -51,9 +52,8 @@
|
|
|
51
52
|
"tslib": "^2.8.1"
|
|
52
53
|
},
|
|
53
54
|
"devDependencies": {
|
|
54
|
-
"@lark-apaas/db-schema-sync": "0.1.24-alpha.20261120130330",
|
|
55
55
|
"@hookform/resolvers": "^5.2.2",
|
|
56
|
-
"@lark-apaas/client-toolkit": "1.2.
|
|
56
|
+
"@lark-apaas/client-toolkit": "^1.2.85",
|
|
57
57
|
"@lark-apaas/coding-preset-vite-react": "^1.0.33",
|
|
58
58
|
"@lark-apaas/fullstack-presets": "^1.1.26",
|
|
59
59
|
"@nestjs/cli": "^10.4.9",
|
|
@@ -16,6 +16,7 @@ export enum ResponseCode {
|
|
|
16
16
|
VALIDATION_ERROR = 'VALIDATION_ERROR',
|
|
17
17
|
CONFLICT = 'CONFLICT',
|
|
18
18
|
TOO_MANY_REQUESTS = 'TOO_MANY_REQUESTS',
|
|
19
|
+
PAYLOAD_TOO_LARGE = 'PAYLOAD_TOO_LARGE',
|
|
19
20
|
|
|
20
21
|
// 服务端错误
|
|
21
22
|
INTERNAL_ERROR = 'INTERNAL_ERROR',
|
|
@@ -40,6 +41,7 @@ export const RESPONSE_CODE_TO_HTTP_STATUS_MAP: Record<ResponseCode, number> = {
|
|
|
40
41
|
[ResponseCode.VALIDATION_ERROR]: HttpStatus.UNPROCESSABLE_ENTITY,
|
|
41
42
|
[ResponseCode.CONFLICT]: HttpStatus.CONFLICT,
|
|
42
43
|
[ResponseCode.TOO_MANY_REQUESTS]: HttpStatus.TOO_MANY_REQUESTS,
|
|
44
|
+
[ResponseCode.PAYLOAD_TOO_LARGE]: HttpStatus.PAYLOAD_TOO_LARGE,
|
|
43
45
|
|
|
44
46
|
[ResponseCode.INTERNAL_ERROR]: HttpStatus.INTERNAL_SERVER_ERROR,
|
|
45
47
|
[ResponseCode.BAD_GATEWAY]: HttpStatus.BAD_GATEWAY,
|
|
@@ -44,6 +44,23 @@ export class GlobalExceptionFilter implements ExceptionFilter {
|
|
|
44
44
|
timestamp: Date.now(),
|
|
45
45
|
},
|
|
46
46
|
};
|
|
47
|
+
} else if (
|
|
48
|
+
typeof exception === 'object' &&
|
|
49
|
+
exception !== null &&
|
|
50
|
+
((exception as { status?: unknown }).status === HttpStatus.PAYLOAD_TOO_LARGE ||
|
|
51
|
+
(exception as { statusCode?: unknown }).statusCode === HttpStatus.PAYLOAD_TOO_LARGE ||
|
|
52
|
+
(exception as { type?: unknown }).type === 'entity.too.large')
|
|
53
|
+
) {
|
|
54
|
+
// body-parser 请求体超限(PayloadTooLargeError):status/statusCode 为 413 或 type 为 entity.too.large
|
|
55
|
+
// 错误发生在 Nest 路由之前,按异常自带语义状态码响应,避免被兜成 500
|
|
56
|
+
httpStatus = HttpStatus.PAYLOAD_TOO_LARGE;
|
|
57
|
+
errorResponse = {
|
|
58
|
+
error: {
|
|
59
|
+
code: ResponseCode.PAYLOAD_TOO_LARGE,
|
|
60
|
+
message: '请求体过大',
|
|
61
|
+
timestamp: Date.now(),
|
|
62
|
+
},
|
|
63
|
+
};
|
|
47
64
|
} else if (
|
|
48
65
|
typeof exception === 'object' &&
|
|
49
66
|
exception !== null &&
|