@intellegens/cornerstone-client 0.0.23 → 0.0.25
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/dto/ReadSelectedFilteringDefinition.d.ts +1 -1
- package/data/api/dto/ReadSelectedFilteringDefinition.js +1 -1
- package/data/api/dto/ReadSelectedPaginationDefinition.d.ts +2 -2
- package/data/api/dto/ReadSelectedPaginationDefinition.js +2 -2
- package/data/api/interface/IIdentifiable.d.ts +1 -1
- package/data/api/interface/IIdentifiableByGuid.d.ts +1 -1
- package/data/api/interface/IOptionallyIdentifiable.d.ts +11 -0
- package/data/api/interface/IOptionallyIdentifiable.js +1 -0
- package/data/api/interface/index.d.ts +1 -0
- package/data/api/interface/index.js +1 -0
- 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
|
@@ -6,7 +6,7 @@ export declare class ReadSelectedFilteringDefinition {
|
|
|
6
6
|
/**
|
|
7
7
|
* Array of filtering property definitions to be applied.
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
filters: ReadSelectedFilteringPropertyDefinition[];
|
|
10
10
|
/**
|
|
11
11
|
* Logical operator to be used when applying the filters.
|
|
12
12
|
*/
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface for entities that can, but don't have to have an Id property.
|
|
3
|
+
* If present, will be used as a primary key in the database, and if not it signifies an entity that was not yet
|
|
4
|
+
* stored.
|
|
5
|
+
*/
|
|
6
|
+
export interface IOptionallyIdentifiable<TKey> {
|
|
7
|
+
/**
|
|
8
|
+
* Gets or sets the Id of the entity.
|
|
9
|
+
*/
|
|
10
|
+
id?: TKey;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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