@hiver/connector-admin 0.0.10-beta.21 → 0.0.10-beta.23
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/app/connectors/index.d.ts.map +1 -1
- package/app/connectors/pages/api-view/index.d.ts.map +1 -1
- package/app/connectors/pages/connector-view/dashboard/index.d.ts.map +1 -1
- package/app/connectors/pages/settings/index.d.ts.map +1 -1
- package/app/style.d.ts +1 -0
- package/app/style.d.ts.map +1 -1
- package/features/auth/api/index.d.ts +1 -0
- package/features/auth/api/index.d.ts.map +1 -1
- package/features/auth/constants/api.d.ts +1 -0
- package/features/auth/constants/api.d.ts.map +1 -1
- package/features/auth/store/initial-state.d.ts +3 -0
- package/features/auth/store/initial-state.d.ts.map +1 -1
- package/features/auth/store/selectors.d.ts +3 -0
- package/features/auth/store/selectors.d.ts.map +1 -1
- package/features/auth/store/slice.d.ts +16 -1
- package/features/auth/store/slice.d.ts.map +1 -1
- package/features/connector-library/api/index.d.ts +2 -1
- package/features/connector-library/api/index.d.ts.map +1 -1
- package/features/connector-library/components/connector-enabled-modal/index.d.ts.map +1 -0
- package/features/connector-library/components/connector-enabled-modal/styles.d.ts.map +1 -0
- package/features/connector-library/components/library-card-list/__tests__/library-card-list.test.d.ts.map +1 -0
- package/features/connector-library/components/library-card-list/index.d.ts.map +1 -0
- package/features/connector-library/components/library-card-list/styles.d.ts.map +1 -0
- package/features/connector-library/components/library-card-skeleton/index.d.ts.map +1 -0
- package/features/connector-library/components/library-card-skeleton/styles.d.ts.map +1 -0
- package/features/connector-library/components/library-edit-list/index.d.ts.map +1 -0
- package/features/connector-library/components/library-edit-list/styles.d.ts.map +1 -0
- package/features/connector-library/constants/api.d.ts +2 -1
- package/features/connector-library/constants/api.d.ts.map +1 -1
- package/features/connector-library/constants/content-page.d.ts.map +1 -0
- package/features/connector-library/store/initial-state.d.ts +10 -4
- package/features/connector-library/store/initial-state.d.ts.map +1 -1
- package/features/connector-library/store/selectors.d.ts +8 -2
- package/features/connector-library/store/selectors.d.ts.map +1 -1
- package/features/connector-library/store/slice.d.ts +36 -10
- package/features/connector-library/store/slice.d.ts.map +1 -1
- package/features/connector-library/types/connector.d.ts +13 -0
- package/features/connector-library/types/connector.d.ts.map +1 -0
- package/features/{connector-library → request-new-connector}/components/custom-connector-card-item/index.d.ts +2 -2
- package/features/request-new-connector/components/custom-connector-card-item/index.d.ts.map +1 -0
- package/features/request-new-connector/components/custom-connector-card-item/styles.d.ts.map +1 -0
- package/features/request-new-connector/components/custom-connector-card-list/__tests__/custom-connector-card.test.d.ts.map +1 -0
- package/features/request-new-connector/components/custom-connector-card-list/index.d.ts.map +1 -0
- package/features/request-new-connector/components/custom-connector-card-list/style.d.ts.map +1 -0
- package/{index-CgM3_xKm.js → index-BlrvUmkp.js} +1 -1
- package/{index-jpnMq7or.js → index-BneVFyJr.js} +131 -131
- package/index-Bp6DI_TD.js +68 -0
- package/{index-udWvwRi2.js → index-CFzc44V0.js} +4343 -3267
- package/{index-D988MMVn.js → index-Dtvwlgbj.js} +4 -4
- package/{index-Bz-7s9bi.js → index-R6dQb-2e.js} +1 -1
- package/{index-d1KjLfbR.js → index-n9pprR8F.js} +25 -25
- package/index.es.js +4 -4
- package/index.umd.js +1298 -214
- package/package.json +1 -1
- package/{showMessage-G5E0XiXs.js → showMessage-BwdQL76c.js} +3 -3
- package/store/hooks.d.ts +0 -2
- package/store/hooks.d.ts.map +1 -1
- package/store/index.d.ts +0 -4
- package/store/index.d.ts.map +1 -1
- package/{selectors-BxwrtEYH.js → styled-ui-components-CXuEXO04.js} +148 -149
- package/testing/mocks/handlers/connector-template.d.ts.map +1 -1
- package/testing/setup-store.d.ts +0 -2
- package/testing/setup-store.d.ts.map +1 -1
- package/types/connector.d.ts +5 -5
- package/types/connector.d.ts.map +1 -1
- package/features/connector-library/components/custom-connector-card-item/index.d.ts.map +0 -1
- package/features/connector-library/components/custom-connector-card-item/styles.d.ts.map +0 -1
- package/features/connector-library/components/custom-connector-card-list/__tests__/custom-connector-card.test.d.ts.map +0 -1
- package/features/connector-library/components/custom-connector-card-list/index.d.ts.map +0 -1
- package/features/connector-library/components/custom-connector-card-list/style.d.ts.map +0 -1
- package/features/template-library/api/index.d.ts +0 -7
- package/features/template-library/api/index.d.ts.map +0 -1
- package/features/template-library/components/connector-enabled-modal/index.d.ts.map +0 -1
- package/features/template-library/components/connector-enabled-modal/styles.d.ts.map +0 -1
- package/features/template-library/components/library-card-list/__tests__/library-card-list.test.d.ts.map +0 -1
- package/features/template-library/components/library-card-list/index.d.ts.map +0 -1
- package/features/template-library/components/library-card-list/styles.d.ts.map +0 -1
- package/features/template-library/components/library-card-skeleton/index.d.ts.map +0 -1
- package/features/template-library/components/library-card-skeleton/styles.d.ts.map +0 -1
- package/features/template-library/components/library-edit-list/index.d.ts.map +0 -1
- package/features/template-library/components/library-edit-list/styles.d.ts.map +0 -1
- package/features/template-library/constants/api.d.ts +0 -3
- package/features/template-library/constants/api.d.ts.map +0 -1
- package/features/template-library/constants/content-page.d.ts.map +0 -1
- package/features/template-library/store/initial-state.d.ts +0 -15
- package/features/template-library/store/initial-state.d.ts.map +0 -1
- package/features/template-library/store/selectors.d.ts +0 -9
- package/features/template-library/store/selectors.d.ts.map +0 -1
- package/features/template-library/store/slice.d.ts +0 -41
- package/features/template-library/store/slice.d.ts.map +0 -1
- package/index-DmZlHIzb.js +0 -68
- package/style.css +0 -1
- /package/features/{template-library → connector-library}/components/connector-enabled-modal/index.d.ts +0 -0
- /package/features/{template-library → connector-library}/components/connector-enabled-modal/styles.d.ts +0 -0
- /package/features/{template-library → connector-library}/components/library-card-list/__tests__/library-card-list.test.d.ts +0 -0
- /package/features/{template-library → connector-library}/components/library-card-list/index.d.ts +0 -0
- /package/features/{template-library → connector-library}/components/library-card-list/styles.d.ts +0 -0
- /package/features/{template-library → connector-library}/components/library-card-skeleton/index.d.ts +0 -0
- /package/features/{template-library → connector-library}/components/library-card-skeleton/styles.d.ts +0 -0
- /package/features/{template-library → connector-library}/components/library-edit-list/index.d.ts +0 -0
- /package/features/{template-library → connector-library}/components/library-edit-list/styles.d.ts +0 -0
- /package/features/{template-library → connector-library}/constants/content-page.d.ts +0 -0
- /package/features/{connector-library → request-new-connector}/components/custom-connector-card-item/styles.d.ts +0 -0
- /package/features/{connector-library → request-new-connector}/components/custom-connector-card-list/__tests__/custom-connector-card.test.d.ts +0 -0
- /package/features/{connector-library → request-new-connector}/components/custom-connector-card-list/index.d.ts +0 -0
- /package/features/{connector-library → request-new-connector}/components/custom-connector-card-list/style.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app/connectors/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAOjD,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app/connectors/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAOjD,eAAO,MAAM,aAAa,8CAAoD,UAAU,4CA0BvF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/api-view/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/api-view/index.tsx"],"names":[],"mappings":"AAqBA,eAAO,MAAM,eAAe,+CA6C3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/connector-view/dashboard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/app/connectors/pages/connector-view/dashboard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAC;AA6BhD,eAAO,MAAM,SAAS,EAAE,EA8DvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/settings/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/app/connectors/pages/settings/index.tsx"],"names":[],"mappings":"AAkCA,eAAO,MAAM,QAAQ,+CAkGpB,CAAC"}
|
package/app/style.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { StyledComponent } from '@emotion/styled';
|
|
2
2
|
import { BoxProps } from '@hiver/hiver-ui-kit';
|
|
3
|
+
export declare const AppNormaliseWrapper: StyledComponent<BoxProps>;
|
|
3
4
|
export declare const ToastifyWrapper: StyledComponent<BoxProps>;
|
|
4
5
|
//# sourceMappingURL=style.d.ts.map
|
package/app/style.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../src/app/style.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../src/app/style.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,QAAQ,CAgWzD,CAAC;AAiuBF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,QAAQ,CAiDrD,CAAC"}
|
|
@@ -3,5 +3,6 @@ import { AuthRequest, EditAuthRequest } from '../types/request';
|
|
|
3
3
|
export declare const postAuthDetailsApi: (data: AuthRequest) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
4
4
|
export declare const patchAuthDetailsApi: (data: EditAuthRequest, connectorId: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
5
5
|
export declare const testAuthApi: (data: JSONValue, connectorId: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
6
|
+
export declare const getConnectorDetail: (connectorId: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
6
7
|
export declare const postVerifyToken: (data: JSONValue, connectorId: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/api/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEhE,eAAO,MAAM,kBAAkB,SAAU,WAAW,iEAMnD,CAAC;AAEF,eAAO,MAAM,mBAAmB,SAAU,eAAe,eAAe,MAAM,iEAO7E,CAAC;AAEF,eAAO,MAAM,WAAW,SAAU,SAAS,eAAe,MAAM,iEAO/D,CAAC;AAEF,eAAO,MAAM,eAAe,SAAU,SAAS,eAAe,MAAM,iEAOnE,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/api/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEhE,eAAO,MAAM,kBAAkB,SAAU,WAAW,iEAMnD,CAAC;AAEF,eAAO,MAAM,mBAAmB,SAAU,eAAe,eAAe,MAAM,iEAO7E,CAAC;AAEF,eAAO,MAAM,WAAW,SAAU,SAAS,eAAe,MAAM,iEAO/D,CAAC;AAEF,eAAO,MAAM,kBAAkB,gBAAiB,MAAM,iEAMrD,CAAC;AAEF,eAAO,MAAM,eAAe,SAAU,SAAS,eAAe,MAAM,iEAOnE,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const POST_AUTH_DETAILS: string;
|
|
2
2
|
export declare const TEST_AUTH: string;
|
|
3
3
|
export declare const PATCH_AUTH_DETAILS: string;
|
|
4
|
+
export declare const CONNECTOR_DETAIL: string;
|
|
4
5
|
export declare const VERIFY_TOKEN: string;
|
|
5
6
|
//# sourceMappingURL=api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/constants/api.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,QAAiC,CAAC;AAChE,eAAO,MAAM,SAAS,QAA6C,CAAC;AACpE,eAAO,MAAM,kBAAkB,QAAwC,CAAC;AACxE,eAAO,MAAM,YAAY,QAAwD,CAAC"}
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/constants/api.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,QAAiC,CAAC;AAChE,eAAO,MAAM,SAAS,QAA6C,CAAC;AACpE,eAAO,MAAM,kBAAkB,QAAwC,CAAC;AACxE,eAAO,MAAM,gBAAgB,QAAoC,CAAC;AAClE,eAAO,MAAM,YAAY,QAAwD,CAAC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { ApiStatus } from '../../../types/api';
|
|
2
|
+
import { IConnectorDetails } from '../../../types/connector';
|
|
2
3
|
import { IAUTH_STATUS, ITestUrlData } from '../types/request';
|
|
3
4
|
export interface AuthState {
|
|
4
5
|
authSubmitApiStatus: ApiStatus;
|
|
5
6
|
testApiStatus: ApiStatus;
|
|
7
|
+
connectorDetailApiStatus: ApiStatus;
|
|
8
|
+
connectorDetails: IConnectorDetails | null;
|
|
6
9
|
isAuthenticated: {
|
|
7
10
|
[key: string]: boolean;
|
|
8
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initial-state.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/store/initial-state.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAE9D,MAAM,WAAW,SAAS;IACxB,mBAAmB,EAAE,SAAS,CAAC;IAC/B,aAAa,EAAE,SAAS,CAAC;IACzB,eAAe,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAC5C,OAAO,EAAE,MAAM,CAAC;IAChB,oBAAoB,EAAE,SAAS,CAAC;IAChC,oBAAoB,EAAE,OAAO,CAAC;IAC9B,UAAU,EAAE,YAAY,CAAC;IACzB,WAAW,EAAE,YAAY,GAAG,IAAI,CAAC;CAClC;AAGD,eAAO,MAAM,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"initial-state.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/store/initial-state.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAE9D,MAAM,WAAW,SAAS;IACxB,mBAAmB,EAAE,SAAS,CAAC;IAC/B,aAAa,EAAE,SAAS,CAAC;IACzB,wBAAwB,EAAE,SAAS,CAAC;IACpC,gBAAgB,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAC3C,eAAe,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAC5C,OAAO,EAAE,MAAM,CAAC;IAChB,oBAAoB,EAAE,SAAS,CAAC;IAChC,oBAAoB,EAAE,OAAO,CAAC;IAC9B,UAAU,EAAE,YAAY,CAAC;IACzB,WAAW,EAAE,YAAY,GAAG,IAAI,CAAC;CAClC;AAGD,eAAO,MAAM,YAAY,EAAE,SAW1B,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { RootState } from '../../../store';
|
|
2
|
+
export declare const selectConnectorDetail: (state: RootState) => import('../../../types/connector').IConnectorDetails | null;
|
|
3
|
+
export declare const selectConnectorDetailApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
4
|
+
export declare const selectorConnectorDetailApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
2
5
|
export declare const selectorAuthSubmitApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
3
6
|
export declare const selectAuthUrl: (state: RootState) => string;
|
|
4
7
|
export declare const selectVerifyTokenApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/store/selectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,2BAA2B,UAAW,SAAS,2CAAmC,CAAC;AAChG,eAAO,MAAM,aAAa,UAAW,SAAS,WAAuB,CAAC;AACtE,eAAO,MAAM,0BAA0B,UAAW,SAAS,2CAAoC,CAAC;AAChG,eAAO,MAAM,4BAA4B,UAAW,SAAS,YAAoC,CAAC;AAClG,eAAO,MAAM,gBAAgB,UAAW,SAAS,4CAA0B,CAAC;AAC5E,eAAO,MAAM,mBAAmB,UAAW,SAAS,2CAA6B,CAAC;AAClF,eAAO,MAAM,iBAAiB,UAAW,SAAS,mDAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/store/selectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,qBAAqB,UAAW,SAAS,gEAAgC,CAAC;AACvF,eAAO,MAAM,8BAA8B,UAAW,SAAS,2CAAwC,CAAC;AACxG,eAAO,MAAM,gCAAgC,UAAW,SAAS,2CAAwC,CAAC;AAC1G,eAAO,MAAM,2BAA2B,UAAW,SAAS,2CAAmC,CAAC;AAChG,eAAO,MAAM,aAAa,UAAW,SAAS,WAAuB,CAAC;AACtE,eAAO,MAAM,0BAA0B,UAAW,SAAS,2CAAoC,CAAC;AAChG,eAAO,MAAM,4BAA4B,UAAW,SAAS,YAAoC,CAAC;AAClG,eAAO,MAAM,gBAAgB,UAAW,SAAS,4CAA0B,CAAC;AAC5E,eAAO,MAAM,mBAAmB,UAAW,SAAS,2CAA6B,CAAC;AAClF,eAAO,MAAM,iBAAiB,UAAW,SAAS,mDAA2B,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
2
|
import { JSONValue } from '../../../types/json';
|
|
3
3
|
import { AuthRequest, EditAuthRequest, IAUTH_STATUS } from '../types/request';
|
|
4
|
+
import { IConnectorDetails } from '../../../types/connector';
|
|
4
5
|
export declare const authSlice: import('@reduxjs/toolkit').Slice<import('./initial-state').AuthState, {
|
|
5
6
|
authDone: (state: import('immer').WritableDraft<import('./initial-state').AuthState>, action: PayloadAction<IAUTH_STATUS>) => void;
|
|
6
7
|
resetState: () => import('./initial-state').AuthState;
|
|
@@ -41,6 +42,20 @@ declare const testAuth: import('@reduxjs/toolkit').AsyncThunk<{
|
|
|
41
42
|
fulfilledMeta?: unknown;
|
|
42
43
|
rejectedMeta?: unknown;
|
|
43
44
|
}>;
|
|
45
|
+
declare const fetchConnectorDetails: import('@reduxjs/toolkit').AsyncThunk<{
|
|
46
|
+
connector: null;
|
|
47
|
+
} | {
|
|
48
|
+
connector: IConnectorDetails;
|
|
49
|
+
}, string, {
|
|
50
|
+
state?: unknown;
|
|
51
|
+
dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
|
|
52
|
+
extra?: unknown;
|
|
53
|
+
rejectValue?: unknown;
|
|
54
|
+
serializedErrorType?: unknown;
|
|
55
|
+
pendingMeta?: unknown;
|
|
56
|
+
fulfilledMeta?: unknown;
|
|
57
|
+
rejectedMeta?: unknown;
|
|
58
|
+
}>;
|
|
44
59
|
declare const verifyToken: import('@reduxjs/toolkit').AsyncThunk<void, {
|
|
45
60
|
data: JSONValue;
|
|
46
61
|
connectorId: string;
|
|
@@ -57,5 +72,5 @@ declare const verifyToken: import('@reduxjs/toolkit').AsyncThunk<void, {
|
|
|
57
72
|
declare const authDone: import('@reduxjs/toolkit').ActionCreatorWithPayload<IAUTH_STATUS, "auth/authDone">, resetState: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"auth/resetState">;
|
|
58
73
|
declare const _default: import('redux').Reducer<import('./initial-state').AuthState>;
|
|
59
74
|
export default _default;
|
|
60
|
-
export { testAuth, submitAuthDetails, verifyToken, authDone, resetState };
|
|
75
|
+
export { testAuth, fetchConnectorDetails, submitAuthDetails, verifyToken, authDone, resetState };
|
|
61
76
|
//# sourceMappingURL=slice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/store/slice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiC,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKhF,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,YAAY,EAAgB,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../src/features/auth/store/slice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiC,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKhF,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,YAAY,EAAgB,MAAM,kBAAkB,CAAC;AAG5F,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,SAAS;kGAIQ,aAAa,CAAC,YAAY,CAAC;;kGAgEvD,CAAC;AAEH,QAAA,MAAM,iBAAiB;;;;UAEG,WAAW;;UAAa,eAAe;iBAAe,MAAM;;;;;;;;;;EA+BrF,CAAC;AAEF,QAAA,MAAM,QAAQ;;;;UAE0B;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE;iBAAe,MAAM;;;;;;;;;;EAgB/E,CAAC;AAEF,QAAA,MAAM,qBAAqB;;;eASK,iBAAiB;;;;;;;;;;EAE/C,CAAC;AAEH,QAAA,MAAM,WAAW;UAEuB,SAAS;iBAAe,MAAM;;;;;;;;;;EAGrE,CAAC;AAEF,QAAA,MAAQ,QAAQ,sFAAE,UAAU,2EAAsB,CAAC;;AACnD,wBAAiC;AACjC,OAAO,EAAE,QAAQ,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -2,7 +2,8 @@ export interface IUpdateConnectorDetails {
|
|
|
2
2
|
id: string;
|
|
3
3
|
enabled: boolean;
|
|
4
4
|
}
|
|
5
|
+
export declare const getConnectorTempelates: () => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
5
6
|
export declare const getConnectors: () => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
7
|
+
export declare const getConnectorTemplateDetails: (templateId: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
6
8
|
export declare const updateConnectorDetails: ({ id, enabled }: IUpdateConnectorDetails) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
7
|
-
export declare const getConnectorDetail: (connectorId: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
8
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/api/index.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,aAAa,oEAKzB,CAAC;AAEF,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/api/index.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,sBAAsB,oEAKlC,CAAC;AAEF,eAAO,MAAM,aAAa,oEAKzB,CAAC;AAEF,eAAO,MAAM,2BAA2B,eAAgB,MAAM,iEAK7D,CAAC;AAEF,eAAO,MAAM,sBAAsB,oBAAqB,uBAAuB,iEAM9E,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/connector-enabled-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,UAAU,2BAA2B;IACnC,KAAK,EAAE,OAAO,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACpC;AAED,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAmCvE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/connector-enabled-modal/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,QAAQ,EAAU,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CAKhD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"library-card-list.test.d.ts","sourceRoot":"","sources":["../../../../../../src/features/connector-library/components/library-card-list/__tests__/library-card-list.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/library-card-list/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAyB,MAAM,OAAO,CAAC;AAkBlD,eAAO,MAAM,eAAe,EAAE,EAyC7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/library-card-list/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,eAAe,CAGxD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,eAAe,CAExD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,eAAe,CAAC,eAAe,CAE/D,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,eAAe,CAAC,QAAQ,CAMxD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,QAAQ,CAWjD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,SAAS,CAUtD,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,eAAe,CAAC,eAAe,CASnE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/library-card-skeleton/index.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB,+CAsB/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/library-card-skeleton/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,aAAa,CAO1D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/library-edit-list/index.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/library-edit-list/styles.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
export declare const TEMPLATE_URL: string;
|
|
1
2
|
export declare const CONNECTORS_URL: string;
|
|
3
|
+
export declare const TEMPLATE_DETAILS_URL: string;
|
|
2
4
|
export declare const UPDATE_CONNECTORS_URL: string;
|
|
3
|
-
export declare const CONNECTOR_DETAIL: string;
|
|
4
5
|
//# sourceMappingURL=api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/constants/api.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,EAAE,MAAsC,CAAC;AACpE,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/constants/api.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,EAAE,MAAsC,CAAC;AAClE,eAAO,MAAM,cAAc,EAAE,MAAsC,CAAC;AACpE,eAAO,MAAM,oBAAoB,EAAE,MAAgD,CAAC;AACpF,eAAO,MAAM,qBAAqB,EAAE,MAA0C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-page.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/constants/content-page.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,EAAE,MAA4B,CAAC;AAC7D,eAAO,MAAM,sBAAsB,EAAE,MACsD,CAAC;AAC5F,eAAO,MAAM,OAAO,EAAE,MAAkB,CAAC;AACzC,eAAO,MAAM,mBAAmB,EAAE,MAC+F,CAAC"}
|
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
import { ApiStatus } from '../../../types/api';
|
|
2
|
-
import {
|
|
2
|
+
import { IConnectorStruct, IConnectorTemplate } from '../types/connector';
|
|
3
|
+
import { IConnectorDetails, ConnectorId } from '../../../types/connector';
|
|
3
4
|
export interface ConnectorState {
|
|
5
|
+
connectorTemplates: {
|
|
6
|
+
[key: ConnectorId]: IConnectorTemplate;
|
|
7
|
+
} | null;
|
|
8
|
+
connectorTemplateList: ConnectorId[];
|
|
4
9
|
connectors: {
|
|
5
|
-
[ke: ConnectorId]:
|
|
10
|
+
[ke: ConnectorId]: IConnectorStruct;
|
|
6
11
|
} | null;
|
|
7
12
|
connectorList: ConnectorId[];
|
|
13
|
+
templateListApiStatus: ApiStatus;
|
|
8
14
|
connectorsApiStatus: ApiStatus;
|
|
15
|
+
templateDetailsApiStatus: ApiStatus;
|
|
9
16
|
selectedConnector?: string | null;
|
|
17
|
+
selectedConnectorData?: IConnectorDetails | null;
|
|
10
18
|
currentUpdatingConnectors: {
|
|
11
19
|
[key: string]: string;
|
|
12
20
|
};
|
|
13
|
-
connectorDetailApiStatus: ApiStatus;
|
|
14
|
-
connectorDetails: IConnectorDetails | null;
|
|
15
21
|
}
|
|
16
22
|
export declare const initialState: ConnectorState;
|
|
17
23
|
//# sourceMappingURL=initial-state.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initial-state.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/store/initial-state.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"initial-state.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/store/initial-state.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAExE,MAAM,WAAW,cAAc;IAC7B,kBAAkB,EAAE;QAAE,CAAC,GAAG,EAAE,WAAW,GAAG,kBAAkB,CAAA;KAAE,GAAG,IAAI,CAAC;IACtE,qBAAqB,EAAE,WAAW,EAAE,CAAC;IACrC,UAAU,EAAE;QAAE,CAAC,EAAE,EAAE,WAAW,GAAG,gBAAgB,CAAA;KAAE,GAAG,IAAI,CAAC;IAC3D,aAAa,EAAE,WAAW,EAAE,CAAC;IAC7B,qBAAqB,EAAE,SAAS,CAAC;IACjC,mBAAmB,EAAE,SAAS,CAAC;IAC/B,wBAAwB,EAAE,SAAS,CAAC;IACpC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,qBAAqB,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACjD,yBAAyB,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACtD;AAGD,eAAO,MAAM,YAAY,EAAE,cAW1B,CAAC"}
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import { RootState } from '../../../store';
|
|
2
|
+
export declare const selectConnectorTemplateList: (state: RootState) => string[];
|
|
3
|
+
export declare const selectConnectorTemplates: (state: RootState) => {
|
|
4
|
+
[key: string]: import('../types/connector').IConnectorTemplate;
|
|
5
|
+
} | null;
|
|
6
|
+
export declare const selectCurrentTemplateData: (state: RootState) => import('../../../types/connector').IConnectorDetails | null | undefined;
|
|
7
|
+
export declare const selectTemplateListApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
2
8
|
export declare const selectConnectorList: (state: RootState) => string[];
|
|
3
9
|
export declare const selectConnectors: (state: RootState) => {
|
|
4
|
-
[ke: string]: import('
|
|
10
|
+
[ke: string]: import('../types/connector').IConnectorStruct;
|
|
5
11
|
} | null;
|
|
6
12
|
export declare const selectConnectorListApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
7
13
|
export declare const selectCurrentConnector: (state: RootState) => string | null | undefined;
|
|
14
|
+
export declare const selectTemplateDetailsApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
8
15
|
export declare const selectUpdateConnectorStatus: (state: RootState) => {
|
|
9
16
|
[key: string]: string;
|
|
10
17
|
};
|
|
11
|
-
export declare const selectConnectorDetailApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
12
18
|
//# sourceMappingURL=selectors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/store/selectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,mBAAmB,UAAW,SAAS,aAAwC,CAAC;AAC7F,eAAO,MAAM,gBAAgB,UAAW,SAAS;;QAAqC,CAAC;AACvF,eAAO,MAAM,4BAA4B,UAAW,SAAS,2CAA8C,CAAC;AAC5G,eAAO,MAAM,sBAAsB,UAAW,SAAS,8BAA4C,CAAC;AACpG,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/store/selectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,2BAA2B,UAAW,SAAS,aAAgD,CAAC;AAC7G,eAAO,MAAM,wBAAwB,UAAW,SAAS;;QAA6C,CAAC;AACvG,eAAO,MAAM,yBAAyB,UAAW,SAAS,4EAAgD,CAAC;AAC3G,eAAO,MAAM,2BAA2B,UAAW,SAAS,2CAAgD,CAAC;AAC7G,eAAO,MAAM,mBAAmB,UAAW,SAAS,aAAwC,CAAC;AAC7F,eAAO,MAAM,gBAAgB,UAAW,SAAS;;QAAqC,CAAC;AACvF,eAAO,MAAM,4BAA4B,UAAW,SAAS,2CAA8C,CAAC;AAC5G,eAAO,MAAM,sBAAsB,UAAW,SAAS,8BAA4C,CAAC;AACpG,eAAO,MAAM,8BAA8B,UAAW,SAAS,2CAAmD,CAAC;AACnH,eAAO,MAAM,2BAA2B,UAAW,SAAS;;CAAoD,CAAC"}
|
|
@@ -1,5 +1,30 @@
|
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { ConnectorState } from './initial-state';
|
|
1
3
|
import { IConnectorDetails } from '../../../types/connector';
|
|
2
|
-
|
|
4
|
+
import { selectConnectorTemplateList, selectConnectorTemplates, selectCurrentTemplateData } from './selectors';
|
|
5
|
+
import { IConnectorStruct, IConnectorTemplate } from '../types/connector';
|
|
6
|
+
interface ICurrentDashboard {
|
|
7
|
+
currentDashboard: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const connectorLibrarySlice: import('@reduxjs/toolkit').Slice<ConnectorState, {
|
|
10
|
+
updateCurrentSelectedConnector: (state: ConnectorState, action: PayloadAction<ICurrentDashboard>) => void;
|
|
11
|
+
clearSelectedConnector: (state: import('immer').WritableDraft<ConnectorState>) => void;
|
|
12
|
+
}, "connectorLibrary", "connectorLibrary", import('@reduxjs/toolkit').SliceSelectors<ConnectorState>>;
|
|
13
|
+
declare const fetchConnectorTemplates: import('@reduxjs/toolkit').AsyncThunk<{
|
|
14
|
+
connectors: {
|
|
15
|
+
[k: string]: IConnectorTemplate;
|
|
16
|
+
};
|
|
17
|
+
connectorList: string[];
|
|
18
|
+
}, void, {
|
|
19
|
+
state?: unknown;
|
|
20
|
+
dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
|
|
21
|
+
extra?: unknown;
|
|
22
|
+
rejectValue?: unknown;
|
|
23
|
+
serializedErrorType?: unknown;
|
|
24
|
+
pendingMeta?: unknown;
|
|
25
|
+
fulfilledMeta?: unknown;
|
|
26
|
+
rejectedMeta?: unknown;
|
|
27
|
+
}>;
|
|
3
28
|
declare const updateConnectorDetailsApi: import('@reduxjs/toolkit').AsyncThunk<{
|
|
4
29
|
params: {
|
|
5
30
|
id: string;
|
|
@@ -20,7 +45,7 @@ declare const updateConnectorDetailsApi: import('@reduxjs/toolkit').AsyncThunk<{
|
|
|
20
45
|
}>;
|
|
21
46
|
declare const fetchConnectors: import('@reduxjs/toolkit').AsyncThunk<{
|
|
22
47
|
connectors: {
|
|
23
|
-
[k: string]:
|
|
48
|
+
[k: string]: IConnectorStruct;
|
|
24
49
|
};
|
|
25
50
|
connectorList: string[];
|
|
26
51
|
}, void, {
|
|
@@ -33,12 +58,10 @@ declare const fetchConnectors: import('@reduxjs/toolkit').AsyncThunk<{
|
|
|
33
58
|
fulfilledMeta?: unknown;
|
|
34
59
|
rejectedMeta?: unknown;
|
|
35
60
|
}>;
|
|
36
|
-
declare const
|
|
37
|
-
|
|
38
|
-
connector: null;
|
|
61
|
+
declare const fetchTemplateDetails: import('@reduxjs/toolkit').AsyncThunk<{
|
|
62
|
+
selectedConnectorData: null;
|
|
39
63
|
} | {
|
|
40
|
-
|
|
41
|
-
connectorId: string;
|
|
64
|
+
selectedConnectorData: IConnectorDetails;
|
|
42
65
|
}, string, {
|
|
43
66
|
state?: unknown;
|
|
44
67
|
dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
|
|
@@ -49,8 +72,11 @@ declare const fetchConnectorDetails: import('@reduxjs/toolkit').AsyncThunk<{
|
|
|
49
72
|
fulfilledMeta?: unknown;
|
|
50
73
|
rejectedMeta?: unknown;
|
|
51
74
|
}>;
|
|
52
|
-
declare const _default: import('redux').Reducer<
|
|
75
|
+
declare const _default: import('redux').Reducer<ConnectorState>;
|
|
53
76
|
export default _default;
|
|
54
|
-
export declare const actions: import('@reduxjs/toolkit').CaseReducerActions<{
|
|
55
|
-
|
|
77
|
+
export declare const actions: import('@reduxjs/toolkit').CaseReducerActions<{
|
|
78
|
+
updateCurrentSelectedConnector: (state: ConnectorState, action: PayloadAction<ICurrentDashboard>) => void;
|
|
79
|
+
clearSelectedConnector: (state: import('immer').WritableDraft<ConnectorState>) => void;
|
|
80
|
+
}, "connectorLibrary">;
|
|
81
|
+
export { fetchConnectorTemplates, fetchConnectors, fetchTemplateDetails, selectConnectorTemplateList, selectConnectorTemplates, selectCurrentTemplateData, updateConnectorDetailsApi };
|
|
56
82
|
//# sourceMappingURL=slice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/store/slice.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/store/slice.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAItD,OAAO,EAAE,cAAc,EAAgB,MAAM,iBAAiB,CAAC;AAE/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,2BAA2B,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AAC/G,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAE1E,UAAU,iBAAiB;IACzB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,qBAAqB;4CAIU,cAAc,UAAU,aAAa,CAAC,iBAAiB,CAAC;;qGA+DlG,CAAC;AAIH,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;EAiB3B,CAAC;AAEH,QAAA,MAAM,yBAAyB;;YAER,MAAM;iBAAW,OAAO;;;QAAxB,MAAM;aAAW,OAAO;;;;;;;;;;EAI9C,CAAC;AAEF,QAAA,MAAM,eAAe;;;;;;;;;;;;;;EAkBnB,CAAC;AAEH,QAAA,MAAM,oBAAoB;;;2BASkB,iBAAiB;;;;;;;;;;EAE3D,CAAC;;AAEH,wBAA6C;AAC7C,eAAO,MAAM,OAAO;4CAhIwB,cAAc,UAAU,aAAa,CAAC,iBAAiB,CAAC;;sBAgIhD,CAAC;AACrD,OAAO,EACL,uBAAuB,EACvB,eAAe,EACf,oBAAoB,EACpB,2BAA2B,EAC3B,wBAAwB,EACxB,yBAAyB,EACzB,yBAAyB,EAC1B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ConnectorId } from '../../../types/connector';
|
|
2
|
+
export interface IConnectorTemplate {
|
|
3
|
+
id: ConnectorId;
|
|
4
|
+
description: string;
|
|
5
|
+
logo: string | null;
|
|
6
|
+
name: string;
|
|
7
|
+
authType?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IConnectorStruct extends Omit<IConnectorTemplate, 'authType'> {
|
|
10
|
+
isEnabled: boolean;
|
|
11
|
+
isAuthenticated: boolean;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=connector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connector.d.ts","sourceRoot":"","sources":["../../../../src/features/connector-library/types/connector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,WAAW,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC;IAC5E,SAAS,EAAE,OAAO,CAAC;IACnB,eAAe,EAAE,OAAO,CAAC;CAC1B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IConnectorStruct, IConnectorTemplate } from '../../../connector-library/types/connector';
|
|
2
2
|
interface ICustomConnectorCardItem {
|
|
3
|
-
connector:
|
|
3
|
+
connector: IConnectorStruct | IConnectorTemplate;
|
|
4
4
|
setModal?: (val: boolean) => void;
|
|
5
5
|
setConnectorId?: (val: string) => void;
|
|
6
6
|
isConfigSettingsPage?: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/request-new-connector/components/custom-connector-card-item/index.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAcpG,UAAU,wBAAwB;IAChC,SAAS,EAAE,gBAAgB,GAAG,kBAAkB,CAAC;IACjD,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IAClC,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,uBAAuB,0EAMjC,wBAAwB,4CAgG1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/request-new-connector/components/custom-connector-card-item/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAE3G,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,QAAQ,CA8CjD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,eAAe,CAI1D,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,UAAU,CAGtD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,WAAW,CAErD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,UAAU,CAQrD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CA0BhD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,WAAW,CAIxD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-connector-card.test.d.ts","sourceRoot":"","sources":["../../../../../../src/features/request-new-connector/components/custom-connector-card-list/__tests__/custom-connector-card.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/request-new-connector/components/custom-connector-card-list/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAS3B,UAAU,MAAM;IACd,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;IAClC,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAED,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,MAAM,CAsB9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../src/features/request-new-connector/components/custom-connector-card-list/style.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAE3G,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,QAAQ,CA8CjD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,eAAe,CAI1D,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,UAAU,CAGtD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,WAAW,CAErD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,UAAU,CAQrD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,QAAQ,CA0BhD,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,WAAW,CAIxD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s, B as c, T as u, M as m, u as b, a as S, S as p, j as i, C, b as v, c as B, O as j } from "./index-
|
|
1
|
+
import { s, B as c, T as u, M as m, u as b, a as S, S as p, j as i, C, b as v, c as B, O as j } from "./index-CFzc44V0.js";
|
|
2
2
|
import { useContext as k, useEffect as y } from "react";
|
|
3
3
|
const z = s(c)`
|
|
4
4
|
box-sizing: border-box;
|