plac-micro-common 1.3.63 → 1.3.65

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.
@@ -1,4 +1,10 @@
1
1
  export declare const REDIS_CACHE_KEYS: {
2
+ readonly App: {
3
+ readonly Info: (appId: string) => string;
4
+ };
5
+ readonly AppClient: {
6
+ readonly ClientIdInfo: (clientId: string) => string;
7
+ };
2
8
  readonly General: {
3
9
  readonly MaritalStatus: "v1:general:dropdown:marital-status";
4
10
  readonly Nationality: "v1:general:dropdown:nationality";
@@ -2,6 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.REDIS_CACHE_TTL = exports.REDIS_CACHE_KEYS = void 0;
4
4
  exports.REDIS_CACHE_KEYS = {
5
+ App: {
6
+ Info: (appId) => `app:${appId}:info`,
7
+ },
8
+ AppClient: {
9
+ ClientIdInfo: (clientId) => `app-client-clientId:${clientId}:info`,
10
+ },
5
11
  General: {
6
12
  MaritalStatus: "v1:general:dropdown:marital-status",
7
13
  Nationality: "v1:general:dropdown:nationality",
@@ -16,7 +16,8 @@ export declare class CustomerEmploymentEntity extends _BaseEntity {
16
16
  district_id?: string | null;
17
17
  commune_id?: string | null;
18
18
  village_id?: string | null;
19
- phone?: string | null;
19
+ joined_date?: string | null;
20
+ left_date?: string | null;
20
21
  is_primary: boolean;
21
22
  customer: CustomerEntity;
22
23
  occupation?: OccupationEntity | null;
@@ -75,9 +75,13 @@ __decorate([
75
75
  __metadata("design:type", Object)
76
76
  ], CustomerEmploymentEntity.prototype, "village_id", void 0);
77
77
  __decorate([
78
- (0, typeorm_1.Column)({ type: "varchar", length: 50, nullable: true }),
78
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
79
79
  __metadata("design:type", Object)
80
- ], CustomerEmploymentEntity.prototype, "phone", void 0);
80
+ ], CustomerEmploymentEntity.prototype, "joined_date", void 0);
81
+ __decorate([
82
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
83
+ __metadata("design:type", Object)
84
+ ], CustomerEmploymentEntity.prototype, "left_date", void 0);
81
85
  __decorate([
82
86
  (0, typeorm_1.Column)({ type: "bool", default: false }),
83
87
  __metadata("design:type", Boolean)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plac-micro-common",
3
- "version": "1.3.63",
3
+ "version": "1.3.65",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {