@intellegens/cornerstone-client 0.0.22 → 0.0.24
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/data/api/interface/IIdentifiable.d.ts +1 -1
- package/data/api/interface/IIdentifiableByGuid.d.ts +1 -1
- package/data/auth/Claim/index.d.ts +4 -0
- package/data/auth/Claim/index.js +1 -0
- package/data/auth/Role/index.d.ts +1 -4
- package/data/auth/User/index.d.ts +3 -1
- package/data/auth/index.d.ts +2 -1
- package/data/auth/index.js +2 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Claim } from '
|
|
1
|
+
import { Claim } from '../..';
|
|
2
2
|
import { IIdentifiable } from '../..';
|
|
3
3
|
/**
|
|
4
4
|
* Represents a user with an identifier and email address.
|
|
@@ -7,9 +7,11 @@ import { IIdentifiable } from '../..';
|
|
|
7
7
|
*
|
|
8
8
|
* @param {TKey} id The unique identifier for the user.
|
|
9
9
|
* @param {string} email The email address associated with the user.
|
|
10
|
+
* @param {string[]} roles The roles associated with the user.
|
|
10
11
|
* @param {Claim[]} claims The claims associated with the user.
|
|
11
12
|
*/
|
|
12
13
|
export type User<TKey> = IIdentifiable<TKey> & {
|
|
13
14
|
email: string;
|
|
15
|
+
roles: string[];
|
|
14
16
|
claims: Claim[];
|
|
15
17
|
};
|
package/data/auth/index.d.ts
CHANGED
package/data/auth/index.js
CHANGED