@zezosoft/zezo-ott-react-native-ui-kit 1.0.9 → 1.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.
Files changed (127) hide show
  1. package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
  2. package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
  3. package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
  4. package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
  5. package/lib/module/components/Content/Card/Styles/Four.js +1 -2
  6. package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
  7. package/lib/module/components/Content/Card/Styles/One.js +1 -2
  8. package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
  9. package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
  10. package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
  11. package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
  12. package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
  13. package/lib/module/components/Content/Card/Styles/Two.js +1 -2
  14. package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
  15. package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
  16. package/lib/module/components/Content/Content.js.map +1 -1
  17. package/lib/module/components/Content/Sections.js.map +1 -1
  18. package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
  19. package/lib/module/components/ContentView/components/CastCard.js +2 -1
  20. package/lib/module/components/ContentView/components/CastCard.js.map +1 -1
  21. package/lib/module/components/ContentView/components/EpisodeCard.js +3 -3
  22. package/lib/module/components/ContentView/components/EpisodeCard.js.map +1 -1
  23. package/lib/module/components/ContentView/components/GenreTags.js.map +1 -1
  24. package/lib/module/components/ContentView/components/MiniInfo.js.map +1 -1
  25. package/lib/module/components/ContentView/components/Title.js.map +1 -1
  26. package/lib/module/components/Search/One.js.map +1 -1
  27. package/lib/module/components/Subscription/SubOne.js +1 -2
  28. package/lib/module/components/Subscription/SubOne.js.map +1 -1
  29. package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js.map +1 -1
  30. package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
  31. package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
  32. package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts +2 -1
  33. package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts.map +1 -1
  34. package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts +2 -1
  35. package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts.map +1 -1
  36. package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts +2 -1
  37. package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts.map +1 -1
  38. package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts +2 -2
  39. package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts +2 -1
  40. package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts.map +1 -1
  41. package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts +2 -1
  42. package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts.map +1 -1
  43. package/lib/typescript/src/components/Content/Card/Styles/One.d.ts +2 -1
  44. package/lib/typescript/src/components/Content/Card/Styles/One.d.ts.map +1 -1
  45. package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts +2 -1
  46. package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -1
  47. package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts +2 -1
  48. package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts.map +1 -1
  49. package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts +2 -1
  50. package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts.map +1 -1
  51. package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts +2 -1
  52. package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts.map +1 -1
  53. package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts +2 -1
  54. package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
  55. package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +1 -1
  56. package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -1
  57. package/lib/typescript/src/components/Content/Card/components/RentOrBuyIcon.d.ts +1 -1
  58. package/lib/typescript/src/components/Content/Card/components/RentOrBuyIcon.d.ts.map +1 -1
  59. package/lib/typescript/src/components/Content/Card/index.d.ts +24 -24
  60. package/lib/typescript/src/components/Content/Content.d.ts +2 -1
  61. package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
  62. package/lib/typescript/src/components/Content/Sections.d.ts +2 -1
  63. package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
  64. package/lib/typescript/src/components/ContentView/MoreContentList.d.ts +1 -1
  65. package/lib/typescript/src/components/ContentView/MoreContentList.d.ts.map +1 -1
  66. package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts +1 -1
  67. package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +1 -1
  68. package/lib/typescript/src/components/ContentView/components/CastCard.d.ts +1 -1
  69. package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +1 -1
  70. package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts +1 -1
  71. package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +1 -1
  72. package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts +1 -1
  73. package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts.map +1 -1
  74. package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts +1 -1
  75. package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts.map +1 -1
  76. package/lib/typescript/src/components/ContentView/components/Title.d.ts +1 -1
  77. package/lib/typescript/src/components/ContentView/components/Title.d.ts.map +1 -1
  78. package/lib/typescript/src/components/Search/One.d.ts +2 -1
  79. package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
  80. package/lib/typescript/src/components/User/PurchaseHistory/PurchaseHistory.d.ts +1 -1
  81. package/lib/typescript/src/components/User/PurchaseHistory/PurchaseHistory.d.ts.map +1 -1
  82. package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts +1 -1
  83. package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts.map +1 -1
  84. package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts +1 -1
  85. package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -1
  86. package/lib/typescript/src/types/content/content-view.types.d.ts +1 -1
  87. package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
  88. package/lib/typescript/src/types/index.d.ts +1 -1
  89. package/lib/typescript/src/types/index.d.ts.map +1 -1
  90. package/lib/typescript/src/types/sections/index.d.ts +1 -1
  91. package/lib/typescript/src/types/sections/index.d.ts.map +1 -1
  92. package/package.json +2 -1
  93. package/src/components/Content/Card/NowWatching/NowWatching.tsx +2 -5
  94. package/src/components/Content/Card/Sliders/Styles/One.tsx +2 -1
  95. package/src/components/Content/Card/Sliders/Styles/Two.tsx +2 -1
  96. package/src/components/Content/Card/Styles/Five.tsx +1 -1
  97. package/src/components/Content/Card/Styles/Four.tsx +1 -1
  98. package/src/components/Content/Card/Styles/One.tsx +1 -1
  99. package/src/components/Content/Card/Styles/RotateInOut.tsx +1 -1
  100. package/src/components/Content/Card/Styles/Six.tsx +1 -1
  101. package/src/components/Content/Card/Styles/Three.tsx +1 -1
  102. package/src/components/Content/Card/Styles/TopTen.tsx +1 -1
  103. package/src/components/Content/Card/Styles/Two.tsx +1 -1
  104. package/src/components/Content/Card/components/CardPoster.tsx +1 -1
  105. package/src/components/Content/Card/components/RentOrBuyIcon.tsx +1 -1
  106. package/src/components/Content/Content.tsx +2 -1
  107. package/src/components/Content/Sections.tsx +2 -1
  108. package/src/components/ContentView/MoreContentList.tsx +1 -1
  109. package/src/components/ContentView/components/AboutSection.tsx +1 -1
  110. package/src/components/ContentView/components/CastCard.tsx +2 -1
  111. package/src/components/ContentView/components/EpisodeCard.tsx +5 -1
  112. package/src/components/ContentView/components/GenreTags.tsx +1 -1
  113. package/src/components/ContentView/components/MiniInfo.tsx +1 -1
  114. package/src/components/ContentView/components/Title.tsx +1 -1
  115. package/src/components/Search/One.tsx +2 -6
  116. package/src/components/Subscription/SubOne.tsx +1 -2
  117. package/src/components/User/PurchaseHistory/PurchaseHistory.tsx +1 -1
  118. package/src/components/User/WatchHistory/WatchHistory.tsx +1 -1
  119. package/src/components/User/WatchLater/WatchLater.tsx +1 -1
  120. package/src/types/content/content-view.types.ts +1 -1
  121. package/src/types/index.ts +1 -1
  122. package/src/types/sections/index.ts +1 -1
  123. package/lib/module/types/content/index.js +0 -2
  124. package/lib/module/types/content/index.js.map +0 -1
  125. package/lib/typescript/src/types/content/index.d.ts +0 -174
  126. package/lib/typescript/src/types/content/index.d.ts.map +0 -1
  127. package/src/types/content/index.ts +0 -194
@@ -24,13 +24,13 @@ import { useInternalTheme } from '../../../../theme/hook/useInternalTheme';
24
24
  import CardPoster from '../components/CardPoster';
25
25
  import FastImage from 'react-native-fast-image';
26
26
  import type {
27
- IContentData,
28
27
  IGetSectionData,
29
28
  ISectionContent,
30
29
  MoreFetchData,
31
30
  } from '../../../../types';
32
31
  import type { ITheme, ThemeOverride } from '../../../../theme/themes';
33
32
  import { RFValue } from 'react-native-responsive-fontsize';
33
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
34
34
 
35
35
  // default values
36
36
  const DEFAULT_ITEM_WIDTH = moderateScale(100);
@@ -23,13 +23,13 @@ import CardPoster from '../components/CardPoster';
23
23
  import NavigateToMore from '../components/NavigateToMore';
24
24
  import { usePaginatedSection } from '../../../../hooks/usePaginatedSection';
25
25
  import type {
26
- IContentData,
27
26
  IGetSectionData,
28
27
  ISectionContent,
29
28
  MoreFetchData,
30
29
  } from '../../../../types';
31
30
  import type { ITheme, ThemeOverride } from '../../../../theme/themes';
32
31
  import { RFValue } from 'react-native-responsive-fontsize';
32
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
33
33
 
34
34
  // Constants
35
35
  const DEFAULT_ITEM_WIDTH = moderateScale(105);
@@ -25,13 +25,13 @@ import NavigateToMore from '../components/NavigateToMore';
25
25
 
26
26
  import { usePaginatedSection } from '../../../../hooks/usePaginatedSection';
27
27
  import type {
28
- IContentData,
29
28
  IGetSectionData,
30
29
  ISectionContent,
31
30
  MoreFetchData,
32
31
  } from '../../../../types';
33
32
  import type { ThemeOverride } from '../../../../theme/themes';
34
33
  import { RFValue } from 'react-native-responsive-fontsize';
34
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
35
35
 
36
36
  const { width, height } = Dimensions.get('window');
37
37
 
@@ -27,13 +27,13 @@ import { Text } from '../../../Text';
27
27
  import { usePaginatedSection } from '../../../../hooks/usePaginatedSection';
28
28
  import type { ThemeOverride } from '../../../../theme/themes';
29
29
  import type {
30
- IContentData,
31
30
  IGetSectionData,
32
31
  ISectionContent,
33
32
  MoreFetchData,
34
33
  } from '../../../../types';
35
34
  import { RFValue } from 'react-native-responsive-fontsize';
36
35
  import RentOrBuyIcon from '../components/RentOrBuyIcon';
36
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
37
37
  const DEFAULT_ITEM_WIDTH = moderateScale(160);
38
38
  const DEFAULT_BORDER_RADIUS = moderateScale(5);
39
39
  const DEFAULT_SKELETON_COUNT = 3;
@@ -25,13 +25,13 @@ import { useInternalTheme } from '../../../../theme/hook/useInternalTheme';
25
25
  import CardPoster from '../components/CardPoster';
26
26
  import NavigateToMore from '../components/NavigateToMore';
27
27
  import type {
28
- IContentData,
29
28
  IGetSectionData,
30
29
  ISectionContent,
31
30
  MoreFetchData,
32
31
  } from '../../../../types';
33
32
  import type { ThemeOverride } from '../../../../theme/themes';
34
33
  import { RFValue } from 'react-native-responsive-fontsize';
34
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
35
35
 
36
36
  const { width, height } = Dimensions.get('window');
37
37
 
@@ -21,7 +21,6 @@ import { useInternalTheme } from '../../../../theme/hook/useInternalTheme';
21
21
  import NavigateToMore from '../components/NavigateToMore';
22
22
  import { usePaginatedSection } from '../../../../hooks/usePaginatedSection';
23
23
  import type {
24
- IContentData,
25
24
  IGetSectionData,
26
25
  ISectionContent,
27
26
  MoreFetchData,
@@ -32,6 +31,7 @@ import LinearGradient from 'react-native-linear-gradient';
32
31
  import { Text } from '../../../Text';
33
32
  import CardPoster from '../components/CardPoster';
34
33
  import { RFValue } from 'react-native-responsive-fontsize';
34
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
35
35
 
36
36
  const DEFAULT_ITEM_WIDTH = moderateScale(120);
37
37
  const DEFAULT_ITEM_HEIGHT = moderateScale(180);
@@ -22,7 +22,6 @@ import { moderateScale, verticalScale } from 'react-native-size-matters';
22
22
 
23
23
  import { usePaginatedSection } from '../../../../hooks/usePaginatedSection';
24
24
  import type {
25
- IContentData,
26
25
  IGetSectionData,
27
26
  ISectionContent,
28
27
  MoreFetchData,
@@ -32,6 +31,7 @@ import { useInternalTheme } from '../../../../theme/hook/useInternalTheme';
32
31
  import NavigateToMore from '../components/NavigateToMore';
33
32
  import CardPoster from '../components/CardPoster';
34
33
  import { RFValue } from 'react-native-responsive-fontsize';
34
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
35
35
 
36
36
  // Defaults
37
37
  const DEFAULT_WIDTH = moderateScale(172);
@@ -14,8 +14,8 @@ import { scale } from 'react-native-size-matters';
14
14
  import { Text } from '../../../Text';
15
15
  import { ImageOff } from 'lucide-react-native';
16
16
  import type { ITheme } from '../../../../theme/themes';
17
- import type { IContentData } from '../../../../types';
18
17
  import RentOrBuyIcon from './RentOrBuyIcon';
18
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
19
19
 
20
20
  export type CardPosterProps = {
21
21
  content_offering_type?: IContentData['content_offering_type'];
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { View, StyleSheet, type StyleProp, type ViewStyle } from 'react-native';
3
3
  import Svg, { Path } from 'react-native-svg';
4
4
  import { scale } from 'react-native-size-matters';
5
- import type { IContentData } from '../../../../types';
5
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
6
6
  import type { ITheme } from '../../../../theme/themes';
7
7
 
8
8
  interface RentOrBuyIconProps {
@@ -19,7 +19,7 @@ import Animated, {
19
19
  } from 'react-native-reanimated';
20
20
 
21
21
  import SectionType from './Sections';
22
- import type { IContentData, IGetSectionData, MoreFetchData } from '../../types';
22
+ import type { IGetSectionData, MoreFetchData } from '../../types';
23
23
  import { dummySections } from '../../constants/dummySections';
24
24
  import CategoryCard, { type ICategory } from './Card/Category/Category';
25
25
  import type { IHistoryItem } from './Card/NowWatching/NowWatching';
@@ -27,6 +27,7 @@ import type { ThemeOverride } from '../../theme/themes';
27
27
  import { NoContentFallback, type NoContentFallbackProps } from '../Fallbacks';
28
28
  import { useInternalTheme } from '../../theme/hook';
29
29
  import { useSafeAreaInsets } from 'react-native-safe-area-context';
30
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
30
31
 
31
32
  export interface ICustomComponentsForContent {
32
33
  type: string;
@@ -5,11 +5,12 @@
5
5
  import React from 'react';
6
6
  import Sliders from './Card/Sliders';
7
7
  import Cards from './Card';
8
- import type { IContentData, IGetSectionData, MoreFetchData } from '../../types';
8
+ import type { IGetSectionData, MoreFetchData } from '../../types';
9
9
  import type { IHistoryItem } from './Card/NowWatching/NowWatching';
10
10
  import type { ICategory } from './Card/Category/Category';
11
11
  import type { ThemeOverride } from '../../theme/themes';
12
12
  import type { IContentLoading } from './Content';
13
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
13
14
 
14
15
  export interface ICustomComponentsForSections {
15
16
  type: string;
@@ -13,7 +13,6 @@ import {
13
13
  } from 'react-native';
14
14
  import { scale, verticalScale } from 'react-native-size-matters';
15
15
  import Display from '../../utils/Display';
16
- import type { IContentData } from '../../types';
17
16
  import { Text } from '../Text';
18
17
  import { View } from '../View';
19
18
  import AppHeader, { type AppHeaderProps } from '../Headers/AppHeader';
@@ -23,6 +22,7 @@ import type { ThemeOverride } from '../../theme/themes';
23
22
  import { useInternalTheme } from '../../theme/hook';
24
23
  import Animated from 'react-native-reanimated';
25
24
  import { Search } from 'lucide-react-native';
25
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
26
26
 
27
27
  interface Props {
28
28
  headerProps?: AppHeaderProps;
@@ -18,7 +18,7 @@ import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
18
18
  import { scale, verticalScale } from 'react-native-size-matters';
19
19
  import type { ITheme } from '../../../theme/themes';
20
20
  import { RFValue } from 'react-native-responsive-fontsize';
21
- import type { IContentData } from '../../../types';
21
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
22
22
 
23
23
  type Props = {
24
24
  theme: ITheme;
@@ -18,8 +18,8 @@ import FastImage, { type ImageStyle } from 'react-native-fast-image';
18
18
  import { scale } from 'react-native-size-matters';
19
19
  import { Text } from '../../Text';
20
20
  import type { ITheme } from '../../../theme/themes';
21
- import type { IContentCast } from '../../../types';
22
21
  import { RFValue } from 'react-native-responsive-fontsize';
22
+ import type { IContentCast } from '@zezosoft/zezo-ott-api-client';
23
23
 
24
24
  type StyleProps = {
25
25
  container?: StyleProp<ViewStyle>;
@@ -61,6 +61,7 @@ export const CastCard = ({
61
61
  name: '',
62
62
  avatar: '',
63
63
  castType: '',
64
+ type: 'actor',
64
65
  }));
65
66
 
66
67
  const listData = isLoading ? placeholderData : (data ?? []);
@@ -10,12 +10,15 @@ import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
10
10
  import { scale, verticalScale, moderateScale } from 'react-native-size-matters';
11
11
  import { Text } from '../../Text';
12
12
  import Display from '../../../utils/Display';
13
- import type { IContentEpisodes, IContentSeasons } from '../../../types';
14
13
  import type { ITheme, ThemeOverride } from '../../../theme/themes';
15
14
  import { ThumbnailCard } from '../../Content/Card/components/ThumbnailCard';
16
15
  import { RFValue } from 'react-native-responsive-fontsize';
17
16
  import RentOrBuyIcon from '../../Content/Card/components/RentOrBuyIcon';
18
17
  import { useInternalTheme } from '../../../theme/hook';
18
+ import type {
19
+ IContentEpisodes,
20
+ IContentSeasons,
21
+ } from '@zezosoft/zezo-ott-api-client';
19
22
 
20
23
  // Constants
21
24
  const SKELETON_COUNT = 3;
@@ -367,6 +370,7 @@ export const EpisodeCard = ({
367
370
  source_type: 'HLS',
368
371
  content_offering_type: 'FREE',
369
372
  status: true,
373
+ data: '',
370
374
  }}
371
375
  onPress={onPress}
372
376
  style={{ width: cardWidth }}
@@ -14,9 +14,9 @@ import {
14
14
  import { Text } from '../../Text';
15
15
  import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
16
16
  import { scale, verticalScale } from 'react-native-size-matters';
17
- import type { IContentData } from '../../../types';
18
17
  import type { ITheme } from '../../../theme/themes';
19
18
  import { RFValue } from 'react-native-responsive-fontsize';
19
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
20
20
 
21
21
  type Props = {
22
22
  genres?: IContentData['genres'];
@@ -14,10 +14,10 @@ import {
14
14
  import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
15
15
  import { scale } from 'react-native-size-matters';
16
16
  import { Text } from '../../Text';
17
- import type { IContentData } from '../../../types';
18
17
  import type { ThemeOverride } from '../../../theme/themes';
19
18
  import { RFValue } from 'react-native-responsive-fontsize';
20
19
  import { useInternalTheme } from '../../../theme/hook';
20
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
21
21
 
22
22
  type Props = {
23
23
  content?: IContentData;
@@ -14,9 +14,9 @@ import {
14
14
  import SkeletonPlaceholder from 'react-native-skeleton-placeholder';
15
15
  import { scale } from 'react-native-size-matters';
16
16
  import { Text } from '../../Text';
17
- import type { IContentData } from '../../../types';
18
17
  import type { ITheme } from '../../../theme/themes';
19
18
  import { RFValue } from 'react-native-responsive-fontsize';
19
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
20
20
 
21
21
  type Props = {
22
22
  title: IContentData['name'];
@@ -22,18 +22,14 @@ import SearchCard, {
22
22
  type SearchCardSkeletonConfig,
23
23
  } from './components/SearchCard';
24
24
  import { useDebounce } from '../../hooks/useDebounce';
25
- import type {
26
- IContentData,
27
- IGetSectionData,
28
- ISectionItem,
29
- MoreFetchData,
30
- } from '../../types';
25
+ import type { IGetSectionData, ISectionItem, MoreFetchData } from '../../types';
31
26
  import type { ThemeOverride } from '../../theme/themes';
32
27
  import { useRecentSearchesStore } from '../../store/RecentSearchesStore';
33
28
  import RecentSearchesSection from './components/RecentSearchesSection';
34
29
  import Cards from '../Content/Card';
35
30
  import type { RecommendedCardStyles } from '../../types/content/content-view.types';
36
31
  import { RFValue } from 'react-native-responsive-fontsize';
32
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
37
33
 
38
34
  // Types
39
35
  export type ISearchItem = IContentData;
@@ -607,7 +607,7 @@ const styles = StyleSheet.create({
607
607
  paddingHorizontal: scale(60),
608
608
  borderRadius: scale(30),
609
609
  alignItems: 'center',
610
- marginTop: verticalScale(15),
610
+ marginTop: verticalScale(5),
611
611
  },
612
612
  subscribeText: {
613
613
  fontSize: RFValue(14),
@@ -654,7 +654,6 @@ const styles = StyleSheet.create({
654
654
  fontWeight: '700',
655
655
  },
656
656
  viewDetailsButton: {
657
- marginTop: verticalScale(8),
658
657
  paddingVertical: verticalScale(6),
659
658
  paddingHorizontal: scale(20),
660
659
  alignItems: 'center',
@@ -22,9 +22,9 @@ import { useInternalTheme } from '../../../theme/hook/useInternalTheme';
22
22
  import AppHeader from '../../Headers/AppHeader';
23
23
  import { Text } from '../../Text';
24
24
  import CardPoster from '../../Content/Card/components/CardPoster';
25
- import type { IContentData } from '../../../types';
26
25
  import type { ThemeOverride } from '../../../theme/themes';
27
26
  import { RFValue } from 'react-native-responsive-fontsize';
27
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
28
28
 
29
29
  export interface IPurchaseHistoryItem {
30
30
  _id: string;
@@ -21,9 +21,9 @@ import { useInternalTheme } from '../../../theme/hook/useInternalTheme';
21
21
  import AppHeader from '../../Headers/AppHeader';
22
22
  import { Text } from '../../Text';
23
23
  import CardPoster from '../../Content/Card/components/CardPoster';
24
- import type { IContentData } from '../../../types';
25
24
  import type { ThemeOverride } from '../../../theme/themes';
26
25
  import { RFValue } from 'react-native-responsive-fontsize';
26
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
27
27
 
28
28
  export interface IHistoryItem {
29
29
  _id: string;
@@ -25,9 +25,9 @@ import AppHeader from '../../Headers/AppHeader';
25
25
  import { Text } from '../../Text';
26
26
  import { ThumbnailCard } from '../../Content/Card/components/ThumbnailCard';
27
27
  import CardPoster from '../../Content/Card/components/CardPoster';
28
- import type { IContentData } from '../../../types';
29
28
  import type { ITheme, ThemeOverride } from '../../../theme/themes';
30
29
  import { RFValue } from 'react-native-responsive-fontsize';
30
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
31
31
 
32
32
  type IWatchLaterItem = {
33
33
  _id: string;
@@ -6,12 +6,12 @@
6
6
  import type { StyleProp, TextStyle, ViewStyle } from 'react-native';
7
7
  import type { ImageStyle as FastImageStyle } from 'react-native-fast-image';
8
8
  import type { ThemeOverride } from '../../theme/themes';
9
- import type { IContentData } from '../../types';
10
9
  import type { IGetSectionData, ISectionItem } from '../../types/sections';
11
10
  import type { MoreFetchData } from '../../types/hook/usePaginatedSetion';
12
11
  import type { IHistoryItem } from '../../components/User/WatchHistory/WatchHistory';
13
12
  import type React from 'react';
14
13
  import type { MiniInfo } from '../../components/ContentView/components/MiniInfo';
14
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
15
15
 
16
16
  // 🔷 Common Style Aliases
17
17
  export type ViewStyleProp = StyleProp<ViewStyle>;
@@ -2,6 +2,6 @@
2
2
  * @author Naresh Dhamu
3
3
  * @lastModified Fri 04 Jul 2025 at 10:58 AM
4
4
  */
5
- export type * from './content';
5
+ export type * from './content/content-view.types';
6
6
  export type * from './sections';
7
7
  export type * from './hook';
@@ -3,7 +3,7 @@
3
3
  * @lastModified Fri 04 Jul 2025 at 10:58 AM
4
4
  */
5
5
 
6
- import type { IContentData } from '../content';
6
+ import type { IContentData } from '@zezosoft/zezo-ott-api-client';
7
7
 
8
8
  export type ISectionType =
9
9
  | 'normal'
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/content/index.ts"],"mappings":"","ignoreList":[]}
@@ -1,174 +0,0 @@
1
- /**
2
- * @author Naresh Dhamu
3
- * @lastModified Fri 04 Jul 2025 at 10:58 AM
4
- */
5
- export interface IContentLanguage {
6
- _id: string;
7
- name: string;
8
- }
9
- export interface IContentCast {
10
- _id: string;
11
- name: string;
12
- avatar: string | null;
13
- castType: string;
14
- }
15
- export interface IContentCategory {
16
- _id: string;
17
- name: string;
18
- }
19
- export interface IContentGenres {
20
- _id: string;
21
- name: string;
22
- }
23
- export interface ISubtitles {
24
- title?: string;
25
- language?: string;
26
- type: 'application/x-subrip' | 'application/ttml+xml' | 'text/vtt';
27
- url: string;
28
- }
29
- export interface IContentImages {
30
- id?: string;
31
- image_id?: string;
32
- name?: string;
33
- width: number;
34
- height: number;
35
- sizes?: {
36
- small: string;
37
- medium: string;
38
- large: string;
39
- original: string;
40
- };
41
- }
42
- export interface IContentEpisodes {
43
- _id: string;
44
- name: string;
45
- description: string;
46
- duration: number;
47
- number: number;
48
- source_link: string;
49
- trailer_source_link: string;
50
- source_type: 'HLS' | 'MP4';
51
- content_offering_type: 'FREE' | 'PREMIUM';
52
- subtitles: ISubtitles[];
53
- thumbnail: string;
54
- createdAt: string;
55
- updatedAt: string;
56
- status: boolean;
57
- skipIntroTimestamp?: {
58
- start: number;
59
- end: number;
60
- } | null;
61
- nextEpisodeTimestamp?: number | null;
62
- source_key_type?: 'USE_PREFIX' | 'USE_CUSTOM' | 'NONE';
63
- views?: number;
64
- watch_time?: number;
65
- }
66
- export interface IContentSeasons {
67
- _id: string;
68
- name: string;
69
- content_id: string;
70
- order: number;
71
- season_number: number;
72
- episodes: IContentEpisodes[] | null;
73
- status: boolean;
74
- created_by: string;
75
- createdAt: string;
76
- updatedAt: string;
77
- }
78
- export interface IContentPagination {
79
- length: number;
80
- limit: number;
81
- page: number;
82
- total: number;
83
- }
84
- export interface IContentMeta {
85
- pagination: IContentPagination;
86
- report: any | null;
87
- }
88
- export interface IRentOrBuyContentData {
89
- _id: string;
90
- content_id: IContentData;
91
- user_id: string;
92
- status: 'valid' | 'expired';
93
- valid_upto: string;
94
- createdAt: string;
95
- updatedAt: string;
96
- }
97
- export interface IRentOrBuyContent {
98
- data: IRentOrBuyContentData[];
99
- meta: IContentMeta;
100
- }
101
- export interface IGetIsRentOrBuyContentByIDData {
102
- message: string;
103
- data: {
104
- _id: string;
105
- content_id: {
106
- _id: string;
107
- name: string;
108
- is_buy_or_rent?: 'BUY' | 'RENT';
109
- rent_duration: number;
110
- price: number;
111
- };
112
- user_id: string;
113
- status: 'valid' | 'expired';
114
- valid_upto: string;
115
- createdAt: string;
116
- updatedAt: string;
117
- };
118
- }
119
- export interface IContentData {
120
- _id: string;
121
- name: string;
122
- slug: string;
123
- description: string;
124
- u_age: string;
125
- duration: string;
126
- rating: number;
127
- type: 'series' | 'movie' | 'live_stream';
128
- content_offering_type: 'FREE' | 'PREMIUM' | 'BUY_OR_RENT' | 'TVOD';
129
- source_link: string | null;
130
- trailer_source_link: string | null;
131
- source_type: 'HLS' | 'MP4' | 'LIVE_STREAM_HLS';
132
- trailer_source_type: 'HLS' | 'MP4';
133
- source_key_type?: 'USE_PREFIX' | 'USE_CUSTOM';
134
- trailer_source_key_type?: 'USE_PREFIX' | 'USE_CUSTOM';
135
- language: IContentLanguage | null;
136
- cast: IContentCast[] | null;
137
- category: IContentCategory | null;
138
- genres: IContentGenres[] | null;
139
- subtitles: ISubtitles[];
140
- images?: IContentImages[] | null;
141
- seasons: IContentSeasons[] | null;
142
- content_duration?: string | null;
143
- release_year?: string | null;
144
- poster: string;
145
- thumbnail: string;
146
- title_image?: string | null;
147
- views: number;
148
- watch_time?: number | null;
149
- revenue?: number | null;
150
- buy_or_rent_status: {
151
- _id?: string;
152
- status?: 'valid' | 'expired';
153
- }[];
154
- is_buy_or_rent?: 'BUY' | 'RENT';
155
- rent_duration?: number | null;
156
- price?: number | null;
157
- buy_count?: number;
158
- rent_count?: number;
159
- buy_revenue?: number;
160
- rent_revenue?: number;
161
- status: 'PUBLIC' | 'PRIVATE' | 'PENDING' | 'REJECTED';
162
- trash: boolean;
163
- forKids: boolean;
164
- forFamily: boolean;
165
- created_by: string;
166
- updated_by: string;
167
- createdAt: string;
168
- updatedAt: string;
169
- }
170
- export interface IContent {
171
- data: IContentData[];
172
- meta: IContentMeta;
173
- }
174
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/types/content/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,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,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,sBAAsB,GAAG,sBAAsB,GAAG,UAAU,CAAC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