law-common 10.25.0 → 10.25.1-beta.0

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.
@@ -34,12 +34,9 @@ export * from "./interface/client.affiliate.update.dto.interface";
34
34
  export * from "./interface/client.affiliate.entity.api";
35
35
  export * from "./interface/role.create.dto.interface";
36
36
  export * from "./interface/role.update.dto.interface";
37
- export * from "./interface/role.entity.response";
38
37
  export * from "./interface/permission.create.dto.interface";
39
38
  export * from "./interface/permission.update.dto.interface";
40
- export * from "./interface/permission.entity.api";
41
39
  export * from "./interface/role.permission.mapping.create.dto.interface";
42
- export * from "./interface/role.permission.mapping.entity.api";
43
40
  export * from "./interface/role.permission.mapping.update.dto.interface";
44
41
  export * from "./interface/role.permission.mapping.response";
45
42
  export * from "./interface/role.permission.mapping.delete.dto.interface";
@@ -50,12 +50,9 @@ __exportStar(require("./interface/client.affiliate.update.dto.interface"), expor
50
50
  __exportStar(require("./interface/client.affiliate.entity.api"), exports);
51
51
  __exportStar(require("./interface/role.create.dto.interface"), exports);
52
52
  __exportStar(require("./interface/role.update.dto.interface"), exports);
53
- __exportStar(require("./interface/role.entity.response"), exports);
54
53
  __exportStar(require("./interface/permission.create.dto.interface"), exports);
55
54
  __exportStar(require("./interface/permission.update.dto.interface"), exports);
56
- __exportStar(require("./interface/permission.entity.api"), exports);
57
55
  __exportStar(require("./interface/role.permission.mapping.create.dto.interface"), exports);
58
- __exportStar(require("./interface/role.permission.mapping.entity.api"), exports);
59
56
  __exportStar(require("./interface/role.permission.mapping.update.dto.interface"), exports);
60
57
  __exportStar(require("./interface/role.permission.mapping.response"), exports);
61
58
  __exportStar(require("./interface/role.permission.mapping.delete.dto.interface"), exports);
@@ -1,6 +1,6 @@
1
- import { IAuditColumnEntity } from "./audit-column.entity.interface";
1
+ import { IEntityAuditColumn } from "./entity-audit-columns.interface";
2
2
  import { IEntityFilterData } from "./entity.utils.interface";
3
- export interface IPermissionEntity extends IAuditColumnEntity {
3
+ export interface IPermissionEntity extends IEntityAuditColumn {
4
4
  id: number;
5
5
  name: string;
6
6
  description?: string;
@@ -1,6 +1,6 @@
1
- import { IAuditColumnEntity } from "./audit-column.entity.interface";
1
+ import { IEntityAuditColumn } from "./entity-audit-columns.interface";
2
2
  import { IEntityFilterData } from "./entity.utils.interface";
3
- export interface IRoleEntity extends IAuditColumnEntity {
3
+ export interface IRoleEntity extends IEntityAuditColumn {
4
4
  id: number;
5
5
  name: string;
6
6
  description?: string;
@@ -1,6 +1,6 @@
1
- import { IAuditColumnEntity } from "./audit-column.entity.interface";
1
+ import { IEntityAuditColumn } from "./entity-audit-columns.interface";
2
2
  import { IEntityFilterData } from "./entity.utils.interface";
3
- export interface IRolePermissionMappingEntity extends IAuditColumnEntity {
3
+ export interface IRolePermissionMappingEntity extends IEntityAuditColumn {
4
4
  id: number;
5
5
  roleId: number;
6
6
  permissionId: number;
package/package.json CHANGED
@@ -1,35 +1,35 @@
1
- {
2
- "name": "law-common",
3
- "version": "10.25.0",
4
- "description": "",
5
- "main": "dist/index.js",
6
- "files": [
7
- "dist/**/*"
8
- ],
9
- "scripts": {
10
- "clean": "rm -rf dist",
11
- "build": "npm run clean && tsc",
12
- "publish:beta": "npm version prerelease --preid beta && git push && npm run build && npm publish --tag beta",
13
- "publish:patch": "npm version patch && git push && npm run build && npm publish",
14
- "publish:minor": "npm version minor && git push && npm run build && npm publish",
15
- "publish:major": "npm version major && git push && npm run build && npm publish",
16
- "link": "npm run build && npm link",
17
- "test": "jest"
18
- },
19
- "keywords": [],
20
- "author": "",
21
- "license": "ISC",
22
- "devDependencies": {
23
- "@types/jest": "^29.5.13",
24
- "@types/node": "^22.6.1",
25
- "jest": "^29.7.0",
26
- "ts-jest": "^29.2.5",
27
- "ts-node": "^10.9.2",
28
- "typescript": "^5.6.2"
29
- },
30
- "dependencies": {
31
- "@types/express": "^5.0.0",
32
- "@types/multer": "^1.4.12",
33
- "date-fns": "^4.1.0"
34
- }
35
- }
1
+ {
2
+ "name": "law-common",
3
+ "version": "10.25.1-beta.0",
4
+ "description": "",
5
+ "main": "dist/index.js",
6
+ "files": [
7
+ "dist/**/*"
8
+ ],
9
+ "scripts": {
10
+ "clean": "rm -rf dist",
11
+ "build": "npm run clean && tsc",
12
+ "publish:beta": "npm version prerelease --preid beta && git push && npm run build && npm publish --tag beta",
13
+ "publish:patch": "npm version patch && git push && npm run build && npm publish",
14
+ "publish:minor": "npm version minor && git push && npm run build && npm publish",
15
+ "publish:major": "npm version major && git push && npm run build && npm publish",
16
+ "link": "npm run build && npm link",
17
+ "test": "jest"
18
+ },
19
+ "keywords": [],
20
+ "author": "",
21
+ "license": "ISC",
22
+ "devDependencies": {
23
+ "@types/jest": "^29.5.13",
24
+ "@types/node": "^22.6.1",
25
+ "jest": "^29.7.0",
26
+ "ts-jest": "^29.2.5",
27
+ "ts-node": "^10.9.2",
28
+ "typescript": "^5.6.2"
29
+ },
30
+ "dependencies": {
31
+ "@types/express": "^5.0.0",
32
+ "@types/multer": "^1.4.12",
33
+ "date-fns": "^4.1.0"
34
+ }
35
+ }
@@ -1,3 +0,0 @@
1
- import { IApiEntity, IPermissionEntity } from "../../entities";
2
- export type IPermissionApiEntity = IApiEntity<IPermissionEntity>;
3
- export type IPermissionApiEntityArray = IPermissionApiEntity[];
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- import { IApiEntity, IRoleEntity } from "../../entities";
2
- export type IRoleApiEntity = IApiEntity<IRoleEntity>;
3
- export type IRoleApiEntityArray = IRoleApiEntity[];
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import { IApiEntity } from "../../entities";
2
- import { IRolePermissionMappingEntity } from "../../entities/interface/role.permission.mapping.entity.interface";
3
- export type IRolePermissionMappingApiEntity = IApiEntity<IRolePermissionMappingEntity>;
4
- export type IRolePermissionMappingApiEntityArray = IRolePermissionMappingApiEntity[];
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });