@zezosoft/zezo-ott-react-native-ui-kit 0.1.0
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/LICENSE +20 -0
- package/README.md +32 -0
- package/lib/module/assets/animations/135037-payment-processing-error.json +1 -0
- package/lib/module/assets/animations/7227-vui-animation.json +1 -0
- package/lib/module/assets/animations/succesfull-payment.json +1 -0
- package/lib/module/assets/animations/voice-icon.json +1 -0
- package/lib/module/assets/img/back.png +0 -0
- package/lib/module/assets/img/bottom-panel.png +0 -0
- package/lib/module/assets/img/camera.png +0 -0
- package/lib/module/assets/img/camera2.png +0 -0
- package/lib/module/assets/img/h.svg +4 -0
- package/lib/module/assets/img/home.png +0 -0
- package/lib/module/assets/img/lock.png +0 -0
- package/lib/module/assets/img/play.png +0 -0
- package/lib/module/assets/img/profile.png +0 -0
- package/lib/module/assets/img/qr-code.png +0 -0
- package/lib/module/assets/img/shadow.png +0 -0
- package/lib/module/assets/img/shadow2.png +0 -0
- package/lib/module/assets/img/user.png +0 -0
- package/lib/module/assets/svg/content-error.svg +28 -0
- package/lib/module/assets/svg/download.svg +3 -0
- package/lib/module/assets/svg/favorites.svg +3 -0
- package/lib/module/assets/svg/home.svg +5 -0
- package/lib/module/assets/svg/menu-bar.svg +4 -0
- package/lib/module/assets/svg/my-space.svg +14 -0
- package/lib/module/assets/svg/play-icon-with-bg.svg +5 -0
- package/lib/module/assets/svg/search.svg +5 -0
- package/lib/module/assets/svg/server-error.svg +139 -0
- package/lib/module/components/Button/Button.js +22 -0
- package/lib/module/components/Button/Button.js.map +1 -0
- package/lib/module/components/Button/styles.js +23 -0
- package/lib/module/components/Button/styles.js.map +1 -0
- package/lib/module/components/Headers/One.js +101 -0
- package/lib/module/components/Headers/One.js.map +1 -0
- package/lib/module/components/Headers/Three.js +62 -0
- package/lib/module/components/Headers/Three.js.map +1 -0
- package/lib/module/components/Headers/Two.js +77 -0
- package/lib/module/components/Headers/Two.js.map +1 -0
- package/lib/module/components/Headers/index.js +17 -0
- package/lib/module/components/Headers/index.js.map +1 -0
- package/lib/module/components/Icons/AlertIcon.js +33 -0
- package/lib/module/components/Icons/AlertIcon.js.map +1 -0
- package/lib/module/components/Icons/DeviceIcon.js +25 -0
- package/lib/module/components/Icons/DeviceIcon.js.map +1 -0
- package/lib/module/components/Icons/DoneIcon/DoneIcon.js +23 -0
- package/lib/module/components/Icons/DoneIcon/DoneIcon.js.map +1 -0
- package/lib/module/components/Icons/ForgotPasswordMessageIcon.js +65 -0
- package/lib/module/components/Icons/ForgotPasswordMessageIcon.js.map +1 -0
- package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js +56 -0
- package/lib/module/components/Icons/ForgotPasswordMessageIconTwo.js.map +1 -0
- package/lib/module/components/Icons/NewIndex.js +24 -0
- package/lib/module/components/Icons/NewIndex.js.map +1 -0
- package/lib/module/components/Icons/ResendOTP.js +21 -0
- package/lib/module/components/Icons/ResendOTP.js.map +1 -0
- package/lib/module/components/Loader/Loader.js +35 -0
- package/lib/module/components/Loader/Loader.js.map +1 -0
- package/lib/module/components/Logo/Logo.js +41 -0
- package/lib/module/components/Logo/Logo.js.map +1 -0
- package/lib/module/components/Section/Card/Sliders/Styles/One.js +123 -0
- package/lib/module/components/Section/Card/Sliders/Styles/One.js.map +1 -0
- package/lib/module/components/Section/Card/Sliders/index.js +14 -0
- package/lib/module/components/Section/Card/Sliders/index.js.map +1 -0
- package/lib/module/components/Section/Card/Styles/One.js +92 -0
- package/lib/module/components/Section/Card/Styles/One.js.map +1 -0
- package/lib/module/components/Section/Card/index.js +14 -0
- package/lib/module/components/Section/Card/index.js.map +1 -0
- package/lib/module/components/Section/SectionType.js +98 -0
- package/lib/module/components/Section/SectionType.js.map +1 -0
- package/lib/module/components/Section/Sections.js +72 -0
- package/lib/module/components/Section/Sections.js.map +1 -0
- package/lib/module/components/index.js +13 -0
- package/lib/module/components/index.js.map +1 -0
- package/lib/module/index.js +9 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/sample.test.js +8 -0
- package/lib/module/sample.test.js.map +1 -0
- package/lib/module/theme/themes.js +118 -0
- package/lib/module/theme/themes.js.map +1 -0
- package/lib/module/theme/useAppTheme.js +14 -0
- package/lib/module/theme/useAppTheme.js.map +1 -0
- package/lib/module/types/content.types.js +2 -0
- package/lib/module/types/content.types.js.map +1 -0
- package/lib/module/types/index.js +5 -0
- package/lib/module/types/index.js.map +1 -0
- package/lib/module/types/sections.types.js +4 -0
- package/lib/module/types/sections.types.js.map +1 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/components/Button/Button.d.ts +9 -0
- package/lib/typescript/src/components/Button/Button.d.ts.map +1 -0
- package/lib/typescript/src/components/Button/styles.d.ts +20 -0
- package/lib/typescript/src/components/Button/styles.d.ts.map +1 -0
- package/lib/typescript/src/components/Headers/One.d.ts +25 -0
- package/lib/typescript/src/components/Headers/One.d.ts.map +1 -0
- package/lib/typescript/src/components/Headers/Three.d.ts +14 -0
- package/lib/typescript/src/components/Headers/Three.d.ts.map +1 -0
- package/lib/typescript/src/components/Headers/Two.d.ts +19 -0
- package/lib/typescript/src/components/Headers/Two.d.ts.map +1 -0
- package/lib/typescript/src/components/Headers/index.d.ts +11 -0
- package/lib/typescript/src/components/Headers/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Icons/AlertIcon.d.ts +7 -0
- package/lib/typescript/src/components/Icons/AlertIcon.d.ts.map +1 -0
- package/lib/typescript/src/components/Icons/DeviceIcon.d.ts +7 -0
- package/lib/typescript/src/components/Icons/DeviceIcon.d.ts.map +1 -0
- package/lib/typescript/src/components/Icons/DoneIcon/DoneIcon.d.ts +6 -0
- package/lib/typescript/src/components/Icons/DoneIcon/DoneIcon.d.ts.map +1 -0
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts +3 -0
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIcon.d.ts.map +1 -0
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts +3 -0
- package/lib/typescript/src/components/Icons/ForgotPasswordMessageIconTwo.d.ts.map +1 -0
- package/lib/typescript/src/components/Icons/NewIndex.d.ts +13 -0
- package/lib/typescript/src/components/Icons/NewIndex.d.ts.map +1 -0
- package/lib/typescript/src/components/Icons/ResendOTP.d.ts +7 -0
- package/lib/typescript/src/components/Icons/ResendOTP.d.ts.map +1 -0
- package/lib/typescript/src/components/Loader/Loader.d.ts +11 -0
- package/lib/typescript/src/components/Loader/Loader.d.ts.map +1 -0
- package/lib/typescript/src/components/Logo/Logo.d.ts +19 -0
- package/lib/typescript/src/components/Logo/Logo.d.ts.map +1 -0
- package/lib/typescript/src/components/Section/Card/Sliders/Styles/One.d.ts +18 -0
- package/lib/typescript/src/components/Section/Card/Sliders/Styles/One.d.ts.map +1 -0
- package/lib/typescript/src/components/Section/Card/Sliders/index.d.ts +7 -0
- package/lib/typescript/src/components/Section/Card/Sliders/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Section/Card/Styles/One.d.ts +19 -0
- package/lib/typescript/src/components/Section/Card/Styles/One.d.ts.map +1 -0
- package/lib/typescript/src/components/Section/Card/index.d.ts +7 -0
- package/lib/typescript/src/components/Section/Card/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Section/SectionType.d.ts +26 -0
- package/lib/typescript/src/components/Section/SectionType.d.ts.map +1 -0
- package/lib/typescript/src/components/Section/Sections.d.ts +27 -0
- package/lib/typescript/src/components/Section/Sections.d.ts.map +1 -0
- package/lib/typescript/src/components/index.d.ts +10 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +7 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/sample.test.d.ts +1 -0
- package/lib/typescript/src/sample.test.d.ts.map +1 -0
- package/lib/typescript/src/theme/themes.d.ts +57 -0
- package/lib/typescript/src/theme/themes.d.ts.map +1 -0
- package/lib/typescript/src/theme/useAppTheme.d.ts +46 -0
- package/lib/typescript/src/theme/useAppTheme.d.ts.map +1 -0
- package/lib/typescript/src/types/content.types.d.ts +154 -0
- package/lib/typescript/src/types/content.types.d.ts.map +1 -0
- package/lib/typescript/src/types/index.d.ts +3 -0
- package/lib/typescript/src/types/index.d.ts.map +1 -0
- package/lib/typescript/src/types/sections.types.d.ts +41 -0
- package/lib/typescript/src/types/sections.types.d.ts.map +1 -0
- package/package.json +168 -0
- package/src/assets/animations/135037-payment-processing-error.json +1 -0
- package/src/assets/animations/7227-vui-animation.json +1 -0
- package/src/assets/animations/succesfull-payment.json +1 -0
- package/src/assets/animations/voice-icon.json +1 -0
- package/src/assets/img/back.png +0 -0
- package/src/assets/img/bottom-panel.png +0 -0
- package/src/assets/img/camera.png +0 -0
- package/src/assets/img/camera2.png +0 -0
- package/src/assets/img/h.svg +4 -0
- package/src/assets/img/home.png +0 -0
- package/src/assets/img/lock.png +0 -0
- package/src/assets/img/play.png +0 -0
- package/src/assets/img/profile.png +0 -0
- package/src/assets/img/qr-code.png +0 -0
- package/src/assets/img/shadow.png +0 -0
- package/src/assets/img/shadow2.png +0 -0
- package/src/assets/img/user.png +0 -0
- package/src/assets/svg/content-error.svg +28 -0
- package/src/assets/svg/download.svg +3 -0
- package/src/assets/svg/favorites.svg +3 -0
- package/src/assets/svg/home.svg +5 -0
- package/src/assets/svg/menu-bar.svg +4 -0
- package/src/assets/svg/my-space.svg +14 -0
- package/src/assets/svg/play-icon-with-bg.svg +5 -0
- package/src/assets/svg/search.svg +5 -0
- package/src/assets/svg/server-error.svg +139 -0
- package/src/components/Button/Button.tsx +32 -0
- package/src/components/Button/styles.ts +21 -0
- package/src/components/Headers/One.tsx +100 -0
- package/src/components/Headers/Three.tsx +63 -0
- package/src/components/Headers/Two.tsx +75 -0
- package/src/components/Headers/index.ts +16 -0
- package/src/components/Icons/AlertIcon.tsx +29 -0
- package/src/components/Icons/DeviceIcon.tsx +24 -0
- package/src/components/Icons/DoneIcon/DoneIcon.tsx +17 -0
- package/src/components/Icons/ForgotPasswordMessageIcon.tsx +55 -0
- package/src/components/Icons/ForgotPasswordMessageIconTwo.tsx +46 -0
- package/src/components/Icons/NewIndex.ts +23 -0
- package/src/components/Icons/ResendOTP.tsx +23 -0
- package/src/components/Loader/Loader.tsx +33 -0
- package/src/components/Logo/Logo.tsx +60 -0
- package/src/components/Section/Card/Sliders/Styles/One.tsx +147 -0
- package/src/components/Section/Card/Sliders/index.ts +13 -0
- package/src/components/Section/Card/Styles/One.tsx +112 -0
- package/src/components/Section/Card/index.ts +13 -0
- package/src/components/Section/SectionType.tsx +127 -0
- package/src/components/Section/Sections.tsx +120 -0
- package/src/components/index.ts +10 -0
- package/src/index.ts +6 -0
- package/src/sample.test.ts +5 -0
- package/src/theme/themes.ts +198 -0
- package/src/theme/useAppTheme.ts +13 -0
- package/src/types/content.types.ts +167 -0
- package/src/types/index.ts +2 -0
- package/src/types/sections.types.ts +56 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Sun 08 Jun 2025 at 03:30 PM
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
interface LoaderProps {
|
|
7
|
+
color?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const Loader: React.FC<LoaderProps>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=Loader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,WAAW;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAMxC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Sun 08 Jun 2025 at 03:23 PM
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { type StyleProp, type ImageStyle, type ViewStyle } from 'react-native';
|
|
7
|
+
interface ILogoProps {
|
|
8
|
+
width?: number;
|
|
9
|
+
height?: number;
|
|
10
|
+
resizeMode?: 'contain' | 'cover' | 'stretch';
|
|
11
|
+
logoUri: string;
|
|
12
|
+
imageStyle?: StyleProp<ImageStyle>;
|
|
13
|
+
containerStyle?: StyleProp<ViewStyle>;
|
|
14
|
+
aspectRatio?: number;
|
|
15
|
+
fallbackUri?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const Logo: React.FC<ILogoProps>;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=Logo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../../../../src/components/Logo/Logo.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAGtB,UAAU,UAAU;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IACnC,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAkCrC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Mon 09 Jun 2025 at 03:12 PM
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { IContentData, IGetSectionMeta } from '../../../../../types';
|
|
7
|
+
import { AppTheme } from '../../../../../theme/themes';
|
|
8
|
+
export interface IProps {
|
|
9
|
+
theme?: AppTheme;
|
|
10
|
+
data: {
|
|
11
|
+
data: IContentData[];
|
|
12
|
+
meta: IGetSectionMeta;
|
|
13
|
+
};
|
|
14
|
+
index: number;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: React.NamedExoticComponent<IProps>;
|
|
17
|
+
export default _default;
|
|
18
|
+
//# sourceMappingURL=One.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"One.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Section/Card/Sliders/Styles/One.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAkC,MAAM,OAAO,CAAC;AAYvD,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAErE,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,MAAM,WAAW,MAAM;IACrB,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY,EAAE,CAAC;QACrB,IAAI,EAAE,eAAe,CAAC;KACvB,CAAC;IACF,KAAK,EAAE,MAAM,CAAC;CACf;;AA0FD,wBAA+B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Section/Card/Sliders/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;CAIZ,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Pukhraj Dhamu
|
|
3
|
+
* @LastModified Sat 21 Sep 2024 at 03:26 PM
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { IContentData } from '../../../../types';
|
|
7
|
+
import { AppTheme } from '../../../../theme/themes';
|
|
8
|
+
export interface IProps {
|
|
9
|
+
theme: AppTheme;
|
|
10
|
+
data?: IContentData[];
|
|
11
|
+
isLoading?: boolean;
|
|
12
|
+
title: string;
|
|
13
|
+
onEndReached?: () => void;
|
|
14
|
+
section_id: string;
|
|
15
|
+
showNavigateToMore?: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare const _default: React.NamedExoticComponent<IProps>;
|
|
18
|
+
export default _default;
|
|
19
|
+
//# sourceMappingURL=One.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"One.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Section/Card/Styles/One.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAe,MAAM,OAAO,CAAC;AAQpC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,QAAQ,CAAC;IAChB,IAAI,CAAC,EAAE,YAAY,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;;AA0DD,wBAA+B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Section/Card/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,KAAK;;;;CAIV,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Pukhraj Dhamu
|
|
3
|
+
* @lastModified Sat 21 Sep 2024 at 07:51 PM
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { IContentData, IGetSectionData, IGetSectionMeta } from '../../types';
|
|
7
|
+
import { AppTheme } from '../../theme/themes';
|
|
8
|
+
export interface ICustomComponentsForSections {
|
|
9
|
+
type: string;
|
|
10
|
+
component: React.ReactElement;
|
|
11
|
+
}
|
|
12
|
+
export interface IProps {
|
|
13
|
+
type: IGetSectionData['type'];
|
|
14
|
+
data: {
|
|
15
|
+
data: IContentData[];
|
|
16
|
+
meta: IGetSectionMeta;
|
|
17
|
+
};
|
|
18
|
+
name: string;
|
|
19
|
+
customComponents?: ICustomComponentsForSections[];
|
|
20
|
+
theme?: AppTheme;
|
|
21
|
+
index: number;
|
|
22
|
+
section_id: string;
|
|
23
|
+
}
|
|
24
|
+
declare const SectionType: React.FC<IProps>;
|
|
25
|
+
export default SectionType;
|
|
26
|
+
//# sourceMappingURL=SectionType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SectionType.d.ts","sourceRoot":"","sources":["../../../../../src/components/Section/SectionType.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9C,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,KAAK,CAAC,YAAY,CAAC;CAC/B;AACD,MAAM,WAAW,MAAM;IACrB,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,IAAI,EAAE,YAAY,EAAE,CAAC;QACrB,IAAI,EAAE,eAAe,CAAC;KACvB,CAAC;IACF,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,CAAC,EAAE,4BAA4B,EAAE,CAAC;IAClD,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;CACpB;AA6CD,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAsDjC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Sun 08 Jun 2025 at 03:50 PM
|
|
4
|
+
*/
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { type NativeScrollEvent, type NativeSyntheticEvent, type StyleProp, type ViewStyle } from 'react-native';
|
|
7
|
+
import { type AnimatedStyle, type SharedValue } from 'react-native-reanimated';
|
|
8
|
+
import type { IGetSectionData } from '../../types';
|
|
9
|
+
import { AppTheme } from '../../theme/themes';
|
|
10
|
+
export interface ICustomComponentsForSections {
|
|
11
|
+
type: string;
|
|
12
|
+
component: React.ReactElement;
|
|
13
|
+
}
|
|
14
|
+
export interface ISectionsProps {
|
|
15
|
+
category?: string;
|
|
16
|
+
customComponents?: ICustomComponentsForSections[];
|
|
17
|
+
LoaderComponent?: React.ReactNode;
|
|
18
|
+
ErrorComponent?: React.ReactNode;
|
|
19
|
+
InfiniteScrollLoaderComponent?: React.ReactNode;
|
|
20
|
+
onScroll?: ((event: NativeSyntheticEvent<NativeScrollEvent>) => void) | SharedValue<((event: NativeSyntheticEvent<NativeScrollEvent>) => void) | undefined>;
|
|
21
|
+
contentContainerStyle?: StyleProp<ViewStyle> | AnimatedStyle<StyleProp<ViewStyle>>;
|
|
22
|
+
data?: IGetSectionData[];
|
|
23
|
+
onEndReached?: () => void;
|
|
24
|
+
theme?: AppTheme;
|
|
25
|
+
}
|
|
26
|
+
export declare const Sections: React.FC<ISectionsProps>;
|
|
27
|
+
//# sourceMappingURL=Sections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sections.d.ts","sourceRoot":"","sources":["../../../../../src/components/Section/Sections.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAGL,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,OAAiB,EACf,KAAK,aAAa,EAClB,KAAK,WAAW,EACjB,MAAM,yBAAyB,CAAC;AAIjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9C,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,KAAK,CAAC,YAAY,CAAC;CAC/B;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,4BAA4B,EAAE,CAAC;IAClD,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,6BAA6B,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChD,QAAQ,CAAC,EACL,CAAC,CAAC,KAAK,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC,GAC1D,WAAW,CACT,CAAC,CAAC,KAAK,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC,GAAG,SAAS,CACvE,CAAC;IACN,qBAAqB,CAAC,EAClB,SAAS,CAAC,SAAS,CAAC,GACpB,aAAa,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC;IACxC,IAAI,CAAC,EAAE,eAAe,EAAE,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,QAAQ,CAAC;CAClB;AAOD,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAiE7C,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Sun 08 Jun 2025 at 03:23 PM
|
|
4
|
+
*/
|
|
5
|
+
export * from './Button/Button';
|
|
6
|
+
export * from './Loader/Loader';
|
|
7
|
+
export * from './Headers';
|
|
8
|
+
export * from './Section/Sections';
|
|
9
|
+
export * from './Logo/Logo';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=sample.test.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sample.test.d.ts","sourceRoot":"","sources":["../../../src/sample.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Naresh Dhamu
|
|
3
|
+
* @lastModified Mon 09 Jun 2025 at 04:45 PM
|
|
4
|
+
*/
|
|
5
|
+
import type { MD3ElevationColors, ThemeProp } from 'react-native-paper/lib/typescript/types';
|
|
6
|
+
type BaseColors = {
|
|
7
|
+
primary: string;
|
|
8
|
+
primaryContainer: string;
|
|
9
|
+
secondary: string;
|
|
10
|
+
secondaryContainer: string;
|
|
11
|
+
tertiary: string;
|
|
12
|
+
tertiaryContainer: string;
|
|
13
|
+
surface: string;
|
|
14
|
+
surfaceVariant: string;
|
|
15
|
+
surfaceDisabled: string;
|
|
16
|
+
background: string;
|
|
17
|
+
error: string;
|
|
18
|
+
errorContainer: string;
|
|
19
|
+
onPrimary: string;
|
|
20
|
+
onPrimaryContainer: string;
|
|
21
|
+
onSecondary: string;
|
|
22
|
+
onSecondaryContainer: string;
|
|
23
|
+
onTertiary: string;
|
|
24
|
+
onTertiaryContainer: string;
|
|
25
|
+
onSurface: string;
|
|
26
|
+
onSurfaceVariant: string;
|
|
27
|
+
onSurfaceDisabled: string;
|
|
28
|
+
onError: string;
|
|
29
|
+
onErrorContainer: string;
|
|
30
|
+
onBackground: string;
|
|
31
|
+
outline: string;
|
|
32
|
+
outlineVariant: string;
|
|
33
|
+
inverseSurface: string;
|
|
34
|
+
inverseOnSurface: string;
|
|
35
|
+
inversePrimary: string;
|
|
36
|
+
shadow: string;
|
|
37
|
+
scrim: string;
|
|
38
|
+
backdrop: string;
|
|
39
|
+
elevation: MD3ElevationColors;
|
|
40
|
+
CustomPrimary: string;
|
|
41
|
+
CustomSecondary: string;
|
|
42
|
+
CustomText: string;
|
|
43
|
+
CustomWhiteColor: string;
|
|
44
|
+
CustomBlackColor: string;
|
|
45
|
+
CustomTransparentColor: string;
|
|
46
|
+
};
|
|
47
|
+
export interface ITheme extends Pick<ThemeProp, 'version' | 'dark' | 'mode' | 'animation' | 'fonts' | 'isV3' | 'roundness'> {
|
|
48
|
+
colors: BaseColors;
|
|
49
|
+
}
|
|
50
|
+
export type AppTheme = Omit<ITheme, 'colors'> & {
|
|
51
|
+
dark?: boolean;
|
|
52
|
+
colors?: Partial<BaseColors>;
|
|
53
|
+
};
|
|
54
|
+
export declare const LightTheme: ITheme;
|
|
55
|
+
export declare const DarkTheme: ITheme;
|
|
56
|
+
export {};
|
|
57
|
+
//# sourceMappingURL=themes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../../../src/theme/themes.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,EACV,kBAAkB,EAClB,SAAS,EACV,MAAM,yCAAyC,CAAC;AAEjD,KAAK,UAAU,GAAG;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;IACzB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,kBAAkB,CAAC;IAG9B,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,sBAAsB,EAAE,MAAM,CAAC;CAChC,CAAC;AAEF,MAAM,WAAW,MACf,SAAQ,IAAI,CACV,SAAS,EACT,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,WAAW,GAAG,OAAO,GAAG,MAAM,GAAG,WAAW,CAC3E;IACD,MAAM,EAAE,UAAU,CAAC;CACpB;AAGD,MAAM,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,GAAG;IAC9C,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,MA+DxB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,MA+DvB,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { AppTheme } from './themes';
|
|
2
|
+
export declare function useAppTheme(externalTheme?: AppTheme): {
|
|
3
|
+
colors: {
|
|
4
|
+
primary: string;
|
|
5
|
+
primaryContainer: string;
|
|
6
|
+
secondary: string;
|
|
7
|
+
secondaryContainer: string;
|
|
8
|
+
tertiary: string;
|
|
9
|
+
tertiaryContainer: string;
|
|
10
|
+
surface: string;
|
|
11
|
+
surfaceVariant: string;
|
|
12
|
+
surfaceDisabled: string;
|
|
13
|
+
background: string;
|
|
14
|
+
error: string;
|
|
15
|
+
errorContainer: string;
|
|
16
|
+
onPrimary: string;
|
|
17
|
+
onPrimaryContainer: string;
|
|
18
|
+
onSecondary: string;
|
|
19
|
+
onSecondaryContainer: string;
|
|
20
|
+
onTertiary: string;
|
|
21
|
+
onTertiaryContainer: string;
|
|
22
|
+
onSurface: string;
|
|
23
|
+
onSurfaceVariant: string;
|
|
24
|
+
onSurfaceDisabled: string;
|
|
25
|
+
onError: string;
|
|
26
|
+
onErrorContainer: string;
|
|
27
|
+
onBackground: string;
|
|
28
|
+
outline: string;
|
|
29
|
+
outlineVariant: string;
|
|
30
|
+
inverseSurface: string;
|
|
31
|
+
inverseOnSurface: string;
|
|
32
|
+
inversePrimary: string;
|
|
33
|
+
shadow: string;
|
|
34
|
+
scrim: string;
|
|
35
|
+
backdrop: string;
|
|
36
|
+
elevation: import("react-native-paper/lib/typescript/types").MD3ElevationColors;
|
|
37
|
+
CustomPrimary: string;
|
|
38
|
+
CustomSecondary: string;
|
|
39
|
+
CustomText: string;
|
|
40
|
+
CustomWhiteColor: string;
|
|
41
|
+
CustomBlackColor: string;
|
|
42
|
+
CustomTransparentColor: string;
|
|
43
|
+
};
|
|
44
|
+
isDarkMode: import("@callstack/react-theme-provider").$DeepPartial<boolean>;
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=useAppTheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAppTheme.d.ts","sourceRoot":"","sources":["../../../../src/theme/useAppTheme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGzC,wBAAgB,WAAW,CAAC,aAAa,CAAC,EAAE,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQnD"}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
export interface IContentlanguage {
|
|
2
|
+
_id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IContentCast {
|
|
6
|
+
_id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
avatar: string | null;
|
|
9
|
+
castType: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ISubtitles {
|
|
12
|
+
title?: string;
|
|
13
|
+
language?: string;
|
|
14
|
+
type: 'application/x-subrip' | 'application/ttml+xml' | 'text/vtt';
|
|
15
|
+
url: string;
|
|
16
|
+
}
|
|
17
|
+
export interface IContentEpisodes {
|
|
18
|
+
_id: string;
|
|
19
|
+
name: string;
|
|
20
|
+
description: string;
|
|
21
|
+
duration: number;
|
|
22
|
+
source_link: string;
|
|
23
|
+
trailer_source_link: string;
|
|
24
|
+
source_type: 'HLS' | 'MP4';
|
|
25
|
+
content_offering_type: 'FREE' | 'PREMIUM';
|
|
26
|
+
subtitles: ISubtitles[];
|
|
27
|
+
thumbnail: string;
|
|
28
|
+
createdAt: string;
|
|
29
|
+
updatedAt: string;
|
|
30
|
+
number: number;
|
|
31
|
+
skipIntroTimestamp?: {
|
|
32
|
+
start: number;
|
|
33
|
+
end: number;
|
|
34
|
+
} | null;
|
|
35
|
+
nextEpisodeTimestamp?: number | null;
|
|
36
|
+
}
|
|
37
|
+
export interface IContentSeasons {
|
|
38
|
+
_id: string;
|
|
39
|
+
name: string;
|
|
40
|
+
contant_id: string;
|
|
41
|
+
order: number;
|
|
42
|
+
season_number?: number;
|
|
43
|
+
episodes: IContentEpisodes[] | null;
|
|
44
|
+
status: boolean;
|
|
45
|
+
created_by: string;
|
|
46
|
+
createdAt: string;
|
|
47
|
+
updatedAt: string;
|
|
48
|
+
}
|
|
49
|
+
export interface IContentCategory {
|
|
50
|
+
_id: string;
|
|
51
|
+
name: string;
|
|
52
|
+
}
|
|
53
|
+
export interface IContentGenres {
|
|
54
|
+
_id: string;
|
|
55
|
+
name: string;
|
|
56
|
+
}
|
|
57
|
+
export interface IContentPagination {
|
|
58
|
+
length: number;
|
|
59
|
+
limit: number;
|
|
60
|
+
page: number;
|
|
61
|
+
total: number;
|
|
62
|
+
}
|
|
63
|
+
export interface IContentMeta {
|
|
64
|
+
pagination: IContentPagination;
|
|
65
|
+
report: any | null;
|
|
66
|
+
}
|
|
67
|
+
export interface IContentImages {
|
|
68
|
+
width: number;
|
|
69
|
+
height: number;
|
|
70
|
+
sizes?: {
|
|
71
|
+
small: string;
|
|
72
|
+
medium: string;
|
|
73
|
+
large: string;
|
|
74
|
+
original: string;
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
export interface IContentData {
|
|
78
|
+
_id: string;
|
|
79
|
+
name: string;
|
|
80
|
+
slug: string;
|
|
81
|
+
u_age: string;
|
|
82
|
+
description: string;
|
|
83
|
+
duration: string;
|
|
84
|
+
rating: number;
|
|
85
|
+
source_link: string | null;
|
|
86
|
+
source_type: 'HLS' | 'MP4' | 'LIVE_STREAM_HLS';
|
|
87
|
+
trailer_source_link: string | null;
|
|
88
|
+
trailer_source_type: 'HLS' | 'MP4';
|
|
89
|
+
language: IContentlanguage[] | null;
|
|
90
|
+
cast: IContentCast[] | null;
|
|
91
|
+
poster: string;
|
|
92
|
+
thumbnail: string;
|
|
93
|
+
views: number;
|
|
94
|
+
tags: string[];
|
|
95
|
+
job_id: string | null;
|
|
96
|
+
seasons: IContentSeasons[] | null;
|
|
97
|
+
status: 'PUBLIC' | 'PRIVATE' | 'PENDING' | 'REJECTED';
|
|
98
|
+
trash: boolean;
|
|
99
|
+
type: 'series' | 'movie' | 'live_stream';
|
|
100
|
+
content_offering_type: 'FREE' | 'PREMIUM' | 'BUY_OR_RENT';
|
|
101
|
+
updated_by: string;
|
|
102
|
+
created_by: Date;
|
|
103
|
+
createdAt: Date;
|
|
104
|
+
updatedAt: string;
|
|
105
|
+
category: IContentCategory[] | null;
|
|
106
|
+
genres: IContentGenres[] | null;
|
|
107
|
+
subtitles: ISubtitles[];
|
|
108
|
+
is_buy_or_rent?: 'BUY' | 'RENT';
|
|
109
|
+
rent_duration?: number | null;
|
|
110
|
+
price?: number | null;
|
|
111
|
+
title_image?: string;
|
|
112
|
+
content_duration?: string;
|
|
113
|
+
images?: IContentImages[];
|
|
114
|
+
buy_or_rent_status: {
|
|
115
|
+
_id?: string;
|
|
116
|
+
status?: 'valid' | 'expired';
|
|
117
|
+
}[];
|
|
118
|
+
}
|
|
119
|
+
export interface IContent {
|
|
120
|
+
data: IContentData[];
|
|
121
|
+
meta: IContentMeta;
|
|
122
|
+
}
|
|
123
|
+
export interface IRentOrBuyContentData {
|
|
124
|
+
_id: string;
|
|
125
|
+
content_id: IContentData;
|
|
126
|
+
user_id: string;
|
|
127
|
+
status: 'valid' | 'expired';
|
|
128
|
+
valid_upto: string;
|
|
129
|
+
createdAt: string;
|
|
130
|
+
updatedAt: string;
|
|
131
|
+
}
|
|
132
|
+
export interface IRentOrBuyContent {
|
|
133
|
+
data: IRentOrBuyContentData[];
|
|
134
|
+
meta: IContentMeta;
|
|
135
|
+
}
|
|
136
|
+
export interface IGetIsRentOrBuyContentByIDData {
|
|
137
|
+
message: string;
|
|
138
|
+
data: {
|
|
139
|
+
_id: string;
|
|
140
|
+
content_id: {
|
|
141
|
+
_id: string;
|
|
142
|
+
name: string;
|
|
143
|
+
is_buy_or_rent?: 'BUY' | 'RENT';
|
|
144
|
+
rent_duration: number;
|
|
145
|
+
price: number;
|
|
146
|
+
};
|
|
147
|
+
user_id: string;
|
|
148
|
+
status: 'valid' | 'expired';
|
|
149
|
+
valid_upto: string;
|
|
150
|
+
createdAt: string;
|
|
151
|
+
updatedAt: string;
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
//# sourceMappingURL=content.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content.types.d.ts","sourceRoot":"","sources":["../../../../src/types/content.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,UAAU;IACzB,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,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,qBAAqB,EAAE,CAAC;IAC9B,IAAI,EAAE,YAAY,CAAC;CACpB;AAED,MAAM,WAAW,8BAA8B;IAC7C,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE;QACJ,GAAG,EAAE,MAAM,CAAC;QACZ,UAAU,EAAE;YACV,GAAG,EAAE,MAAM,CAAC;YACZ,IAAI,EAAE,MAAM,CAAC;YACb,cAAc,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;YAChC,aAAa,EAAE,MAAM,CAAC;YACtB,KAAK,EAAE,MAAM,CAAC;SACf,CAAC;QACF,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC;QAC5B,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { IContentData } from './content.types';
|
|
2
|
+
export type ISectionType = 'normal' | 'card_style_2' | 'card_style_3' | 'card_style_4' | 'card_style_5' | 'card_style_6' | 'card_rotate_in_out' | 'slider' | 'slider_style_2' | 'card_series_featured_style_1' | 'continue_watching' | 'new_releases';
|
|
3
|
+
export interface IGetSectionMeta {
|
|
4
|
+
pagination: {
|
|
5
|
+
page: number;
|
|
6
|
+
limit: number;
|
|
7
|
+
length: number;
|
|
8
|
+
total: number;
|
|
9
|
+
hasNextPage: boolean;
|
|
10
|
+
nextPage: number | null;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export interface IGetSectionData {
|
|
14
|
+
_id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
label: string;
|
|
17
|
+
order: number;
|
|
18
|
+
type: ISectionType;
|
|
19
|
+
content_ids: string[];
|
|
20
|
+
category: {
|
|
21
|
+
_id: string;
|
|
22
|
+
name: string;
|
|
23
|
+
slug: string;
|
|
24
|
+
};
|
|
25
|
+
genre?: string;
|
|
26
|
+
content: {
|
|
27
|
+
data: IContentData[];
|
|
28
|
+
meta: IGetSectionMeta;
|
|
29
|
+
};
|
|
30
|
+
status: boolean;
|
|
31
|
+
createdAt: Date;
|
|
32
|
+
updatedAt: Date;
|
|
33
|
+
}
|
|
34
|
+
export interface IGetSectionResponse {
|
|
35
|
+
success: boolean;
|
|
36
|
+
message: string;
|
|
37
|
+
data: IGetSectionData[];
|
|
38
|
+
meta: IGetSectionMeta;
|
|
39
|
+
cache: boolean;
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=sections.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sections.types.d.ts","sourceRoot":"","sources":["../../../../src/types/sections.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,MAAM,YAAY,GACpB,QAAQ,GACR,cAAc,GACd,cAAc,GACd,cAAc,GACd,cAAc,GACd,cAAc,GACd,oBAAoB,GACpB,QAAQ,GACR,gBAAgB,GAChB,8BAA8B,GAC9B,mBAAmB,GACnB,cAAc,CAAC;AAEnB,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE;QACV,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,OAAO,CAAC;QACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;KACzB,CAAC;CACH;AAED,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CA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