@evlop/commons 1.0.293 → 1.0.295
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/cjs/src/actions/restApi.d.ts +4 -0
- package/dist/cjs/src/actions/restApi.d.ts.map +1 -1
- package/dist/cjs/src/actions/restApi.js.map +1 -1
- package/dist/cjs/src/constants/clientSpecific.app.d.ts +2 -0
- package/dist/cjs/src/constants/clientSpecific.app.d.ts.map +1 -0
- package/dist/cjs/src/constants/clientSpecific.app.js +5 -0
- package/dist/cjs/src/constants/clientSpecific.app.js.map +1 -0
- package/dist/cjs/src/constants/clientSpecific.d.ts +2 -0
- package/dist/cjs/src/constants/clientSpecific.d.ts.map +1 -0
- package/dist/cjs/src/constants/clientSpecific.js +5 -0
- package/dist/cjs/src/constants/clientSpecific.js.map +1 -0
- package/dist/cjs/src/constants/index.d.ts +3 -2
- package/dist/cjs/src/constants/index.d.ts.map +1 -1
- package/dist/cjs/src/constants/index.js +5 -1
- package/dist/cjs/src/constants/index.js.map +1 -1
- package/dist/cjs/src/constants/platformSpecific.d.ts +5 -0
- package/dist/cjs/src/constants/platformSpecific.d.ts.map +1 -1
- package/dist/cjs/src/constants/platformSpecific.js +6 -1
- package/dist/cjs/src/constants/platformSpecific.js.map +1 -1
- package/dist/cjs/src/constants/platformSpecific.native.d.ts +5 -0
- package/dist/cjs/src/constants/platformSpecific.native.d.ts.map +1 -1
- package/dist/cjs/src/constants/platformSpecific.native.js +6 -1
- package/dist/cjs/src/constants/platformSpecific.native.js.map +1 -1
- package/dist/cjs/src/helpers/axiosClient.d.ts.map +1 -1
- package/dist/cjs/src/helpers/axiosClient.js +5 -0
- package/dist/cjs/src/helpers/axiosClient.js.map +1 -1
- package/dist/cjs/src/reducers/collection.d.ts +12 -0
- package/dist/cjs/src/reducers/collection.d.ts.map +1 -1
- package/dist/cjs/src/reducers/session.d.ts +2 -0
- package/dist/cjs/src/reducers/session.d.ts.map +1 -1
- package/dist/esm/src/actions/restApi.d.ts +4 -0
- package/dist/esm/src/actions/restApi.d.ts.map +1 -1
- package/dist/esm/src/actions/restApi.js.map +1 -1
- package/dist/esm/src/constants/clientSpecific.app.d.ts +2 -0
- package/dist/esm/src/constants/clientSpecific.app.d.ts.map +1 -0
- package/dist/esm/src/constants/clientSpecific.app.js +2 -0
- package/dist/esm/src/constants/clientSpecific.app.js.map +1 -0
- package/dist/esm/src/constants/clientSpecific.d.ts +2 -0
- package/dist/esm/src/constants/clientSpecific.d.ts.map +1 -0
- package/dist/esm/src/constants/clientSpecific.js +2 -0
- package/dist/esm/src/constants/clientSpecific.js.map +1 -0
- package/dist/esm/src/constants/index.d.ts +3 -2
- package/dist/esm/src/constants/index.d.ts.map +1 -1
- package/dist/esm/src/constants/index.js +3 -2
- package/dist/esm/src/constants/index.js.map +1 -1
- package/dist/esm/src/constants/platformSpecific.d.ts +5 -0
- package/dist/esm/src/constants/platformSpecific.d.ts.map +1 -1
- package/dist/esm/src/constants/platformSpecific.js +5 -0
- package/dist/esm/src/constants/platformSpecific.js.map +1 -1
- package/dist/esm/src/constants/platformSpecific.native.d.ts +5 -0
- package/dist/esm/src/constants/platformSpecific.native.d.ts.map +1 -1
- package/dist/esm/src/constants/platformSpecific.native.js +6 -1
- package/dist/esm/src/constants/platformSpecific.native.js.map +1 -1
- package/dist/esm/src/helpers/axiosClient.d.ts.map +1 -1
- package/dist/esm/src/helpers/axiosClient.js +6 -1
- package/dist/esm/src/helpers/axiosClient.js.map +1 -1
- package/dist/esm/src/reducers/collection.d.ts +12 -0
- package/dist/esm/src/reducers/collection.d.ts.map +1 -1
- package/dist/esm/src/reducers/session.d.ts +2 -0
- package/dist/esm/src/reducers/session.d.ts.map +1 -1
- package/dist/types/src/actions/restApi.d.ts +4 -0
- package/dist/types/src/actions/restApi.d.ts.map +1 -1
- package/dist/types/src/constants/clientSpecific.app.d.ts +2 -0
- package/dist/types/src/constants/clientSpecific.app.d.ts.map +1 -0
- package/dist/types/src/constants/clientSpecific.d.ts +2 -0
- package/dist/types/src/constants/clientSpecific.d.ts.map +1 -0
- package/dist/types/src/constants/index.d.ts +3 -2
- package/dist/types/src/constants/index.d.ts.map +1 -1
- package/dist/types/src/constants/platformSpecific.d.ts +5 -0
- package/dist/types/src/constants/platformSpecific.d.ts.map +1 -1
- package/dist/types/src/constants/platformSpecific.native.d.ts +5 -0
- package/dist/types/src/constants/platformSpecific.native.d.ts.map +1 -1
- package/dist/types/src/helpers/axiosClient.d.ts.map +1 -1
- package/dist/types/src/reducers/collection.d.ts +12 -0
- package/dist/types/src/reducers/collection.d.ts.map +1 -1
- package/dist/types/src/reducers/session.d.ts +2 -0
- package/dist/types/src/reducers/session.d.ts.map +1 -1
- package/package.json +1 -1
@@ -16,6 +16,8 @@ interface RequestOptions {
|
|
16
16
|
[key: string]: any;
|
17
17
|
};
|
18
18
|
key?: string;
|
19
|
+
headers?: Record<string, string>;
|
20
|
+
params?: Record<string, string>;
|
19
21
|
}
|
20
22
|
export declare const request: (path: string, data?: any, options?: RequestOptions) => {
|
21
23
|
method: string;
|
@@ -26,6 +28,8 @@ export declare const request: (path: string, data?: any, options?: RequestOption
|
|
26
28
|
[key: string]: any;
|
27
29
|
};
|
28
30
|
key?: string;
|
31
|
+
headers?: Record<string, string>;
|
32
|
+
params?: Record<string, string>;
|
29
33
|
isRestRequest: boolean;
|
30
34
|
endpoint: string;
|
31
35
|
data: any;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"restApi.d.ts","sourceRoot":"","sources":["../../../../src/actions/restApi.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,GAAG,QAAQ,CAAC;AACzB,eAAO,MAAM,IAAI,SAAS,CAAC;AAC3B,eAAO,MAAM,GAAG,QAAQ,CAAC;AACzB,eAAO,MAAM,KAAK,UAAU,CAAC;AAC7B,eAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,oBAAoB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C,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC;AAED,eAAO,MAAM,OAAO,SAAU,MAAM,SAAQ,GAAG,YAAiB,cAAc;;;gBAP9B,CAAC;;;;;UAEvC,MAAM;cACF,OAAO,MAAM,EAAE,MAAM,CAAC;aACvB,OAAO,MAAM,EAAE,MAAM,CAAC;;;;CAUjC,CAAC;AAEH,eAAO,MAAM,aAAa,QAAS,MAAM;;;CAAkC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"restApi.js","sourceRoot":"","sources":["../../../../src/actions/restApi.tsx"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG,KAAK,CAAC;AACZ,QAAA,IAAI,GAAG,MAAM,CAAC;AACd,QAAA,GAAG,GAAG,KAAK,CAAC;AACZ,QAAA,KAAK,GAAG,OAAO,CAAC;AAChB,QAAA,MAAM,GAAG,QAAQ,CAAC;AAElB,QAAA,kBAAkB,GAAG,oBAAoB,CAAC;AAC1C,QAAA,oBAAoB,GAAG,sBAAsB,CAAC;AAC9C,QAAA,mBAAmB,GAAG,qBAAqB,CAAC;AAE5C,QAAA,gBAAgB,GAAG,kBAAkB,CAAC;
|
1
|
+
{"version":3,"file":"restApi.js","sourceRoot":"","sources":["../../../../src/actions/restApi.tsx"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG,KAAK,CAAC;AACZ,QAAA,IAAI,GAAG,MAAM,CAAC;AACd,QAAA,GAAG,GAAG,KAAK,CAAC;AACZ,QAAA,KAAK,GAAG,OAAO,CAAC;AAChB,QAAA,MAAM,GAAG,QAAQ,CAAC;AAElB,QAAA,kBAAkB,GAAG,oBAAoB,CAAC;AAC1C,QAAA,oBAAoB,GAAG,sBAAsB,CAAC;AAC9C,QAAA,mBAAmB,GAAG,qBAAqB,CAAC;AAE5C,QAAA,gBAAgB,GAAG,kBAAkB,CAAC;AAW5C,MAAM,OAAO,GAAG,CAAC,IAAY,EAAE,OAAY,EAAE,EAAE,OAAwB,EAAC,EAAE,CAAA,CAAC;IAC9E,aAAa,EAAE,IAAI;IACnB,KAAK,EAAC,CAAC,0BAAkB,EAAE,4BAAoB,EAAE,2BAAmB,CAAC;IACrE,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,WAAG;IACX,IAAI;IACJ,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC;CACrB,CAAC,CAAC;AAPU,QAAA,OAAO,WAOjB;AAEI,MAAM,aAAa,GAAG,CAAC,GAAW,EAAC,EAAE,CAAA,CAAC,EAAC,IAAI,EAAE,wBAAgB,EAAE,GAAG,EAAC,CAAC,CAAA;AAA9D,QAAA,aAAa,iBAAiD"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"clientSpecific.app.d.ts","sourceRoot":"","sources":["../../../../src/constants/clientSpecific.app.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,QAAQ,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"clientSpecific.app.js","sourceRoot":"","sources":["../../../../src/constants/clientSpecific.app.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG,KAAK,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"clientSpecific.d.ts","sourceRoot":"","sources":["../../../../src/constants/clientSpecific.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,YAAY,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"clientSpecific.js","sourceRoot":"","sources":["../../../../src/constants/clientSpecific.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG,SAAS,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { API_BASE_URL, SOCKET_URL, BUILD_VERSION, AXIOS_RETRY_COUNT } from './platformSpecific';
|
1
|
+
import { PLATFORM_OS, API_BASE_URL, SOCKET_URL, BUILD_VERSION, BUNDLE_VERSION, AXIOS_RETRY_COUNT } from './platformSpecific';
|
2
|
+
import { CLIENT_TYPE } from './clientSpecific.app';
|
2
3
|
export declare const isNode: boolean;
|
3
4
|
export declare const IS_SSR: boolean;
|
4
5
|
export declare const DIRECTION_TOP = "direction/Top";
|
@@ -9,6 +10,6 @@ export declare const VERTICAL_LAYOUT = "layout/vertical";
|
|
9
10
|
export declare const HORIZONTAL_LAYOUT = "layout/horizontal";
|
10
11
|
export declare const TYPE_COMPONENT = "type/component";
|
11
12
|
export declare const DATA_SOURCE_KEY_NAMESPACE = "a0aec1c8-4fed-4d5d-b399-504887b3b8e4";
|
12
|
-
export { API_BASE_URL, SOCKET_URL, BUILD_VERSION, AXIOS_RETRY_COUNT };
|
13
|
+
export { API_BASE_URL, SOCKET_URL, BUILD_VERSION, BUNDLE_VERSION, AXIOS_RETRY_COUNT, PLATFORM_OS, CLIENT_TYPE };
|
13
14
|
export { default as iconInfo, IconIdentifier, getIconInfo } from './iconInfo';
|
14
15
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/constants/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/constants/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC7H,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAInD,eAAO,MAAM,MAAM,SAAiC,CAAC;AAErD,eAAO,MAAM,MAAM,SAA0E,CAAC;AAE9F,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAG/C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AAErD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAE/C,eAAO,MAAM,yBAAyB,yCAAyC,CAAC;AAChF,OAAO,EAAC,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,WAAW,EAAE,WAAW,EAAC,CAAA;AAE7G,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC"}
|
@@ -3,12 +3,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.getIconInfo = exports.iconInfo = exports.AXIOS_RETRY_COUNT = exports.BUILD_VERSION = exports.SOCKET_URL = exports.API_BASE_URL = exports.DATA_SOURCE_KEY_NAMESPACE = exports.TYPE_COMPONENT = exports.HORIZONTAL_LAYOUT = exports.VERTICAL_LAYOUT = exports.DIRECTION_LEFT = exports.DIRECTION_BOTTOM = exports.DIRECTION_RIGHT = exports.DIRECTION_TOP = exports.IS_SSR = exports.isNode = void 0;
|
6
|
+
exports.getIconInfo = exports.iconInfo = exports.CLIENT_TYPE = exports.PLATFORM_OS = exports.AXIOS_RETRY_COUNT = exports.BUNDLE_VERSION = exports.BUILD_VERSION = exports.SOCKET_URL = exports.API_BASE_URL = exports.DATA_SOURCE_KEY_NAMESPACE = exports.TYPE_COMPONENT = exports.HORIZONTAL_LAYOUT = exports.VERTICAL_LAYOUT = exports.DIRECTION_LEFT = exports.DIRECTION_BOTTOM = exports.DIRECTION_RIGHT = exports.DIRECTION_TOP = exports.IS_SSR = exports.isNode = void 0;
|
7
7
|
const platformSpecific_1 = require("./platformSpecific");
|
8
|
+
Object.defineProperty(exports, "PLATFORM_OS", { enumerable: true, get: function () { return platformSpecific_1.PLATFORM_OS; } });
|
8
9
|
Object.defineProperty(exports, "API_BASE_URL", { enumerable: true, get: function () { return platformSpecific_1.API_BASE_URL; } });
|
9
10
|
Object.defineProperty(exports, "SOCKET_URL", { enumerable: true, get: function () { return platformSpecific_1.SOCKET_URL; } });
|
10
11
|
Object.defineProperty(exports, "BUILD_VERSION", { enumerable: true, get: function () { return platformSpecific_1.BUILD_VERSION; } });
|
12
|
+
Object.defineProperty(exports, "BUNDLE_VERSION", { enumerable: true, get: function () { return platformSpecific_1.BUNDLE_VERSION; } });
|
11
13
|
Object.defineProperty(exports, "AXIOS_RETRY_COUNT", { enumerable: true, get: function () { return platformSpecific_1.AXIOS_RETRY_COUNT; } });
|
14
|
+
const clientSpecific_app_1 = require("./clientSpecific.app");
|
15
|
+
Object.defineProperty(exports, "CLIENT_TYPE", { enumerable: true, get: function () { return clientSpecific_app_1.CLIENT_TYPE; } });
|
12
16
|
exports.isNode = typeof process !== 'undefined';
|
13
17
|
exports.IS_SSR = exports.isNode && ['true', '1'].includes(String(process.env.SSR).toLowerCase());
|
14
18
|
exports.DIRECTION_TOP = "direction/Top";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/constants/index.tsx"],"names":[],"mappings":";;;;;;AAAA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/constants/index.tsx"],"names":[],"mappings":";;;;;;AAAA,yDAA6H;AAqBzC,4FArB3E,8BAAW,OAqB2E;AAAvF,6FArBc,+BAAY,OAqBd;AAAE,2FArBc,6BAAU,OAqBd;AAAE,8FArBc,gCAAa,OAqBd;AAAE,+FArBc,iCAAc,OAqBd;AAAE,kGArBc,oCAAiB,OAqBd;AApBlF,6DAAmD;AAoB8C,4FApBxF,gCAAW,OAoBwF;AAhB/F,QAAA,MAAM,GAAG,OAAO,OAAO,KAAK,WAAW,CAAC;AAExC,QAAA,MAAM,GAAG,cAAM,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;AAEjF,QAAA,aAAa,GAAG,eAAe,CAAC;AAChC,QAAA,eAAe,GAAG,iBAAiB,CAAC;AACpC,QAAA,gBAAgB,GAAG,kBAAkB,CAAC;AACtC,QAAA,cAAc,GAAG,gBAAgB,CAAC;AAGlC,QAAA,eAAe,GAAG,iBAAiB,CAAC;AACpC,QAAA,iBAAiB,GAAG,mBAAmB,CAAC;AAExC,QAAA,cAAc,GAAG,gBAAgB,CAAC;AAElC,QAAA,yBAAyB,GAAG,sCAAsC,CAAC;AAGhF,uCAA8E;AAArE,qHAAA,OAAO,OAAY;AAAkB,uGAAA,WAAW,OAAA"}
|
@@ -1,5 +1,10 @@
|
|
1
1
|
export declare const API_BASE_URL: string;
|
2
2
|
export declare const SOCKET_URL: string;
|
3
|
+
/**
|
4
|
+
* @deprecated Use BUNDLE_VERSION instead
|
5
|
+
*/
|
3
6
|
export declare const BUILD_VERSION: string;
|
7
|
+
export declare const BUNDLE_VERSION: string;
|
4
8
|
export declare const AXIOS_RETRY_COUNT = 0;
|
9
|
+
export declare const PLATFORM_OS = "web";
|
5
10
|
//# sourceMappingURL=platformSpecific.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformSpecific.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,QAAiE,CAAC;AAC3F,eAAO,MAAM,UAAU,QAA6E,CAAC;AACrG,eAAO,MAAM,aAAa,QAAiC,CAAC;AAC5D,eAAO,MAAM,iBAAiB,IAAI,CAAC"}
|
1
|
+
{"version":3,"file":"platformSpecific.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,QAAiE,CAAC;AAC3F,eAAO,MAAM,UAAU,QAA6E,CAAC;AACrG;;GAEG;AACH,eAAO,MAAM,aAAa,QAAiC,CAAC;AAC5D,eAAO,MAAM,cAAc,QAAiC,CAAC;AAC7D,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,WAAW,QAAQ,CAAC"}
|
@@ -1,8 +1,13 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.AXIOS_RETRY_COUNT = exports.BUILD_VERSION = exports.SOCKET_URL = exports.API_BASE_URL = void 0;
|
3
|
+
exports.PLATFORM_OS = exports.AXIOS_RETRY_COUNT = exports.BUNDLE_VERSION = exports.BUILD_VERSION = exports.SOCKET_URL = exports.API_BASE_URL = void 0;
|
4
4
|
exports.API_BASE_URL = process.env.API_BASE_URL || process.env.REACT_APP_API_BASE_URL;
|
5
5
|
exports.SOCKET_URL = process.env.SOCKET_URL || process.env.REACT_APP_SOCKET_URL || exports.API_BASE_URL;
|
6
|
+
/**
|
7
|
+
* @deprecated Use BUNDLE_VERSION instead
|
8
|
+
*/
|
6
9
|
exports.BUILD_VERSION = process.env.BUILD_VERSION_CODE;
|
10
|
+
exports.BUNDLE_VERSION = process.env.BUILD_VERSION_CODE;
|
7
11
|
exports.AXIOS_RETRY_COUNT = 0;
|
12
|
+
exports.PLATFORM_OS = 'web';
|
8
13
|
//# sourceMappingURL=platformSpecific.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformSpecific.js","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC;AAC9E,QAAA,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAoB,IAAI,oBAAY,CAAC;
|
1
|
+
{"version":3,"file":"platformSpecific.js","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC;AAC9E,QAAA,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAoB,IAAI,oBAAY,CAAC;AACrG;;GAEG;AACU,QAAA,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC;AAC/C,QAAA,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC;AAChD,QAAA,iBAAiB,GAAG,CAAC,CAAC;AACtB,QAAA,WAAW,GAAG,KAAK,CAAC"}
|
@@ -1,6 +1,11 @@
|
|
1
1
|
export declare const API_BASE_URL: any;
|
2
2
|
export declare const SOCKET_URL: any;
|
3
3
|
export declare const APP_NAME: any;
|
4
|
+
/**
|
5
|
+
* @deprecated Use BUNDLE_VERSION instead
|
6
|
+
*/
|
4
7
|
export declare const BUILD_VERSION: string;
|
8
|
+
export declare const BUNDLE_VERSION: string;
|
5
9
|
export declare const AXIOS_RETRY_COUNT: number;
|
10
|
+
export declare const PLATFORM_OS: "web" | "android" | "windows" | "ios" | "macos";
|
6
11
|
//# sourceMappingURL=platformSpecific.native.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformSpecific.native.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.native.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,KAAmG,CAAC;AAC7H,eAAO,MAAM,UAAU,KAA6E,CAAC;AACrG,eAAO,MAAM,QAAQ,KAA4B,CAAC;
|
1
|
+
{"version":3,"file":"platformSpecific.native.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.native.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,KAAmG,CAAC;AAC7H,eAAO,MAAM,UAAU,KAA6E,CAAC;AACrG,eAAO,MAAM,QAAQ,KAA4B,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,aAAa,QAAiC,CAAC;AAC5D,eAAO,MAAM,cAAc,QAAiC,CAAC;AAC7D,eAAO,MAAM,iBAAiB,QAAW,CAAC;AAC1C,eAAO,MAAM,WAAW,iDAAc,CAAC"}
|
@@ -1,11 +1,16 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.AXIOS_RETRY_COUNT = exports.BUILD_VERSION = exports.APP_NAME = exports.SOCKET_URL = exports.API_BASE_URL = void 0;
|
3
|
+
exports.PLATFORM_OS = exports.AXIOS_RETRY_COUNT = exports.BUNDLE_VERSION = exports.BUILD_VERSION = exports.APP_NAME = exports.SOCKET_URL = exports.API_BASE_URL = void 0;
|
4
4
|
const react_native_1 = require("react-native");
|
5
5
|
const { AppConstants } = react_native_1.NativeModules;
|
6
6
|
exports.API_BASE_URL = AppConstants.getApiBaseUrl() || (process.env.API_BASE_URL || process.env.REACT_APP_API_BASE_URL);
|
7
7
|
exports.SOCKET_URL = process.env.SOCKET_URL || process.env.REACT_APP_SOCKET_URL || exports.API_BASE_URL;
|
8
8
|
exports.APP_NAME = AppConstants.getAppName();
|
9
|
+
/**
|
10
|
+
* @deprecated Use BUNDLE_VERSION instead
|
11
|
+
*/
|
9
12
|
exports.BUILD_VERSION = process.env.BUILD_VERSION_CODE;
|
13
|
+
exports.BUNDLE_VERSION = process.env.BUILD_VERSION_CODE;
|
10
14
|
exports.AXIOS_RETRY_COUNT = Infinity;
|
15
|
+
exports.PLATFORM_OS = react_native_1.Platform.OS;
|
11
16
|
//# sourceMappingURL=platformSpecific.native.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformSpecific.native.js","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.native.ts"],"names":[],"mappings":";;;AAAA,+
|
1
|
+
{"version":3,"file":"platformSpecific.native.js","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.native.ts"],"names":[],"mappings":";;;AAAA,+CAAqD;AACrD,MAAM,EAAC,YAAY,EAAC,GAAG,4BAAa,CAAC;AAExB,QAAA,YAAY,GAAG,YAAY,CAAC,aAAa,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC;AAChH,QAAA,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAoB,IAAI,oBAAY,CAAC;AACxF,QAAA,QAAQ,GAAG,YAAY,CAAC,UAAU,EAAE,CAAC;AAElD;;GAEG;AACU,QAAA,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC;AAC/C,QAAA,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC;AAChD,QAAA,iBAAiB,GAAG,QAAQ,CAAC;AAC7B,QAAA,WAAW,GAAG,uBAAQ,CAAC,EAAE,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"axiosClient.d.ts","sourceRoot":"","sources":["../../../../src/helpers/axiosClient.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,+
|
1
|
+
{"version":3,"file":"axiosClient.d.ts","sourceRoot":"","sources":["../../../../src/helpers/axiosClient.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,+BAOtB,CAAC;AAOF,eAAe,WAAW,CAAC"}
|
@@ -9,6 +9,11 @@ const constants_1 = require("../constants");
|
|
9
9
|
const axios_retry_1 = __importDefault(require("axios-retry"));
|
10
10
|
exports.axiosClient = axios_1.default.create({
|
11
11
|
baseURL: constants_1.API_BASE_URL || '/api',
|
12
|
+
headers: {
|
13
|
+
'x-platform-os': constants_1.PLATFORM_OS,
|
14
|
+
'x-bundle-version': constants_1.BUILD_VERSION,
|
15
|
+
'x-client-type': constants_1.CLIENT_TYPE
|
16
|
+
}
|
12
17
|
});
|
13
18
|
axios_retry_1.default(exports.axiosClient, {
|
14
19
|
retries: constants_1.AXIOS_RETRY_COUNT,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"axiosClient.js","sourceRoot":"","sources":["../../../../src/helpers/axiosClient.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,
|
1
|
+
{"version":3,"file":"axiosClient.js","sourceRoot":"","sources":["../../../../src/helpers/axiosClient.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,4CAAwG;AACxG,8DAAqC;AAExB,QAAA,WAAW,GAAG,eAAK,CAAC,MAAM,CAAC;IACpC,OAAO,EAAE,wBAAY,IAAI,MAAM;IAC/B,OAAO,EAAE;QACL,eAAe,EAAE,uBAAW;QAC5B,kBAAkB,EAAE,yBAAa;QACjC,eAAe,EAAE,uBAAW;KAC/B;CACJ,CAAC,CAAC;AAEH,qBAAU,CAAC,mBAAW,EAAE;IACpB,OAAO,EAAE,6BAAiB;IAC1B,UAAU,EAAE,CAAC,WAAW,EAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,qBAAU,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC;CACvF,CAAC,CAAC;AAEH,kBAAe,mBAAW,CAAC"}
|
@@ -44,6 +44,8 @@ export declare function getCollection(collectionName: string, { page, pageSize,
|
|
44
44
|
[key: string]: any;
|
45
45
|
};
|
46
46
|
key?: string;
|
47
|
+
headers?: Record<string, string>;
|
48
|
+
params?: Record<string, string>;
|
47
49
|
isRestRequest: boolean;
|
48
50
|
endpoint: string;
|
49
51
|
data: any;
|
@@ -57,6 +59,8 @@ export declare function collectionLoadMore(collectionName: string, { page, sort,
|
|
57
59
|
[key: string]: any;
|
58
60
|
};
|
59
61
|
key?: string;
|
62
|
+
headers?: Record<string, string>;
|
63
|
+
params?: Record<string, string>;
|
60
64
|
isRestRequest: boolean;
|
61
65
|
endpoint: string;
|
62
66
|
data: any;
|
@@ -70,6 +74,8 @@ export declare function collectionGetRecord(collectionName: string, id: string,
|
|
70
74
|
[key: string]: any;
|
71
75
|
};
|
72
76
|
key?: string;
|
77
|
+
headers?: Record<string, string>;
|
78
|
+
params?: Record<string, string>;
|
73
79
|
isRestRequest: boolean;
|
74
80
|
endpoint: string;
|
75
81
|
data: any;
|
@@ -84,6 +90,8 @@ export declare function collectionAddRecord(collectionName: string, data: any):
|
|
84
90
|
[key: string]: any;
|
85
91
|
};
|
86
92
|
key?: string;
|
93
|
+
headers?: Record<string, string>;
|
94
|
+
params?: Record<string, string>;
|
87
95
|
isRestRequest: boolean;
|
88
96
|
endpoint: string;
|
89
97
|
data: any;
|
@@ -98,6 +106,8 @@ export declare function collectionDeleteRecord(collectionName: string, id: strin
|
|
98
106
|
[key: string]: any;
|
99
107
|
};
|
100
108
|
key?: string;
|
109
|
+
headers?: Record<string, string>;
|
110
|
+
params?: Record<string, string>;
|
101
111
|
isRestRequest: boolean;
|
102
112
|
endpoint: string;
|
103
113
|
data: any;
|
@@ -112,6 +122,8 @@ export declare function collectionUpdateRecord(collectionName: string, id: strin
|
|
112
122
|
[key: string]: any;
|
113
123
|
};
|
114
124
|
key?: string;
|
125
|
+
headers?: Record<string, string>;
|
126
|
+
params?: Record<string, string>;
|
115
127
|
isRestRequest: boolean;
|
116
128
|
endpoint: string;
|
117
129
|
data: any;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../../src/reducers/collection.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,gCAAgC,CAAC;AAC9D,eAAO,MAAM,cAAc,8BAA8B,CAAC;AAE1D,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAC3E,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAC3E,eAAO,MAAM,2B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Record<string, string>;
|
26
|
+
params?: Record<string, string>;
|
25
27
|
isRestRequest: boolean;
|
26
28
|
endpoint: string;
|
27
29
|
data: any;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../../../src/reducers/session.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AACrD,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAE7C,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAC7E,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAC7E,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAE3E,eAAO,MAAM,eAAe,QAAQ,MAAM,SAAS,GAAG;;;;CAIpD,CAAC;AAEH,eAAO,MAAM,gBAAgB,WAAY,MAAM;;;CAG7C,CAAC;AAEH,eAAO,MAAM,uBAAuB,cAAc,MAAM,UAAU,MAAM
|
1
|
+
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../../../src/reducers/session.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AACrD,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAE7C,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAC7E,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAC7E,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAE3E,eAAO,MAAM,eAAe,QAAQ,MAAM,SAAS,GAAG;;;;CAIpD,CAAC;AAEH,eAAO,MAAM,gBAAgB,WAAY,MAAM;;;CAG7C,CAAC;AAEH,eAAO,MAAM,uBAAuB,cAAc,MAAM,UAAU,MAAM;;;;;;;;;;;;;;CAQvE,CAAA;AAED,eAAO,MAAM,YAAY;;CAEvB,CAAC;AAUH,QAAA,MAAM,OAAO;;;;;;;;;;;CA6DZ,CAAC;AAGF,eAAe,OAAO,CAAC"}
|
@@ -16,6 +16,8 @@ interface RequestOptions {
|
|
16
16
|
[key: string]: any;
|
17
17
|
};
|
18
18
|
key?: string;
|
19
|
+
headers?: Record<string, string>;
|
20
|
+
params?: Record<string, string>;
|
19
21
|
}
|
20
22
|
export declare const request: (path: string, data?: any, options?: RequestOptions) => {
|
21
23
|
method: string;
|
@@ -26,6 +28,8 @@ export declare const request: (path: string, data?: any, options?: RequestOption
|
|
26
28
|
[key: string]: any;
|
27
29
|
};
|
28
30
|
key?: string;
|
31
|
+
headers?: Record<string, string>;
|
32
|
+
params?: Record<string, string>;
|
29
33
|
isRestRequest: boolean;
|
30
34
|
endpoint: string;
|
31
35
|
data: any;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"restApi.d.ts","sourceRoot":"","sources":["../../../../src/actions/restApi.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,GAAG,QAAQ,CAAC;AACzB,eAAO,MAAM,IAAI,SAAS,CAAC;AAC3B,eAAO,MAAM,GAAG,QAAQ,CAAC;AACzB,eAAO,MAAM,KAAK,UAAU,CAAC;AAC7B,eAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,oBAAoB,yBAAyB,CAAC;AAC3D,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AAEzD,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AAEnD,UAAU,cAAc;IACpB,MAAM,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;IACrD,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG;QAAC,MAAM,EAAE,CAAC,CAAA;KAAC,CAAC;IAC/C,UAAU,CAAC,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAC,CAAC;IAClC,GAAG,CAAC,EAAE,MAAM,CAAC;
|
1
|
+
{"version":3,"file":"restApi.d.ts","sourceRoot":"","sources":["../../../../src/actions/restApi.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,GAAG,QAAQ,CAAC;AACzB,eAAO,MAAM,IAAI,SAAS,CAAC;AAC3B,eAAO,MAAM,GAAG,QAAQ,CAAC;AACzB,eAAO,MAAM,KAAK,UAAU,CAAC;AAC7B,eAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,oBAAoB,yBAAyB,CAAC;AAC3D,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AAEzD,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AAEnD,UAAU,cAAc;IACpB,MAAM,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAC;IACrD,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG;QAAC,MAAM,EAAE,CAAC,CAAA;KAAC,CAAC;IAC/C,UAAU,CAAC,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAC,CAAC;IAClC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC;AAED,eAAO,MAAM,OAAO,SAAU,MAAM,SAAQ,GAAG,YAAiB,cAAc;;;gBAP9B,CAAC;;;;;UAEvC,MAAM;cACF,OAAO,MAAM,EAAE,MAAM,CAAC;aACvB,OAAO,MAAM,EAAE,MAAM,CAAC;;;;CAUjC,CAAC;AAEH,eAAO,MAAM,aAAa,QAAS,MAAM;;;CAAkC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"restApi.js","sourceRoot":"","sources":["../../../../src/actions/restAp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EAAE,IAAI;IACd,MAAM,EAAE,GAAG;IACX,IAAI;IACJ,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC;CACrB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,GAAW,EAAC,EAAE,CAAA,CAAC,EAAC,IAAI,EAAE,gBAAgB,EAAE,GAAG,EAAC,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"clientSpecific.app.d.ts","sourceRoot":"","sources":["../../../../src/constants/clientSpecific.app.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,QAAQ,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"clientSpecific.app.js","sourceRoot":"","sources":["../../../../src/constants/clientSpecific.app.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,KAAK,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"clientSpecific.d.ts","sourceRoot":"","sources":["../../../../src/constants/clientSpecific.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,YAAY,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"clientSpecific.js","sourceRoot":"","sources":["../../../../src/constants/clientSpecific.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,SAAS,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { API_BASE_URL, SOCKET_URL, BUILD_VERSION, AXIOS_RETRY_COUNT } from './platformSpecific';
|
1
|
+
import { PLATFORM_OS, API_BASE_URL, SOCKET_URL, BUILD_VERSION, BUNDLE_VERSION, AXIOS_RETRY_COUNT } from './platformSpecific';
|
2
|
+
import { CLIENT_TYPE } from './clientSpecific.app';
|
2
3
|
export declare const isNode: boolean;
|
3
4
|
export declare const IS_SSR: boolean;
|
4
5
|
export declare const DIRECTION_TOP = "direction/Top";
|
@@ -9,6 +10,6 @@ export declare const VERTICAL_LAYOUT = "layout/vertical";
|
|
9
10
|
export declare const HORIZONTAL_LAYOUT = "layout/horizontal";
|
10
11
|
export declare const TYPE_COMPONENT = "type/component";
|
11
12
|
export declare const DATA_SOURCE_KEY_NAMESPACE = "a0aec1c8-4fed-4d5d-b399-504887b3b8e4";
|
12
|
-
export { API_BASE_URL, SOCKET_URL, BUILD_VERSION, AXIOS_RETRY_COUNT };
|
13
|
+
export { API_BASE_URL, SOCKET_URL, BUILD_VERSION, BUNDLE_VERSION, AXIOS_RETRY_COUNT, PLATFORM_OS, CLIENT_TYPE };
|
13
14
|
export { default as iconInfo, IconIdentifier, getIconInfo } from './iconInfo';
|
14
15
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/constants/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/constants/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC7H,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAInD,eAAO,MAAM,MAAM,SAAiC,CAAC;AAErD,eAAO,MAAM,MAAM,SAA0E,CAAC;AAE9F,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAG/C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AAErD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAE/C,eAAO,MAAM,yBAAyB,yCAAyC,CAAC;AAChF,OAAO,EAAC,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,WAAW,EAAE,WAAW,EAAC,CAAA;AAE7G,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { API_BASE_URL, SOCKET_URL, BUILD_VERSION, AXIOS_RETRY_COUNT } from './platformSpecific';
|
1
|
+
import { PLATFORM_OS, API_BASE_URL, SOCKET_URL, BUILD_VERSION, BUNDLE_VERSION, AXIOS_RETRY_COUNT } from './platformSpecific';
|
2
|
+
import { CLIENT_TYPE } from './clientSpecific.app';
|
2
3
|
export const isNode = typeof process !== 'undefined';
|
3
4
|
export const IS_SSR = isNode && ['true', '1'].includes(String(process.env.SSR).toLowerCase());
|
4
5
|
export const DIRECTION_TOP = "direction/Top";
|
@@ -9,6 +10,6 @@ export const VERTICAL_LAYOUT = 'layout/vertical';
|
|
9
10
|
export const HORIZONTAL_LAYOUT = 'layout/horizontal';
|
10
11
|
export const TYPE_COMPONENT = "type/component";
|
11
12
|
export const DATA_SOURCE_KEY_NAMESPACE = "a0aec1c8-4fed-4d5d-b399-504887b3b8e4";
|
12
|
-
export { API_BASE_URL, SOCKET_URL, BUILD_VERSION, AXIOS_RETRY_COUNT };
|
13
|
+
export { API_BASE_URL, SOCKET_URL, BUILD_VERSION, BUNDLE_VERSION, AXIOS_RETRY_COUNT, PLATFORM_OS, CLIENT_TYPE };
|
13
14
|
export { default as iconInfo, getIconInfo } from './iconInfo';
|
14
15
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/constants/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/constants/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC7H,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAInD,MAAM,CAAC,MAAM,MAAM,GAAG,OAAO,OAAO,KAAK,WAAW,CAAC;AAErD,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;AAE9F,MAAM,CAAC,MAAM,aAAa,GAAG,eAAe,CAAC;AAC7C,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;AACjD,MAAM,CAAC,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;AACnD,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAAC;AAG/C,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;AACjD,MAAM,CAAC,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;AAErD,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAAC;AAE/C,MAAM,CAAC,MAAM,yBAAyB,GAAG,sCAAsC,CAAC;AAChF,OAAO,EAAC,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,WAAW,EAAE,WAAW,EAAC,CAAA;AAE7G,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAkB,WAAW,EAAE,MAAM,YAAY,CAAC"}
|
@@ -1,5 +1,10 @@
|
|
1
1
|
export declare const API_BASE_URL: string;
|
2
2
|
export declare const SOCKET_URL: string;
|
3
|
+
/**
|
4
|
+
* @deprecated Use BUNDLE_VERSION instead
|
5
|
+
*/
|
3
6
|
export declare const BUILD_VERSION: string;
|
7
|
+
export declare const BUNDLE_VERSION: string;
|
4
8
|
export declare const AXIOS_RETRY_COUNT = 0;
|
9
|
+
export declare const PLATFORM_OS = "web";
|
5
10
|
//# sourceMappingURL=platformSpecific.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformSpecific.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,QAAiE,CAAC;AAC3F,eAAO,MAAM,UAAU,QAA6E,CAAC;AACrG,eAAO,MAAM,aAAa,QAAiC,CAAC;AAC5D,eAAO,MAAM,iBAAiB,IAAI,CAAC"}
|
1
|
+
{"version":3,"file":"platformSpecific.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,QAAiE,CAAC;AAC3F,eAAO,MAAM,UAAU,QAA6E,CAAC;AACrG;;GAEG;AACH,eAAO,MAAM,aAAa,QAAiC,CAAC;AAC5D,eAAO,MAAM,cAAc,QAAiC,CAAC;AAC7D,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,WAAW,QAAQ,CAAC"}
|
@@ -1,5 +1,10 @@
|
|
1
1
|
export const API_BASE_URL = process.env.API_BASE_URL || process.env.REACT_APP_API_BASE_URL;
|
2
2
|
export const SOCKET_URL = process.env.SOCKET_URL || process.env.REACT_APP_SOCKET_URL || API_BASE_URL;
|
3
|
+
/**
|
4
|
+
* @deprecated Use BUNDLE_VERSION instead
|
5
|
+
*/
|
3
6
|
export const BUILD_VERSION = process.env.BUILD_VERSION_CODE;
|
7
|
+
export const BUNDLE_VERSION = process.env.BUILD_VERSION_CODE;
|
4
8
|
export const AXIOS_RETRY_COUNT = 0;
|
9
|
+
export const PLATFORM_OS = 'web';
|
5
10
|
//# sourceMappingURL=platformSpecific.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformSpecific.js","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC;AAC3F,MAAM,CAAC,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAoB,IAAI,YAAY,CAAC;AACrG,MAAM,CAAC,MAAM,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC;AAC5D,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"platformSpecific.js","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC;AAC3F,MAAM,CAAC,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAoB,IAAI,YAAY,CAAC;AACrG;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC;AAC5D,MAAM,CAAC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC;AAC7D,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC;AACnC,MAAM,CAAC,MAAM,WAAW,GAAG,KAAK,CAAC"}
|
@@ -1,6 +1,11 @@
|
|
1
1
|
export declare const API_BASE_URL: any;
|
2
2
|
export declare const SOCKET_URL: any;
|
3
3
|
export declare const APP_NAME: any;
|
4
|
+
/**
|
5
|
+
* @deprecated Use BUNDLE_VERSION instead
|
6
|
+
*/
|
4
7
|
export declare const BUILD_VERSION: string;
|
8
|
+
export declare const BUNDLE_VERSION: string;
|
5
9
|
export declare const AXIOS_RETRY_COUNT: number;
|
10
|
+
export declare const PLATFORM_OS: "web" | "android" | "windows" | "ios" | "macos";
|
6
11
|
//# sourceMappingURL=platformSpecific.native.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformSpecific.native.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.native.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,KAAmG,CAAC;AAC7H,eAAO,MAAM,UAAU,KAA6E,CAAC;AACrG,eAAO,MAAM,QAAQ,KAA4B,CAAC;
|
1
|
+
{"version":3,"file":"platformSpecific.native.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.native.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,KAAmG,CAAC;AAC7H,eAAO,MAAM,UAAU,KAA6E,CAAC;AACrG,eAAO,MAAM,QAAQ,KAA4B,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,aAAa,QAAiC,CAAC;AAC5D,eAAO,MAAM,cAAc,QAAiC,CAAC;AAC7D,eAAO,MAAM,iBAAiB,QAAW,CAAC;AAC1C,eAAO,MAAM,WAAW,iDAAc,CAAC"}
|
@@ -1,8 +1,13 @@
|
|
1
|
-
import { NativeModules } from 'react-native';
|
1
|
+
import { NativeModules, Platform } from 'react-native';
|
2
2
|
const { AppConstants } = NativeModules;
|
3
3
|
export const API_BASE_URL = AppConstants.getApiBaseUrl() || (process.env.API_BASE_URL || process.env.REACT_APP_API_BASE_URL);
|
4
4
|
export const SOCKET_URL = process.env.SOCKET_URL || process.env.REACT_APP_SOCKET_URL || API_BASE_URL;
|
5
5
|
export const APP_NAME = AppConstants.getAppName();
|
6
|
+
/**
|
7
|
+
* @deprecated Use BUNDLE_VERSION instead
|
8
|
+
*/
|
6
9
|
export const BUILD_VERSION = process.env.BUILD_VERSION_CODE;
|
10
|
+
export const BUNDLE_VERSION = process.env.BUILD_VERSION_CODE;
|
7
11
|
export const AXIOS_RETRY_COUNT = Infinity;
|
12
|
+
export const PLATFORM_OS = Platform.OS;
|
8
13
|
//# sourceMappingURL=platformSpecific.native.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformSpecific.native.js","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.native.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,cAAc,CAAC;
|
1
|
+
{"version":3,"file":"platformSpecific.native.js","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.native.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,QAAQ,EAAC,MAAM,cAAc,CAAC;AACrD,MAAM,EAAC,YAAY,EAAC,GAAG,aAAa,CAAC;AAErC,MAAM,CAAC,MAAM,YAAY,GAAG,YAAY,CAAC,aAAa,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC;AAC7H,MAAM,CAAC,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAoB,IAAI,YAAY,CAAC;AACrG,MAAM,CAAC,MAAM,QAAQ,GAAG,YAAY,CAAC,UAAU,EAAE,CAAC;AAElD;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC;AAC5D,MAAM,CAAC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC;AAC7D,MAAM,CAAC,MAAM,iBAAiB,GAAG,QAAQ,CAAC;AAC1C,MAAM,CAAC,MAAM,WAAW,GAAG,QAAQ,CAAC,EAAE,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"axiosClient.d.ts","sourceRoot":"","sources":["../../../../src/helpers/axiosClient.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,+
|
1
|
+
{"version":3,"file":"axiosClient.d.ts","sourceRoot":"","sources":["../../../../src/helpers/axiosClient.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,+BAOtB,CAAC;AAOF,eAAe,WAAW,CAAC"}
|
@@ -1,8 +1,13 @@
|
|
1
1
|
import Axios from "axios";
|
2
|
-
import { API_BASE_URL, AXIOS_RETRY_COUNT } from "../constants";
|
2
|
+
import { API_BASE_URL, AXIOS_RETRY_COUNT, BUILD_VERSION, CLIENT_TYPE, PLATFORM_OS } from "../constants";
|
3
3
|
import axiosRetry from "axios-retry";
|
4
4
|
export const axiosClient = Axios.create({
|
5
5
|
baseURL: API_BASE_URL || '/api',
|
6
|
+
headers: {
|
7
|
+
'x-platform-os': PLATFORM_OS,
|
8
|
+
'x-bundle-version': BUILD_VERSION,
|
9
|
+
'x-client-type': CLIENT_TYPE
|
10
|
+
}
|
6
11
|
});
|
7
12
|
axiosRetry(axiosClient, {
|
8
13
|
retries: AXIOS_RETRY_COUNT,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"axiosClient.js","sourceRoot":"","sources":["../../../../src/helpers/axiosClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;
|
1
|
+
{"version":3,"file":"axiosClient.js","sourceRoot":"","sources":["../../../../src/helpers/axiosClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,aAAa,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AACxG,OAAO,UAAU,MAAM,aAAa,CAAC;AAErC,MAAM,CAAC,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,CAAC;IACpC,OAAO,EAAE,YAAY,IAAI,MAAM;IAC/B,OAAO,EAAE;QACL,eAAe,EAAE,WAAW;QAC5B,kBAAkB,EAAE,aAAa;QACjC,eAAe,EAAE,WAAW;KAC/B;CACJ,CAAC,CAAC;AAEH,UAAU,CAAC,WAAW,EAAE;IACpB,OAAO,EAAE,iBAAiB;IAC1B,UAAU,EAAE,CAAC,WAAW,EAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,UAAU,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC;CACvF,CAAC,CAAC;AAEH,eAAe,WAAW,CAAC"}
|
@@ -44,6 +44,8 @@ export declare function getCollection(collectionName: string, { page, pageSize,
|
|
44
44
|
[key: string]: any;
|
45
45
|
};
|
46
46
|
key?: string;
|
47
|
+
headers?: Record<string, string>;
|
48
|
+
params?: Record<string, string>;
|
47
49
|
isRestRequest: boolean;
|
48
50
|
endpoint: string;
|
49
51
|
data: any;
|
@@ -57,6 +59,8 @@ export declare function collectionLoadMore(collectionName: string, { page, sort,
|
|
57
59
|
[key: string]: any;
|
58
60
|
};
|
59
61
|
key?: string;
|
62
|
+
headers?: Record<string, string>;
|
63
|
+
params?: Record<string, string>;
|
60
64
|
isRestRequest: boolean;
|
61
65
|
endpoint: string;
|
62
66
|
data: any;
|
@@ -70,6 +74,8 @@ export declare function collectionGetRecord(collectionName: string, id: string,
|
|
70
74
|
[key: string]: any;
|
71
75
|
};
|
72
76
|
key?: string;
|
77
|
+
headers?: Record<string, string>;
|
78
|
+
params?: Record<string, string>;
|
73
79
|
isRestRequest: boolean;
|
74
80
|
endpoint: string;
|
75
81
|
data: any;
|
@@ -84,6 +90,8 @@ export declare function collectionAddRecord(collectionName: string, data: any):
|
|
84
90
|
[key: string]: any;
|
85
91
|
};
|
86
92
|
key?: string;
|
93
|
+
headers?: Record<string, string>;
|
94
|
+
params?: Record<string, string>;
|
87
95
|
isRestRequest: boolean;
|
88
96
|
endpoint: string;
|
89
97
|
data: any;
|
@@ -98,6 +106,8 @@ export declare function collectionDeleteRecord(collectionName: string, id: strin
|
|
98
106
|
[key: string]: any;
|
99
107
|
};
|
100
108
|
key?: string;
|
109
|
+
headers?: Record<string, string>;
|
110
|
+
params?: Record<string, string>;
|
101
111
|
isRestRequest: boolean;
|
102
112
|
endpoint: string;
|
103
113
|
data: any;
|
@@ -112,6 +122,8 @@ export declare function collectionUpdateRecord(collectionName: string, id: strin
|
|
112
122
|
[key: string]: any;
|
113
123
|
};
|
114
124
|
key?: string;
|
125
|
+
headers?: Record<string, string>;
|
126
|
+
params?: Record<string, string>;
|
115
127
|
isRestRequest: boolean;
|
116
128
|
endpoint: string;
|
117
129
|
data: any;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../../src/reducers/collection.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,gCAAgC,CAAC;AAC9D,eAAO,MAAM,cAAc,8BAA8B,CAAC;AAE1D,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAC3E,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAC3E,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AAEzE,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAC3E,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAC3E,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AAEzE,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAC7E,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAC7E,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAE3E,eAAO,MAAM,gCAAgC,qCAAqC,CAAC;AACnF,eAAO,MAAM,gCAAgC,qCAAqC,CAAC;AACnF,eAAO,MAAM,+BAA+B,oCAAoC,CAAC;AAEjF,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAC7E,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAC7E,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAE3E,eAAO,MAAM,gCAAgC,qCAAqC,CAAC;AACnF,eAAO,MAAM,gCAAgC,qCAAqC,CAAC;AACnF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C;AAEvD,wBAAgB,mBAAmB,CAAC,cAAc,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG;;;;;;;;;;;;;;EAOpE;AAED,eAAO,MAAM,mBAAmB,4BAAsB,CAAC;AAEvD,wBAAgB,sBAAsB,CAAC,cAAc,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;;;EAQxE;AAED,eAAO,MAAM,sBAAsB,+BAAyB,CAAC;AAE7D,wBAAgB,sBAAsB,CAAC,cAAc,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG;;;;;;;;;;;;;;EAOtF;AAED,eAAO,MAAM,sBAAsB,+BAAyB,CAAC;AAyB7D,QAAA,MAAM,UAAU,kCA2Gf,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
@@ -22,6 +22,8 @@ export declare const updateRemoteSessionData: (sessionId: string, values: Object
|
|
22
22
|
[key: string]: any;
|
23
23
|
};
|
24
24
|
key?: string;
|
25
|
+
headers?: Record<string, string>;
|
26
|
+
params?: Record<string, string>;
|
25
27
|
isRestRequest: boolean;
|
26
28
|
endpoint: string;
|
27
29
|
data: any;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../../../src/reducers/session.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AACrD,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAE7C,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAC7E,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAC7E,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAE3E,eAAO,MAAM,eAAe,QAAQ,MAAM,SAAS,GAAG;;;;CAIpD,CAAC;AAEH,eAAO,MAAM,gBAAgB,WAAY,MAAM;;;CAG7C,CAAC;AAEH,eAAO,MAAM,uBAAuB,cAAc,MAAM,UAAU,MAAM
|
1
|
+
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../../../src/reducers/session.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AACrD,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAE7C,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAC7E,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAC7E,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAE3E,eAAO,MAAM,eAAe,QAAQ,MAAM,SAAS,GAAG;;;;CAIpD,CAAC;AAEH,eAAO,MAAM,gBAAgB,WAAY,MAAM;;;CAG7C,CAAC;AAEH,eAAO,MAAM,uBAAuB,cAAc,MAAM,UAAU,MAAM;;;;;;;;;;;;;;CAQvE,CAAA;AAED,eAAO,MAAM,YAAY;;CAEvB,CAAC;AAUH,QAAA,MAAM,OAAO;;;;;;;;;;;CA6DZ,CAAC;AAGF,eAAe,OAAO,CAAC"}
|
@@ -16,6 +16,8 @@ interface RequestOptions {
|
|
16
16
|
[key: string]: any;
|
17
17
|
};
|
18
18
|
key?: string;
|
19
|
+
headers?: Record<string, string>;
|
20
|
+
params?: Record<string, string>;
|
19
21
|
}
|
20
22
|
export declare const request: (path: string, data?: any, options?: RequestOptions) => {
|
21
23
|
method: string;
|
@@ -26,6 +28,8 @@ export declare const request: (path: string, data?: any, options?: RequestOption
|
|
26
28
|
[key: string]: any;
|
27
29
|
};
|
28
30
|
key?: string;
|
31
|
+
headers?: Record<string, string>;
|
32
|
+
params?: Record<string, string>;
|
29
33
|
isRestRequest: boolean;
|
30
34
|
endpoint: string;
|
31
35
|
data: any;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"restApi.d.ts","sourceRoot":"","sources":["../../../../src/actions/restApi.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,GAAG,QAAQ,CAAC;AACzB,eAAO,MAAM,IAAI,SAAS,CA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AAG;QAAC,MAAM,EAAE,CAAC,CAAA;KAAC,CAAC;IAC/C,UAAU,CAAC,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAC,CAAC;IAClC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC;AAED,eAAO,MAAM,OAAO,SAAU,MAAM,SAAQ,GAAG,YAAiB,cAAc;;;gBAP9B,CAAC;;;;;UAEvC,MAAM;cACF,OAAO,MAAM,EAAE,MAAM,CAAC;aACvB,OAAO,MAAM,EAAE,MAAM,CAAC;;;;CAUjC,CAAC;AAEH,eAAO,MAAM,aAAa,QAAS,MAAM;;;CAAkC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"clientSpecific.app.d.ts","sourceRoot":"","sources":["../../../../src/constants/clientSpecific.app.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,QAAQ,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"clientSpecific.d.ts","sourceRoot":"","sources":["../../../../src/constants/clientSpecific.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,YAAY,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { API_BASE_URL, SOCKET_URL, BUILD_VERSION, AXIOS_RETRY_COUNT } from './platformSpecific';
|
1
|
+
import { PLATFORM_OS, API_BASE_URL, SOCKET_URL, BUILD_VERSION, BUNDLE_VERSION, AXIOS_RETRY_COUNT } from './platformSpecific';
|
2
|
+
import { CLIENT_TYPE } from './clientSpecific.app';
|
2
3
|
export declare const isNode: boolean;
|
3
4
|
export declare const IS_SSR: boolean;
|
4
5
|
export declare const DIRECTION_TOP = "direction/Top";
|
@@ -9,6 +10,6 @@ export declare const VERTICAL_LAYOUT = "layout/vertical";
|
|
9
10
|
export declare const HORIZONTAL_LAYOUT = "layout/horizontal";
|
10
11
|
export declare const TYPE_COMPONENT = "type/component";
|
11
12
|
export declare const DATA_SOURCE_KEY_NAMESPACE = "a0aec1c8-4fed-4d5d-b399-504887b3b8e4";
|
12
|
-
export { API_BASE_URL, SOCKET_URL, BUILD_VERSION, AXIOS_RETRY_COUNT };
|
13
|
+
export { API_BASE_URL, SOCKET_URL, BUILD_VERSION, BUNDLE_VERSION, AXIOS_RETRY_COUNT, PLATFORM_OS, CLIENT_TYPE };
|
13
14
|
export { default as iconInfo, IconIdentifier, getIconInfo } from './iconInfo';
|
14
15
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/constants/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/constants/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC7H,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAInD,eAAO,MAAM,MAAM,SAAiC,CAAC;AAErD,eAAO,MAAM,MAAM,SAA0E,CAAC;AAE9F,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAG/C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AAErD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAE/C,eAAO,MAAM,yBAAyB,yCAAyC,CAAC;AAChF,OAAO,EAAC,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,WAAW,EAAE,WAAW,EAAC,CAAA;AAE7G,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC"}
|
@@ -1,5 +1,10 @@
|
|
1
1
|
export declare const API_BASE_URL: string;
|
2
2
|
export declare const SOCKET_URL: string;
|
3
|
+
/**
|
4
|
+
* @deprecated Use BUNDLE_VERSION instead
|
5
|
+
*/
|
3
6
|
export declare const BUILD_VERSION: string;
|
7
|
+
export declare const BUNDLE_VERSION: string;
|
4
8
|
export declare const AXIOS_RETRY_COUNT = 0;
|
9
|
+
export declare const PLATFORM_OS = "web";
|
5
10
|
//# sourceMappingURL=platformSpecific.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformSpecific.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,QAAiE,CAAC;AAC3F,eAAO,MAAM,UAAU,QAA6E,CAAC;AACrG,eAAO,MAAM,aAAa,QAAiC,CAAC;AAC5D,eAAO,MAAM,iBAAiB,IAAI,CAAC"}
|
1
|
+
{"version":3,"file":"platformSpecific.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,QAAiE,CAAC;AAC3F,eAAO,MAAM,UAAU,QAA6E,CAAC;AACrG;;GAEG;AACH,eAAO,MAAM,aAAa,QAAiC,CAAC;AAC5D,eAAO,MAAM,cAAc,QAAiC,CAAC;AAC7D,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,WAAW,QAAQ,CAAC"}
|
@@ -1,6 +1,11 @@
|
|
1
1
|
export declare const API_BASE_URL: any;
|
2
2
|
export declare const SOCKET_URL: any;
|
3
3
|
export declare const APP_NAME: any;
|
4
|
+
/**
|
5
|
+
* @deprecated Use BUNDLE_VERSION instead
|
6
|
+
*/
|
4
7
|
export declare const BUILD_VERSION: string;
|
8
|
+
export declare const BUNDLE_VERSION: string;
|
5
9
|
export declare const AXIOS_RETRY_COUNT: number;
|
10
|
+
export declare const PLATFORM_OS: "web" | "android" | "windows" | "ios" | "macos";
|
6
11
|
//# sourceMappingURL=platformSpecific.native.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformSpecific.native.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.native.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,KAAmG,CAAC;AAC7H,eAAO,MAAM,UAAU,KAA6E,CAAC;AACrG,eAAO,MAAM,QAAQ,KAA4B,CAAC;
|
1
|
+
{"version":3,"file":"platformSpecific.native.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.native.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,KAAmG,CAAC;AAC7H,eAAO,MAAM,UAAU,KAA6E,CAAC;AACrG,eAAO,MAAM,QAAQ,KAA4B,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,aAAa,QAAiC,CAAC;AAC5D,eAAO,MAAM,cAAc,QAAiC,CAAC;AAC7D,eAAO,MAAM,iBAAiB,QAAW,CAAC;AAC1C,eAAO,MAAM,WAAW,iDAAc,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"axiosClient.d.ts","sourceRoot":"","sources":["../../../../src/helpers/axiosClient.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,+
|
1
|
+
{"version":3,"file":"axiosClient.d.ts","sourceRoot":"","sources":["../../../../src/helpers/axiosClient.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,+BAOtB,CAAC;AAOF,eAAe,WAAW,CAAC"}
|
@@ -44,6 +44,8 @@ export declare function getCollection(collectionName: string, { page, pageSize,
|
|
44
44
|
[key: string]: any;
|
45
45
|
};
|
46
46
|
key?: string;
|
47
|
+
headers?: Record<string, string>;
|
48
|
+
params?: Record<string, string>;
|
47
49
|
isRestRequest: boolean;
|
48
50
|
endpoint: string;
|
49
51
|
data: any;
|
@@ -57,6 +59,8 @@ export declare function collectionLoadMore(collectionName: string, { page, sort,
|
|
57
59
|
[key: string]: any;
|
58
60
|
};
|
59
61
|
key?: string;
|
62
|
+
headers?: Record<string, string>;
|
63
|
+
params?: Record<string, string>;
|
60
64
|
isRestRequest: boolean;
|
61
65
|
endpoint: string;
|
62
66
|
data: any;
|
@@ -70,6 +74,8 @@ export declare function collectionGetRecord(collectionName: string, id: string,
|
|
70
74
|
[key: string]: any;
|
71
75
|
};
|
72
76
|
key?: string;
|
77
|
+
headers?: Record<string, string>;
|
78
|
+
params?: Record<string, string>;
|
73
79
|
isRestRequest: boolean;
|
74
80
|
endpoint: string;
|
75
81
|
data: any;
|
@@ -84,6 +90,8 @@ export declare function collectionAddRecord(collectionName: string, data: any):
|
|
84
90
|
[key: string]: any;
|
85
91
|
};
|
86
92
|
key?: string;
|
93
|
+
headers?: Record<string, string>;
|
94
|
+
params?: Record<string, string>;
|
87
95
|
isRestRequest: boolean;
|
88
96
|
endpoint: string;
|
89
97
|
data: any;
|
@@ -98,6 +106,8 @@ export declare function collectionDeleteRecord(collectionName: string, id: strin
|
|
98
106
|
[key: string]: any;
|
99
107
|
};
|
100
108
|
key?: string;
|
109
|
+
headers?: Record<string, string>;
|
110
|
+
params?: Record<string, string>;
|
101
111
|
isRestRequest: boolean;
|
102
112
|
endpoint: string;
|
103
113
|
data: any;
|
@@ -112,6 +122,8 @@ export declare function collectionUpdateRecord(collectionName: string, id: strin
|
|
112
122
|
[key: string]: any;
|
113
123
|
};
|
114
124
|
key?: string;
|
125
|
+
headers?: Record<string, string>;
|
126
|
+
params?: Record<string, string>;
|
115
127
|
isRestRequest: boolean;
|
116
128
|
endpoint: string;
|
117
129
|
data: any;
|
@@ -1 +1 @@
|
|
1
|
-
{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AAG;;;;;;;;;;;;;;EAOtF;AAED,eAAO,MAAM,sBAAsB,+BAAyB,CAAC;AAyB7D,QAAA,MAAM,UAAU,kCA2Gf,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
@@ -22,6 +22,8 @@ export declare const updateRemoteSessionData: (sessionId: string, values: Object
|
|
22
22
|
[key: string]: any;
|
23
23
|
};
|
24
24
|
key?: string;
|
25
|
+
headers?: Record<string, string>;
|
26
|
+
params?: Record<string, string>;
|
25
27
|
isRestRequest: boolean;
|
26
28
|
endpoint: string;
|
27
29
|
data: any;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../../../src/reducers/session.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AACrD,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAE7C,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAC7E,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAC7E,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAE3E,eAAO,MAAM,eAAe,QAAQ,MAAM,SAAS,GAAG;;;;CAIpD,CAAC;AAEH,eAAO,MAAM,gBAAgB,WAAY,MAAM;;;CAG7C,CAAC;AAEH,eAAO,MAAM,uBAAuB,cAAc,MAAM,UAAU,MAAM
|
1
|
+
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../../../src/reducers/session.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AACrD,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAE7C,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAC7E,eAAO,MAAM,6BAA6B,kCAAkC,CAAC;AAC7E,eAAO,MAAM,4BAA4B,iCAAiC,CAAC;AAE3E,eAAO,MAAM,eAAe,QAAQ,MAAM,SAAS,GAAG;;;;CAIpD,CAAC;AAEH,eAAO,MAAM,gBAAgB,WAAY,MAAM;;;CAG7C,CAAC;AAEH,eAAO,MAAM,uBAAuB,cAAc,MAAM,UAAU,MAAM;;;;;;;;;;;;;;CAQvE,CAAA;AAED,eAAO,MAAM,YAAY;;CAEvB,CAAC;AAUH,QAAA,MAAM,OAAO;;;;;;;;;;;CA6DZ,CAAC;AAGF,eAAe,OAAO,CAAC"}
|