@livetiles/reach-plugin-types 0.5.0-preview.1131 → 0.5.0-preview.1133
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 -2
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3847,6 +3847,7 @@ declare module "libs/reach/util/common/src/reach-2/nested-groups/types" {
|
|
|
3847
3847
|
}
|
|
3848
3848
|
export interface INestedGroup {
|
|
3849
3849
|
description: string;
|
|
3850
|
+
groupPath?: string;
|
|
3850
3851
|
id: string;
|
|
3851
3852
|
isParent: boolean;
|
|
3852
3853
|
name: string;
|
|
@@ -3873,11 +3874,10 @@ declare module "libs/reach/util/common/src/reach-2/nested-groups/useNestedGroups
|
|
|
3873
3874
|
export const useNestedGroupsQuery: () => {
|
|
3874
3875
|
createNestedGroup: (inputGroup: INestedGroupInput) => Promise<INestedGroup>;
|
|
3875
3876
|
deleteNestedGroup: (groupId: string) => Promise<string>;
|
|
3877
|
+
getSubscriptionGroups: (search?: string, parentId?: string) => Promise<INestedGroup[]>;
|
|
3876
3878
|
linkNestedGroup: (parentId: string, childrenIds: string[]) => Promise<string>;
|
|
3877
3879
|
loadAvailableChildGroups: (groupId: string) => Promise<ILinkGroup[]>;
|
|
3878
3880
|
loadAvailableParentGroups: (groupId: string) => Promise<ILinkGroup[]>;
|
|
3879
|
-
loadChildGroups: (parentId: string) => Promise<INestedGroup[]>;
|
|
3880
|
-
loadRootGroups: () => Promise<INestedGroup[]>;
|
|
3881
3881
|
unlinkNestedGroup: (parentId: string, childrenIds: string[]) => Promise<string>;
|
|
3882
3882
|
updateNestedGroup: (inputGroup: INestedGroupInput) => Promise<INestedGroup>;
|
|
3883
3883
|
};
|