@bigbinary/neeto-slack-frontend 2.1.3 → 2.1.5
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/dist/index.cjs.js +125 -49
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +124 -50
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/types.d.ts +10 -0
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Fn } from "ramda";
|
|
3
3
|
import { ButtonProps, PaneProps } from "neetoui";
|
|
4
|
+
import {
|
|
5
|
+
UseQueryResult,
|
|
6
|
+
UseQueryOptions,
|
|
7
|
+
} from "react-query";
|
|
4
8
|
|
|
5
9
|
declare global {
|
|
6
10
|
declare module "assets/*"
|
|
@@ -59,6 +63,10 @@ interface SettingsPaneProps {
|
|
|
59
63
|
onClose: Fn;
|
|
60
64
|
paneProps?: Partial<PaneProps>;
|
|
61
65
|
}
|
|
66
|
+
interface SlackStatusHookOptions extends UseQueryOptions {
|
|
67
|
+
integrableId: string;
|
|
68
|
+
integrableType: string;
|
|
69
|
+
}
|
|
62
70
|
|
|
63
71
|
export const Connect: React.FC<ConnectProps>;
|
|
64
72
|
export const Configure: React.FC<ConfigureProps>;
|
|
@@ -67,3 +75,5 @@ export const Finish: React.FC<FinishProps>;
|
|
|
67
75
|
export const Settings: React.FC<SettingsProps> & {
|
|
68
76
|
EditPane: React.FC<SettingsPaneProps>;
|
|
69
77
|
};
|
|
78
|
+
|
|
79
|
+
export const useFetchSlackIntegrationsStatus: (options?: SlackStatusHookOptions) => UseQueryResult;
|