@universal-packages/core-express-controllers-authentication 1.4.24 → 1.4.26
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/ExpressControllersAuthentication.universal-core-initializer.d.ts +1 -0
- package/ExpressControllersAuthentication.universal-core-initializer.js +1 -0
- package/ExpressControllersAuthentication.universal-core-initializer.js.map +1 -1
- package/package.json +2 -2
- package/templates/default/source/environments/ExpressControllersAuthentication.environment.js.template +9 -0
- package/templates/typescript/source/environments/{Authentication.environment.ts.template → ExpressControllersAuthentication.environment.ts.template} +1 -1
- package/templates/default/source/environments/Authentication.environment.ts.template +0 -9
- /package/templates/default/source/config/{authentication-module.yaml.template → express-controllers-authentication-module.yaml.template} +0 -0
- /package/templates/typescript/source/config/{authentication-module.yaml.template → express-controllers-authentication-module.yaml.template} +0 -0
@@ -1,5 +1,6 @@
|
|
1
1
|
import CoreInitializer from '@universal-packages/core/CoreInitializer';
|
2
2
|
export default class ExpressControllersAuthenticationInitializer extends CoreInitializer {
|
3
3
|
static readonly initializerName = "express-controllers-authentication";
|
4
|
+
static readonly description: string;
|
4
5
|
readonly templatesLocation: string;
|
5
6
|
}
|
@@ -11,5 +11,6 @@ class ExpressControllersAuthenticationInitializer extends CoreInitializer_1.defa
|
|
11
11
|
}
|
12
12
|
}
|
13
13
|
ExpressControllersAuthenticationInitializer.initializerName = 'express-controllers-authentication';
|
14
|
+
ExpressControllersAuthenticationInitializer.description = 'Core Express Controllers Authentication Initializer';
|
14
15
|
exports.default = ExpressControllersAuthenticationInitializer;
|
15
16
|
//# sourceMappingURL=ExpressControllersAuthentication.universal-core-initializer.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ExpressControllersAuthentication.universal-core-initializer.js","sourceRoot":"","sources":["../src/ExpressControllersAuthentication.universal-core-initializer.ts"],"names":[],"mappings":";;;;;AAAA,+FAAsE;AAEtE,MAAqB,2CAA4C,SAAQ,yBAAe;IAAxF;;
|
1
|
+
{"version":3,"file":"ExpressControllersAuthentication.universal-core-initializer.js","sourceRoot":"","sources":["../src/ExpressControllersAuthentication.universal-core-initializer.ts"],"names":[],"mappings":";;;;;AAAA,+FAAsE;AAEtE,MAAqB,2CAA4C,SAAQ,yBAAe;IAAxF;;QAIkB,sBAAiB,GAAW,GAAG,SAAS,YAAY,CAAA;IACtE,CAAC;;AAJwB,2DAAe,GAAG,oCAAoC,AAAvC,CAAuC;AACtD,uDAAW,GAAW,qDAAqD,AAAhE,CAAgE;kBAF/E,2CAA2C"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@universal-packages/core-express-controllers-authentication",
|
3
|
-
"version": "1.4.
|
3
|
+
"version": "1.4.26",
|
4
4
|
"description": "Express Controllers Authentication universal-core module abstraction.",
|
5
5
|
"author": "David De Anda <david@universal-packages.com> (https://github.com/universal-packages)",
|
6
6
|
"license": "MIT",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"@universal-packages/express-controllers-authentication": "^1.7.3"
|
20
20
|
},
|
21
21
|
"peerDependencies": {
|
22
|
-
"@universal-packages/core-express-controllers": "^1.8.
|
22
|
+
"@universal-packages/core-express-controllers": "^1.8.9"
|
23
23
|
},
|
24
24
|
"devDependencies": {
|
25
25
|
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { CoreEnvironment } from "@universal-packages/core";
|
2
|
+
// import User from './'
|
3
|
+
|
4
|
+
export default class ExpressControllersAuthenticationEnvironment extends CoreEnvironment {
|
5
|
+
afterModulesLoad() {
|
6
|
+
// Set here the Authenticatable class/model/entity
|
7
|
+
// expressControllersAuthenticationSubject.setAuthenticatable(User)
|
8
|
+
}
|
9
|
+
}
|
@@ -4,6 +4,6 @@ import { CoreEnvironment } from "@universal-packages/core";
|
|
4
4
|
export default class AuthenticationEnvironment extends CoreEnvironment {
|
5
5
|
public afterModulesLoad(): void {
|
6
6
|
// Set here the Authenticatable class/model/entity
|
7
|
-
//
|
7
|
+
// expressControllersAuthenticationSubject.setAuthenticatable(User)
|
8
8
|
}
|
9
9
|
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { CoreEnvironment } from "@universal-packages/core";
|
2
|
-
// import User from './'
|
3
|
-
|
4
|
-
export default class AuthenticationEnvironment extends CoreEnvironment {
|
5
|
-
public afterModulesLoad() {
|
6
|
-
// Set here the Authenticatable class/model/entity
|
7
|
-
// authenticationSubject.setAuthenticatable(User)
|
8
|
-
}
|
9
|
-
}
|
File without changes
|