react-native-stallion 1.1.0 → 1.1.1
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/README.md +10 -6
- package/android/src/main/java/com/stallion/StallionConstants.java +12 -2
- package/android/src/main/java/com/stallion/StallionDefaultErrorActivity.java +1 -1
- package/android/src/main/java/com/stallion/StallionErrorBoundary.java +49 -0
- package/android/src/main/java/com/stallion/StallionModule.java +104 -139
- package/ios/main/Stallion-Bridging-Header.h +1 -0
- package/ios/main/Stallion.swift +2 -3
- package/ios/main/StallionConstants.swift +2 -0
- package/ios/main/StallionDownloader.swift +9 -9
- package/ios/main/StallionErrorBoundary.h +17 -0
- package/ios/main/StallionErrorBoundary.m +62 -0
- package/ios/main/StallionModule.m +3 -35
- package/package.json +1 -1
- package/src/main/components/common/ErrorView/index.js +10 -4
- package/src/main/components/common/ErrorView/index.js.map +1 -1
- package/src/main/components/common/ErrorView/styles.js +12 -2
- package/src/main/components/common/ErrorView/styles.js.map +1 -1
- package/src/main/components/common/Footer/index.js +1 -1
- package/src/main/components/common/Footer/index.js.map +1 -1
- package/src/main/components/common/Footer/styles.js +7 -4
- package/src/main/components/common/Footer/styles.js.map +1 -1
- package/src/main/components/common/FooterLoader/index.js +11 -0
- package/src/main/components/common/FooterLoader/index.js.map +1 -0
- package/src/main/components/common/FooterLoader/styles.js +12 -0
- package/src/main/components/common/FooterLoader/styles.js.map +1 -0
- package/src/main/components/common/Header/styles.js +3 -2
- package/src/main/components/common/Header/styles.js.map +1 -1
- package/src/main/components/common/OverlayLoader/styles.js +2 -2
- package/src/main/components/common/OverlayLoader/styles.js.map +1 -1
- package/src/main/components/common/ProfileOverlay/styles.js +4 -2
- package/src/main/components/common/ProfileOverlay/styles.js.map +1 -1
- package/src/main/components/modules/listing/components/BundleCard.js +4 -2
- package/src/main/components/modules/listing/components/BundleCard.js.map +1 -1
- package/src/main/components/modules/listing/components/BundleCardInfoSection.js +6 -5
- package/src/main/components/modules/listing/components/BundleCardInfoSection.js.map +1 -1
- package/src/main/components/modules/listing/components/CardDescriptionContent.js +2 -1
- package/src/main/components/modules/listing/components/CardDescriptionContent.js.map +1 -1
- package/src/main/components/modules/listing/components/styles/index.js +6 -3
- package/src/main/components/modules/listing/components/styles/index.js.map +1 -1
- package/src/main/components/modules/listing/hooks/useListing.js +14 -2
- package/src/main/components/modules/listing/hooks/useListing.js.map +1 -1
- package/src/main/components/modules/listing/index.js +45 -16
- package/src/main/components/modules/listing/index.js.map +1 -1
- package/src/main/components/modules/listing/styles.js +7 -0
- package/src/main/components/modules/listing/styles.js.map +1 -1
- package/src/main/components/modules/login/components/Email.js +5 -1
- package/src/main/components/modules/login/components/Email.js.map +1 -1
- package/src/main/components/modules/login/components/Otp.js +5 -1
- package/src/main/components/modules/login/components/Otp.js.map +1 -1
- package/src/main/components/modules/login/components/styles/index.js +5 -1
- package/src/main/components/modules/login/components/styles/index.js.map +1 -1
- package/src/main/components/modules/login/styles/index.js +2 -1
- package/src/main/components/modules/login/styles/index.js.map +1 -1
- package/src/main/components/modules/modal/hooks/useStallionModal.js +26 -2
- package/src/main/components/modules/modal/hooks/useStallionModal.js.map +1 -1
- package/src/main/constants/apiConstants.js +2 -0
- package/src/main/constants/apiConstants.js.map +1 -1
- package/src/main/constants/appConstants.js +9 -2
- package/src/main/constants/appConstants.js.map +1 -1
- package/src/main/constants/colors.js +3 -1
- package/src/main/constants/colors.js.map +1 -1
- package/src/main/state/actionCreators/useBundleActions.js +24 -9
- package/src/main/state/actionCreators/useBundleActions.js.map +1 -1
- package/src/main/state/actionCreators/useDownloadActions.js +4 -3
- package/src/main/state/actionCreators/useDownloadActions.js.map +1 -1
- package/src/main/state/actions/bundleActions.js +18 -0
- package/src/main/state/actions/bundleActions.js.map +1 -1
- package/src/main/state/reducers/bundleReducer.js +34 -3
- package/src/main/state/reducers/bundleReducer.js.map +1 -1
- package/src/main/utils/ErrorBoundary.js +3 -3
- package/src/main/utils/ErrorBoundary.js.map +1 -1
- package/src/types/bundle.types.js +3 -0
- package/src/types/bundle.types.js.map +1 -1
- package/types/main/components/common/ErrorView/index.d.ts +1 -0
- package/types/main/components/common/ErrorView/index.d.ts.map +1 -1
- package/types/main/components/common/ErrorView/styles.d.ts +10 -0
- package/types/main/components/common/ErrorView/styles.d.ts.map +1 -1
- package/types/main/components/common/Footer/styles.d.ts +4 -1
- package/types/main/components/common/Footer/styles.d.ts.map +1 -1
- package/types/main/components/common/FooterLoader/index.d.ts +4 -0
- package/types/main/components/common/FooterLoader/index.d.ts.map +1 -0
- package/types/main/components/common/FooterLoader/styles.d.ts +10 -0
- package/types/main/components/common/FooterLoader/styles.d.ts.map +1 -0
- package/types/main/components/common/Header/styles.d.ts +1 -0
- package/types/main/components/common/Header/styles.d.ts.map +1 -1
- package/types/main/components/common/ProfileOverlay/styles.d.ts +2 -0
- package/types/main/components/common/ProfileOverlay/styles.d.ts.map +1 -1
- package/types/main/components/modules/listing/components/BundleCard.d.ts +1 -0
- package/types/main/components/modules/listing/components/BundleCard.d.ts.map +1 -1
- package/types/main/components/modules/listing/components/BundleCardInfoSection.d.ts +3 -2
- package/types/main/components/modules/listing/components/BundleCardInfoSection.d.ts.map +1 -1
- package/types/main/components/modules/listing/components/styles/index.d.ts +3 -0
- package/types/main/components/modules/listing/components/styles/index.d.ts.map +1 -1
- package/types/main/components/modules/listing/hooks/useListing.d.ts +2 -0
- package/types/main/components/modules/listing/hooks/useListing.d.ts.map +1 -1
- package/types/main/components/modules/listing/index.d.ts +2 -2
- package/types/main/components/modules/listing/index.d.ts.map +1 -1
- package/types/main/components/modules/listing/styles.d.ts +6 -0
- package/types/main/components/modules/listing/styles.d.ts.map +1 -1
- package/types/main/components/modules/login/components/Email.d.ts.map +1 -1
- package/types/main/components/modules/login/components/Otp.d.ts.map +1 -1
- package/types/main/components/modules/login/components/styles/index.d.ts +4 -0
- package/types/main/components/modules/login/components/styles/index.d.ts.map +1 -1
- package/types/main/components/modules/login/styles/index.d.ts +1 -0
- package/types/main/components/modules/login/styles/index.d.ts.map +1 -1
- package/types/main/components/modules/modal/hooks/useStallionModal.d.ts.map +1 -1
- package/types/main/constants/apiConstants.d.ts +2 -0
- package/types/main/constants/apiConstants.d.ts.map +1 -1
- package/types/main/constants/appConstants.d.ts +8 -1
- package/types/main/constants/appConstants.d.ts.map +1 -1
- package/types/main/constants/colors.d.ts +2 -0
- package/types/main/constants/colors.d.ts.map +1 -1
- package/types/main/state/actionCreators/useBundleActions.d.ts +1 -1
- package/types/main/state/actionCreators/useBundleActions.d.ts.map +1 -1
- package/types/main/state/actionCreators/useDownloadActions.d.ts +1 -1
- package/types/main/state/actionCreators/useDownloadActions.d.ts.map +1 -1
- package/types/main/state/actions/bundleActions.d.ts +3 -0
- package/types/main/state/actions/bundleActions.d.ts.map +1 -1
- package/types/main/state/reducers/bundleReducer.d.ts.map +1 -1
- package/types/types/bundle.types.d.ts +22 -4
- package/types/types/bundle.types.d.ts.map +1 -1
- package/types/types/globalProvider.types.d.ts +2 -2
- package/types/types/globalProvider.types.d.ts.map +1 -1
- package/types/types/utils.types.d.ts +1 -1
- package/types/types/utils.types.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["BundleActionKind"],"sourceRoot":"../../../src","sources":["types/bundle.types.ts"],"mappings":"
|
|
1
|
+
{"version":3,"names":["BundleActionKind"],"sourceRoot":"../../../src","sources":["types/bundle.types.ts"],"mappings":"AAuBA,WAAYA,gBAAgB,0BAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/ErrorView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/ErrorView/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AASpC,UAAU,UAAU;IAClB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;;AAoBD,wBAA+B"}
|
|
@@ -8,10 +8,20 @@ declare const styles: {
|
|
|
8
8
|
};
|
|
9
9
|
errorText: {
|
|
10
10
|
color: string;
|
|
11
|
+
fontSize: number;
|
|
11
12
|
};
|
|
12
13
|
boldText: {
|
|
13
14
|
fontWeight: "bold";
|
|
14
15
|
};
|
|
16
|
+
retryButtonContainer: {
|
|
17
|
+
alignSelf: "center";
|
|
18
|
+
marginVertical: number;
|
|
19
|
+
justifyContent: "center";
|
|
20
|
+
alignItems: "center";
|
|
21
|
+
};
|
|
22
|
+
retryText: {
|
|
23
|
+
fontSize: number;
|
|
24
|
+
};
|
|
15
25
|
};
|
|
16
26
|
export default styles;
|
|
17
27
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/ErrorView/styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/ErrorView/styles.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;CAwBV,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -37,10 +37,12 @@ declare const styles: {
|
|
|
37
37
|
};
|
|
38
38
|
infoTitle: {
|
|
39
39
|
fontSize: number;
|
|
40
|
+
color: string;
|
|
40
41
|
};
|
|
41
42
|
infoSubTitle: {
|
|
42
43
|
fontSize: number;
|
|
43
44
|
marginTop: number;
|
|
45
|
+
color: string;
|
|
44
46
|
};
|
|
45
47
|
alignCenter: {
|
|
46
48
|
alignItems: "center";
|
|
@@ -56,8 +58,9 @@ declare const styles: {
|
|
|
56
58
|
bold: {
|
|
57
59
|
fontWeight: "bold";
|
|
58
60
|
};
|
|
59
|
-
|
|
61
|
+
noDownloadText: {
|
|
60
62
|
alignSelf: "center";
|
|
63
|
+
color: string;
|
|
61
64
|
};
|
|
62
65
|
greenColor: {
|
|
63
66
|
color: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Footer/styles.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Footer/styles.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsEV,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/FooterLoader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;;AAepC,wBAAkC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/FooterLoader/styles.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,MAAM;;;;;;;CAOV,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Header/styles.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Header/styles.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDV,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -10,10 +10,12 @@ declare const styles: {
|
|
|
10
10
|
profileTitle: {
|
|
11
11
|
fontSize: number;
|
|
12
12
|
marginVertical: number;
|
|
13
|
+
color: string;
|
|
13
14
|
};
|
|
14
15
|
profileInfoText: {
|
|
15
16
|
fontSize: number;
|
|
16
17
|
marginVertical: number;
|
|
18
|
+
color: string;
|
|
17
19
|
};
|
|
18
20
|
buttonContainer: {
|
|
19
21
|
width: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/ProfileOverlay/styles.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/ProfileOverlay/styles.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCV,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BundleCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/BundleCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAOzD,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"BundleCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/BundleCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAOzD,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;CACrB;;AAyCD,wBAAgC"}
|
|
@@ -6,7 +6,8 @@ interface IBundleCardInfoSection {
|
|
|
6
6
|
version?: number;
|
|
7
7
|
author?: string;
|
|
8
8
|
isApplied?: boolean;
|
|
9
|
+
downloadUrl: string;
|
|
9
10
|
}
|
|
10
|
-
declare const
|
|
11
|
-
export default
|
|
11
|
+
declare const _default: React.NamedExoticComponent<IBundleCardInfoSection>;
|
|
12
|
+
export default _default;
|
|
12
13
|
//# sourceMappingURL=BundleCardInfoSection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BundleCardInfoSection.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/BundleCardInfoSection.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"BundleCardInfoSection.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/components/BundleCardInfoSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAsBtE,UAAU,sBAAsB;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;;AA0ED,wBAA2C"}
|
|
@@ -40,9 +40,11 @@ declare const styles: {
|
|
|
40
40
|
subText: {
|
|
41
41
|
fontSize: number;
|
|
42
42
|
marginBottom: number;
|
|
43
|
+
color: string;
|
|
43
44
|
};
|
|
44
45
|
titleText: {
|
|
45
46
|
fontSize: number;
|
|
47
|
+
color: string;
|
|
46
48
|
};
|
|
47
49
|
bold: {
|
|
48
50
|
fontWeight: "bold";
|
|
@@ -51,6 +53,7 @@ declare const styles: {
|
|
|
51
53
|
fontSize: number;
|
|
52
54
|
fontWeight: "500";
|
|
53
55
|
marginTop: number;
|
|
56
|
+
color: string;
|
|
54
57
|
};
|
|
55
58
|
releaseNoteDescriptionText: {
|
|
56
59
|
fontSize: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/main/components/modules/listing/components/styles/index.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/main/components/modules/listing/components/styles/index.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuDV,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -6,6 +6,8 @@ declare const useListing: () => {
|
|
|
6
6
|
listingLoading: boolean;
|
|
7
7
|
fetchListing: () => void;
|
|
8
8
|
setBucketSelection: (bucketId?: string | null) => void;
|
|
9
|
+
fetchNextPage: () => void;
|
|
10
|
+
nextPageLoading: boolean | undefined;
|
|
9
11
|
};
|
|
10
12
|
export default useListing;
|
|
11
13
|
//# sourceMappingURL=useListing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useListing.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/hooks/useListing.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,QAAA,MAAM,UAAU;;;;;
|
|
1
|
+
{"version":3,"file":"useListing.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/listing/hooks/useListing.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,QAAA,MAAM,UAAU;;;;;oCA6DA,MAAM,GAAG,IAAI;;;CAwC5B,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/modules/listing/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/modules/listing/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;;AAwDpC,wBAA6B"}
|
|
@@ -5,6 +5,12 @@ declare const styles: {
|
|
|
5
5
|
mainListContainer: {
|
|
6
6
|
flexGrow: number;
|
|
7
7
|
};
|
|
8
|
+
initalLoaderContainer: {
|
|
9
|
+
width: string;
|
|
10
|
+
paddingTop: number;
|
|
11
|
+
justifyContent: "center";
|
|
12
|
+
alignItems: "center";
|
|
13
|
+
};
|
|
8
14
|
};
|
|
9
15
|
export default styles;
|
|
10
16
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/modules/listing/styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/modules/listing/styles.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,MAAM;;;;;;;;;;;;;CAaV,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Email.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/login/components/Email.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AACpC,OAAO,EAGL,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Email.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/login/components/Email.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AACpC,OAAO,EAGL,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,cAAc,CAAC;AAWtB,UAAU,MAAM;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iBAAiB,EAAE,CACjB,CAAC,EAAE,oBAAoB,CAAC,wBAAwB,CAAC,KAC9C,IAAI,CAAC;IACV,oBAAoB,EAAE,CACpB,CAAC,EAAE,oBAAoB,CAAC,wBAAwB,CAAC,KAC9C,IAAI,CAAC;IACV,iBAAiB,EAAE,MAAM,IAAI,CAAC;CAC/B;;AAyCD,wBAA2B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Otp.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/login/components/Otp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Otp.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/login/components/Otp.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAqBjD,UAAU,IAAI;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,OAAO,CAAC;IACpB,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;;AA+CD,wBAAyB"}
|
|
@@ -3,6 +3,9 @@ declare const styles: {
|
|
|
3
3
|
justifyContent: "center";
|
|
4
4
|
alignItems: "center";
|
|
5
5
|
};
|
|
6
|
+
otpInfoText: {
|
|
7
|
+
color: string;
|
|
8
|
+
};
|
|
6
9
|
textInp: {
|
|
7
10
|
width: string;
|
|
8
11
|
height: number;
|
|
@@ -11,6 +14,7 @@ declare const styles: {
|
|
|
11
14
|
borderRadius: number;
|
|
12
15
|
margin: number;
|
|
13
16
|
paddingHorizontal: number;
|
|
17
|
+
color: string;
|
|
14
18
|
};
|
|
15
19
|
buttonContainer: {
|
|
16
20
|
width: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/main/components/modules/login/components/styles/index.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/main/components/modules/login/components/styles/index.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;CAsBV,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/login/styles/index.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/login/styles/index.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BV,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useStallionModal.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/modal/hooks/useStallionModal.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useStallionModal.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/modal/hooks/useStallionModal.ts"],"names":[],"mappings":"AAwBA,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;CAkIrB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -4,6 +4,8 @@ export declare enum API_PATHS {
|
|
|
4
4
|
VERIFY_OTP = "/api/v1/auth/verify-otp",
|
|
5
5
|
FETCH_BUCKETS = "/api/v1/bucket/list",
|
|
6
6
|
FETCH_BUNDLES = "/api/v1/bundle/list",
|
|
7
|
+
FETCH_BUNDLES_ADVANCED = "/api/v1/bundle/advance-listing",
|
|
7
8
|
USER_PROFILE = "/api/v1/auth/user-profile"
|
|
8
9
|
}
|
|
10
|
+
export declare const BUNDLE_API_PAGE_SIZE = 10;
|
|
9
11
|
//# sourceMappingURL=apiConstants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiConstants.d.ts","sourceRoot":"","sources":["../../../../src/main/constants/apiConstants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,uCAAuC,CAAC;AAEjE,oBAAY,SAAS;IACnB,KAAK,8BAA8B;IACnC,UAAU,4BAA4B;IACtC,aAAa,wBAAwB;IACrC,aAAa,wBAAwB;IACrC,YAAY,8BAA8B;CAC3C"}
|
|
1
|
+
{"version":3,"file":"apiConstants.d.ts","sourceRoot":"","sources":["../../../../src/main/constants/apiConstants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,uCAAuC,CAAC;AAEjE,oBAAY,SAAS;IACnB,KAAK,8BAA8B;IACnC,UAAU,4BAA4B;IACtC,aAAa,wBAAwB;IACrC,aAAa,wBAAwB;IACrC,sBAAsB,mCAAmC;IACzD,YAAY,8BAA8B;CAC3C;AACD,eAAO,MAAM,oBAAoB,KAAK,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export declare const HEADER_TITLE = "Stallion";
|
|
2
|
-
export declare const Login_TITLE = "
|
|
2
|
+
export declare const Login_TITLE = "Login";
|
|
3
3
|
export declare const PROFILE_TITLE = "Profile";
|
|
4
4
|
export declare const HEADER_SLAB_HEIGHT = 50;
|
|
5
5
|
export declare const STD_MARGIN: number;
|
|
6
|
+
export declare const END_REACH_THRESHOLD = 0;
|
|
6
7
|
export declare const CLOSE_BUTTON_TEXT = "close";
|
|
7
8
|
export declare const BACK_BUTTON_TEXT = "back";
|
|
8
9
|
export declare const DOWNLOAD_BUTTON_TEXT = "Download";
|
|
@@ -27,6 +28,8 @@ export declare const EMPTY_ERROR_MESSAGE_BUNDLE = "No bundles found";
|
|
|
27
28
|
export declare const EMPTY_DOWNLOAD_MESSAGE = "No bundle is downloaded yet";
|
|
28
29
|
export declare const DEFAULT_ERROR_PREFIX = "Error: ";
|
|
29
30
|
export declare const VERSION_PREFIX = "V";
|
|
31
|
+
export declare const RETRY_BUTTON_TEXT = "Retry";
|
|
32
|
+
export declare const CURRENT_PLATFORM: "ios" | "android" | "windows" | "macos" | "web";
|
|
30
33
|
export declare const IS_ANDROID: boolean;
|
|
31
34
|
export declare const KEYBOARD_AVOIDING_BEHAVIOUR: string;
|
|
32
35
|
export declare enum LOGIN_PAGE_KEYS {
|
|
@@ -64,4 +67,8 @@ export declare const NO_RELEASE_NOTE_TEXT = "No release note provided";
|
|
|
64
67
|
export declare const STALLION_LOGO_URL = "https://d2shjbuzwp1rpv.cloudfront.net/stallion_logo.png";
|
|
65
68
|
export declare const STALLION_EB_INFO = "A crash occurred in the app. We have switched Stallion off. Check crash report below. Continue crash to invoke other exception handlers.";
|
|
66
69
|
export declare const STALLION_EB_BTN_TXT = "Continue Crash";
|
|
70
|
+
export declare const DOWNLOAD_ALERT_HEADER = "Download Successful";
|
|
71
|
+
export declare const DOWNLOAD_ALERT_SWITCH_MESSAGE = "Stallion has been switched on. ";
|
|
72
|
+
export declare const DOWNLOAD_ALERT_MESSAGE = "Restart the app for changes to take effect.";
|
|
73
|
+
export declare const DOWNLOAD_ALERT_BUTTON = "Ok";
|
|
67
74
|
//# sourceMappingURL=appConstants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appConstants.d.ts","sourceRoot":"","sources":["../../../../src/main/constants/appConstants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,aAAa,CAAC;AACvC,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"appConstants.d.ts","sourceRoot":"","sources":["../../../../src/main/constants/appConstants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,aAAa,CAAC;AACvC,eAAO,MAAM,WAAW,UAAU,CAAC;AACnC,eAAO,MAAM,aAAa,YAAY,CAAC;AACvC,eAAO,MAAM,kBAAkB,KAAK,CAAC;AACrC,eAAO,MAAM,UAAU,QAAyB,CAAC;AACjD,eAAO,MAAM,mBAAmB,IAAI,CAAC;AAErC,eAAO,MAAM,iBAAiB,UAAU,CAAC;AACzC,eAAO,MAAM,gBAAgB,SAAS,CAAC;AACvC,eAAO,MAAM,oBAAoB,aAAa,CAAC;AAC/C,eAAO,MAAM,eAAe,eAAe,CAAC;AAC5C,eAAO,MAAM,kBAAkB,WAAW,CAAC;AAE3C,eAAO,MAAM,iBAAiB,oBAAoB,CAAC;AACnD,eAAO,MAAM,oBAAoB,cAAc,CAAC;AAChD,oBAAY,YAAY;IACtB,EAAE,YAAY;IACd,GAAG,aAAa;CACjB;AAED,eAAO,MAAM,YAAY,YAAY,CAAC;AACtC,eAAO,MAAM,wBAAwB,iBAAiB,C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AO,MAAM,oBAAoB,6BAA6B,CAAC;AAE/D,eAAO,MAAM,iBAAiB,4DAC6B,CAAC;AAE5D,eAAO,MAAM,gBAAgB,6IAC+G,CAAC;AAC7I,eAAO,MAAM,mBAAmB,mBAAmB,CAAC;AAEpD,eAAO,MAAM,qBAAqB,wBAAwB,CAAC;AAC3D,eAAO,MAAM,6BAA6B,oCAAoC,CAAC;AAC/E,eAAO,MAAM,sBAAsB,gDACY,CAAC;AAChD,eAAO,MAAM,qBAAqB,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../src/main/constants/colors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../src/main/constants/colors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;CAclB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IBundleAction, IBundleState } from '../../../types/bundle.types';
|
|
3
3
|
declare const useBundleActions: (dispatch: React.Dispatch<IBundleAction>, bundleState: IBundleState, setUserRequiresLogin: (requiresLogin: boolean) => void) => {
|
|
4
|
-
fetchBundles: (bucketId?: string | null) => void;
|
|
4
|
+
fetchBundles: (bucketId?: string | null, pageOffset?: string | null) => void;
|
|
5
5
|
selectBucket: (selectedBucketId?: string | null) => void;
|
|
6
6
|
};
|
|
7
7
|
export default useBundleActions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBundleActions.d.ts","sourceRoot":"","sources":["../../../../../src/main/state/actionCreators/useBundleActions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"useBundleActions.d.ts","sourceRoot":"","sources":["../../../../../src/main/state/actionCreators/useBundleActions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAa3C,OAAO,EACL,aAAa,EAEb,YAAY,EACb,MAAM,6BAA6B,CAAC;AAWrC,QAAA,MAAM,gBAAgB,aACV,MAAM,QAAQ,CAAC,aAAa,CAAC,eAC1B,YAAY,wCACa,OAAO,KAAK,IAAI;8BAIxC,MAAM,GAAG,IAAI,eAAe,MAAM,GAAG,IAAI;sCAgDjC,MAAM,GAAG,IAAI;CAUpC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IDownloadAction } from '../../../types/download.types';
|
|
3
3
|
declare const useDownloadActions: (dispatch: React.Dispatch<IDownloadAction>, refreshStallionMeta: () => void) => {
|
|
4
|
-
downloadBundle: (version: number, bucketId: string) => void;
|
|
4
|
+
downloadBundle: (version: number, bucketId: string, apiDownloadUrl: string) => void;
|
|
5
5
|
};
|
|
6
6
|
export default useDownloadActions;
|
|
7
7
|
//# sourceMappingURL=useDownloadActions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDownloadActions.d.ts","sourceRoot":"","sources":["../../../../../src/main/state/actionCreators/useDownloadActions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAatD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,QAAA,MAAM,kBAAkB,aACZ,MAAM,QAAQ,CAAC,eAAe,CAAC,uBACpB,MAAM,IAAI;8BAInB,MAAM,YAAY,MAAM;
|
|
1
|
+
{"version":3,"file":"useDownloadActions.d.ts","sourceRoot":"","sources":["../../../../../src/main/state/actionCreators/useDownloadActions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAatD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,QAAA,MAAM,kBAAkB,aACZ,MAAM,QAAQ,CAAC,eAAe,CAAC,uBACpB,MAAM,IAAI;8BAInB,MAAM,YAAY,MAAM,kBAAkB,MAAM;CAiD7D,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { IBundleAction, IBundleDataList } from '../../../types/bundle.types';
|
|
2
2
|
export declare const setBundleLoading: () => IBundleAction;
|
|
3
|
+
export declare const setBundleNextPageLoading: (isNextPageLoading: boolean) => IBundleAction;
|
|
3
4
|
export declare const setBundleData: (bundleData: IBundleDataList) => IBundleAction;
|
|
4
5
|
export declare const setBundleError: (errorString: string) => IBundleAction;
|
|
5
6
|
export declare const setSelectedBucketId: (bucketId?: string | null) => IBundleAction;
|
|
7
|
+
export declare const setBundlePaginationOffset: (paginationOffset?: string | null) => IBundleAction;
|
|
8
|
+
export declare const setPaginatedBundleData: (bundleData: IBundleDataList) => IBundleAction;
|
|
6
9
|
//# sourceMappingURL=bundleActions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundleActions.d.ts","sourceRoot":"","sources":["../../../../../src/main/state/actions/bundleActions.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,aAAa,EACb,eAAe,EAChB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,gBAAgB,QAAO,aAInC,CAAC;AAEF,eAAO,MAAM,aAAa,mCAAkC,aAK3D,CAAC;AAEF,eAAO,MAAM,cAAc,gBAAiB,MAAM,KAAG,aAKpD,CAAC;AAEF,eAAO,MAAM,mBAAmB,cACnB,MAAM,GAAG,IAAI,KACvB,aAKF,CAAC"}
|
|
1
|
+
{"version":3,"file":"bundleActions.d.ts","sourceRoot":"","sources":["../../../../../src/main/state/actions/bundleActions.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,aAAa,EACb,eAAe,EAChB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,gBAAgB,QAAO,aAInC,CAAC;AAEF,eAAO,MAAM,wBAAwB,sBAChB,OAAO,KACzB,aAKF,CAAC;AAEF,eAAO,MAAM,aAAa,mCAAkC,aAK3D,CAAC;AAEF,eAAO,MAAM,cAAc,gBAAiB,MAAM,KAAG,aAKpD,CAAC;AAEF,eAAO,MAAM,mBAAmB,cACnB,MAAM,GAAG,IAAI,KACvB,aAKF,CAAC;AAEF,eAAO,MAAM,yBAAyB,sBACjB,MAAM,GAAG,IAAI,KAC/B,aAKF,CAAC;AAEF,eAAO,MAAM,sBAAsB,mCAEhC,aAKF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundleReducer.d.ts","sourceRoot":"","sources":["../../../../../src/main/state/reducers/bundleReducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,aAAa,EACb,YAAY,EACb,MAAM,6BAA6B,CAAC;AAErC,QAAA,MAAM,aAAa,UACV,YAAY,UACX,aAAa,KACpB,
|
|
1
|
+
{"version":3,"file":"bundleReducer.d.ts","sourceRoot":"","sources":["../../../../../src/main/state/reducers/bundleReducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,aAAa,EACb,YAAY,EACb,MAAM,6BAA6B,CAAC;AAErC,QAAA,MAAM,aAAa,UACV,YAAY,UACX,aAAa,KACpB,YAmEF,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface IBundleData {
|
|
2
2
|
version: number;
|
|
3
3
|
id: string;
|
|
4
4
|
createdAt: string;
|
|
@@ -7,19 +7,25 @@ export interface IBucketData {
|
|
|
7
7
|
fullName: string;
|
|
8
8
|
};
|
|
9
9
|
releaseNote: string;
|
|
10
|
+
downloadUrl: string;
|
|
10
11
|
}
|
|
11
|
-
export type IBundleDataList =
|
|
12
|
+
export type IBundleDataList = IBundleData[];
|
|
12
13
|
export interface IBundleState {
|
|
13
14
|
data?: IBundleDataList | null;
|
|
14
15
|
selectedBucketId?: string | null;
|
|
15
16
|
isLoading: boolean;
|
|
16
17
|
error?: string | null;
|
|
18
|
+
pageOffset?: string | null;
|
|
19
|
+
isNextPageLoading?: boolean;
|
|
17
20
|
}
|
|
18
21
|
export declare enum BundleActionKind {
|
|
19
22
|
SET_BUNDLE_LOADING = "SET_BUNDLE_LOADING",
|
|
20
23
|
SET_BUNDLE_DATA = "SET_BUNDLE_DATA",
|
|
21
24
|
SET_BUNDLE_ERROR = "SET_BUNDLE_ERROR",
|
|
22
|
-
SET_SELECTED_BUCKET = "SET_SELECTED_BUCKET"
|
|
25
|
+
SET_SELECTED_BUCKET = "SET_SELECTED_BUCKET",
|
|
26
|
+
SET_PAGINATION_OFFSET = "SET_PAGINATION_OFFSET",
|
|
27
|
+
SET_PAGINATED_BUNDLE_DATA = "SET_PAGINATED_BUNDLE_DATA",
|
|
28
|
+
SET_NEXT_PAGE_LOADING = "SET_NEXT_PAGE_LOADING"
|
|
23
29
|
}
|
|
24
30
|
interface IBundleLoadingAction {
|
|
25
31
|
type: BundleActionKind.SET_BUNDLE_LOADING;
|
|
@@ -36,6 +42,18 @@ interface IBundleSelectedBucketAction {
|
|
|
36
42
|
type: BundleActionKind.SET_SELECTED_BUCKET;
|
|
37
43
|
payload?: string | null;
|
|
38
44
|
}
|
|
39
|
-
|
|
45
|
+
interface IBundlePaginationOffsetAction {
|
|
46
|
+
type: BundleActionKind.SET_PAGINATION_OFFSET;
|
|
47
|
+
payload?: string | null;
|
|
48
|
+
}
|
|
49
|
+
interface IBundlePaginatedBundleDataAction {
|
|
50
|
+
type: BundleActionKind.SET_PAGINATED_BUNDLE_DATA;
|
|
51
|
+
payload: IBundleDataList;
|
|
52
|
+
}
|
|
53
|
+
interface IBundleNextPageLoadingAction {
|
|
54
|
+
type: BundleActionKind.SET_NEXT_PAGE_LOADING;
|
|
55
|
+
payload: boolean;
|
|
56
|
+
}
|
|
57
|
+
export type IBundleAction = IBundleLoadingAction | IBundleDataAction | IBundleErrorAction | IBundleSelectedBucketAction | IBundlePaginationOffsetAction | IBundlePaginatedBundleDataAction | IBundleNextPageLoadingAction;
|
|
40
58
|
export {};
|
|
41
59
|
//# sourceMappingURL=bundle.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle.types.d.ts","sourceRoot":"","sources":["../../../src/types/bundle.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,eAAe,GAAG,WAAW,EAAE,CAAC;AAE5C,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;IAC9B,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"bundle.types.d.ts","sourceRoot":"","sources":["../../../src/types/bundle.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,eAAe,GAAG,WAAW,EAAE,CAAC;AAE5C,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;IAC9B,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC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verifyOtp: (verifyOtpPayload: IVerifyOtpPayload) => void;
|
|
17
17
|
retryLogin: () => void;
|
|
18
18
|
fetchBuckets: () => void;
|
|
19
|
-
fetchBundles: (bucketId?: string | null) => void;
|
|
19
|
+
fetchBundles: (bucketId?: string | null, pageOffset?: string | null) => void;
|
|
20
20
|
setUserRequiresLogin: (requiresLogin: boolean) => void;
|
|
21
21
|
refreshMeta: () => void;
|
|
22
22
|
selectBucket: (bucketId?: string | null) => void;
|
|
23
|
-
downloadBundle: (version: number, bucketId: string) => void;
|
|
23
|
+
downloadBundle: (version: number, bucketId: string, url: string) => void;
|
|
24
24
|
getUserProfile: () => void;
|
|
25
25
|
}
|
|
26
26
|
export interface IGlobalContext {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"globalProvider.types.d.ts","sourceRoot":"","sources":["../../../src/types/globalProvider.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,UAAU,qBAAqB;IAC7B,iBAAiB,EAAE,CAAC,cAAc,EAAE,OAAO,KAAK,IAAI,CAAC;IACrD,SAAS,EAAE,CAAC,YAAY,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACvD,SAAS,EAAE,CAAC,gBAAgB,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACzD,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,YAAY,EAAE,MAAM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AE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACzE,cAAc,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED,MAAM,WAAW,cAAc;IAC7B,cAAc,EAAE,OAAO,CAAC;IACxB,SAAS,EAAE,aAAa,CAAC;IACzB,SAAS,EAAE,UAAU,CAAC;IACtB,WAAW,EAAE,YAAY,CAAC;IAC1B,WAAW,EAAE,YAAY,CAAC;IAC1B,aAAa,EAAE,cAAc,CAAC;IAC9B,OAAO,EAAE,qBAAqB,CAAC;CAChC"}
|
|
@@ -3,8 +3,8 @@ import { NativeSyntheticEvent, TextInputChangeEventData } from 'react-native';
|
|
|
3
3
|
import { IStallionMeta } from './meta.types';
|
|
4
4
|
interface IBundleInfo {
|
|
5
5
|
bucketId: string;
|
|
6
|
-
projectId: string;
|
|
7
6
|
version: number;
|
|
7
|
+
url: string;
|
|
8
8
|
}
|
|
9
9
|
type TCallback = (apiKey: string) => void;
|
|
10
10
|
type TMetaCallback = (newMeta: IStallionMeta) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.types.d.ts","sourceRoot":"","sources":["../../../src/types/utils.types.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,UAAU,WAAW;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,
|
|
1
|
+
{"version":3,"file":"utils.types.d.ts","sourceRoot":"","sources":["../../../src/types/utils.types.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,UAAU,WAAW;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;CACb;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