@bigbinary/neeto-slack-frontend 2.1.2 → 2.1.4
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 +7 -3
- package/types.d.ts +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-slack-frontend",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.4",
|
|
4
4
|
"description": "Slack integration step UI",
|
|
5
5
|
"author": "Bonnie Simon",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
"@babel/runtime": "^7.19.0",
|
|
47
47
|
"@bigbinary/babel-preset-neeto": "^1.0.3",
|
|
48
48
|
"@bigbinary/eslint-plugin-neeto": "^1.0.54",
|
|
49
|
+
"@bigbinary/neeto-audit-frontend": "1.0.7",
|
|
49
50
|
"@bigbinary/neeto-commons-frontend": "^2.0.74",
|
|
50
51
|
"@bigbinary/neeto-icons": "1.9.12",
|
|
51
52
|
"@bigbinary/neeto-molecules": "^1.0.19",
|
|
@@ -100,8 +101,8 @@
|
|
|
100
101
|
"prettier": "2.6.2",
|
|
101
102
|
"prettier-plugin-tailwindcss": "0.1.10",
|
|
102
103
|
"ramda": "0.29.0",
|
|
103
|
-
"react": "
|
|
104
|
-
"react-dom": "
|
|
104
|
+
"react": "^18.2.0",
|
|
105
|
+
"react-dom": "^18.2.0",
|
|
105
106
|
"react-helmet": "^6.1.0",
|
|
106
107
|
"react-i18next": "11.16.8",
|
|
107
108
|
"react-query": "3.39.2",
|
|
@@ -145,5 +146,8 @@
|
|
|
145
146
|
"react-router-dom": "5.3.1",
|
|
146
147
|
"react-toastify": "8.0.2",
|
|
147
148
|
"yup": "0.32.11"
|
|
149
|
+
},
|
|
150
|
+
"dependencies": {
|
|
151
|
+
"react_ujs": "^3.1.1"
|
|
148
152
|
}
|
|
149
153
|
}
|
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;
|