@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gaias/basenode",
3
- "version": "1.0.40",
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
@@ -1,5 +0,0 @@
1
- appName: example
2
- version: 1
3
- port: 3000
4
- privateKeyPath: ./keys/privateKey
5
- publicKeyPath: ./keys/publicKey
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
@@ -1,5 +0,0 @@
1
- level: debug
2
- prettyPrint:
3
- translateTime: SYS:standard
4
- ignore: pid,hostname
5
- levelFirst: true
@@ -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"
@@ -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
- }