@livetiles/reach-plugin-types 0.5.0-preview.1179 → 0.5.0-preview.1180
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/lib/index.d.ts +2 -7
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3854,11 +3854,6 @@ declare module "libs/reach/util/common/src/reach-2/nested-groups/types" {
|
|
|
3854
3854
|
parentId: string;
|
|
3855
3855
|
users: INestedGroupUser[];
|
|
3856
3856
|
}
|
|
3857
|
-
export interface ILinkGroup {
|
|
3858
|
-
id: string;
|
|
3859
|
-
name: string;
|
|
3860
|
-
parentId: string;
|
|
3861
|
-
}
|
|
3862
3857
|
export interface INestedGroupInput {
|
|
3863
3858
|
description: string;
|
|
3864
3859
|
id?: string;
|
|
@@ -3870,13 +3865,13 @@ declare module "libs/reach/util/common/src/reach-2/nested-groups/types" {
|
|
|
3870
3865
|
}
|
|
3871
3866
|
}
|
|
3872
3867
|
declare module "libs/reach/util/common/src/reach-2/nested-groups/useNestedGroupsQuery" {
|
|
3873
|
-
import {
|
|
3868
|
+
import { INestedGroup, INestedGroupInput } from "libs/reach/util/common/src/reach-2/nested-groups/types";
|
|
3874
3869
|
export const useNestedGroupsQuery: () => {
|
|
3875
3870
|
createNestedGroup: (inputGroup: INestedGroupInput) => Promise<INestedGroup>;
|
|
3876
3871
|
deleteNestedGroup: (groupId: string) => Promise<string>;
|
|
3877
3872
|
getSubscriptionGroups: (search?: string, parentId?: string) => Promise<INestedGroup[]>;
|
|
3878
3873
|
linkNestedGroup: (parentId: string, childrenIds: string[]) => Promise<string>;
|
|
3879
|
-
loadAvailableChildGroups: (groupId: string) => Promise<
|
|
3874
|
+
loadAvailableChildGroups: (groupId: string) => Promise<INestedGroup[]>;
|
|
3880
3875
|
unlinkNestedGroup: (parentId: string, childrenIds: string[]) => Promise<string>;
|
|
3881
3876
|
updateNestedGroup: (inputGroup: INestedGroupInput) => Promise<INestedGroup>;
|
|
3882
3877
|
};
|