ecrs-auth-core 1.0.4 → 1.0.5
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/dist/index.d.ts +18 -5
- package/dist/index.js +23 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,23 @@
|
|
|
1
1
|
export * from './auth.module';
|
|
2
2
|
export * from './auth.service';
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
3
|
+
export * from './decorators/current-user.decorator';
|
|
4
|
+
export * from './decorators/feature.decorator';
|
|
5
|
+
export * from './decorators/has-permission.decorator';
|
|
6
|
+
export * from './decorators/roles.decorator';
|
|
7
|
+
export * from './decorators/route-permission.decorator';
|
|
6
8
|
export * from './guards/module.guard';
|
|
9
|
+
export * from './guards/roles.guard';
|
|
7
10
|
export * from './guards/feature.guard';
|
|
8
|
-
export * from './decorators/current-user.decorator';
|
|
9
11
|
export * from './guards/route.guard';
|
|
10
|
-
export * from './
|
|
12
|
+
export * from './guards/permission.guard';
|
|
13
|
+
export * from './jwt/jwt.guard';
|
|
14
|
+
export * from './jwt/jwt.strategy';
|
|
15
|
+
export * from './interfaces/auth-core-options.interface';
|
|
16
|
+
export * from './entities/user.entity';
|
|
17
|
+
export * from './entities/role.entity';
|
|
18
|
+
export * from './entities/module.entity';
|
|
19
|
+
export * from './entities/feature.entity';
|
|
20
|
+
export * from './entities/module-route.entity';
|
|
21
|
+
export * from './entities/user-feature-access.entity';
|
|
22
|
+
export * from './entities/user-module-access.entity';
|
|
23
|
+
export * from './entities/module-screen-permission.entity';
|
package/dist/index.js
CHANGED
|
@@ -14,13 +14,31 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
// Export main module and decorators
|
|
17
18
|
__exportStar(require("./auth.module"), exports);
|
|
18
19
|
__exportStar(require("./auth.service"), exports);
|
|
19
|
-
__exportStar(require("./
|
|
20
|
-
__exportStar(require("./
|
|
21
|
-
__exportStar(require("./
|
|
20
|
+
__exportStar(require("./decorators/current-user.decorator"), exports);
|
|
21
|
+
__exportStar(require("./decorators/feature.decorator"), exports);
|
|
22
|
+
__exportStar(require("./decorators/has-permission.decorator"), exports);
|
|
23
|
+
__exportStar(require("./decorators/roles.decorator"), exports);
|
|
24
|
+
__exportStar(require("./decorators/route-permission.decorator"), exports);
|
|
25
|
+
// Export guards
|
|
22
26
|
__exportStar(require("./guards/module.guard"), exports);
|
|
27
|
+
__exportStar(require("./guards/roles.guard"), exports);
|
|
23
28
|
__exportStar(require("./guards/feature.guard"), exports);
|
|
24
|
-
__exportStar(require("./decorators/current-user.decorator"), exports);
|
|
25
29
|
__exportStar(require("./guards/route.guard"), exports);
|
|
26
|
-
__exportStar(require("./
|
|
30
|
+
__exportStar(require("./guards/permission.guard"), exports);
|
|
31
|
+
// Export JWT
|
|
32
|
+
__exportStar(require("./jwt/jwt.guard"), exports);
|
|
33
|
+
__exportStar(require("./jwt/jwt.strategy"), exports);
|
|
34
|
+
// Export interface
|
|
35
|
+
__exportStar(require("./interfaces/auth-core-options.interface"), exports);
|
|
36
|
+
// ✅ Export entities properly
|
|
37
|
+
__exportStar(require("./entities/user.entity"), exports);
|
|
38
|
+
__exportStar(require("./entities/role.entity"), exports);
|
|
39
|
+
__exportStar(require("./entities/module.entity"), exports);
|
|
40
|
+
__exportStar(require("./entities/feature.entity"), exports);
|
|
41
|
+
__exportStar(require("./entities/module-route.entity"), exports);
|
|
42
|
+
__exportStar(require("./entities/user-feature-access.entity"), exports);
|
|
43
|
+
__exportStar(require("./entities/user-module-access.entity"), exports);
|
|
44
|
+
__exportStar(require("./entities/module-screen-permission.entity"), exports);
|