@omnia/fx 7.5.123-preview → 7.5.125-preview
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/internal-do-not-import-from-here/services/identities/DynamicGroupService.d.ts +3 -3
- package/internal-do-not-import-from-here/stores/DynamicGroupStore.d.ts +0 -1
- package/internal-do-not-import-from-here/stores/IdentityStore.d.ts +5 -0
- package/internal-do-not-import-from-here/stores/UserTypeIdentityStore.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/UxModels.d.ts +0 -5
- package/package.json +2 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ResolvedDynamicGroupIdentity, DynamicGroupIdentity, UserType, Future, GuidValue, TextPropertyValue, MultilingualTextPropertyValue
|
|
1
|
+
import { ResolvedDynamicGroupIdentity, DynamicGroupIdentity, UserType, Future, GuidValue, TextPropertyValue, MultilingualTextPropertyValue } from "../../models";
|
|
2
2
|
export declare class DynamicGroupService {
|
|
3
3
|
private httpClient;
|
|
4
4
|
private apiManagementBase;
|
|
5
5
|
private apiIdentityBase;
|
|
6
6
|
getAll: () => Future<ResolvedDynamicGroupIdentity[]>;
|
|
7
|
-
|
|
8
|
-
[uid: string]:
|
|
7
|
+
resolveUserTypes: (dynamicgroups: DynamicGroupIdentity[]) => Future<{
|
|
8
|
+
[uid: string]: UserType[];
|
|
9
9
|
}>;
|
|
10
10
|
addOrUpdate: (addOrUpdateRequest: DynamicGroupIdentityAddOrUpdateRequest) => Future<ResolvedDynamicGroupIdentity>;
|
|
11
11
|
reorder: (dynamicGroups: DynamicGroupIdentity[]) => Future<ResolvedDynamicGroupIdentity[]>;
|
|
@@ -3,7 +3,6 @@ import { DynamicGroupIdentityAddOrUpdateRequest } from "../services";
|
|
|
3
3
|
import { Store } from "./Store";
|
|
4
4
|
export declare class DynamicGroupStore extends Store {
|
|
5
5
|
private dynamicGroupService;
|
|
6
|
-
private userTypeStore;
|
|
7
6
|
private loadAllDynamicGroupsPromise;
|
|
8
7
|
private resolvedDynamicGroups;
|
|
9
8
|
private resolvedUserTypes;
|
|
@@ -4,6 +4,7 @@ type QueryActionDispatcher = (query: IdentityQuery) => Future<ItemQueryResult<IR
|
|
|
4
4
|
type ResolveIdentitiesActionDispatcher = (identities: Identity[]) => Promise<{
|
|
5
5
|
[uid: string]: IResolvedIdentity;
|
|
6
6
|
}>;
|
|
7
|
+
type SpecialIdentitiesActionDispatcher = () => Future<Array<IResolvedIdentity>>;
|
|
7
8
|
export interface IIdentityPickerStore {
|
|
8
9
|
getters: {
|
|
9
10
|
getResolvedIdentity: (identity: Identity) => IResolvedIdentity;
|
|
@@ -11,11 +12,14 @@ export interface IIdentityPickerStore {
|
|
|
11
12
|
actions: {
|
|
12
13
|
query: StoreAction<unknown, MapActionOnDispatching<QueryActionDispatcher>, MapActionOnDispatched<QueryActionDispatcher>, MapActionOnFailure<QueryActionDispatcher>, QueryActionDispatcher>;
|
|
13
14
|
resolveIdentities: StoreAction<unknown, MapActionOnDispatching<ResolveIdentitiesActionDispatcher>, MapActionOnDispatched<ResolveIdentitiesActionDispatcher>, MapActionOnFailure<ResolveIdentitiesActionDispatcher>, ResolveIdentitiesActionDispatcher>;
|
|
15
|
+
ensureSpecialIdentities: StoreAction<unknown, MapActionOnDispatching<SpecialIdentitiesActionDispatcher>, MapActionOnDispatched<SpecialIdentitiesActionDispatcher>, MapActionOnFailure<SpecialIdentitiesActionDispatcher>, SpecialIdentitiesActionDispatcher>;
|
|
14
16
|
};
|
|
15
17
|
}
|
|
16
18
|
export declare class IdentityStore extends Store implements IIdentityPickerStore {
|
|
17
19
|
private identityService;
|
|
18
20
|
private identitiesState;
|
|
21
|
+
private dynamicGroupsState;
|
|
22
|
+
private loadSpecialIdentitiesPromise;
|
|
19
23
|
getters: {
|
|
20
24
|
getResolvedIdentity: (identity: Identity) => IResolvedIdentity;
|
|
21
25
|
getResolvedIdentities: () => IResolvedIdentity[];
|
|
@@ -30,6 +34,7 @@ export declare class IdentityStore extends Store implements IIdentityPickerStore
|
|
|
30
34
|
[uid: string]: IResolvedIdentity;
|
|
31
35
|
}>>;
|
|
32
36
|
query: StoreAction<unknown, (query: IdentityQuery) => void, (result: ItemQueryResult<IResolvedIdentity>, query: IdentityQuery) => void, (failureReason: any, query: IdentityQuery) => void, (query: IdentityQuery) => Future<ItemQueryResult<IResolvedIdentity>>>;
|
|
37
|
+
ensureSpecialIdentities: StoreAction<unknown, () => void, (result: IResolvedIdentity[]) => void, (failureReason: any) => void, () => Future<IResolvedIdentity[]>>;
|
|
33
38
|
};
|
|
34
39
|
protected onActivated(): void;
|
|
35
40
|
}
|
|
@@ -36,6 +36,7 @@ export declare class UserTypeIdentityPickerStore extends Store implements IIdent
|
|
|
36
36
|
}, identities: Identity[]) => void, (failureReason: any, identities: Identity[]) => void, (identities: Identity[]) => Promise<{
|
|
37
37
|
[uid: string]: IResolvedIdentity;
|
|
38
38
|
}>>;
|
|
39
|
+
ensureSpecialIdentities: import("./Store").StoreAction<unknown, () => void, (result: IResolvedIdentity[]) => void, (failureReason: any) => void, () => Future<IResolvedIdentity[]>>;
|
|
39
40
|
query: import("./Store").StoreAction<unknown, (query: IdentityQuery) => void, (result: ItemQueryResult<IResolvedIdentity>, query: IdentityQuery) => void, (failureReason: any, query: IdentityQuery) => void, (query: IdentityQuery) => Future<ItemQueryResult<IResolvedIdentity>>>;
|
|
40
41
|
};
|
|
41
42
|
protected onActivated(): void;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omnia/fx",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "7.5.
|
|
4
|
+
"version": "7.5.125-preview",
|
|
5
5
|
"description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"author": "Precio Fishbone",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@omnia/fx-models": "7.5.
|
|
23
|
+
"@omnia/fx-models": "7.5.125-preview",
|
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
|
25
25
|
"broadcast-channel": "4.8.0",
|
|
26
26
|
"dayjs": "1.10.7",
|