waha-shared 1.0.211 → 1.0.213

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 (124) hide show
  1. package/dist/data/areas/areas.schema.json +53 -19
  2. package/dist/data/areas/areas.zod.d.ts +12 -15
  3. package/dist/data/aslTimestamps/aslTimestamps.schema.json +11 -18
  4. package/dist/data/aslTimestamps/aslTimestamps.zod.d.ts +34 -4
  5. package/dist/data/bibleAudios/bibleAudios.schema.json +11 -14
  6. package/dist/data/bibleAudios/bibleAudios.zod.d.ts +15 -11
  7. package/dist/data/bibleAudios/bibleAudios.zod.js +4 -5
  8. package/dist/data/bibleAudios/index.d.ts +2 -5
  9. package/dist/data/bibleBooks/bibleBooks.schema.json +50 -71
  10. package/dist/data/bibleBooks/bibleBooks.zod.d.ts +51 -5
  11. package/dist/data/bibleBooks/index.d.ts +2 -2
  12. package/dist/data/bibleChaptersList/bibleChaptersList.schema.json +2 -5
  13. package/dist/data/bibleChaptersList/bibleChaptersList.zod.d.ts +1 -1
  14. package/dist/data/bibleStatuses/bibleStatuses.json +110 -2
  15. package/dist/data/bibleStatuses/bibleStatuses.schema.json +40 -46
  16. package/dist/data/bibleStatuses/bibleStatuses.zod.d.ts +25 -5
  17. package/dist/data/bibleStatuses/bibleStatuses.zod.js +27 -2
  18. package/dist/data/bibleTexts/bibleTexts.schema.json +24 -40
  19. package/dist/data/bibleTexts/bibleTexts.zod.d.ts +39 -11
  20. package/dist/data/bibleTexts/index.d.ts +3 -3
  21. package/dist/data/clones/clones.schema.json +26 -27
  22. package/dist/data/clones/clones.zod.d.ts +24 -2
  23. package/dist/data/clones/clones.zod.js +1 -1
  24. package/dist/data/clones/index.d.ts +3 -3
  25. package/dist/data/countries/countries.schema.json +90 -91
  26. package/dist/data/countries/countries.zod.d.ts +88 -19
  27. package/dist/data/countries/countries.zod.js +138 -49
  28. package/dist/data/countriesAndLanguages/countriesAndLanguages.schema.json +8 -19
  29. package/dist/data/countriesAndLanguages/countriesAndLanguages.zod.d.ts +28 -2
  30. package/dist/data/countriesAndLanguages/index.d.ts +2 -2
  31. package/dist/data/crowdinLanguages/crowdinLanguages.schema.json +4 -13
  32. package/dist/data/crowdinLanguages/crowdinLanguages.zod.d.ts +13 -1
  33. package/dist/data/crowdinLanguages/index.d.ts +1 -1
  34. package/dist/data/curriculumFoundations/curriculumFoundations.schema.json +8 -16
  35. package/dist/data/curriculumFoundations/curriculumFoundations.zod.d.ts +10 -2
  36. package/dist/data/curriculumQuestions/curriculumQuestions.schema.json +13 -24
  37. package/dist/data/curriculumQuestions/curriculumQuestions.zod.d.ts +23 -3
  38. package/dist/data/curriculumTopics/curriculumTopics.schema.json +8 -16
  39. package/dist/data/curriculumTopics/curriculumTopics.zod.d.ts +10 -2
  40. package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.schema.json +2 -5
  41. package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.zod.d.ts +1 -1
  42. package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.schema.json +2 -8
  43. package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.zod.js +1 -1
  44. package/dist/data/languageAssets/languageAssets.json +37702 -0
  45. package/dist/data/languageAssets/languageAssets.schema.json +12 -15
  46. package/dist/data/languageAssets/languageAssets.zod.d.ts +1 -1
  47. package/dist/data/languageAssets/languageAssets.zod.js +43 -3
  48. package/dist/data/languages/index.d.ts +4 -8
  49. package/dist/data/languages/languages.json +1 -1
  50. package/dist/data/languages/languages.schema.json +89 -136
  51. package/dist/data/languages/languages.zod.d.ts +116 -194
  52. package/dist/data/languages/languages.zod.js +1 -7
  53. package/dist/data/mediaDurations/mediaDurations.schema.json +14 -21
  54. package/dist/data/mediaDurations/mediaDurations.zod.d.ts +1 -1
  55. package/dist/data/mediaDurations/mediaDurations.zod.js +41 -3
  56. package/dist/data/notification/notification.schema.json +57 -67
  57. package/dist/data/notification/notification.zod.d.ts +39 -15
  58. package/dist/data/notification/notification.zod.js +134 -4
  59. package/dist/data/numeralMaps/numeralMaps.schema.json +62 -62
  60. package/dist/data/numeralMaps/numeralMaps.zod.d.ts +46 -2
  61. package/dist/data/numeralMaps/numeralMaps.zod.js +64 -14
  62. package/dist/data/phoneLanguages/index.d.ts +1 -1
  63. package/dist/data/phoneLanguages/phoneLanguages.schema.json +8 -18
  64. package/dist/data/phoneLanguages/phoneLanguages.zod.d.ts +22 -2
  65. package/dist/data/questions/index.d.ts +1 -1
  66. package/dist/data/questions/questions.schema.json +11 -11
  67. package/dist/data/questions/questions.zod.d.ts +14 -6
  68. package/dist/data/releaseNotes/index.d.ts +1 -1
  69. package/dist/data/releaseNotes/releaseNotes.schema.json +11 -23
  70. package/dist/data/releaseNotes/releaseNotes.zod.d.ts +9 -1
  71. package/dist/data/releaseNotes/releaseNotes.zod.js +1 -1
  72. package/dist/data/screenshots/screenshots.schema.json +6 -12
  73. package/dist/data/screenshots/screenshots.zod.d.ts +5 -1
  74. package/dist/data/scripts/scripts.schema.json +4 -11
  75. package/dist/data/scripts/scripts.zod.d.ts +7 -1
  76. package/dist/data/sets/index.d.ts +2 -2
  77. package/dist/data/sets/sets.schema.json +22 -25
  78. package/dist/data/sets/sets.zod.d.ts +39 -61
  79. package/dist/data/specialIds/specialIds.schema.json +1 -5
  80. package/dist/data/specialIds/specialIds.zod.d.ts +41 -11
  81. package/dist/data/translationsApp/index.d.ts +9 -9
  82. package/dist/data/translationsApp/translationsApp.json +1 -0
  83. package/dist/data/translationsApp/translationsApp.schema.json +668 -667
  84. package/dist/data/translationsApp/translationsApp.zod.d.ts +631 -1
  85. package/dist/data/translationsApp/translationsApp.zod.js +2 -2
  86. package/dist/data/translationsFtb/translationsFtb.json +884 -0
  87. package/dist/data/translationsFtb/translationsFtb.schema.json +149 -147
  88. package/dist/data/translationsFtb/translationsFtb.zod.d.ts +135 -1
  89. package/dist/data/translationsFtb/translationsFtb.zod.js +1 -1
  90. package/dist/data/translationsIntroduction/translationsIntroduction.schema.json +18 -15
  91. package/dist/data/translationsIntroduction/translationsIntroduction.zod.d.ts +160 -2
  92. package/dist/data/translationsIntroduction/translationsIntroduction.zod.js +1 -1
  93. package/dist/data/translationsQuestion/translationsQuestion.json +480 -0
  94. package/dist/data/translationsQuestion/translationsQuestion.schema.json +14 -9
  95. package/dist/data/translationsQuestion/translationsQuestion.zod.js +1 -1
  96. package/dist/data/translationsSet/translationsSet.json +20694 -11135
  97. package/dist/data/translationsSet/translationsSet.schema.json +56 -52
  98. package/dist/data/translationsSet/translationsSet.zod.d.ts +19 -1
  99. package/dist/data/translationsSet/translationsSet.zod.js +4 -4
  100. package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.schema.json +100 -98
  101. package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.d.ts +87 -1
  102. package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.js +1 -1
  103. package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.json +480 -0
  104. package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.schema.json +23 -18
  105. package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.zod.js +1 -1
  106. package/dist/data/youtubePlaylists/youtubePlaylists.schema.json +2 -9
  107. package/dist/data/youtubePlaylists/youtubePlaylists.zod.js +1 -1
  108. package/dist/data/youtubeVideos/youtubeVideos.schema.json +2 -9
  109. package/dist/data/youtubeVideos/youtubeVideos.zod.js +1 -1
  110. package/dist/types/analytics.d.ts +1 -14
  111. package/dist/types/articles.d.ts +344 -94
  112. package/dist/types/articles.js +13 -13
  113. package/dist/types/bibleChapters.d.ts +91 -13
  114. package/dist/types/bibleChapters.js +1 -1
  115. package/dist/types/feedback.d.ts +41 -3
  116. package/dist/types/feedback.js +1 -1
  117. package/dist/types/microLessons.d.ts +869 -70
  118. package/dist/types/microLessons.js +29 -29
  119. package/dist/types/notifications.d.ts +119 -19
  120. package/dist/types/scripturePassages.d.ts +34 -4
  121. package/dist/types/users.d.ts +776 -221
  122. package/dist/types/users.js +1 -2
  123. package/dist/types/webContent.d.ts +20 -8
  124. package/package.json +3 -3
@@ -6,19 +6,42 @@
6
6
  "type": "string"
7
7
  },
8
8
  "data": {
9
- "$schema": "https://json-schema.org/draft/2020-12/schema",
10
- "minItems": 1,
11
- "type": "array",
9
+ "title": "Geographic Areas Schema",
10
+ "$id": "https://waha-app.com/schemas/areas.json",
11
+ "description": "Schema for geographic areas with coordinates and metadata",
12
+ "examples": [
13
+ [
14
+ {
15
+ "name": "North America",
16
+ "id": "north-america",
17
+ "lat": 35,
18
+ "lng": -70
19
+ },
20
+ {
21
+ "name": "Western Europe",
22
+ "id": "western-europe",
23
+ "lat": 48.8566,
24
+ "lng": 2.3522
25
+ }
26
+ ]
27
+ ],
12
28
  "items": {
13
- "type": "object",
29
+ "title": "Area",
30
+ "additionalProperties": false,
31
+ "description": "A geographic area with identification, coordinates, and display information",
14
32
  "properties": {
15
33
  "name": {
16
- "type": "string",
34
+ "description": "Human-readable display name for the area",
35
+ "examples": [
36
+ "North America",
37
+ "Latin America and the Caribbean",
38
+ "Western Europe"
39
+ ],
17
40
  "minLength": 1,
18
- "description": "Human-readable display name for the area"
41
+ "type": "string"
19
42
  },
20
43
  "id": {
21
- "type": "string",
44
+ "description": "The geographical area identifier",
22
45
  "enum": [
23
46
  "north-america",
24
47
  "latin-america-caribbean",
@@ -33,31 +56,42 @@
33
56
  "southeast-asia",
34
57
  "oceania"
35
58
  ],
36
- "description": "The geographical area identifier"
59
+ "type": "string"
37
60
  },
38
61
  "lat": {
39
- "type": "number",
40
- "minimum": -90,
62
+ "description": "Latitude coordinate for the area center point",
63
+ "examples": [
64
+ 35,
65
+ -14.235,
66
+ 48.8566
67
+ ],
41
68
  "maximum": 90,
42
- "description": "Latitude coordinate for the area center point"
69
+ "minimum": -90,
70
+ "type": "number"
43
71
  },
44
72
  "lng": {
45
- "type": "number",
46
- "minimum": -180,
73
+ "description": "Longitude coordinate for the area center point",
74
+ "examples": [
75
+ -70,
76
+ -51.9253,
77
+ 2.3522
78
+ ],
47
79
  "maximum": 180,
48
- "description": "Longitude coordinate for the area center point"
80
+ "minimum": -180,
81
+ "type": "number"
49
82
  }
50
83
  },
51
84
  "required": [
52
- "name",
53
85
  "id",
54
86
  "lat",
55
- "lng"
87
+ "lng",
88
+ "name"
56
89
  ],
57
- "additionalProperties": false,
58
- "description": "A geographic area with identification, coordinates, and display information"
90
+ "type": "object"
59
91
  },
60
- "description": "Schema for geographic areas with coordinates and metadata"
92
+ "minItems": 1,
93
+ "type": "array",
94
+ "uniqueItems": true
61
95
  }
62
96
  },
63
97
  "required": [
@@ -1,21 +1,18 @@
1
1
  import { z } from 'zod';
2
2
  export declare const Areas: z.ZodArray<z.ZodObject<{
3
3
  name: z.ZodString;
4
- id: z.ZodEnum<{
5
- "north-america": "north-america";
6
- "latin-america-caribbean": "latin-america-caribbean";
7
- "sub-saharan-africa": "sub-saharan-africa";
8
- "middle-east-north-africa": "middle-east-north-africa";
9
- "western-asia": "western-asia";
10
- "western-europe": "western-europe";
11
- "eastern-europe": "eastern-europe";
12
- "southern-asia": "southern-asia";
13
- "central-asia": "central-asia";
14
- "eastern-asia": "eastern-asia";
15
- "southeast-asia": "southeast-asia";
16
- oceania: "oceania";
17
- }>;
4
+ id: z.ZodEnum<["north-america", "latin-america-caribbean", "sub-saharan-africa", "middle-east-north-africa", "western-asia", "western-europe", "eastern-europe", "southern-asia", "central-asia", "eastern-asia", "southeast-asia", "oceania"]>;
18
5
  lat: z.ZodNumber;
19
6
  lng: z.ZodNumber;
20
- }, z.core.$strict>>;
7
+ }, "strict", z.ZodTypeAny, {
8
+ name: string;
9
+ id: "north-america" | "latin-america-caribbean" | "sub-saharan-africa" | "middle-east-north-africa" | "western-asia" | "western-europe" | "eastern-europe" | "southern-asia" | "central-asia" | "eastern-asia" | "southeast-asia" | "oceania";
10
+ lat: number;
11
+ lng: number;
12
+ }, {
13
+ name: string;
14
+ id: "north-america" | "latin-america-caribbean" | "sub-saharan-africa" | "middle-east-north-africa" | "western-asia" | "western-europe" | "eastern-europe" | "southern-asia" | "central-asia" | "eastern-asia" | "southeast-asia" | "oceania";
15
+ lat: number;
16
+ lng: number;
17
+ }>, "many">;
21
18
  export type Areas = z.infer<typeof Areas>;
@@ -6,44 +6,38 @@
6
6
  "type": "string"
7
7
  },
8
8
  "data": {
9
- "$schema": "https://json-schema.org/draft/2020-12/schema",
10
- "type": "array",
11
9
  "items": {
12
- "type": "object",
10
+ "additionalProperties": false,
13
11
  "properties": {
14
12
  "bookId": {
15
13
  "type": "string",
16
14
  "description": "The book ID (e.g., GEN, EXO)"
17
15
  },
18
16
  "chapters": {
19
- "minItems": 2,
20
- "maxItems": 2,
21
17
  "type": "array",
22
18
  "items": {
23
- "type": "integer",
24
- "minimum": -9007199254740991,
25
- "maximum": 9007199254740991
19
+ "type": "integer"
26
20
  },
21
+ "minItems": 2,
22
+ "maxItems": 2,
27
23
  "description": "The start and end chapter numbers for this section"
28
24
  },
29
25
  "section": {
30
- "minItems": 2,
31
- "maxItems": 2,
32
26
  "type": "array",
33
27
  "items": {
34
28
  "type": "string"
35
29
  },
30
+ "minItems": 2,
31
+ "maxItems": 2,
36
32
  "description": "The start and end verse IDs for this section (e.g., GEN.1.1, GEN.2.4)"
37
33
  },
38
34
  "verses": {
39
35
  "type": "array",
40
36
  "items": {
41
- "type": "object",
37
+ "additionalProperties": false,
42
38
  "properties": {
43
39
  "chapter": {
44
40
  "type": "integer",
45
- "minimum": -9007199254740991,
46
- "maximum": 9007199254740991,
47
41
  "description": "The chapter number"
48
42
  },
49
43
  "timestamp": {
@@ -52,8 +46,6 @@
52
46
  },
53
47
  "verse": {
54
48
  "type": "integer",
55
- "minimum": -9007199254740991,
56
- "maximum": 9007199254740991,
57
49
  "description": "The verse number"
58
50
  },
59
51
  "verseId": {
@@ -67,7 +59,7 @@
67
59
  "verse",
68
60
  "verseId"
69
61
  ],
70
- "additionalProperties": false
62
+ "type": "object"
71
63
  },
72
64
  "description": "Array of verse timing information"
73
65
  }
@@ -78,8 +70,9 @@
78
70
  "section",
79
71
  "verses"
80
72
  ],
81
- "additionalProperties": false
82
- }
73
+ "type": "object"
74
+ },
75
+ "type": "array"
83
76
  }
84
77
  },
85
78
  "required": [
@@ -1,13 +1,43 @@
1
1
  import { z } from 'zod';
2
2
  export declare const AslTimestamps: z.ZodArray<z.ZodObject<{
3
3
  bookId: z.ZodString;
4
- chapters: z.ZodArray<z.ZodNumber>;
5
- section: z.ZodArray<z.ZodString>;
4
+ chapters: z.ZodArray<z.ZodNumber, "many">;
5
+ section: z.ZodArray<z.ZodString, "many">;
6
6
  verses: z.ZodArray<z.ZodObject<{
7
7
  chapter: z.ZodNumber;
8
8
  timestamp: z.ZodNumber;
9
9
  verse: z.ZodNumber;
10
10
  verseId: z.ZodString;
11
- }, z.core.$strict>>;
12
- }, z.core.$strict>>;
11
+ }, "strict", z.ZodTypeAny, {
12
+ chapter: number;
13
+ timestamp: number;
14
+ verse: number;
15
+ verseId: string;
16
+ }, {
17
+ chapter: number;
18
+ timestamp: number;
19
+ verse: number;
20
+ verseId: string;
21
+ }>, "many">;
22
+ }, "strict", z.ZodTypeAny, {
23
+ bookId: string;
24
+ chapters: number[];
25
+ section: string[];
26
+ verses: {
27
+ chapter: number;
28
+ timestamp: number;
29
+ verse: number;
30
+ verseId: string;
31
+ }[];
32
+ }, {
33
+ bookId: string;
34
+ chapters: number[];
35
+ section: string[];
36
+ verses: {
37
+ chapter: number;
38
+ timestamp: number;
39
+ verse: number;
40
+ verseId: string;
41
+ }[];
42
+ }>, "many">;
13
43
  export type AslTimestamps = z.infer<typeof AslTimestamps>;
@@ -6,19 +6,17 @@
6
6
  "type": "string"
7
7
  },
8
8
  "data": {
9
- "$schema": "https://json-schema.org/draft/2020-12/schema",
10
- "type": "array",
11
9
  "items": {
12
- "type": "object",
10
+ "additionalProperties": false,
13
11
  "properties": {
14
12
  "bibleAudioId": {
15
13
  "type": "string"
16
14
  },
17
15
  "audioSource": {
18
- "type": "object",
16
+ "additionalProperties": false,
17
+ "description": "The best place to get audio bible chapters for this bible translation. Audio is hopefully available on the DBL via API.Bible when the license is granted. If not, it may be available on YouVersion. If not, the license holder may provide the audio. If not, the audio may be available to be scraped somewhere on the internet. For the last 2 options, use `custom`.",
19
18
  "properties": {
20
19
  "source": {
21
- "type": "string",
22
20
  "enum": [
23
21
  "dbl",
24
22
  "youVersion",
@@ -32,19 +30,17 @@
32
30
  },
33
31
  "required": [
34
32
  "source"
35
- ],
36
- "additionalProperties": false
33
+ ]
37
34
  },
38
35
  "canDownload": {
39
- "type": "boolean",
40
- "description": "Whether or not the audio can be downloaded for offline use on the web. Most likely false, unless the translation is creative commons."
36
+ "description": "Whether or not the audio can be downloaded for offline use on the web. Most likely false, unless the translation is creative commons.",
37
+ "type": "boolean"
41
38
  },
42
39
  "copyright": {
43
- "type": "string",
44
- "description": "Any copyright attribution text required to be added to the app for this translation for legal purposes."
40
+ "description": "Any copyright attribution text required to be added to the app for this translation for legal purposes.",
41
+ "type": "string"
45
42
  },
46
43
  "disableStar": {
47
- "type": "boolean",
48
44
  "description": "Star refers to adding a <star> string before the first line passed to mms forced alignment. Disabling it means that there is not any content read out before the start of verse 1. Most translations read out names of chapters or section headings, which is why adding <star> is the default behavior."
49
45
  }
50
46
  },
@@ -53,8 +49,9 @@
53
49
  "audioSource",
54
50
  "canDownload"
55
51
  ],
56
- "additionalProperties": false
57
- }
52
+ "type": "object"
53
+ },
54
+ "type": "array"
58
55
  }
59
56
  },
60
57
  "required": [
@@ -1,17 +1,21 @@
1
1
  import { z } from 'zod';
2
2
  export declare const BibleAudios: z.ZodArray<z.ZodObject<{
3
3
  bibleAudioId: z.ZodString;
4
- audioSource: z.ZodObject<{
5
- source: z.ZodEnum<{
6
- custom: "custom";
7
- dbl: "dbl";
8
- youVersion: "youVersion";
9
- bibleBrain: "bibleBrain";
10
- }>;
11
- sourceId: z.ZodOptional<z.ZodString>;
12
- }, z.core.$strip>;
4
+ audioSource: z.ZodAny;
13
5
  canDownload: z.ZodBoolean;
14
6
  copyright: z.ZodOptional<z.ZodString>;
15
- disableStar: z.ZodOptional<z.ZodBoolean>;
16
- }, z.core.$strict>>;
7
+ disableStar: z.ZodOptional<z.ZodAny>;
8
+ }, "strict", z.ZodTypeAny, {
9
+ bibleAudioId: string;
10
+ canDownload: boolean;
11
+ audioSource?: any;
12
+ copyright?: string | undefined;
13
+ disableStar?: any;
14
+ }, {
15
+ bibleAudioId: string;
16
+ canDownload: boolean;
17
+ audioSource?: any;
18
+ copyright?: string | undefined;
19
+ disableStar?: any;
20
+ }>, "many">;
17
21
  export type BibleAudios = z.infer<typeof BibleAudios>;
@@ -5,10 +5,9 @@ const zod_1 = require("zod");
5
5
  exports.BibleAudios = zod_1.z.array(zod_1.z
6
6
  .object({
7
7
  bibleAudioId: zod_1.z.string(),
8
- audioSource: zod_1.z.object({
9
- source: zod_1.z.enum(['dbl', 'youVersion', 'bibleBrain', 'custom']),
10
- sourceId: zod_1.z.string().optional(),
11
- }),
8
+ audioSource: zod_1.z
9
+ .any()
10
+ .describe('The best place to get audio bible chapters for this bible translation. Audio is hopefully available on the DBL via API.Bible when the license is granted. If not, it may be available on YouVersion. If not, the license holder may provide the audio. If not, the audio may be available to be scraped somewhere on the internet. For the last 2 options, use `custom`.'),
12
11
  canDownload: zod_1.z
13
12
  .boolean()
14
13
  .describe('Whether or not the audio can be downloaded for offline use on the web. Most likely false, unless the translation is creative commons.'),
@@ -17,7 +16,7 @@ exports.BibleAudios = zod_1.z.array(zod_1.z
17
16
  .describe('Any copyright attribution text required to be added to the app for this translation for legal purposes.')
18
17
  .optional(),
19
18
  disableStar: zod_1.z
20
- .boolean()
19
+ .any()
21
20
  .describe('Star refers to adding a <star> string before the first line passed to mms forced alignment. Disabling it means that there is not any content read out before the start of verse 1. Most translations read out names of chapters or section headings, which is why adding <star> is the default behavior.')
22
21
  .optional(),
23
22
  })
@@ -1,10 +1,7 @@
1
1
  export declare const bibleAudios: {
2
2
  bibleAudioId: string;
3
- audioSource: {
4
- source: "custom" | "dbl" | "youVersion" | "bibleBrain";
5
- sourceId?: string | undefined;
6
- };
7
3
  canDownload: boolean;
4
+ audioSource?: any;
8
5
  copyright?: string | undefined;
9
- disableStar?: boolean | undefined;
6
+ disableStar?: any;
10
7
  }[];
@@ -6,27 +6,23 @@
6
6
  "type": "string"
7
7
  },
8
8
  "data": {
9
- "$schema": "https://json-schema.org/draft/2020-12/schema",
10
- "type": "array",
11
9
  "items": {
12
- "type": "object",
13
10
  "properties": {
14
11
  "name": {
15
- "type": "string",
16
- "description": "The name of the book."
12
+ "description": "The name of the book.",
13
+ "type": "string"
17
14
  },
18
15
  "title": {
19
- "type": "string",
20
- "description": "The title of the book."
16
+ "description": "The title of the book.",
17
+ "type": "string"
21
18
  },
22
19
  "bookId": {
23
- "type": "string",
24
- "description": "The book identifier from the second JSON file."
20
+ "description": "The book identifier from the second JSON file.",
21
+ "type": "string"
25
22
  },
26
23
  "chapters": {
27
- "type": "array",
24
+ "description": "An array of chapter identifiers for the book.",
28
25
  "items": {
29
- "type": "object",
30
26
  "properties": {
31
27
  "id": {
32
28
  "type": "string"
@@ -39,103 +35,86 @@
39
35
  "id",
40
36
  "verses"
41
37
  ],
42
- "additionalProperties": false
38
+ "type": "object"
43
39
  },
44
- "description": "An array of chapter identifiers for the book."
40
+ "type": "array"
45
41
  },
46
42
  "englishDivision": {
47
- "type": "string",
48
- "description": "The English division of the book (e.g., 'Pentateuch', 'Wisdom')."
43
+ "description": "The English division of the book (e.g., 'Pentateuch', 'Wisdom').",
44
+ "type": "string"
49
45
  },
50
46
  "hebrewDivision": {
51
- "anyOf": [
52
- {
53
- "type": "string",
54
- "description": "The Hebrew division of the book (e.g., 'Torah', 'Ketuvim')."
55
- },
56
- {
57
- "type": "null",
58
- "description": "The Hebrew division of the book (e.g., 'Torah', 'Ketuvim')."
59
- }
60
- ],
61
- "description": "The Hebrew division of the book (e.g., 'Torah', 'Ketuvim')."
47
+ "description": "The Hebrew division of the book (e.g., 'Torah', 'Ketuvim').",
48
+ "type": [
49
+ "string",
50
+ "null"
51
+ ]
62
52
  },
63
53
  "hebrewOrder": {
64
- "anyOf": [
65
- {
66
- "type": "integer",
67
- "minimum": -9007199254740991,
68
- "maximum": 9007199254740991,
69
- "description": "The order of the book in the Hebrew Bible."
70
- },
71
- {
72
- "type": "null",
73
- "description": "The order of the book in the Hebrew Bible."
74
- }
75
- ],
76
- "description": "The order of the book in the Hebrew Bible."
54
+ "description": "The order of the book in the Hebrew Bible.",
55
+ "type": [
56
+ "integer",
57
+ "null"
58
+ ]
77
59
  },
78
60
  "isNt": {
79
- "type": "boolean",
80
- "description": "Indicates if the book is in the New Testament."
61
+ "description": "Indicates if the book is in the New Testament.",
62
+ "type": "boolean"
81
63
  },
82
64
  "lowercase": {
83
- "type": "string",
84
- "description": "The lowercase title of the book."
65
+ "description": "The lowercase title of the book.",
66
+ "type": "string"
85
67
  },
86
68
  "lowercase_dashes": {
87
- "type": "string",
88
- "description": "The lowercase title of the book with dashes."
69
+ "description": "The lowercase title of the book with dashes.",
70
+ "type": "string"
89
71
  },
90
72
  "number": {
91
- "type": "integer",
92
- "minimum": -9007199254740991,
93
- "maximum": 9007199254740991,
94
- "description": "The numeric order of the book in the Bible."
73
+ "description": "The numeric order of the book in the Bible.",
74
+ "type": "integer"
95
75
  },
96
76
  "order": {
97
- "type": "integer",
98
- "minimum": -9007199254740991,
99
- "maximum": 9007199254740991,
100
- "description": "The order of the book in the Bible."
77
+ "description": "The order of the book in the Bible.",
78
+ "type": "integer"
101
79
  },
102
80
  "testament": {
103
- "type": "string",
104
- "description": "The testament of the book ('old' or 'new')."
81
+ "description": "The testament of the book ('old' or 'new').",
82
+ "type": "string"
105
83
  },
106
84
  "title_dashes": {
107
- "type": "string",
108
- "description": "The title of the book with dashes."
85
+ "description": "The title of the book with dashes.",
86
+ "type": "string"
109
87
  },
110
88
  "usfm": {
111
- "type": "string",
112
- "description": "The USFM code for the book."
89
+ "description": "The USFM code for the book.",
90
+ "type": "string"
113
91
  },
114
92
  "nameAlternates": {
93
+ "description": "Alternative names for the book.",
115
94
  "type": "array",
116
95
  "items": {
117
96
  "type": "string"
118
- },
119
- "description": "Alternative names for the book."
97
+ }
120
98
  }
121
99
  },
122
100
  "required": [
123
- "name",
124
- "title",
125
- "bookId",
126
- "chapters",
127
- "englishDivision",
128
101
  "isNt",
129
102
  "lowercase",
130
103
  "lowercase_dashes",
131
104
  "number",
132
- "order",
133
- "testament",
105
+ "title",
134
106
  "title_dashes",
135
- "usfm"
107
+ "usfm",
108
+ "bookId",
109
+ "chapters",
110
+ "englishDivision",
111
+ "name",
112
+ "order",
113
+ "testament"
136
114
  ],
137
- "additionalProperties": false
138
- }
115
+ "type": "object"
116
+ },
117
+ "type": "array"
139
118
  }
140
119
  },
141
120
  "required": [
@@ -6,10 +6,16 @@ export declare const BibleBooks: z.ZodArray<z.ZodObject<{
6
6
  chapters: z.ZodArray<z.ZodObject<{
7
7
  id: z.ZodString;
8
8
  verses: z.ZodNumber;
9
- }, z.core.$strip>>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ id: string;
11
+ verses: number;
12
+ }, {
13
+ id: string;
14
+ verses: number;
15
+ }>, "many">;
10
16
  englishDivision: z.ZodString;
11
- hebrewDivision: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
12
- hebrewOrder: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
17
+ hebrewDivision: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
18
+ hebrewOrder: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
13
19
  isNt: z.ZodBoolean;
14
20
  lowercase: z.ZodString;
15
21
  lowercase_dashes: z.ZodString;
@@ -18,6 +24,46 @@ export declare const BibleBooks: z.ZodArray<z.ZodObject<{
18
24
  testament: z.ZodString;
19
25
  title_dashes: z.ZodString;
20
26
  usfm: z.ZodString;
21
- nameAlternates: z.ZodOptional<z.ZodArray<z.ZodString>>;
22
- }, z.core.$strip>>;
27
+ nameAlternates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ number: number;
30
+ name: string;
31
+ bookId: string;
32
+ chapters: {
33
+ id: string;
34
+ verses: number;
35
+ }[];
36
+ title: string;
37
+ englishDivision: string;
38
+ isNt: boolean;
39
+ lowercase: string;
40
+ lowercase_dashes: string;
41
+ order: number;
42
+ testament: string;
43
+ title_dashes: string;
44
+ usfm: string;
45
+ hebrewDivision?: string | null | undefined;
46
+ hebrewOrder?: number | null | undefined;
47
+ nameAlternates?: string[] | undefined;
48
+ }, {
49
+ number: number;
50
+ name: string;
51
+ bookId: string;
52
+ chapters: {
53
+ id: string;
54
+ verses: number;
55
+ }[];
56
+ title: string;
57
+ englishDivision: string;
58
+ isNt: boolean;
59
+ lowercase: string;
60
+ lowercase_dashes: string;
61
+ order: number;
62
+ testament: string;
63
+ title_dashes: string;
64
+ usfm: string;
65
+ hebrewDivision?: string | null | undefined;
66
+ hebrewOrder?: number | null | undefined;
67
+ nameAlternates?: string[] | undefined;
68
+ }>, "many">;
23
69
  export type BibleBooks = z.infer<typeof BibleBooks>;