@segha/catalog 5.0.3 → 5.0.4

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/es/Movie/index.ts CHANGED
@@ -20,17 +20,21 @@ export const MovieSchema = SourceSchema
20
20
  icon: Icon.optional().default(MovieIcon.value).describe('Icono de Lucide.'),
21
21
  cover: Image.nullable().optional().describe('Portada de la película.'),
22
22
  url: z.url().describe('URL de la película en IMDB o similar'),
23
+ trailer: z.url().describe('URL del trailer en YouTube u otras plataformas').optional(),
23
24
  watch_url: z.url().optional().describe('URL de la película en streaming').meta({
24
25
  deprecated: true,
25
26
  replacement: 'hbo_max_url|netflix_url|apple_tv_url|amazon_prime_url|disney_plus_url|hulu_url|pluto_tv_url|youtube_url',
26
27
  }),
27
28
  external_ids: z.array(TVExternalId).optional().describe('IDs externos de la película'),
28
29
  title: z.string().describe('Título de la película'),
30
+ subtitle: z.string().optional().describe('Tagline'),
29
31
  actors: z.array(z.string()).optional().describe('Actores'),
30
32
  published: Date.optional().describe('Año de publicación'),
31
33
  genres: z.array(z.string()).optional().describe('Géneros'),
32
34
  online_rating: z.number().optional().describe('Puntuación en línea'),
33
35
  last_time_watched: Date.optional().describe('Última vez vista'),
34
36
  times_watched: z.number().default(0).optional().describe('Veces vista'),
37
+ videos: z.string().array().optional().describe('Vídeos promocionales'),
38
+ images: z.string().array().optional().describe('Imágenes promocionales'),
35
39
  })
36
40
  .and(StreamUrlsSchema).describe('Película');
@@ -20,17 +20,21 @@ export const TVSeriesSchema = SourceSchema
20
20
  icon: Icon.optional().default(TVSeriesIcon.value).describe('Icono de Lucide.'),
21
21
  cover: Image.nullable().optional().describe('Portada de la serie de TV.'),
22
22
  url: z.url().describe('URL de la serie de TV en IMDB o similar'),
23
+ trailer: z.url().describe('URL del trailer en YouTube u otras plataformas').optional(),
23
24
  watch_url: z.url().optional().describe('URL de la serie de TV en streaming').meta({
24
25
  deprecated: true,
25
26
  replacement: 'hbo_max_url|netflix_url|apple_tv_url|amazon_prime_url|disney_plus_url|hulu_url|pluto_tv_url|youtube_url',
26
27
  }),
27
28
  external_ids: z.array(TVExternalId).optional().describe('IDs externos de la serie de TV'),
28
29
  title: z.string().describe('Título de la serie de TV'),
30
+ subtitle: z.string().optional().describe('Tagline'),
29
31
  actors: z.array(z.string()).optional().describe('Actores'),
30
32
  published: Date.optional().describe('Año de publicación'),
31
33
  genres: z.array(z.string()).optional().describe('Géneros'),
32
34
  online_rating: z.number().optional().describe('Puntuación en línea'),
33
35
  last_time_watched: Date.optional().describe('Última vez vista'),
34
36
  times_watched: z.number().default(0).optional().describe('Veces vista'),
37
+ videos: z.string().array().optional().describe('Vídeos promocionales'),
38
+ images: z.string().array().optional().describe('Imágenes promocionales'),
35
39
  })
36
40
  .and(StreamUrlsSchema).describe('Serie de TV');
@@ -221,6 +221,11 @@
221
221
  "description": "Descripción de la fuente.",
222
222
  "type": "string"
223
223
  },
224
+ "trailer": {
225
+ "type": "string",
226
+ "format": "uri",
227
+ "description": "URL del trailer en YouTube u otras plataformas"
228
+ },
224
229
  "watch_url": {
225
230
  "description": "URL de la película en streaming",
226
231
  "deprecated": true,
@@ -236,6 +241,10 @@
236
241
  "pattern": "^(tmdb|imdb|watchmode|tvmaze|tvdb):.+$"
237
242
  }
238
243
  },
244
+ "subtitle": {
245
+ "description": "Tagline",
246
+ "type": "string"
247
+ },
239
248
  "actors": {
240
249
  "description": "Actores",
241
250
  "type": "array",
@@ -278,6 +287,20 @@
278
287
  "description": "Veces vista",
279
288
  "default": 0,
280
289
  "type": "number"
290
+ },
291
+ "videos": {
292
+ "description": "Vídeos promocionales",
293
+ "type": "array",
294
+ "items": {
295
+ "type": "string"
296
+ }
297
+ },
298
+ "images": {
299
+ "description": "Imágenes promocionales",
300
+ "type": "array",
301
+ "items": {
302
+ "type": "string"
303
+ }
281
304
  }
282
305
  },
283
306
  "required": [
@@ -226,6 +226,11 @@
226
226
  "description": "Descripción de la fuente.",
227
227
  "type": "string"
228
228
  },
229
+ "trailer": {
230
+ "type": "string",
231
+ "format": "uri",
232
+ "description": "URL del trailer en YouTube u otras plataformas"
233
+ },
229
234
  "watch_url": {
230
235
  "description": "URL de la película en streaming",
231
236
  "deprecated": true,
@@ -241,6 +246,10 @@
241
246
  "pattern": "^(tmdb|imdb|watchmode|tvmaze|tvdb):.+$"
242
247
  }
243
248
  },
249
+ "subtitle": {
250
+ "description": "Tagline",
251
+ "type": "string"
252
+ },
244
253
  "actors": {
245
254
  "description": "Actores",
246
255
  "type": "array",
@@ -283,6 +292,20 @@
283
292
  "description": "Veces vista",
284
293
  "default": 0,
285
294
  "type": "number"
295
+ },
296
+ "videos": {
297
+ "description": "Vídeos promocionales",
298
+ "type": "array",
299
+ "items": {
300
+ "type": "string"
301
+ }
302
+ },
303
+ "images": {
304
+ "description": "Imágenes promocionales",
305
+ "type": "array",
306
+ "items": {
307
+ "type": "string"
308
+ }
286
309
  }
287
310
  },
288
311
  "required": [
@@ -221,6 +221,11 @@
221
221
  "description": "Descripción de la fuente.",
222
222
  "type": "string"
223
223
  },
224
+ "trailer": {
225
+ "type": "string",
226
+ "format": "uri",
227
+ "description": "URL del trailer en YouTube u otras plataformas"
228
+ },
224
229
  "watch_url": {
225
230
  "description": "URL de la película en streaming",
226
231
  "deprecated": true,
@@ -236,6 +241,10 @@
236
241
  "pattern": "^(tmdb|imdb|watchmode|tvmaze|tvdb):.+$"
237
242
  }
238
243
  },
244
+ "subtitle": {
245
+ "description": "Tagline",
246
+ "type": "string"
247
+ },
239
248
  "actors": {
240
249
  "description": "Actores",
241
250
  "type": "array",
@@ -278,6 +287,20 @@
278
287
  "description": "Veces vista",
279
288
  "default": 0,
280
289
  "type": "number"
290
+ },
291
+ "videos": {
292
+ "description": "Vídeos promocionales",
293
+ "type": "array",
294
+ "items": {
295
+ "type": "string"
296
+ }
297
+ },
298
+ "images": {
299
+ "description": "Imágenes promocionales",
300
+ "type": "array",
301
+ "items": {
302
+ "type": "string"
303
+ }
281
304
  }
282
305
  },
283
306
  "required": [
@@ -1516,6 +1516,11 @@
1516
1516
  "description": "Descripción de la fuente.",
1517
1517
  "type": "string"
1518
1518
  },
1519
+ "trailer": {
1520
+ "type": "string",
1521
+ "format": "uri",
1522
+ "description": "URL del trailer en YouTube u otras plataformas"
1523
+ },
1519
1524
  "watch_url": {
1520
1525
  "description": "URL de la película en streaming",
1521
1526
  "deprecated": true,
@@ -1531,6 +1536,10 @@
1531
1536
  "pattern": "^(tmdb|imdb|watchmode|tvmaze|tvdb):.+$"
1532
1537
  }
1533
1538
  },
1539
+ "subtitle": {
1540
+ "description": "Tagline",
1541
+ "type": "string"
1542
+ },
1534
1543
  "actors": {
1535
1544
  "description": "Actores",
1536
1545
  "type": "array",
@@ -1573,6 +1582,20 @@
1573
1582
  "description": "Veces vista",
1574
1583
  "default": 0,
1575
1584
  "type": "number"
1585
+ },
1586
+ "videos": {
1587
+ "description": "Vídeos promocionales",
1588
+ "type": "array",
1589
+ "items": {
1590
+ "type": "string"
1591
+ }
1592
+ },
1593
+ "images": {
1594
+ "description": "Imágenes promocionales",
1595
+ "type": "array",
1596
+ "items": {
1597
+ "type": "string"
1598
+ }
1576
1599
  }
1577
1600
  },
1578
1601
  "required": [
@@ -2090,6 +2113,11 @@
2090
2113
  "description": "Descripción de la fuente.",
2091
2114
  "type": "string"
2092
2115
  },
2116
+ "trailer": {
2117
+ "type": "string",
2118
+ "format": "uri",
2119
+ "description": "URL del trailer en YouTube u otras plataformas"
2120
+ },
2093
2121
  "watch_url": {
2094
2122
  "description": "URL de la serie de TV en streaming",
2095
2123
  "deprecated": true,
@@ -2105,6 +2133,10 @@
2105
2133
  "pattern": "^(tmdb|imdb|watchmode|tvmaze|tvdb):.+$"
2106
2134
  }
2107
2135
  },
2136
+ "subtitle": {
2137
+ "description": "Tagline",
2138
+ "type": "string"
2139
+ },
2108
2140
  "actors": {
2109
2141
  "description": "Actores",
2110
2142
  "type": "array",
@@ -2147,6 +2179,20 @@
2147
2179
  "description": "Veces vista",
2148
2180
  "default": 0,
2149
2181
  "type": "number"
2182
+ },
2183
+ "videos": {
2184
+ "description": "Vídeos promocionales",
2185
+ "type": "array",
2186
+ "items": {
2187
+ "type": "string"
2188
+ }
2189
+ },
2190
+ "images": {
2191
+ "description": "Imágenes promocionales",
2192
+ "type": "array",
2193
+ "items": {
2194
+ "type": "string"
2195
+ }
2150
2196
  }
2151
2197
  },
2152
2198
  "required": [
@@ -221,6 +221,11 @@
221
221
  "description": "Descripción de la fuente.",
222
222
  "type": "string"
223
223
  },
224
+ "trailer": {
225
+ "type": "string",
226
+ "format": "uri",
227
+ "description": "URL del trailer en YouTube u otras plataformas"
228
+ },
224
229
  "watch_url": {
225
230
  "description": "URL de la serie de TV en streaming",
226
231
  "deprecated": true,
@@ -236,6 +241,10 @@
236
241
  "pattern": "^(tmdb|imdb|watchmode|tvmaze|tvdb):.+$"
237
242
  }
238
243
  },
244
+ "subtitle": {
245
+ "description": "Tagline",
246
+ "type": "string"
247
+ },
239
248
  "actors": {
240
249
  "description": "Actores",
241
250
  "type": "array",
@@ -278,6 +287,20 @@
278
287
  "description": "Veces vista",
279
288
  "default": 0,
280
289
  "type": "number"
290
+ },
291
+ "videos": {
292
+ "description": "Vídeos promocionales",
293
+ "type": "array",
294
+ "items": {
295
+ "type": "string"
296
+ }
297
+ },
298
+ "images": {
299
+ "description": "Imágenes promocionales",
300
+ "type": "array",
301
+ "items": {
302
+ "type": "string"
303
+ }
281
304
  }
282
305
  },
283
306
  "required": [
@@ -226,6 +226,11 @@
226
226
  "description": "Descripción de la fuente.",
227
227
  "type": "string"
228
228
  },
229
+ "trailer": {
230
+ "type": "string",
231
+ "format": "uri",
232
+ "description": "URL del trailer en YouTube u otras plataformas"
233
+ },
229
234
  "watch_url": {
230
235
  "description": "URL de la serie de TV en streaming",
231
236
  "deprecated": true,
@@ -241,6 +246,10 @@
241
246
  "pattern": "^(tmdb|imdb|watchmode|tvmaze|tvdb):.+$"
242
247
  }
243
248
  },
249
+ "subtitle": {
250
+ "description": "Tagline",
251
+ "type": "string"
252
+ },
244
253
  "actors": {
245
254
  "description": "Actores",
246
255
  "type": "array",
@@ -283,6 +292,20 @@
283
292
  "description": "Veces vista",
284
293
  "default": 0,
285
294
  "type": "number"
295
+ },
296
+ "videos": {
297
+ "description": "Vídeos promocionales",
298
+ "type": "array",
299
+ "items": {
300
+ "type": "string"
301
+ }
302
+ },
303
+ "images": {
304
+ "description": "Imágenes promocionales",
305
+ "type": "array",
306
+ "items": {
307
+ "type": "string"
308
+ }
286
309
  }
287
310
  },
288
311
  "required": [
@@ -221,6 +221,11 @@
221
221
  "description": "Descripción de la fuente.",
222
222
  "type": "string"
223
223
  },
224
+ "trailer": {
225
+ "type": "string",
226
+ "format": "uri",
227
+ "description": "URL del trailer en YouTube u otras plataformas"
228
+ },
224
229
  "watch_url": {
225
230
  "description": "URL de la serie de TV en streaming",
226
231
  "deprecated": true,
@@ -236,6 +241,10 @@
236
241
  "pattern": "^(tmdb|imdb|watchmode|tvmaze|tvdb):.+$"
237
242
  }
238
243
  },
244
+ "subtitle": {
245
+ "description": "Tagline",
246
+ "type": "string"
247
+ },
239
248
  "actors": {
240
249
  "description": "Actores",
241
250
  "type": "array",
@@ -278,6 +287,20 @@
278
287
  "description": "Veces vista",
279
288
  "default": 0,
280
289
  "type": "number"
290
+ },
291
+ "videos": {
292
+ "description": "Vídeos promocionales",
293
+ "type": "array",
294
+ "items": {
295
+ "type": "string"
296
+ }
297
+ },
298
+ "images": {
299
+ "description": "Imágenes promocionales",
300
+ "type": "array",
301
+ "items": {
302
+ "type": "string"
303
+ }
281
304
  }
282
305
  },
283
306
  "required": [
@@ -1521,6 +1521,11 @@
1521
1521
  "description": "Descripción de la fuente.",
1522
1522
  "type": "string"
1523
1523
  },
1524
+ "trailer": {
1525
+ "type": "string",
1526
+ "format": "uri",
1527
+ "description": "URL del trailer en YouTube u otras plataformas"
1528
+ },
1524
1529
  "watch_url": {
1525
1530
  "description": "URL de la película en streaming",
1526
1531
  "deprecated": true,
@@ -1536,6 +1541,10 @@
1536
1541
  "pattern": "^(tmdb|imdb|watchmode|tvmaze|tvdb):.+$"
1537
1542
  }
1538
1543
  },
1544
+ "subtitle": {
1545
+ "description": "Tagline",
1546
+ "type": "string"
1547
+ },
1539
1548
  "actors": {
1540
1549
  "description": "Actores",
1541
1550
  "type": "array",
@@ -1578,6 +1587,20 @@
1578
1587
  "description": "Veces vista",
1579
1588
  "default": 0,
1580
1589
  "type": "number"
1590
+ },
1591
+ "videos": {
1592
+ "description": "Vídeos promocionales",
1593
+ "type": "array",
1594
+ "items": {
1595
+ "type": "string"
1596
+ }
1597
+ },
1598
+ "images": {
1599
+ "description": "Imágenes promocionales",
1600
+ "type": "array",
1601
+ "items": {
1602
+ "type": "string"
1603
+ }
1581
1604
  }
1582
1605
  },
1583
1606
  "required": [
@@ -2095,6 +2118,11 @@
2095
2118
  "description": "Descripción de la fuente.",
2096
2119
  "type": "string"
2097
2120
  },
2121
+ "trailer": {
2122
+ "type": "string",
2123
+ "format": "uri",
2124
+ "description": "URL del trailer en YouTube u otras plataformas"
2125
+ },
2098
2126
  "watch_url": {
2099
2127
  "description": "URL de la serie de TV en streaming",
2100
2128
  "deprecated": true,
@@ -2110,6 +2138,10 @@
2110
2138
  "pattern": "^(tmdb|imdb|watchmode|tvmaze|tvdb):.+$"
2111
2139
  }
2112
2140
  },
2141
+ "subtitle": {
2142
+ "description": "Tagline",
2143
+ "type": "string"
2144
+ },
2113
2145
  "actors": {
2114
2146
  "description": "Actores",
2115
2147
  "type": "array",
@@ -2152,6 +2184,20 @@
2152
2184
  "description": "Veces vista",
2153
2185
  "default": 0,
2154
2186
  "type": "number"
2187
+ },
2188
+ "videos": {
2189
+ "description": "Vídeos promocionales",
2190
+ "type": "array",
2191
+ "items": {
2192
+ "type": "string"
2193
+ }
2194
+ },
2195
+ "images": {
2196
+ "description": "Imágenes promocionales",
2197
+ "type": "array",
2198
+ "items": {
2199
+ "type": "string"
2200
+ }
2155
2201
  }
2156
2202
  },
2157
2203
  "required": [
@@ -3968,6 +4014,11 @@
3968
4014
  "description": "Descripción de la fuente.",
3969
4015
  "type": "string"
3970
4016
  },
4017
+ "trailer": {
4018
+ "type": "string",
4019
+ "format": "uri",
4020
+ "description": "URL del trailer en YouTube u otras plataformas"
4021
+ },
3971
4022
  "watch_url": {
3972
4023
  "description": "URL de la película en streaming",
3973
4024
  "deprecated": true,
@@ -3983,6 +4034,10 @@
3983
4034
  "pattern": "^(tmdb|imdb|watchmode|tvmaze|tvdb):.+$"
3984
4035
  }
3985
4036
  },
4037
+ "subtitle": {
4038
+ "description": "Tagline",
4039
+ "type": "string"
4040
+ },
3986
4041
  "actors": {
3987
4042
  "description": "Actores",
3988
4043
  "type": "array",
@@ -4025,6 +4080,20 @@
4025
4080
  "description": "Veces vista",
4026
4081
  "default": 0,
4027
4082
  "type": "number"
4083
+ },
4084
+ "videos": {
4085
+ "description": "Vídeos promocionales",
4086
+ "type": "array",
4087
+ "items": {
4088
+ "type": "string"
4089
+ }
4090
+ },
4091
+ "images": {
4092
+ "description": "Imágenes promocionales",
4093
+ "type": "array",
4094
+ "items": {
4095
+ "type": "string"
4096
+ }
4028
4097
  }
4029
4098
  },
4030
4099
  "required": [
@@ -4544,6 +4613,11 @@
4544
4613
  "description": "Descripción de la fuente.",
4545
4614
  "type": "string"
4546
4615
  },
4616
+ "trailer": {
4617
+ "type": "string",
4618
+ "format": "uri",
4619
+ "description": "URL del trailer en YouTube u otras plataformas"
4620
+ },
4547
4621
  "watch_url": {
4548
4622
  "description": "URL de la serie de TV en streaming",
4549
4623
  "deprecated": true,
@@ -4559,6 +4633,10 @@
4559
4633
  "pattern": "^(tmdb|imdb|watchmode|tvmaze|tvdb):.+$"
4560
4634
  }
4561
4635
  },
4636
+ "subtitle": {
4637
+ "description": "Tagline",
4638
+ "type": "string"
4639
+ },
4562
4640
  "actors": {
4563
4641
  "description": "Actores",
4564
4642
  "type": "array",
@@ -4601,6 +4679,20 @@
4601
4679
  "description": "Veces vista",
4602
4680
  "default": 0,
4603
4681
  "type": "number"
4682
+ },
4683
+ "videos": {
4684
+ "description": "Vídeos promocionales",
4685
+ "type": "array",
4686
+ "items": {
4687
+ "type": "string"
4688
+ }
4689
+ },
4690
+ "images": {
4691
+ "description": "Imágenes promocionales",
4692
+ "type": "array",
4693
+ "items": {
4694
+ "type": "string"
4695
+ }
4604
4696
  }
4605
4697
  },
4606
4698
  "required": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@segha/catalog",
3
- "version": "5.0.3",
3
+ "version": "5.0.4",
4
4
  "main": "index.ts",
5
5
  "description": "Schemas for Petroglyph Catalog",
6
6
  "segha": {