react-native-stallion 1.0.2 → 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 -143
- 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/index.js +5 -3
- package/src/main/components/common/Header/index.js.map +1 -1
- 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 +11 -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 +82 -5
- 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/index.d.ts +2 -2
- package/types/main/components/common/Header/index.d.ts.map +1 -1
- 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 +10 -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/main/utils/ErrorBoundary.d.ts +11 -4
- package/types/main/utils/ErrorBoundary.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,"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,7 +1,14 @@
|
|
|
1
|
-
import { Component
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
interface IErrorBoundaryProps {
|
|
3
|
+
}
|
|
4
|
+
interface IErrorBoundaryState {
|
|
5
|
+
errorText?: string | null;
|
|
6
|
+
}
|
|
7
|
+
declare class ErrorBoundary extends Component<IErrorBoundaryProps, IErrorBoundaryState> {
|
|
8
|
+
constructor(props: IErrorBoundaryProps);
|
|
9
|
+
componentDidCatch(error: Error): void;
|
|
10
|
+
continueCrash(): void;
|
|
11
|
+
render(): React.ReactNode;
|
|
5
12
|
}
|
|
6
13
|
export default ErrorBoundary;
|
|
7
14
|
//# sourceMappingURL=ErrorBoundary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorBoundary.d.ts","sourceRoot":"","sources":["../../../../src/main/utils/ErrorBoundary.
|
|
1
|
+
{"version":3,"file":"ErrorBoundary.d.ts","sourceRoot":"","sources":["../../../../src/main/utils/ErrorBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAiBzC,UAAU,mBAAmB;CAAG;AAChC,UAAU,mBAAmB;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAED,cAAM,aAAc,SAAQ,SAAS,CACnC,mBAAmB,EACnB,mBAAmB,CACpB;gBACa,KAAK,EAAE,mBAAmB;IAOtC,iBAAiB,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAuBrC,aAAa;IAGb,MAAM;CAyBP;AAED,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,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AC7B,gCAAgC,GAChC,4BAA4B,CAAC"}
|
|
@@ -16,11 +16,11 @@ interface IGlobalContextActions {
|
|
|
16
16
|
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,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AM,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD,cAAc,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,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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