@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.
- package/lib/module/components/Content/Card/NowWatching/NowWatching.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Sliders/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Five.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Four.js +1 -2
- package/lib/module/components/Content/Card/Styles/Four.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/One.js +1 -2
- package/lib/module/components/Content/Card/Styles/One.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/RotateInOut.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Six.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Three.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/TopTen.js.map +1 -1
- package/lib/module/components/Content/Card/Styles/Two.js +1 -2
- package/lib/module/components/Content/Card/Styles/Two.js.map +1 -1
- package/lib/module/components/Content/Card/components/CardPoster.js.map +1 -1
- package/lib/module/components/Content/Content.js.map +1 -1
- package/lib/module/components/Content/Sections.js.map +1 -1
- package/lib/module/components/ContentView/MoreContentList.js.map +1 -1
- package/lib/module/components/ContentView/components/CastCard.js +2 -1
- package/lib/module/components/ContentView/components/CastCard.js.map +1 -1
- package/lib/module/components/ContentView/components/EpisodeCard.js +3 -3
- package/lib/module/components/ContentView/components/EpisodeCard.js.map +1 -1
- package/lib/module/components/ContentView/components/GenreTags.js.map +1 -1
- package/lib/module/components/ContentView/components/MiniInfo.js.map +1 -1
- package/lib/module/components/ContentView/components/Title.js.map +1 -1
- package/lib/module/components/Search/One.js.map +1 -1
- package/lib/module/components/Subscription/SubOne.js +1 -2
- package/lib/module/components/Subscription/SubOne.js.map +1 -1
- package/lib/module/components/User/PurchaseHistory/PurchaseHistory.js.map +1 -1
- package/lib/module/components/User/WatchHistory/WatchHistory.js.map +1 -1
- package/lib/module/components/User/WatchLater/WatchLater.js.map +1 -1
- package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts +2 -1
- package/lib/typescript/src/components/Content/Card/NowWatching/NowWatching.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts +2 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts +2 -1
- package/lib/typescript/src/components/Content/Card/Sliders/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Sliders/index.d.ts +2 -2
- package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts +2 -1
- package/lib/typescript/src/components/Content/Card/Styles/Five.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts +2 -1
- package/lib/typescript/src/components/Content/Card/Styles/Four.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/One.d.ts +2 -1
- package/lib/typescript/src/components/Content/Card/Styles/One.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts +2 -1
- package/lib/typescript/src/components/Content/Card/Styles/RotateInOut.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts +2 -1
- package/lib/typescript/src/components/Content/Card/Styles/Six.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts +2 -1
- package/lib/typescript/src/components/Content/Card/Styles/Three.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts +2 -1
- package/lib/typescript/src/components/Content/Card/Styles/TopTen.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts +2 -1
- package/lib/typescript/src/components/Content/Card/Styles/Two.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts +1 -1
- package/lib/typescript/src/components/Content/Card/components/CardPoster.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/components/RentOrBuyIcon.d.ts +1 -1
- package/lib/typescript/src/components/Content/Card/components/RentOrBuyIcon.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Card/index.d.ts +24 -24
- package/lib/typescript/src/components/Content/Content.d.ts +2 -1
- package/lib/typescript/src/components/Content/Content.d.ts.map +1 -1
- package/lib/typescript/src/components/Content/Sections.d.ts +2 -1
- package/lib/typescript/src/components/Content/Sections.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/MoreContentList.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/MoreContentList.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/components/AboutSection.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/components/CastCard.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/components/EpisodeCard.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/components/GenreTags.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/components/MiniInfo.d.ts.map +1 -1
- package/lib/typescript/src/components/ContentView/components/Title.d.ts +1 -1
- package/lib/typescript/src/components/ContentView/components/Title.d.ts.map +1 -1
- package/lib/typescript/src/components/Search/One.d.ts +2 -1
- package/lib/typescript/src/components/Search/One.d.ts.map +1 -1
- package/lib/typescript/src/components/User/PurchaseHistory/PurchaseHistory.d.ts +1 -1
- package/lib/typescript/src/components/User/PurchaseHistory/PurchaseHistory.d.ts.map +1 -1
- package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts +1 -1
- package/lib/typescript/src/components/User/WatchHistory/WatchHistory.d.ts.map +1 -1
- package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts +1 -1
- package/lib/typescript/src/components/User/WatchLater/WatchLater.d.ts.map +1 -1
- package/lib/typescript/src/types/content/content-view.types.d.ts +1 -1
- package/lib/typescript/src/types/content/content-view.types.d.ts.map +1 -1
- package/lib/typescript/src/types/index.d.ts +1 -1
- package/lib/typescript/src/types/index.d.ts.map +1 -1
- package/lib/typescript/src/types/sections/index.d.ts +1 -1
- package/lib/typescript/src/types/sections/index.d.ts.map +1 -1
- package/package.json +2 -1
- package/src/components/Content/Card/NowWatching/NowWatching.tsx +2 -5
- package/src/components/Content/Card/Sliders/Styles/One.tsx +2 -1
- package/src/components/Content/Card/Sliders/Styles/Two.tsx +2 -1
- package/src/components/Content/Card/Styles/Five.tsx +1 -1
- package/src/components/Content/Card/Styles/Four.tsx +1 -1
- package/src/components/Content/Card/Styles/One.tsx +1 -1
- package/src/components/Content/Card/Styles/RotateInOut.tsx +1 -1
- package/src/components/Content/Card/Styles/Six.tsx +1 -1
- package/src/components/Content/Card/Styles/Three.tsx +1 -1
- package/src/components/Content/Card/Styles/TopTen.tsx +1 -1
- package/src/components/Content/Card/Styles/Two.tsx +1 -1
- package/src/components/Content/Card/components/CardPoster.tsx +1 -1
- package/src/components/Content/Card/components/RentOrBuyIcon.tsx +1 -1
- package/src/components/Content/Content.tsx +2 -1
- package/src/components/Content/Sections.tsx +2 -1
- package/src/components/ContentView/MoreContentList.tsx +1 -1
- package/src/components/ContentView/components/AboutSection.tsx +1 -1
- package/src/components/ContentView/components/CastCard.tsx +2 -1
- package/src/components/ContentView/components/EpisodeCard.tsx +5 -1
- package/src/components/ContentView/components/GenreTags.tsx +1 -1
- package/src/components/ContentView/components/MiniInfo.tsx +1 -1
- package/src/components/ContentView/components/Title.tsx +1 -1
- package/src/components/Search/One.tsx +2 -6
- package/src/components/Subscription/SubOne.tsx +1 -2
- package/src/components/User/PurchaseHistory/PurchaseHistory.tsx +1 -1
- package/src/components/User/WatchHistory/WatchHistory.tsx +1 -1
- package/src/components/User/WatchLater/WatchLater.tsx +1 -1
- package/src/types/content/content-view.types.ts +1 -1
- package/src/types/index.ts +1 -1
- package/src/types/sections/index.ts +1 -1
- package/lib/module/types/content/index.js +0 -2
- package/lib/module/types/content/index.js.map +0 -1
- package/lib/typescript/src/types/content/index.d.ts +0 -174
- package/lib/typescript/src/types/content/index.d.ts.map +0 -1
- package/src/types/content/index.ts +0 -194
|
@@ -1,194 +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
|
-
|
|
10
|
-
export interface IContentCast {
|
|
11
|
-
_id: string;
|
|
12
|
-
name: string;
|
|
13
|
-
avatar: string | null;
|
|
14
|
-
castType: string;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface IContentCategory {
|
|
18
|
-
_id: string;
|
|
19
|
-
name: string;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export interface IContentGenres {
|
|
23
|
-
_id: string;
|
|
24
|
-
name: string;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface ISubtitles {
|
|
28
|
-
title?: string;
|
|
29
|
-
language?: string;
|
|
30
|
-
type: 'application/x-subrip' | 'application/ttml+xml' | 'text/vtt';
|
|
31
|
-
url: string;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export interface IContentImages {
|
|
35
|
-
id?: string;
|
|
36
|
-
image_id?: string;
|
|
37
|
-
name?: string;
|
|
38
|
-
width: number;
|
|
39
|
-
height: number;
|
|
40
|
-
sizes?: {
|
|
41
|
-
small: string;
|
|
42
|
-
medium: string;
|
|
43
|
-
large: string;
|
|
44
|
-
original: string;
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// 🔵 Episode & Season
|
|
49
|
-
export interface IContentEpisodes {
|
|
50
|
-
_id: string;
|
|
51
|
-
name: string;
|
|
52
|
-
description: string;
|
|
53
|
-
duration: number;
|
|
54
|
-
number: number;
|
|
55
|
-
source_link: string;
|
|
56
|
-
trailer_source_link: string;
|
|
57
|
-
source_type: 'HLS' | 'MP4';
|
|
58
|
-
content_offering_type: 'FREE' | 'PREMIUM';
|
|
59
|
-
subtitles: ISubtitles[];
|
|
60
|
-
thumbnail: string;
|
|
61
|
-
createdAt: string;
|
|
62
|
-
updatedAt: string;
|
|
63
|
-
status: boolean;
|
|
64
|
-
skipIntroTimestamp?: { start: number; end: number } | null;
|
|
65
|
-
nextEpisodeTimestamp?: number | null;
|
|
66
|
-
source_key_type?: 'USE_PREFIX' | 'USE_CUSTOM' | 'NONE';
|
|
67
|
-
views?: number;
|
|
68
|
-
watch_time?: number;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export interface IContentSeasons {
|
|
72
|
-
_id: string;
|
|
73
|
-
name: string;
|
|
74
|
-
content_id: string;
|
|
75
|
-
order: number;
|
|
76
|
-
season_number: number;
|
|
77
|
-
episodes: IContentEpisodes[] | null;
|
|
78
|
-
status: boolean;
|
|
79
|
-
created_by: string;
|
|
80
|
-
createdAt: string;
|
|
81
|
-
updatedAt: string;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
// 🔶 Pagination & Meta
|
|
85
|
-
export interface IContentPagination {
|
|
86
|
-
length: number;
|
|
87
|
-
limit: number;
|
|
88
|
-
page: number;
|
|
89
|
-
total: number;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export interface IContentMeta {
|
|
93
|
-
pagination: IContentPagination;
|
|
94
|
-
report: any | null;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// 🟥 Rent/Buy
|
|
98
|
-
export interface IRentOrBuyContentData {
|
|
99
|
-
_id: string;
|
|
100
|
-
content_id: IContentData;
|
|
101
|
-
user_id: string;
|
|
102
|
-
status: 'valid' | 'expired';
|
|
103
|
-
valid_upto: string;
|
|
104
|
-
createdAt: string;
|
|
105
|
-
updatedAt: string;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
export interface IRentOrBuyContent {
|
|
109
|
-
data: IRentOrBuyContentData[];
|
|
110
|
-
meta: IContentMeta;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
export interface IGetIsRentOrBuyContentByIDData {
|
|
114
|
-
message: string;
|
|
115
|
-
data: {
|
|
116
|
-
_id: string;
|
|
117
|
-
content_id: {
|
|
118
|
-
_id: string;
|
|
119
|
-
name: string;
|
|
120
|
-
is_buy_or_rent?: 'BUY' | 'RENT';
|
|
121
|
-
rent_duration: number;
|
|
122
|
-
price: number;
|
|
123
|
-
};
|
|
124
|
-
user_id: string;
|
|
125
|
-
status: 'valid' | 'expired';
|
|
126
|
-
valid_upto: string;
|
|
127
|
-
createdAt: string;
|
|
128
|
-
updatedAt: string;
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
// 🟢 Main Content Type
|
|
133
|
-
export interface IContentData {
|
|
134
|
-
_id: string;
|
|
135
|
-
name: string;
|
|
136
|
-
slug: string;
|
|
137
|
-
description: string;
|
|
138
|
-
u_age: string;
|
|
139
|
-
duration: string;
|
|
140
|
-
rating: number;
|
|
141
|
-
type: 'series' | 'movie' | 'live_stream';
|
|
142
|
-
content_offering_type: 'FREE' | 'PREMIUM' | 'BUY_OR_RENT' | 'TVOD';
|
|
143
|
-
source_link: string | null;
|
|
144
|
-
trailer_source_link: string | null;
|
|
145
|
-
source_type: 'HLS' | 'MP4' | 'LIVE_STREAM_HLS';
|
|
146
|
-
trailer_source_type: 'HLS' | 'MP4';
|
|
147
|
-
source_key_type?: 'USE_PREFIX' | 'USE_CUSTOM';
|
|
148
|
-
trailer_source_key_type?: 'USE_PREFIX' | 'USE_CUSTOM';
|
|
149
|
-
language: IContentLanguage | null;
|
|
150
|
-
cast: IContentCast[] | null;
|
|
151
|
-
category: IContentCategory | null;
|
|
152
|
-
genres: IContentGenres[] | null;
|
|
153
|
-
subtitles: ISubtitles[];
|
|
154
|
-
images?: IContentImages[] | null;
|
|
155
|
-
|
|
156
|
-
seasons: IContentSeasons[] | null;
|
|
157
|
-
content_duration?: string | null;
|
|
158
|
-
release_year?: string | null;
|
|
159
|
-
|
|
160
|
-
poster: string;
|
|
161
|
-
thumbnail: string;
|
|
162
|
-
title_image?: string | null;
|
|
163
|
-
|
|
164
|
-
views: number;
|
|
165
|
-
watch_time?: number | null;
|
|
166
|
-
revenue?: number | null;
|
|
167
|
-
|
|
168
|
-
buy_or_rent_status: {
|
|
169
|
-
_id?: string;
|
|
170
|
-
status?: 'valid' | 'expired';
|
|
171
|
-
}[];
|
|
172
|
-
|
|
173
|
-
is_buy_or_rent?: 'BUY' | 'RENT';
|
|
174
|
-
rent_duration?: number | null;
|
|
175
|
-
price?: number | null;
|
|
176
|
-
buy_count?: number;
|
|
177
|
-
rent_count?: number;
|
|
178
|
-
buy_revenue?: number;
|
|
179
|
-
rent_revenue?: number;
|
|
180
|
-
status: 'PUBLIC' | 'PRIVATE' | 'PENDING' | 'REJECTED';
|
|
181
|
-
trash: boolean;
|
|
182
|
-
forKids: boolean;
|
|
183
|
-
forFamily: boolean;
|
|
184
|
-
created_by: string;
|
|
185
|
-
updated_by: string;
|
|
186
|
-
createdAt: string;
|
|
187
|
-
updatedAt: string;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
// 🟣 API Response Wrapper
|
|
191
|
-
export interface IContent {
|
|
192
|
-
data: IContentData[];
|
|
193
|
-
meta: IContentMeta;
|
|
194
|
-
}
|