@segha/catalog 4.1.0 → 5.0.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 (46) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +0 -6
  3. package/en/index.ts +2 -0
  4. package/es/Core/Format.ts +4 -0
  5. package/es/Core/Source.ts +1 -0
  6. package/es/DataTypes/ExternalId.ts +7 -0
  7. package/es/DataTypes/StreamUrls.ts +12 -0
  8. package/es/DataTypes/index.ts +2 -0
  9. package/es/DataTypes/types.ts +4 -0
  10. package/es/Movie/index.ts +25 -20
  11. package/es/Note.ts +2 -0
  12. package/es/TVSeries/index.ts +36 -0
  13. package/es/TVSeries/types.ts +6 -0
  14. package/es/index.ts +3 -0
  15. package/es/types.ts +2 -0
  16. package/index.ts +0 -2
  17. package/json-schemas/es/Book/BookSchema.json +9 -9
  18. package/json-schemas/es/Book/index.json +9 -9
  19. package/json-schemas/es/BookSchema.json +9 -9
  20. package/json-schemas/es/Core/Format.json +1 -0
  21. package/json-schemas/es/Core/SourceSchema.json +4 -0
  22. package/json-schemas/es/Core/TVSeries.json +6 -0
  23. package/json-schemas/es/Core/index.json +11 -0
  24. package/json-schemas/es/DataTypes/StreamUrlsSchema.json +47 -0
  25. package/json-schemas/es/DataTypes/index.json +52 -0
  26. package/json-schemas/es/Movie/MovieSchema.json +286 -230
  27. package/json-schemas/es/Movie/index.json +286 -235
  28. package/json-schemas/es/MovieSchema.json +286 -230
  29. package/json-schemas/es/NoteSchema.json +638 -239
  30. package/json-schemas/es/Painting/PaintingSchema.json +4 -0
  31. package/json-schemas/es/Painting/index.json +4 -0
  32. package/json-schemas/es/PaintingSchema.json +4 -0
  33. package/json-schemas/es/TVSeries/TVSeriesSchema.json +336 -0
  34. package/json-schemas/es/TVSeries/index.json +343 -0
  35. package/json-schemas/es/TVSeriesSchema.json +336 -0
  36. package/json-schemas/es/Video/VideoSchema.json +4 -0
  37. package/json-schemas/es/Video/VimeoSchema.json +4 -0
  38. package/json-schemas/es/Video/YoutubeSchema.json +4 -0
  39. package/json-schemas/es/Video/index.json +12 -0
  40. package/json-schemas/es/VideoSchema.json +4 -0
  41. package/json-schemas/es/VimeoSchema.json +4 -0
  42. package/json-schemas/es/YoutubeSchema.json +4 -0
  43. package/json-schemas/es/index.json +1466 -659
  44. package/package.json +10 -5
  45. package/es/Movie/MovieExternalId.ts +0 -7
  46. /package/json-schemas/es/{Movie/MovieExternalId.json → DataTypes/TVExternalId.json} +0 -0
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@segha/catalog",
3
- "version": "4.1.0",
3
+ "version": "5.0.0",
4
4
  "main": "index.ts",
5
5
  "description": "Schemas for Petroglyph Catalog",
6
+ "segha": {
7
+ "i18n": true
8
+ },
6
9
  "keywords": [
7
10
  "schemas",
8
11
  "zod",
@@ -38,17 +41,19 @@
38
41
  "exports": {
39
42
  ".": "./index.ts",
40
43
  "./en": "./en/index.ts",
41
- "./en/clothing": "./en/Clothing/index.ts",
42
- "./en/clothing/types": "./en/Clothing/types.ts",
44
+ "./en/types": "./en/types.ts",
43
45
  "./en/json-schema": "./json-schemas/en/index.json",
44
46
  "./en/json-schemas/*": "./json-schemas/en/*.json",
47
+ "./en/clothing": "./en/Clothing/index.ts",
48
+ "./en/clothing/types": "./en/Clothing/types.ts",
45
49
  "./en/clothing/json-schema": "./json-schemas/en/Clothing/index.json",
46
50
  "./en/clothing/json-schemas/*": "./json-schemas/en/Clothing/*.json",
47
51
  "./es": "./es/index.ts",
48
- "./es/clothing": "./es/Clothing/index.ts",
49
- "./es/clothing/types": "./es/Clothing/types.ts",
52
+ "./es/types": "./es/types.ts",
50
53
  "./es/json-schema": "./json-schemas/es/index.json",
51
54
  "./es/json-schemas/*": "./json-schemas/es/*.json",
55
+ "./es/clothing": "./es/Clothing/index.ts",
56
+ "./es/clothing/types": "./es/Clothing/types.ts",
52
57
  "./es/clothing/json-schema": "./json-schemas/es/Clothing/index.json",
53
58
  "./es/clothing/json-schemas/*": "./json-schemas/es/Clothing/*.json",
54
59
  "./types": "./types.ts"
@@ -1,7 +0,0 @@
1
- import z from "zod";
2
- import { regex } from "arkregex";
3
-
4
- const MovieExternalIdRegex = regex("^(tmdb|imdb|watchmode|tvmaze|tvdb):.+$");
5
-
6
- export const MovieExternalId = z.string().regex(MovieExternalIdRegex, "Formato de ID externo inválido");
7
-