@livetiles/reach-plugin-types 0.5.0-preview.1215 → 0.5.0-preview.1217
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 +6 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3837,6 +3837,10 @@ declare module "libs/reach/util/common/src/reach-2/channels/types" {
|
|
|
3837
3837
|
export interface IRenameChannelResponse {
|
|
3838
3838
|
id: string;
|
|
3839
3839
|
}
|
|
3840
|
+
export interface IUpdateChannelGroupPermissionParams {
|
|
3841
|
+
id: string;
|
|
3842
|
+
permission: number;
|
|
3843
|
+
}
|
|
3840
3844
|
export interface IChannelGroupUser {
|
|
3841
3845
|
displayName: string;
|
|
3842
3846
|
id: string;
|
|
@@ -3879,7 +3883,7 @@ declare module "libs/reach/util/common/src/reach-2/hooks/index" {
|
|
|
3879
3883
|
}
|
|
3880
3884
|
declare module "libs/reach/util/common/src/reach-2/channels/useChannelsQuery" {
|
|
3881
3885
|
import { IPagedQueryParams } from "libs/reach/util/common/src/reach-2/types";
|
|
3882
|
-
import { IChannel, IChannelDetails, IChannelGroupsQueryParams, IChannelGroupsQueryResponse, IChannelQueryResponse, ICreateChannelParams, IDeleteChannelParams, IDeleteChannelResponse, IRenameChannelParams, IRenameChannelResponse } from "libs/reach/util/common/src/reach-2/channels/types";
|
|
3886
|
+
import { IChannel, IChannelDetails, IChannelGroup, IChannelGroupsQueryParams, IChannelGroupsQueryResponse, IChannelQueryResponse, ICreateChannelParams, IDeleteChannelParams, IDeleteChannelResponse, IRenameChannelParams, IRenameChannelResponse, IUpdateChannelGroupPermissionParams } from "libs/reach/util/common/src/reach-2/channels/types";
|
|
3883
3887
|
export const useChannelsQuery: () => {
|
|
3884
3888
|
createChannel: (channel: ICreateChannelParams) => Promise<IChannel>;
|
|
3885
3889
|
deleteChannel: (deleteChannelInput: IDeleteChannelParams) => Promise<IDeleteChannelResponse>;
|
|
@@ -3887,6 +3891,7 @@ declare module "libs/reach/util/common/src/reach-2/channels/useChannelsQuery" {
|
|
|
3887
3891
|
getChannelDetails: (id: string) => Promise<IChannelDetails>;
|
|
3888
3892
|
getChannelGroups: (params: IChannelGroupsQueryParams) => Promise<IChannelGroupsQueryResponse>;
|
|
3889
3893
|
renameChannel: (channel: IRenameChannelParams) => Promise<IRenameChannelResponse>;
|
|
3894
|
+
updateChannelGroupPermission: (id: string, group: IUpdateChannelGroupPermissionParams) => Promise<IChannelGroup>;
|
|
3890
3895
|
};
|
|
3891
3896
|
}
|
|
3892
3897
|
declare module "libs/reach/util/common/src/reach-2/channels/index" {
|