@hugo.ye/common 1.0.61 → 1.0.62

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.
@@ -0,0 +1,8 @@
1
+ import { AbstractRepository, ContinentEntity } from '../index.js';
2
+ import { Logger } from '@nestjs/common';
3
+ import { EntityManager, Repository } from 'typeorm';
4
+ export declare class ContinentRepository extends AbstractRepository<ContinentEntity> {
5
+ protected readonly logger: Logger;
6
+ constructor(entityRepository: Repository<ContinentEntity>, entityManager: EntityManager);
7
+ }
8
+ //# sourceMappingURL=continent.repository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"continent.repository.d.ts","sourceRoot":"","sources":["../../src/repositories/continent.repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAClE,OAAO,EAAc,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAEpD,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAEpD,qBACa,mBAAoB,SAAQ,kBAAkB,CAAC,eAAe,CAAC;IACxE,SAAS,CAAC,QAAQ,CAAC,MAAM,SAAwC;gBAG1B,gBAAgB,EAAE,UAAU,CAAC,eAAe,CAAC,EAChF,aAAa,EAAE,aAAa;CAInC"}
@@ -0,0 +1,31 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
11
+ return function (target, key) { decorator(target, key, paramIndex); }
12
+ };
13
+ var ContinentRepository_1;
14
+ import { AbstractRepository, ContinentEntity } from '../index.js';
15
+ import { Injectable, Logger } from '@nestjs/common';
16
+ import { InjectRepository } from '@nestjs/typeorm';
17
+ import { EntityManager, Repository } from 'typeorm';
18
+ let ContinentRepository = ContinentRepository_1 = class ContinentRepository extends AbstractRepository {
19
+ logger = new Logger(ContinentRepository_1.name);
20
+ constructor(entityRepository, entityManager) {
21
+ super(entityManager, entityRepository);
22
+ }
23
+ };
24
+ ContinentRepository = ContinentRepository_1 = __decorate([
25
+ Injectable(),
26
+ __param(0, InjectRepository(ContinentEntity)),
27
+ __metadata("design:paramtypes", [Repository,
28
+ EntityManager])
29
+ ], ContinentRepository);
30
+ export { ContinentRepository };
31
+ //# sourceMappingURL=continent.repository.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"continent.repository.js","sourceRoot":"","sources":["../../src/repositories/continent.repository.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAG7C,IAAM,mBAAmB,2BAAzB,MAAM,mBAAoB,SAAQ,kBAAmC;IACrD,MAAM,GAAG,IAAI,MAAM,CAAC,qBAAmB,CAAC,IAAI,CAAC,CAAC;IAEjE,YACuC,gBAA6C,EAChF,aAA4B;QAE5B,KAAK,CAAC,aAAa,EAAE,gBAAgB,CAAC,CAAC;IAC3C,CAAC;CACJ,CAAA;AATY,mBAAmB;IAD/B,UAAU,EAAE;IAKJ,WAAA,gBAAgB,CAAC,eAAe,CAAC,CAAA;qCAAmB,UAAU;QAChD,aAAa;GALvB,mBAAmB,CAS/B"}
@@ -0,0 +1,8 @@
1
+ import { AbstractRepository, ProjectEntity } from '../index.js';
2
+ import { Logger } from '@nestjs/common';
3
+ import { EntityManager, Repository } from 'typeorm';
4
+ export declare class ProjectRepository extends AbstractRepository<ProjectEntity> {
5
+ protected readonly logger: Logger;
6
+ constructor(entityRepository: Repository<ProjectEntity>, entityManager: EntityManager);
7
+ }
8
+ //# sourceMappingURL=project.repository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project.repository.d.ts","sourceRoot":"","sources":["../../src/repositories/project.repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAChE,OAAO,EAAc,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAEpD,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAEpD,qBACa,iBAAkB,SAAQ,kBAAkB,CAAC,aAAa,CAAC;IACpE,SAAS,CAAC,QAAQ,CAAC,MAAM,SAAsC;gBAG1B,gBAAgB,EAAE,UAAU,CAAC,aAAa,CAAC,EAC5E,aAAa,EAAE,aAAa;CAInC"}
@@ -0,0 +1,31 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
11
+ return function (target, key) { decorator(target, key, paramIndex); }
12
+ };
13
+ var ProjectRepository_1;
14
+ import { AbstractRepository, ProjectEntity } from '../index.js';
15
+ import { Injectable, Logger } from '@nestjs/common';
16
+ import { InjectRepository } from '@nestjs/typeorm';
17
+ import { EntityManager, Repository } from 'typeorm';
18
+ let ProjectRepository = ProjectRepository_1 = class ProjectRepository extends AbstractRepository {
19
+ logger = new Logger(ProjectRepository_1.name);
20
+ constructor(entityRepository, entityManager) {
21
+ super(entityManager, entityRepository);
22
+ }
23
+ };
24
+ ProjectRepository = ProjectRepository_1 = __decorate([
25
+ Injectable(),
26
+ __param(0, InjectRepository(ProjectEntity)),
27
+ __metadata("design:paramtypes", [Repository,
28
+ EntityManager])
29
+ ], ProjectRepository);
30
+ export { ProjectRepository };
31
+ //# sourceMappingURL=project.repository.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project.repository.js","sourceRoot":"","sources":["../../src/repositories/project.repository.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAG7C,IAAM,iBAAiB,yBAAvB,MAAM,iBAAkB,SAAQ,kBAAiC;IACjD,MAAM,GAAG,IAAI,MAAM,CAAC,mBAAiB,CAAC,IAAI,CAAC,CAAC;IAE/D,YACqC,gBAA2C,EAC5E,aAA4B;QAE5B,KAAK,CAAC,aAAa,EAAE,gBAAgB,CAAC,CAAC;IAC3C,CAAC;CACJ,CAAA;AATY,iBAAiB;IAD7B,UAAU,EAAE;IAKJ,WAAA,gBAAgB,CAAC,aAAa,CAAC,CAAA;qCAAmB,UAAU;QAC9C,aAAa;GALvB,iBAAiB,CAS7B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hugo.ye/common",
3
- "version": "1.0.61",
3
+ "version": "1.0.62",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -10,7 +10,9 @@
10
10
  "scripts": {
11
11
  "clean": "del ./build/*",
12
12
  "build": "npm run clean && tsc && tsc-alias",
13
- "pub": "git add . && git commit -m \"updated\" && npm version patch && npm run build && npm publish --access publish"
13
+ "pub": "git add . && git commit -m \"updated\" && npm version patch && npm run build && npm publish --access publish",
14
+ "pub:minor": "git add . && git commit -m \"updated\" && npm version minor && npm run build && npm publish --access publish",
15
+ "pub:major": "git add . && git commit -m \"updated\" && npm version major && npm run build && npm publish --access publish"
14
16
  },
15
17
  "keywords": [],
16
18
  "author": "",