@gaias/basenode 1.0.40 → 1.0.42
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 +1 -3
- package/cfg/apisix.yml +0 -1
- package/cfg/application.development.yml +0 -1
- package/cfg/application.yml +0 -5
- package/cfg/database.yml +0 -7
- package/cfg/logger.yml +0 -5
- package/cfg/openapiCfg.yml +0 -1
- package/cfg/rabbitmq.yml +0 -1
- package/cfg/redis.yml +0 -6
- package/tools/repository.mst +0 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gaias/basenode",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.42",
|
|
4
4
|
"buildNumber": 251025471,
|
|
5
5
|
"description": "API development framework for NodeJs",
|
|
6
6
|
"author": "FOT",
|
|
@@ -9,8 +9,6 @@
|
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
10
10
|
"files": [
|
|
11
11
|
"dist",
|
|
12
|
-
"cfg",
|
|
13
|
-
"tools/repository.mst",
|
|
14
12
|
"README.md",
|
|
15
13
|
"CLAUDE.md"
|
|
16
14
|
],
|
package/cfg/apisix.yml
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
apiKey: yhwj2hUq9H4kGBHGMvwKcKjt
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
proxy: http://www.dev.fot.cool:8888
|
package/cfg/application.yml
DELETED
package/cfg/database.yml
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
# 数据库配置 / Database Configuration
|
|
2
|
-
# 优先使用环境变量 DATABASE_URL,如果未设置则使用下面的默认值
|
|
3
|
-
# Environment variable DATABASE_URL takes precedence over this default value
|
|
4
|
-
# 推荐:请在 .env 文件中设置真实的数据库连接信息
|
|
5
|
-
# Recommended: Set real database connection in .env file
|
|
6
|
-
mariaDBUrl: mysql://root:AyEB7kJjm4@192.168.88.10:3306/fotNet
|
|
7
|
-
output: ./example
|
package/cfg/logger.yml
DELETED
package/cfg/openapiCfg.yml
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
disabled: false
|
package/cfg/rabbitmq.yml
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
connection: amqp://admin:admin@192.168.88.10:5672/
|
package/cfg/redis.yml
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
# Redis 配置 / Redis Configuration
|
|
2
|
-
# 优先使用环境变量 REDIS_URL,如果未设置则使用下面的默认值
|
|
3
|
-
# Environment variable REDIS_URL takes precedence over this default value
|
|
4
|
-
# 推荐:请在 .env 文件中设置真实的 Redis 连接信息
|
|
5
|
-
# Recommended: Set real Redis connection in .env file
|
|
6
|
-
redis: "redis://192.168.88.10:6379/4"
|
package/tools/repository.mst
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// {}
|
|
2
|
-
import { Service, Inject } from 'typedi';
|
|
3
|
-
import { DataSource, Repository } from 'typeorm';
|
|
4
|
-
import { {{toEntityName tscName}} } from '../entities';
|
|
5
|
-
|
|
6
|
-
@Service()
|
|
7
|
-
export class {{toEntityName tscName}}Repo extends Repository<{{toEntityName tscName}}> {
|
|
8
|
-
constructor(@Inject('dataSource') dataSource: DataSource) {
|
|
9
|
-
super({{toEntityName tscName}}, dataSource.createEntityManager());
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
// Add your code here
|
|
13
|
-
}
|