@autologix-engineering/shared 1.0.749 → 1.0.750
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 -1
- package/src/lib/data-transfer-objects/src/command/create.user.role.dto.d.ts +5 -0
- package/src/lib/data-transfer-objects/src/command/create.user.role.dto.js +21 -0
- package/src/lib/data-transfer-objects/src/command/create.user.role.dto.js.map +1 -1
- package/src/lib/models/src/permission.model.d.ts +8 -0
package/package.json
CHANGED
|
@@ -5,9 +5,14 @@ export declare class PermissionDetail {
|
|
|
5
5
|
description: string;
|
|
6
6
|
allow?: boolean;
|
|
7
7
|
}
|
|
8
|
+
export declare class SubModuleDetails {
|
|
9
|
+
subModuleName: string;
|
|
10
|
+
permissions: PermissionDetail[];
|
|
11
|
+
}
|
|
8
12
|
export declare class SubModule {
|
|
9
13
|
subModuleName: string;
|
|
10
14
|
permissions: PermissionDetail[];
|
|
15
|
+
subsubmodules: SubModuleDetails[];
|
|
11
16
|
}
|
|
12
17
|
export declare class Permission implements IPermission {
|
|
13
18
|
permissionModule: PermissionModule;
|
|
@@ -17,6 +17,20 @@ __decorate([
|
|
|
17
17
|
IsBoolean(),
|
|
18
18
|
__metadata("design:type", Boolean)
|
|
19
19
|
], PermissionDetail.prototype, "allow", void 0);
|
|
20
|
+
export class SubModuleDetails {
|
|
21
|
+
}
|
|
22
|
+
__decorate([
|
|
23
|
+
IsString(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], SubModuleDetails.prototype, "subModuleName", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
IsOptional(),
|
|
28
|
+
IsArray(),
|
|
29
|
+
ArrayMinSize(1),
|
|
30
|
+
Type(() => PermissionDetail),
|
|
31
|
+
ValidateNested({ each: true }),
|
|
32
|
+
__metadata("design:type", Array)
|
|
33
|
+
], SubModuleDetails.prototype, "permissions", void 0);
|
|
20
34
|
export class SubModule {
|
|
21
35
|
}
|
|
22
36
|
__decorate([
|
|
@@ -30,6 +44,13 @@ __decorate([
|
|
|
30
44
|
ValidateNested({ each: true }),
|
|
31
45
|
__metadata("design:type", Array)
|
|
32
46
|
], SubModule.prototype, "permissions", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
IsArray(),
|
|
49
|
+
ArrayMinSize(1),
|
|
50
|
+
Type(() => SubModuleDetails),
|
|
51
|
+
ValidateNested({ each: true }),
|
|
52
|
+
__metadata("design:type", Array)
|
|
53
|
+
], SubModule.prototype, "subsubmodules", void 0);
|
|
33
54
|
export class Permission {
|
|
34
55
|
}
|
|
35
56
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.user.role.dto.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/src/lib/data-transfer-objects/src/command/create.user.role.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE5D,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EACN,YAAY,EACZ,OAAO,EACP,SAAS,EACT,MAAM,EACN,UAAU,EACV,UAAU,EACV,QAAQ,EACR,MAAM,EACN,cAAc,GACd,MAAM,iBAAiB,CAAC;AAEzB,MAAM,OAAO,gBAAgB;CAU5B;AARA;IADC,QAAQ,EAAE;;8CACE;AAGb;IADC,QAAQ,EAAE;;qDACS;AAIpB;IAFC,UAAU,EAAE;IACZ,SAAS,EAAE;;+CACI;
|
|
1
|
+
{"version":3,"file":"create.user.role.dto.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/src/lib/data-transfer-objects/src/command/create.user.role.dto.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE5D,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EACN,YAAY,EACZ,OAAO,EACP,SAAS,EACT,MAAM,EACN,UAAU,EACV,UAAU,EACV,QAAQ,EACR,MAAM,E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