@segha/watchmode 0.0.1

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/IdMapping.ts +15 -0
  2. package/README.md +178 -0
  3. package/index.ts +4 -0
  4. package/json-schemas/API/APIEndpoints.json +23 -0
  5. package/json-schemas/API/BaseUrl.json +6 -0
  6. package/json-schemas/API/ConfigurationSchema.json +13 -0
  7. package/json-schemas/API/DatasetsBaseUrl.json +6 -0
  8. package/json-schemas/API/DatasetsEndpoints.json +10 -0
  9. package/json-schemas/API/EndpointsSchema.json +50 -0
  10. package/json-schemas/API/IDMappingDatasetEndpoint.json +6 -0
  11. package/json-schemas/API/ListSourcesEndpoint.json +6 -0
  12. package/json-schemas/API/MethodsSchema.json +528 -0
  13. package/json-schemas/API/SourcesEndpoints.json +10 -0
  14. package/json-schemas/API/SpecSchema.json +554 -0
  15. package/json-schemas/API/TitleSourcesEndpoint.json +6 -0
  16. package/json-schemas/API/TitlesEndpoints.json +10 -0
  17. package/json-schemas/API/Version.json +6 -0
  18. package/json-schemas/API/index.json +1241 -0
  19. package/json-schemas/FreeServiceType.json +6 -0
  20. package/json-schemas/IdMappingEntrySchema.json +38 -0
  21. package/json-schemas/IdMappingSchema.json +41 -0
  22. package/json-schemas/PurchaseServiceType.json +6 -0
  23. package/json-schemas/Sources/FreeServiceType.json +6 -0
  24. package/json-schemas/Sources/PurchaseServiceType.json +6 -0
  25. package/json-schemas/Sources/StreamingSourceSchema.json +129 -0
  26. package/json-schemas/Sources/StreamingSourceTypeSchema.json +26 -0
  27. package/json-schemas/Sources/StreamingSourcesParametersSchema.json +18 -0
  28. package/json-schemas/Sources/StreamingSourcesSchema.json +132 -0
  29. package/json-schemas/Sources/SubscriptionServiceType.json +6 -0
  30. package/json-schemas/Sources/TVEServiceType.json +6 -0
  31. package/json-schemas/Sources/index.json +336 -0
  32. package/json-schemas/StreamingSourceSchema.json +129 -0
  33. package/json-schemas/StreamingSourceTypeSchema.json +26 -0
  34. package/json-schemas/StreamingSourcesParametersSchema.json +18 -0
  35. package/json-schemas/StreamingSourcesSchema.json +132 -0
  36. package/json-schemas/SubscriptionServiceType.json +6 -0
  37. package/json-schemas/TVEServiceType.json +6 -0
  38. package/json-schemas/TitleStreamingSourceSchema.json +169 -0
  39. package/json-schemas/TitleStreamingSourcesParametersSchema.json +13 -0
  40. package/json-schemas/TitleStreamingSourcesSchema.json +172 -0
  41. package/json-schemas/Titles/TitleStreamingSourceSchema.json +169 -0
  42. package/json-schemas/Titles/TitleStreamingSourcesParametersSchema.json +13 -0
  43. package/json-schemas/Titles/TitleStreamingSourcesSchema.json +172 -0
  44. package/json-schemas/Titles/index.json +361 -0
  45. package/json-schemas/index.json +769 -0
  46. package/package.json +51 -0
package/package.json ADDED
@@ -0,0 +1,51 @@
1
+ {
2
+ "name": "@segha/watchmode",
3
+ "description": "Schemas for Watchmode",
4
+ "main": "index.ts",
5
+ "keywords": [
6
+ "schemas",
7
+ "zod",
8
+ "watchmode"
9
+ ],
10
+ "version": "0.0.1",
11
+ "author": "Aitor Llamas Jiménez <aitorllj93@gmail.com>",
12
+ "homepage": "https://github.com/aitorllj93/segha",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git+https://github.com/aitorllj93/segha.git",
16
+ "directory": "schemas/watchmode"
17
+ },
18
+ "license": "ISC",
19
+ "type": "module",
20
+ "exports": {
21
+ ".": "./index.ts",
22
+ "./api": "./API/index.ts",
23
+ "./sources": "./Sources/index.ts",
24
+ "./titles": "./Titles/index.ts",
25
+ "./id-mapping": "./IdMapping.ts",
26
+ "./json-schema": "./json-schemas/index.json",
27
+ "./json-schemas/*": "./json-schemas/*.json"
28
+ },
29
+ "peerDependencies": {
30
+ "zod": "^4.0.14"
31
+ },
32
+ "devDependencies": {
33
+ "zod": "^4.0.14",
34
+ "zod2md": "^0.2.4",
35
+ "tsx": "^4.21.0"
36
+ },
37
+ "publishConfig": {
38
+ "access": "public"
39
+ },
40
+ "files": [
41
+ "*.ts",
42
+ "json-schemas/**/*.json",
43
+ "README.md",
44
+ "CHANGELOG.md"
45
+ ],
46
+ "scripts": {
47
+ "docs": "pnpm tsx ../../utils/generate-docs.ts --entry ./index.ts --cwd .",
48
+ "json-schema": "pnpm tsx ../../utils/generate-json-schema.ts --entry ./",
49
+ "test": "echo \"Error: no test specified\" && exit 1"
50
+ }
51
+ }