@hiver/connector-admin 0.0.10-beta.23 → 0.0.10-beta.24
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/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.map +1 -1
- package/features/auth/api/index.d.ts +0 -1
- package/features/auth/api/index.d.ts.map +1 -1
- package/features/auth/constants/api.d.ts +0 -1
- package/features/auth/constants/api.d.ts.map +1 -1
- package/features/auth/store/initial-state.d.ts +0 -3
- package/features/auth/store/initial-state.d.ts.map +1 -1
- package/features/auth/store/selectors.d.ts +0 -3
- package/features/auth/store/selectors.d.ts.map +1 -1
- package/features/auth/store/slice.d.ts +1 -16
- package/features/auth/store/slice.d.ts.map +1 -1
- package/features/connector-library/api/index.d.ts +1 -2
- package/features/connector-library/api/index.d.ts.map +1 -1
- package/features/{request-new-connector → connector-library}/components/custom-connector-card-item/index.d.ts +2 -2
- package/features/connector-library/components/custom-connector-card-item/index.d.ts.map +1 -0
- package/features/connector-library/components/custom-connector-card-item/styles.d.ts.map +1 -0
- package/features/connector-library/components/custom-connector-card-list/__tests__/custom-connector-card.test.d.ts.map +1 -0
- package/features/connector-library/components/custom-connector-card-list/index.d.ts.map +1 -0
- package/features/connector-library/components/custom-connector-card-list/style.d.ts.map +1 -0
- package/features/connector-library/components/custom-connector-enabled-modal/index.d.ts +9 -0
- package/features/connector-library/components/custom-connector-enabled-modal/index.d.ts.map +1 -0
- package/features/connector-library/components/custom-connector-enabled-modal/styles.d.ts.map +1 -0
- package/features/connector-library/constants/api.d.ts +1 -2
- package/features/connector-library/constants/api.d.ts.map +1 -1
- package/features/connector-library/store/initial-state.d.ts +4 -10
- package/features/connector-library/store/initial-state.d.ts.map +1 -1
- package/features/connector-library/store/selectors.d.ts +2 -8
- package/features/connector-library/store/selectors.d.ts.map +1 -1
- package/features/connector-library/store/slice.d.ts +10 -36
- package/features/connector-library/store/slice.d.ts.map +1 -1
- package/features/template-library/api/index.d.ts +7 -0
- package/features/template-library/api/index.d.ts.map +1 -0
- package/features/template-library/components/library-card-list/__tests__/library-card-list.test.d.ts.map +1 -0
- package/features/template-library/components/library-card-list/index.d.ts.map +1 -0
- package/features/template-library/components/library-card-list/styles.d.ts.map +1 -0
- package/features/template-library/components/library-card-skeleton/index.d.ts.map +1 -0
- package/features/template-library/components/library-card-skeleton/styles.d.ts.map +1 -0
- package/features/template-library/components/library-edit-list/index.d.ts.map +1 -0
- package/features/template-library/components/library-edit-list/styles.d.ts.map +1 -0
- package/features/template-library/constants/api.d.ts +3 -0
- package/features/template-library/constants/api.d.ts.map +1 -0
- package/features/template-library/constants/content-page.d.ts.map +1 -0
- package/features/template-library/store/initial-state.d.ts +15 -0
- package/features/template-library/store/initial-state.d.ts.map +1 -0
- package/features/template-library/store/selectors.d.ts +9 -0
- package/features/template-library/store/selectors.d.ts.map +1 -0
- package/features/template-library/store/slice.d.ts +41 -0
- package/features/template-library/store/slice.d.ts.map +1 -0
- package/index-B9-u1q77.js +1107 -0
- package/{index-BneVFyJr.js → index-D2UWBSRa.js} +132 -133
- package/{index-Dtvwlgbj.js → index-D6UOVuiG.js} +1203 -1570
- package/{index-R6dQb-2e.js → index-DiYE0--Q.js} +1 -1
- package/{index-CFzc44V0.js → index-Dqwgbi7F.js} +1579 -1834
- package/{index-BlrvUmkp.js → index-RT0zmRo-.js} +1 -1
- package/index-i1sGdY09.js +68 -0
- package/index.es.js +4 -4
- package/index.umd.js +218 -476
- package/package.json +1 -1
- package/{styled-ui-components-CXuEXO04.js → showMessage-MxIgq15g.js} +629 -568
- package/store/hooks.d.ts +2 -0
- package/store/hooks.d.ts.map +1 -1
- package/store/index.d.ts +4 -0
- package/store/index.d.ts.map +1 -1
- package/testing/mocks/handlers/connector-template.d.ts.map +1 -1
- package/testing/setup-store.d.ts +2 -0
- 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/connector-enabled-modal/index.d.ts +0 -9
- package/features/connector-library/components/connector-enabled-modal/index.d.ts.map +0 -1
- package/features/connector-library/components/connector-enabled-modal/styles.d.ts.map +0 -1
- package/features/connector-library/components/library-card-list/__tests__/library-card-list.test.d.ts.map +0 -1
- package/features/connector-library/components/library-card-list/index.d.ts.map +0 -1
- package/features/connector-library/components/library-card-list/styles.d.ts.map +0 -1
- package/features/connector-library/components/library-card-skeleton/index.d.ts.map +0 -1
- package/features/connector-library/components/library-card-skeleton/styles.d.ts.map +0 -1
- package/features/connector-library/components/library-edit-list/index.d.ts.map +0 -1
- package/features/connector-library/components/library-edit-list/styles.d.ts.map +0 -1
- package/features/connector-library/constants/content-page.d.ts.map +0 -1
- package/features/connector-library/types/connector.d.ts +0 -13
- package/features/connector-library/types/connector.d.ts.map +0 -1
- package/features/request-new-connector/components/custom-connector-card-item/index.d.ts.map +0 -1
- package/features/request-new-connector/components/custom-connector-card-item/styles.d.ts.map +0 -1
- package/features/request-new-connector/components/custom-connector-card-list/__tests__/custom-connector-card.test.d.ts.map +0 -1
- package/features/request-new-connector/components/custom-connector-card-list/index.d.ts.map +0 -1
- package/features/request-new-connector/components/custom-connector-card-list/style.d.ts.map +0 -1
- package/index-Bp6DI_TD.js +0 -68
- package/index-n9pprR8F.js +0 -699
- package/showMessage-BwdQL76c.js +0 -64
- /package/features/{request-new-connector → connector-library}/components/custom-connector-card-item/styles.d.ts +0 -0
- /package/features/{request-new-connector → connector-library}/components/custom-connector-card-list/__tests__/custom-connector-card.test.d.ts +0 -0
- /package/features/{request-new-connector → connector-library}/components/custom-connector-card-list/index.d.ts +0 -0
- /package/features/{request-new-connector → connector-library}/components/custom-connector-card-list/style.d.ts +0 -0
- /package/features/connector-library/components/{connector-enabled-modal → custom-connector-enabled-modal}/styles.d.ts +0 -0
- /package/features/{connector-library → template-library}/components/library-card-list/__tests__/library-card-list.test.d.ts +0 -0
- /package/features/{connector-library → template-library}/components/library-card-list/index.d.ts +0 -0
- /package/features/{connector-library → template-library}/components/library-card-list/styles.d.ts +0 -0
- /package/features/{connector-library → template-library}/components/library-card-skeleton/index.d.ts +0 -0
- /package/features/{connector-library → template-library}/components/library-card-skeleton/styles.d.ts +0 -0
- /package/features/{connector-library → template-library}/components/library-edit-list/index.d.ts +0 -0
- /package/features/{connector-library → template-library}/components/library-edit-list/styles.d.ts +0 -0
- /package/features/{connector-library → template-library}/constants/content-page.d.ts +0 -0
|
@@ -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":"AAkBA,eAAO,MAAM,eAAe,+CA0C3B,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;AA8BhD,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":"AAuBA,eAAO,MAAM,QAAQ,+CAmGpB,CAAC"}
|
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;AAEpD,eAAO,MAAM,mBAAmB,EAAE,eAAe,CAAC,QAAQ,
|
|
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,CAyFzD,CAAC;AAiuBF,eAAO,MAAM,eAAe,EAAE,eAAe,CAAC,QAAQ,CAiDrD,CAAC"}
|
|
@@ -3,6 +3,5 @@ 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>;
|
|
7
6
|
export declare const postVerifyToken: (data: JSONValue, connectorId: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
8
7
|
//# 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,
|
|
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,6 +1,5 @@
|
|
|
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;
|
|
5
4
|
export declare const VERIFY_TOKEN: string;
|
|
6
5
|
//# 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,
|
|
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,11 +1,8 @@
|
|
|
1
1
|
import { ApiStatus } from '../../../types/api';
|
|
2
|
-
import { IConnectorDetails } from '../../../types/connector';
|
|
3
2
|
import { IAUTH_STATUS, ITestUrlData } from '../types/request';
|
|
4
3
|
export interface AuthState {
|
|
5
4
|
authSubmitApiStatus: ApiStatus;
|
|
6
5
|
testApiStatus: ApiStatus;
|
|
7
|
-
connectorDetailApiStatus: ApiStatus;
|
|
8
|
-
connectorDetails: IConnectorDetails | null;
|
|
9
6
|
isAuthenticated: {
|
|
10
7
|
[key: string]: boolean;
|
|
11
8
|
};
|
|
@@ -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,
|
|
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,SAS1B,CAAC"}
|
|
@@ -1,7 +1,4 @@
|
|
|
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;
|
|
5
2
|
export declare const selectorAuthSubmitApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
6
3
|
export declare const selectAuthUrl: (state: RootState) => string;
|
|
7
4
|
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,
|
|
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,7 +1,6 @@
|
|
|
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';
|
|
5
4
|
export declare const authSlice: import('@reduxjs/toolkit').Slice<import('./initial-state').AuthState, {
|
|
6
5
|
authDone: (state: import('immer').WritableDraft<import('./initial-state').AuthState>, action: PayloadAction<IAUTH_STATUS>) => void;
|
|
7
6
|
resetState: () => import('./initial-state').AuthState;
|
|
@@ -42,20 +41,6 @@ declare const testAuth: import('@reduxjs/toolkit').AsyncThunk<{
|
|
|
42
41
|
fulfilledMeta?: unknown;
|
|
43
42
|
rejectedMeta?: unknown;
|
|
44
43
|
}>;
|
|
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
|
-
}>;
|
|
59
44
|
declare const verifyToken: import('@reduxjs/toolkit').AsyncThunk<void, {
|
|
60
45
|
data: JSONValue;
|
|
61
46
|
connectorId: string;
|
|
@@ -72,5 +57,5 @@ declare const verifyToken: import('@reduxjs/toolkit').AsyncThunk<void, {
|
|
|
72
57
|
declare const authDone: import('@reduxjs/toolkit').ActionCreatorWithPayload<IAUTH_STATUS, "auth/authDone">, resetState: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"auth/resetState">;
|
|
73
58
|
declare const _default: import('redux').Reducer<import('./initial-state').AuthState>;
|
|
74
59
|
export default _default;
|
|
75
|
-
export { testAuth,
|
|
60
|
+
export { testAuth, submitAuthDetails, verifyToken, authDone, resetState };
|
|
76
61
|
//# 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;AAI5F,eAAO,MAAM,SAAS;kGAIQ,aAAa,CAAC,YAAY,CAAC;;kGAoDvD,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,WAAW;UAEuB,SAAS;iBAAe,MAAM;;;;;;;;;;EAGrE,CAAC;AAEF,QAAA,MAAQ,QAAQ,sFAAE,UAAU,2EAAsB,CAAC;;AACnD,wBAAiC;AACjC,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -2,8 +2,7 @@ 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>;
|
|
6
5
|
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>;
|
|
8
6
|
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>;
|
|
9
8
|
//# 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,
|
|
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,sBAAsB,oBAAqB,uBAAuB,iEAM9E,CAAC;AAEF,eAAO,MAAM,kBAAkB,gBAAiB,MAAM,iEAMrD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IConnectorDetails } from '../../../../types/connector';
|
|
2
2
|
interface ICustomConnectorCardItem {
|
|
3
|
-
connector:
|
|
3
|
+
connector: IConnectorDetails;
|
|
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/connector-library/components/custom-connector-card-item/index.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAgBtD,UAAU,wBAAwB;IAChC,SAAS,EAAE,iBAAiB,CAAC;IAC7B,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,4CAoH1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/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/connector-library/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/connector-library/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/connector-library/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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface IProps {
|
|
3
|
+
shown: boolean;
|
|
4
|
+
connectorName: string;
|
|
5
|
+
setShown: (value: boolean) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const CustomConnectorEnabledModal: React.FC<IProps>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/custom-connector-enabled-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,UAAU,MAAM;IACd,KAAK,EAAE,OAAO,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACpC;AAED,eAAO,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAmCxD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/connector-library/components/custom-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"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export declare const TEMPLATE_URL: string;
|
|
2
1
|
export declare const CONNECTORS_URL: string;
|
|
3
|
-
export declare const TEMPLATE_DETAILS_URL: string;
|
|
4
2
|
export declare const UPDATE_CONNECTORS_URL: string;
|
|
3
|
+
export declare const CONNECTOR_DETAIL: string;
|
|
5
4
|
//# 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,
|
|
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,qBAAqB,EAAE,MAA0C,CAAC;AAC/E,eAAO,MAAM,gBAAgB,QAAoC,CAAC"}
|
|
@@ -1,23 +1,17 @@
|
|
|
1
1
|
import { ApiStatus } from '../../../types/api';
|
|
2
|
-
import {
|
|
3
|
-
import { IConnectorDetails, ConnectorId } from '../../../types/connector';
|
|
2
|
+
import { ConnectorId, IConnectorDetails } from '../../../types/connector';
|
|
4
3
|
export interface ConnectorState {
|
|
5
|
-
connectorTemplates: {
|
|
6
|
-
[key: ConnectorId]: IConnectorTemplate;
|
|
7
|
-
} | null;
|
|
8
|
-
connectorTemplateList: ConnectorId[];
|
|
9
4
|
connectors: {
|
|
10
|
-
[ke: ConnectorId]:
|
|
5
|
+
[ke: ConnectorId]: IConnectorDetails;
|
|
11
6
|
} | null;
|
|
12
7
|
connectorList: ConnectorId[];
|
|
13
|
-
templateListApiStatus: ApiStatus;
|
|
14
8
|
connectorsApiStatus: ApiStatus;
|
|
15
|
-
templateDetailsApiStatus: ApiStatus;
|
|
16
9
|
selectedConnector?: string | null;
|
|
17
|
-
selectedConnectorData?: IConnectorDetails | null;
|
|
18
10
|
currentUpdatingConnectors: {
|
|
19
11
|
[key: string]: string;
|
|
20
12
|
};
|
|
13
|
+
connectorDetailApiStatus: ApiStatus;
|
|
14
|
+
connectorDetails: IConnectorDetails | null;
|
|
21
15
|
}
|
|
22
16
|
export declare const initialState: ConnectorState;
|
|
23
17
|
//# 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,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE;QAAE,CAAC,EAAE,EAAE,WAAW,GAAG,iBAAiB,CAAA;KAAE,GAAG,IAAI,CAAC;IAC5D,aAAa,EAAE,WAAW,EAAE,CAAC;IAC7B,mBAAmB,EAAE,SAAS,CAAC;IAC/B,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,yBAAyB,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACrD,wBAAwB,EAAE,SAAS,CAAC;IACpC,gBAAgB,EAAE,iBAAiB,GAAG,IAAI,CAAC;CAC5C;AAGD,eAAO,MAAM,YAAY,EAAE,cAQ1B,CAAC"}
|
|
@@ -1,18 +1,12 @@
|
|
|
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;
|
|
8
2
|
export declare const selectConnectorList: (state: RootState) => string[];
|
|
9
3
|
export declare const selectConnectors: (state: RootState) => {
|
|
10
|
-
[ke: string]: import('
|
|
4
|
+
[ke: string]: import('../../../types/connector').IConnectorDetails;
|
|
11
5
|
} | null;
|
|
12
6
|
export declare const selectConnectorListApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
13
7
|
export declare const selectCurrentConnector: (state: RootState) => string | null | undefined;
|
|
14
|
-
export declare const selectTemplateDetailsApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
15
8
|
export declare const selectUpdateConnectorStatus: (state: RootState) => {
|
|
16
9
|
[key: string]: string;
|
|
17
10
|
};
|
|
11
|
+
export declare const selectConnectorDetailApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
18
12
|
//# 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,
|
|
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,2BAA2B,UAAW,SAAS;;CAAoD,CAAC;AACjH,eAAO,MAAM,8BAA8B,UAAW,SAAS,2CAAmD,CAAC"}
|
|
@@ -1,30 +1,5 @@
|
|
|
1
|
-
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
-
import { ConnectorState } from './initial-state';
|
|
3
1
|
import { IConnectorDetails } from '../../../types/connector';
|
|
4
|
-
import {
|
|
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
|
-
}>;
|
|
2
|
+
export declare const connectorLibrarySlice: import('@reduxjs/toolkit').Slice<import('./initial-state').ConnectorState, {}, "connectorLibrary", "connectorLibrary", import('@reduxjs/toolkit').SliceSelectors<import('./initial-state').ConnectorState>>;
|
|
28
3
|
declare const updateConnectorDetailsApi: import('@reduxjs/toolkit').AsyncThunk<{
|
|
29
4
|
params: {
|
|
30
5
|
id: string;
|
|
@@ -45,7 +20,7 @@ declare const updateConnectorDetailsApi: import('@reduxjs/toolkit').AsyncThunk<{
|
|
|
45
20
|
}>;
|
|
46
21
|
declare const fetchConnectors: import('@reduxjs/toolkit').AsyncThunk<{
|
|
47
22
|
connectors: {
|
|
48
|
-
[k: string]:
|
|
23
|
+
[k: string]: IConnectorDetails;
|
|
49
24
|
};
|
|
50
25
|
connectorList: string[];
|
|
51
26
|
}, void, {
|
|
@@ -58,10 +33,12 @@ declare const fetchConnectors: import('@reduxjs/toolkit').AsyncThunk<{
|
|
|
58
33
|
fulfilledMeta?: unknown;
|
|
59
34
|
rejectedMeta?: unknown;
|
|
60
35
|
}>;
|
|
61
|
-
declare const
|
|
62
|
-
|
|
36
|
+
declare const fetchConnectorDetails: import('@reduxjs/toolkit').AsyncThunk<{
|
|
37
|
+
connectorId: string;
|
|
38
|
+
connector: null;
|
|
63
39
|
} | {
|
|
64
|
-
|
|
40
|
+
connector: IConnectorDetails;
|
|
41
|
+
connectorId: string;
|
|
65
42
|
}, string, {
|
|
66
43
|
state?: unknown;
|
|
67
44
|
dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
|
|
@@ -72,11 +49,8 @@ declare const fetchTemplateDetails: import('@reduxjs/toolkit').AsyncThunk<{
|
|
|
72
49
|
fulfilledMeta?: unknown;
|
|
73
50
|
rejectedMeta?: unknown;
|
|
74
51
|
}>;
|
|
75
|
-
declare const _default: import('redux').Reducer<ConnectorState>;
|
|
52
|
+
declare const _default: import('redux').Reducer<import('./initial-state').ConnectorState>;
|
|
76
53
|
export default _default;
|
|
77
|
-
export declare const actions: import('@reduxjs/toolkit').CaseReducerActions<{
|
|
78
|
-
|
|
79
|
-
clearSelectedConnector: (state: import('immer').WritableDraft<ConnectorState>) => void;
|
|
80
|
-
}, "connectorLibrary">;
|
|
81
|
-
export { fetchConnectorTemplates, fetchConnectors, fetchTemplateDetails, selectConnectorTemplateList, selectConnectorTemplates, selectCurrentTemplateData, updateConnectorDetailsApi };
|
|
54
|
+
export declare const actions: import('@reduxjs/toolkit').CaseReducerActions<{}, "connectorLibrary">;
|
|
55
|
+
export { fetchConnectors, updateConnectorDetailsApi, fetchConnectorDetails };
|
|
82
56
|
//# 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":"AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD,eAAO,MAAM,qBAAqB,6MAmDhC,CAAC;AAIH,QAAA,MAAM,yBAAyB;;YAER,MAAM;iBAAW,OAAO;;;QAAxB,MAAM;aAAW,OAAO;;;;;;;;;;EAI9C,CAAC;AAEF,QAAA,MAAM,eAAe;;;;;;;;;;;;;;EAkBnB,CAAC;AAEH,QAAA,MAAM,qBAAqB;;;;eAUK,iBAAiB;;;;;;;;;;;EAG/C,CAAC;;AAEH,wBAA6C;AAC7C,eAAO,MAAM,OAAO,uEAAgC,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface IUpdateConnectorDetails {
|
|
2
|
+
id: string;
|
|
3
|
+
enabled: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare const getConnectorTempelates: () => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
6
|
+
export declare const getConnectorTemplateDetails: (templateId: string) => Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/template-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,2BAA2B,eAAgB,MAAM,iEAK7D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"library-card-list.test.d.ts","sourceRoot":"","sources":["../../../../../../src/features/template-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/template-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/template-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/template-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/template-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/template-library/components/library-edit-list/index.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/features/template-library/components/library-edit-list/styles.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/features/template-library/constants/api.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,EAAE,MAAsC,CAAC;AAClE,eAAO,MAAM,oBAAoB,EAAE,MAAgD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-page.d.ts","sourceRoot":"","sources":["../../../../src/features/template-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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ApiStatus } from '../../../types/api';
|
|
2
|
+
import { IConnectorDetails, ConnectorId } from '../../../types/connector';
|
|
3
|
+
export interface ConnectorState {
|
|
4
|
+
connectorTemplates: {
|
|
5
|
+
[key: ConnectorId]: IConnectorDetails;
|
|
6
|
+
} | null;
|
|
7
|
+
connectorTemplateList: ConnectorId[];
|
|
8
|
+
templateListApiStatus: ApiStatus;
|
|
9
|
+
connectorsApiStatus: ApiStatus;
|
|
10
|
+
templateDetailsApiStatus: ApiStatus;
|
|
11
|
+
selectedConnector?: string | null;
|
|
12
|
+
selectedTemplateData?: IConnectorDetails | null;
|
|
13
|
+
}
|
|
14
|
+
export declare const initialState: ConnectorState;
|
|
15
|
+
//# sourceMappingURL=initial-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"initial-state.d.ts","sourceRoot":"","sources":["../../../../src/features/template-library/store/initial-state.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAExE,MAAM,WAAW,cAAc;IAC7B,kBAAkB,EAAE;QAAE,CAAC,GAAG,EAAE,WAAW,GAAG,iBAAiB,CAAA;KAAE,GAAG,IAAI,CAAC;IACrE,qBAAqB,EAAE,WAAW,EAAE,CAAC;IACrC,qBAAqB,EAAE,SAAS,CAAC;IACjC,mBAAmB,EAAE,SAAS,CAAC;IAC/B,wBAAwB,EAAE,SAAS,CAAC;IACpC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,oBAAoB,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;CACjD;AAGD,eAAO,MAAM,YAAY,EAAE,cAO1B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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').IConnectorDetails;
|
|
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;
|
|
8
|
+
export declare const selectTemplateDetailsApiStatus: (state: RootState) => import('../../../types/api').ApiStatus;
|
|
9
|
+
//# sourceMappingURL=selectors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../src/features/template-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,4EAA+C,CAAC;AAC1G,eAAO,MAAM,2BAA2B,UAAW,SAAS,2CAAgD,CAAC;AAC7G,eAAO,MAAM,8BAA8B,UAAW,SAAS,2CAAmD,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { IConnectorDetails } from '../../../types/connector';
|
|
2
|
+
import { selectConnectorTemplateList, selectConnectorTemplates, selectCurrentTemplateData } from './selectors';
|
|
3
|
+
export declare const connectorLibrarySlice: import('@reduxjs/toolkit').Slice<import('./initial-state').ConnectorState, {
|
|
4
|
+
clearSelectedTemplate: (state: import('immer').WritableDraft<import('./initial-state').ConnectorState>) => void;
|
|
5
|
+
}, "templateLibrary", "templateLibrary", import('@reduxjs/toolkit').SliceSelectors<import('./initial-state').ConnectorState>>;
|
|
6
|
+
declare const fetchConnectorTemplates: import('@reduxjs/toolkit').AsyncThunk<{
|
|
7
|
+
connectors: {
|
|
8
|
+
[k: string]: IConnectorDetails;
|
|
9
|
+
};
|
|
10
|
+
connectorList: string[];
|
|
11
|
+
}, void, {
|
|
12
|
+
state?: unknown;
|
|
13
|
+
dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
|
|
14
|
+
extra?: unknown;
|
|
15
|
+
rejectValue?: unknown;
|
|
16
|
+
serializedErrorType?: unknown;
|
|
17
|
+
pendingMeta?: unknown;
|
|
18
|
+
fulfilledMeta?: unknown;
|
|
19
|
+
rejectedMeta?: unknown;
|
|
20
|
+
}>;
|
|
21
|
+
declare const fetchTemplateDetails: import('@reduxjs/toolkit').AsyncThunk<{
|
|
22
|
+
selectedTemplateData: null;
|
|
23
|
+
} | {
|
|
24
|
+
selectedTemplateData: IConnectorDetails;
|
|
25
|
+
}, string, {
|
|
26
|
+
state?: unknown;
|
|
27
|
+
dispatch?: import('redux-thunk').ThunkDispatch<unknown, unknown, import('redux').UnknownAction>;
|
|
28
|
+
extra?: unknown;
|
|
29
|
+
rejectValue?: unknown;
|
|
30
|
+
serializedErrorType?: unknown;
|
|
31
|
+
pendingMeta?: unknown;
|
|
32
|
+
fulfilledMeta?: unknown;
|
|
33
|
+
rejectedMeta?: unknown;
|
|
34
|
+
}>;
|
|
35
|
+
declare const _default: import('redux').Reducer<import('./initial-state').ConnectorState>;
|
|
36
|
+
export default _default;
|
|
37
|
+
export declare const actions: import('@reduxjs/toolkit').CaseReducerActions<{
|
|
38
|
+
clearSelectedTemplate: (state: import('immer').WritableDraft<import('./initial-state').ConnectorState>) => void;
|
|
39
|
+
}, "templateLibrary">;
|
|
40
|
+
export { fetchConnectorTemplates, fetchTemplateDetails, selectConnectorTemplateList, selectConnectorTemplates, selectCurrentTemplateData };
|
|
41
|
+
//# sourceMappingURL=slice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slice.d.ts","sourceRoot":"","sources":["../../../../src/features/template-library/store/slice.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,2BAA2B,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AAE/G,eAAO,MAAM,qBAAqB;;6HAkChC,CAAC;AAIH,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;EAiB3B,CAAC;AAEH,QAAA,MAAM,oBAAoB;;;0BASiB,iBAAiB;;;;;;;;;;EAE1D,CAAC;;AAEH,wBAA6C;AAC7C,eAAO,MAAM,OAAO;;qBAAgC,CAAC;AACrD,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACpB,2BAA2B,EAC3B,wBAAwB,EACxB,yBAAyB,EAC1B,CAAC"}
|