@loopback/example-access-control-migration 5.0.5 → 5.0.6
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/CHANGELOG.md +4 -0
- package/dist/components/jwt-authentication/services/security.spec.d.ts +1 -1
- package/dist/components/jwt-authentication/services/user.service.d.ts +1 -1
- package/dist/models/project.model.d.ts +1 -1
- package/dist/models/team.model.d.ts +1 -1
- package/dist/models/user-credentials.model.d.ts +1 -1
- package/dist/models/user.model.d.ts +1 -1
- package/package.json +19 -19
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.0.6](https://github.com/loopbackio/loopback-next/compare/@loopback/example-access-control-migration@5.0.5...@loopback/example-access-control-migration@5.0.6) (2022-12-14)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @loopback/example-access-control-migration
|
|
9
|
+
|
|
6
10
|
## [5.0.5](https://github.com/loopbackio/loopback-next/compare/@loopback/example-access-control-migration@5.0.4...@loopback/example-access-control-migration@5.0.5) (2022-11-24)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @loopback/example-access-control-migration
|
|
@@ -2,7 +2,7 @@ import { ReferenceObject, SecuritySchemeObject } from '@loopback/rest';
|
|
|
2
2
|
export declare const OPERATION_SECURITY_SPEC: {
|
|
3
3
|
jwt: never[];
|
|
4
4
|
}[];
|
|
5
|
-
export
|
|
5
|
+
export type SecuritySchemeObjects = {
|
|
6
6
|
[securityScheme: string]: SecuritySchemeObject | ReferenceObject;
|
|
7
7
|
};
|
|
8
8
|
export declare const SECURITY_SCHEME_SPEC: SecuritySchemeObjects;
|
|
@@ -6,7 +6,7 @@ import { UserRepository } from '../../../repositories/user.repository';
|
|
|
6
6
|
* A pre-defined type for user credentials. It assumes a user logs in
|
|
7
7
|
* using the email and password. You can modify it if your app has different credential fields
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
9
|
+
export type Credentials = {
|
|
10
10
|
email: string;
|
|
11
11
|
password: string;
|
|
12
12
|
};
|
|
@@ -8,4 +8,4 @@ export declare class UserCredentials extends Entity {
|
|
|
8
8
|
}
|
|
9
9
|
export interface UserCredentialsRelations {
|
|
10
10
|
}
|
|
11
|
-
export
|
|
11
|
+
export type UserCredentialsWithRelations = UserCredentials & UserCredentialsRelations;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loopback/example-access-control-migration",
|
|
3
3
|
"description": "Tutorial example on how to migrate the access control example with LoopBack 4.",
|
|
4
|
-
"version": "5.0.
|
|
4
|
+
"version": "5.0.6",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"loopback",
|
|
7
7
|
"LoopBack",
|
|
@@ -51,31 +51,31 @@
|
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@loopback/authentication": "^9.0.
|
|
55
|
-
"@loopback/authorization": "^0.12.
|
|
56
|
-
"@loopback/boot": "^5.0.
|
|
57
|
-
"@loopback/core": "^4.0.
|
|
58
|
-
"@loopback/repository": "^5.1.
|
|
59
|
-
"@loopback/rest": "^12.0.
|
|
60
|
-
"@loopback/rest-explorer": "^5.0.
|
|
61
|
-
"@loopback/security": "^0.8.
|
|
62
|
-
"@loopback/service-proxy": "^5.0.
|
|
54
|
+
"@loopback/authentication": "^9.0.6",
|
|
55
|
+
"@loopback/authorization": "^0.12.6",
|
|
56
|
+
"@loopback/boot": "^5.0.6",
|
|
57
|
+
"@loopback/core": "^4.0.6",
|
|
58
|
+
"@loopback/repository": "^5.1.1",
|
|
59
|
+
"@loopback/rest": "^12.0.6",
|
|
60
|
+
"@loopback/rest-explorer": "^5.0.6",
|
|
61
|
+
"@loopback/security": "^0.8.6",
|
|
62
|
+
"@loopback/service-proxy": "^5.0.6",
|
|
63
63
|
"@types/bcryptjs": "2.4.2",
|
|
64
64
|
"bcryptjs": "^2.4.3",
|
|
65
|
-
"casbin": "^5.19.
|
|
65
|
+
"casbin": "^5.19.3",
|
|
66
66
|
"jsonwebtoken": "^8.5.1",
|
|
67
67
|
"loopback-connector-rest": "^4.0.2"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@loopback/build": "^9.0.
|
|
71
|
-
"@loopback/eslint-config": "^13.0.
|
|
72
|
-
"@loopback/http-caching-proxy": "^4.0.
|
|
73
|
-
"@loopback/testlab": "^5.0.
|
|
74
|
-
"@types/lodash": "^4.14.
|
|
75
|
-
"@types/node": "^14.18.
|
|
70
|
+
"@loopback/build": "^9.0.6",
|
|
71
|
+
"@loopback/eslint-config": "^13.0.6",
|
|
72
|
+
"@loopback/http-caching-proxy": "^4.0.6",
|
|
73
|
+
"@loopback/testlab": "^5.0.6",
|
|
74
|
+
"@types/lodash": "^4.14.191",
|
|
75
|
+
"@types/node": "^14.18.34",
|
|
76
76
|
"eslint": "^8.28.0",
|
|
77
77
|
"lodash": "^4.17.21",
|
|
78
|
-
"typescript": "~4.
|
|
78
|
+
"typescript": "~4.9.4"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "709a5ecd1ffddeb02262cecabf7b663c7b4d7e47"
|
|
81
81
|
}
|