waha-shared 1.0.264 → 1.0.265
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/README.md +3 -60
- package/dist/data/areas/areas.schema.json +13 -4
- package/dist/data/areas/index.js +0 -1
- package/dist/data/aslTimestamps/aslTimestamps.schema.json +22 -6
- package/dist/data/aslTimestamps/index.js +0 -1
- package/dist/data/bibleAudios/bibleAudios.schema.json +27 -8
- package/dist/data/bibleAudios/index.js +0 -1
- package/dist/data/bibleBooks/bibleBooks.schema.json +24 -8
- package/dist/data/bibleBooks/index.js +0 -1
- package/dist/data/bibleChaptersList/bibleChaptersList.schema.json +7 -3
- package/dist/data/bibleChaptersList/index.js +0 -1
- package/dist/data/bibleStatuses/bibleStatuses.schema.json +23 -7
- package/dist/data/bibleStatuses/index.js +0 -1
- package/dist/data/bibleTexts/bibleTexts.schema.json +22 -7
- package/dist/data/bibleTexts/index.js +0 -1
- package/dist/data/clones/clones.schema.json +26 -8
- package/dist/data/clones/index.js +0 -1
- package/dist/data/countries/countries.schema.json +28 -8
- package/dist/data/countries/index.js +0 -1
- package/dist/data/countriesAndLanguages/countriesAndLanguages.schema.json +17 -5
- package/dist/data/countriesAndLanguages/index.js +0 -1
- package/dist/data/crowdinLanguages/crowdinLanguages.schema.json +18 -5
- package/dist/data/crowdinLanguages/index.js +0 -1
- package/dist/data/curriculumFoundations/curriculumFoundations.schema.json +21 -7
- package/dist/data/curriculumFoundations/index.js +0 -1
- package/dist/data/curriculumQuestions/curriculumQuestions.schema.json +28 -9
- package/dist/data/curriculumQuestions/index.js +0 -1
- package/dist/data/curriculumTopics/curriculumTopics.schema.json +21 -7
- package/dist/data/curriculumTopics/index.js +0 -1
- package/dist/data/iosVoiceOverLanguages/index.js +0 -1
- package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.schema.json +7 -3
- package/dist/data/iso6933LanguageCodes/index.js +0 -1
- package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.schema.json +10 -4
- package/dist/data/languageAssets/index.js +0 -1
- package/dist/data/languageAssets/languageAssets.schema.json +14 -5
- package/dist/data/languages/index.js +0 -1
- package/dist/data/languages/languages.json +1 -0
- package/dist/data/languages/languages.schema.json +76 -18
- package/dist/data/mediaDurations/index.js +0 -1
- package/dist/data/mediaDurations/mediaDurations.schema.json +14 -5
- package/dist/data/notification/index.js +0 -1
- package/dist/data/notification/notification.schema.json +71 -20
- package/dist/data/numeralMaps/index.js +0 -1
- package/dist/data/numeralMaps/numeralMaps.schema.json +22 -5
- package/dist/data/phoneLanguages/index.js +0 -1
- package/dist/data/phoneLanguages/phoneLanguages.schema.json +16 -5
- package/dist/data/questions/index.js +0 -1
- package/dist/data/questions/questions.schema.json +24 -7
- package/dist/data/releaseNotes/index.js +0 -1
- package/dist/data/releaseNotes/releaseNotes.schema.json +18 -6
- package/dist/data/screenshots/index.js +0 -1
- package/dist/data/screenshots/screenshots.schema.json +10 -4
- package/dist/data/scripts/index.js +0 -1
- package/dist/data/scripts/scripts.schema.json +20 -7
- package/dist/data/sets/index.js +0 -1
- package/dist/data/sets/sets.schema.json +30 -8
- package/dist/data/specialIds/index.js +0 -1
- package/dist/data/specialIds/specialIds.schema.json +19 -6
- package/dist/data/translationsApp/index.d.ts +11 -10
- package/dist/data/translationsApp/index.js +0 -1
- package/dist/data/translationsApp/translationsApp.json +7 -11676
- package/dist/data/translationsApp/translationsApp.schema.json +1086 -313
- package/dist/data/translationsApp/translationsApp.zod.d.ts +11 -10
- package/dist/data/translationsApp/translationsApp.zod.js +11 -11
- package/dist/data/translationsFtb/index.js +0 -1
- package/dist/data/translationsFtb/translationsFtb.schema.json +274 -70
- package/dist/data/translationsIntroduction/index.js +0 -1
- package/dist/data/translationsIntroduction/translationsIntroduction.schema.json +165 -43
- package/dist/data/translationsQuestion/index.js +0 -1
- package/dist/data/translationsQuestion/translationsQuestion.schema.json +13 -5
- package/dist/data/translationsSet/index.js +0 -1
- package/dist/data/translationsSet/translationsSet.json +0 -789
- package/dist/data/translationsSet/translationsSet.schema.json +36 -11
- package/dist/data/translationsSolarSpeaker/index.js +0 -1
- package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.schema.json +178 -46
- package/dist/data/translationsSpokenQuestion/index.js +0 -1
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.schema.json +13 -5
- package/dist/data/youtubePlaylists/index.js +0 -1
- package/dist/data/youtubePlaylists/youtubePlaylists.schema.json +10 -4
- package/dist/data/youtubeVideos/index.js +0 -1
- package/dist/data/youtubeVideos/youtubeVideos.schema.json +10 -4
- package/dist/types/analytics.d.ts +12 -26
- package/dist/types/articles.d.ts +0 -28
- package/dist/types/articles.js +9 -5
- package/dist/types/microLessons.d.ts +9 -60
- package/dist/types/microLessons.js +19 -23
- package/dist/types/webContent.d.ts +0 -16
- package/dist/types/webContent.js +1 -20
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,67 +1,10 @@
|
|
|
1
|
-
# Waha Shared
|
|
1
|
+
# Waha Shared Assets
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Several of Waha's other projects require data, types, functions, and translations from the main repo. Specifically:
|
|
4
4
|
|
|
5
5
|
- [waha-upload](https://github.com/kingdomstrategies/waha-upload)
|
|
6
6
|
- [waha-web](https://github.com/kingdomstrategies/waha-web)
|
|
7
7
|
- [waha-website](https://github.com/kingdomstrategies/waha-website)
|
|
8
8
|
- [waha-dashboard](https://github.com/kingdomstrategies/waha-dashboard)
|
|
9
|
-
- [waha-video-generation](https://github.com/kingdomstrategies/waha-video-generation)
|
|
10
9
|
|
|
11
|
-
This package
|
|
12
|
-
|
|
13
|
-
## Directory Structure
|
|
14
|
-
|
|
15
|
-
```
|
|
16
|
-
shared/
|
|
17
|
-
├── types/ # TypeScript type definitions (Zod-based)
|
|
18
|
-
├── functions/ # Utility functions (language info, Bible data, sets, etc.)
|
|
19
|
-
├── data/ # JSON data files with Zod validation schemas
|
|
20
|
-
├── assets/ # Fonts, icons, and React components (logos, set icons)
|
|
21
|
-
├── translations/ # Raw translation JSON files from Crowdin
|
|
22
|
-
├── dist/ # Built output (do not edit directly)
|
|
23
|
-
└── package.json
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## How Data Works
|
|
27
|
-
|
|
28
|
-
Each subdirectory in `data/` follows a consistent pattern:
|
|
29
|
-
|
|
30
|
-
```
|
|
31
|
-
data/languages/
|
|
32
|
-
├── languages.json # Raw data
|
|
33
|
-
├── languages.zod.ts # Zod schema defining the shape
|
|
34
|
-
├── languages.schema.json # JSON Schema (auto-generated)
|
|
35
|
-
└── index.ts # Validates JSON against Zod and exports typed data (auto-generated)
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
## Type Generation Pipeline
|
|
39
|
-
|
|
40
|
-
Types flow through a pipeline managed by `yarn prep`:
|
|
41
|
-
|
|
42
|
-
```
|
|
43
|
-
Zod schema (.zod.ts) and raw data file (.json)
|
|
44
|
-
→ JSON Schema (.schema.json)
|
|
45
|
-
→ Python Pydantic models
|
|
46
|
-
→ Python data constants
|
|
47
|
-
→ TypeScript index.ts
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
When you modify a `.zod.ts` file, run `yarn prep` from the repo root to regenerate everything downstream.
|
|
51
|
-
|
|
52
|
-
## Building & Publishing
|
|
53
|
-
|
|
54
|
-
```bash
|
|
55
|
-
yarn update
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
This will update the `dist` folder, commit changes, and publish to the npm registry.
|
|
59
|
-
|
|
60
|
-
The `dist/` directory is the build output — never edit files in it directly.
|
|
61
|
-
|
|
62
|
-
## Adding New Data
|
|
63
|
-
|
|
64
|
-
1. Create a new directory under `data/`, e.g. `data/myNewData/`
|
|
65
|
-
2. Add the raw JSON file: `myNewData.json`
|
|
66
|
-
3. Define the Zod schema: `myNewData.zod.ts`
|
|
67
|
-
4. Run `yarn prep` to auto-generate the JSON schema, Python types, Python data, and index file
|
|
10
|
+
This package contains all of that shared data in one place so it can be easily imported into those projects.
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"minItems": 1,
|
|
@@ -47,12 +48,20 @@
|
|
|
47
48
|
"description": "Longitude coordinate for the area center point"
|
|
48
49
|
}
|
|
49
50
|
},
|
|
50
|
-
"required": [
|
|
51
|
+
"required": [
|
|
52
|
+
"name",
|
|
53
|
+
"id",
|
|
54
|
+
"lat",
|
|
55
|
+
"lng"
|
|
56
|
+
],
|
|
51
57
|
"additionalProperties": false,
|
|
52
58
|
"description": "A geographic area with identification, coordinates, and display information"
|
|
53
59
|
},
|
|
54
60
|
"description": "Schema for geographic areas with coordinates and metadata"
|
|
55
61
|
}
|
|
56
62
|
},
|
|
57
|
-
"required": [
|
|
63
|
+
"required": [
|
|
64
|
+
"$schema",
|
|
65
|
+
"data"
|
|
66
|
+
]
|
|
58
67
|
}
|
package/dist/data/areas/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.areas = void 0;
|
|
4
|
-
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
5
4
|
const areas_zod_1 = require("./areas.zod");
|
|
6
5
|
const data = require('./areas.json');
|
|
7
6
|
exports.areas = areas_zod_1.Areas.parse(data.data);
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "array",
|
|
@@ -29,7 +30,9 @@
|
|
|
29
30
|
"minItems": 2,
|
|
30
31
|
"maxItems": 2,
|
|
31
32
|
"type": "array",
|
|
32
|
-
"items": {
|
|
33
|
+
"items": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
33
36
|
"description": "The start and end verse IDs for this section (e.g., GEN.1.1, GEN.2.4)"
|
|
34
37
|
},
|
|
35
38
|
"verses": {
|
|
@@ -58,16 +61,29 @@
|
|
|
58
61
|
"description": "The verse ID (e.g., GEN.1.1)"
|
|
59
62
|
}
|
|
60
63
|
},
|
|
61
|
-
"required": [
|
|
64
|
+
"required": [
|
|
65
|
+
"chapter",
|
|
66
|
+
"timestamp",
|
|
67
|
+
"verse",
|
|
68
|
+
"verseId"
|
|
69
|
+
],
|
|
62
70
|
"additionalProperties": false
|
|
63
71
|
},
|
|
64
72
|
"description": "Array of verse timing information"
|
|
65
73
|
}
|
|
66
74
|
},
|
|
67
|
-
"required": [
|
|
75
|
+
"required": [
|
|
76
|
+
"bookId",
|
|
77
|
+
"chapters",
|
|
78
|
+
"section",
|
|
79
|
+
"verses"
|
|
80
|
+
],
|
|
68
81
|
"additionalProperties": false
|
|
69
82
|
}
|
|
70
83
|
}
|
|
71
84
|
},
|
|
72
|
-
"required": [
|
|
85
|
+
"required": [
|
|
86
|
+
"$schema",
|
|
87
|
+
"data"
|
|
88
|
+
]
|
|
73
89
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.aslTimestamps = void 0;
|
|
4
|
-
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
5
4
|
const aslTimestamps_zod_1 = require("./aslTimestamps.zod");
|
|
6
5
|
const data = require('./aslTimestamps.json');
|
|
7
6
|
exports.aslTimestamps = aslTimestamps_zod_1.AslTimestamps.parse(data.data);
|
|
@@ -1,26 +1,38 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "array",
|
|
10
11
|
"items": {
|
|
11
12
|
"type": "object",
|
|
12
13
|
"properties": {
|
|
13
|
-
"bibleAudioId": {
|
|
14
|
+
"bibleAudioId": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
14
17
|
"audioSource": {
|
|
15
18
|
"type": "object",
|
|
16
19
|
"properties": {
|
|
17
20
|
"source": {
|
|
18
21
|
"type": "string",
|
|
19
|
-
"enum": [
|
|
22
|
+
"enum": [
|
|
23
|
+
"dbl",
|
|
24
|
+
"youVersion",
|
|
25
|
+
"bibleBrain",
|
|
26
|
+
"custom"
|
|
27
|
+
]
|
|
20
28
|
},
|
|
21
|
-
"sourceId": {
|
|
29
|
+
"sourceId": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
}
|
|
22
32
|
},
|
|
23
|
-
"required": [
|
|
33
|
+
"required": [
|
|
34
|
+
"source"
|
|
35
|
+
],
|
|
24
36
|
"additionalProperties": false
|
|
25
37
|
},
|
|
26
38
|
"canDownload": {
|
|
@@ -36,10 +48,17 @@
|
|
|
36
48
|
"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."
|
|
37
49
|
}
|
|
38
50
|
},
|
|
39
|
-
"required": [
|
|
51
|
+
"required": [
|
|
52
|
+
"bibleAudioId",
|
|
53
|
+
"audioSource",
|
|
54
|
+
"canDownload"
|
|
55
|
+
],
|
|
40
56
|
"additionalProperties": false
|
|
41
57
|
}
|
|
42
58
|
}
|
|
43
59
|
},
|
|
44
|
-
"required": [
|
|
60
|
+
"required": [
|
|
61
|
+
"$schema",
|
|
62
|
+
"data"
|
|
63
|
+
]
|
|
45
64
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bibleAudios = void 0;
|
|
4
|
-
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
5
4
|
const bibleAudios_zod_1 = require("./bibleAudios.zod");
|
|
6
5
|
const data = require('./bibleAudios.json');
|
|
7
6
|
exports.bibleAudios = bibleAudios_zod_1.BibleAudios.parse(data.data);
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "array",
|
|
10
11
|
"items": {
|
|
11
12
|
"type": "object",
|
|
12
13
|
"properties": {
|
|
13
|
-
"name": {
|
|
14
|
+
"name": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "The name of the book."
|
|
17
|
+
},
|
|
14
18
|
"title": {
|
|
15
19
|
"type": "string",
|
|
16
20
|
"description": "The title of the book."
|
|
@@ -24,10 +28,17 @@
|
|
|
24
28
|
"items": {
|
|
25
29
|
"type": "object",
|
|
26
30
|
"properties": {
|
|
27
|
-
"id": {
|
|
28
|
-
|
|
31
|
+
"id": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"verses": {
|
|
35
|
+
"type": "number"
|
|
36
|
+
}
|
|
29
37
|
},
|
|
30
|
-
"required": [
|
|
38
|
+
"required": [
|
|
39
|
+
"id",
|
|
40
|
+
"verses"
|
|
41
|
+
],
|
|
31
42
|
"additionalProperties": false
|
|
32
43
|
},
|
|
33
44
|
"description": "An array of chapter identifiers for the book."
|
|
@@ -102,7 +113,9 @@
|
|
|
102
113
|
},
|
|
103
114
|
"nameAlternates": {
|
|
104
115
|
"type": "array",
|
|
105
|
-
"items": {
|
|
116
|
+
"items": {
|
|
117
|
+
"type": "string"
|
|
118
|
+
},
|
|
106
119
|
"description": "Alternative names for the book."
|
|
107
120
|
}
|
|
108
121
|
},
|
|
@@ -125,5 +138,8 @@
|
|
|
125
138
|
}
|
|
126
139
|
}
|
|
127
140
|
},
|
|
128
|
-
"required": [
|
|
141
|
+
"required": [
|
|
142
|
+
"$schema",
|
|
143
|
+
"data"
|
|
144
|
+
]
|
|
129
145
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bibleBooks = void 0;
|
|
4
|
-
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
5
4
|
const bibleBooks_zod_1 = require("./bibleBooks.zod");
|
|
6
5
|
const data = require('./bibleBooks.json');
|
|
7
6
|
exports.bibleBooks = bibleBooks_zod_1.BibleBooks.parse(data.data);
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "array",
|
|
@@ -14,5 +15,8 @@
|
|
|
14
15
|
"description": "List of all Bible chapter IDs"
|
|
15
16
|
}
|
|
16
17
|
},
|
|
17
|
-
"required": [
|
|
18
|
+
"required": [
|
|
19
|
+
"$schema",
|
|
20
|
+
"data"
|
|
21
|
+
]
|
|
18
22
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bibleChaptersList = void 0;
|
|
4
|
-
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
5
4
|
const bibleChaptersList_zod_1 = require("./bibleChaptersList.zod");
|
|
6
5
|
const data = require('./bibleChaptersList.json');
|
|
7
6
|
exports.bibleChaptersList = bibleChaptersList_zod_1.BibleChaptersList.parse(data.data);
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "object",
|
|
10
|
-
"propertyNames": {
|
|
11
|
+
"propertyNames": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
11
14
|
"additionalProperties": {
|
|
12
15
|
"type": "object",
|
|
13
16
|
"properties": {
|
|
@@ -34,15 +37,28 @@
|
|
|
34
37
|
},
|
|
35
38
|
"bookNames": {
|
|
36
39
|
"type": "object",
|
|
37
|
-
"propertyNames": {
|
|
38
|
-
|
|
40
|
+
"propertyNames": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"pattern": "^[A-Z0-9]{3}$"
|
|
43
|
+
},
|
|
44
|
+
"additionalProperties": {
|
|
45
|
+
"type": "string"
|
|
46
|
+
}
|
|
39
47
|
}
|
|
40
48
|
},
|
|
41
|
-
"required": [
|
|
49
|
+
"required": [
|
|
50
|
+
"text",
|
|
51
|
+
"audio",
|
|
52
|
+
"timings",
|
|
53
|
+
"bookNames"
|
|
54
|
+
],
|
|
42
55
|
"additionalProperties": false
|
|
43
56
|
},
|
|
44
57
|
"description": "Consolidated bible data containing text chapters, audio chapters, timings, and book names for each translation. Entries can be testament IDs ('OT', 'NT'), book IDs (e.g., 'GEN') for complete books, or chapter IDs (e.g., 'GEN.1') for individual chapters."
|
|
45
58
|
}
|
|
46
59
|
},
|
|
47
|
-
"required": [
|
|
60
|
+
"required": [
|
|
61
|
+
"$schema",
|
|
62
|
+
"data"
|
|
63
|
+
]
|
|
48
64
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bibleStatuses = void 0;
|
|
4
|
-
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
5
4
|
const bibleStatuses_zod_1 = require("./bibleStatuses.zod");
|
|
6
5
|
const data = require('./bibleStatuses.json');
|
|
7
6
|
exports.bibleStatuses = bibleStatuses_zod_1.BibleStatuses.parse(data.data);
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "array",
|
|
10
11
|
"items": {
|
|
11
12
|
"type": "object",
|
|
12
13
|
"properties": {
|
|
13
|
-
"bibleTextId": {
|
|
14
|
+
"bibleTextId": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
14
17
|
"name": {
|
|
15
18
|
"type": "string",
|
|
16
19
|
"description": "The name of the bible translation in its own language."
|
|
@@ -59,17 +62,29 @@
|
|
|
59
62
|
"usx"
|
|
60
63
|
]
|
|
61
64
|
},
|
|
62
|
-
"sourceId": {
|
|
65
|
+
"sourceId": {
|
|
66
|
+
"type": "string"
|
|
67
|
+
}
|
|
63
68
|
},
|
|
64
|
-
"required": [
|
|
69
|
+
"required": [
|
|
70
|
+
"source"
|
|
71
|
+
],
|
|
65
72
|
"additionalProperties": false,
|
|
66
73
|
"description": "Information about how to retrieve the text. Ideally, text is available on the DBL via API.Bible when the license is granted, but there are a few other options. We have access to translations available on BibleBrain as well as being able to parse USFX files. Some translations may be available on the YouVersion Platform (yvp). If none of these work, 'custom' can be used and some custom code added to leviathan to retrieve and parse the text."
|
|
67
74
|
}
|
|
68
75
|
},
|
|
69
|
-
"required": [
|
|
76
|
+
"required": [
|
|
77
|
+
"bibleTextId",
|
|
78
|
+
"name",
|
|
79
|
+
"languageId",
|
|
80
|
+
"textSource"
|
|
81
|
+
],
|
|
70
82
|
"additionalProperties": false
|
|
71
83
|
}
|
|
72
84
|
}
|
|
73
85
|
},
|
|
74
|
-
"required": [
|
|
86
|
+
"required": [
|
|
87
|
+
"$schema",
|
|
88
|
+
"data"
|
|
89
|
+
]
|
|
75
90
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bibleTexts = void 0;
|
|
4
|
-
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
5
4
|
const bibleTexts_zod_1 = require("./bibleTexts.zod");
|
|
6
5
|
const data = require('./bibleTexts.json');
|
|
7
6
|
exports.bibleTexts = bibleTexts_zod_1.BibleTexts.parse(data.data);
|
|
@@ -1,19 +1,31 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "array",
|
|
10
11
|
"items": {
|
|
11
12
|
"type": "object",
|
|
12
13
|
"properties": {
|
|
13
|
-
"appId": {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
"appId": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"pattern": "^[a-z]*$"
|
|
17
|
+
},
|
|
18
|
+
"appIdCaps": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"pattern": "^[A-Z]*$"
|
|
21
|
+
},
|
|
22
|
+
"appName": {
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
"color": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"pattern": "^#[0-9A-Fa-f]{6}$"
|
|
28
|
+
},
|
|
17
29
|
"icon": {
|
|
18
30
|
"type": "string",
|
|
19
31
|
"pattern": "^src\\/assets\\/clones\\/[A-Za-z\\-\\_]*\\.png$"
|
|
@@ -24,7 +36,10 @@
|
|
|
24
36
|
},
|
|
25
37
|
"languages": {
|
|
26
38
|
"type": "array",
|
|
27
|
-
"items": {
|
|
39
|
+
"items": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"pattern": "^[a-z]{3}$"
|
|
42
|
+
}
|
|
28
43
|
},
|
|
29
44
|
"linkAndroid": {
|
|
30
45
|
"type": "string",
|
|
@@ -54,5 +69,8 @@
|
|
|
54
69
|
}
|
|
55
70
|
}
|
|
56
71
|
},
|
|
57
|
-
"required": [
|
|
72
|
+
"required": [
|
|
73
|
+
"$schema",
|
|
74
|
+
"data"
|
|
75
|
+
]
|
|
58
76
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.clones = void 0;
|
|
4
|
-
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
5
4
|
const clones_zod_1 = require("./clones.zod");
|
|
6
5
|
const data = require('./clones.json');
|
|
7
6
|
exports.clones = clones_zod_1.Clones.parse(data.data);
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "This file is auto-generated by scripts/prep. Do not edit manually.",
|
|
3
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"properties": {
|
|
6
|
-
"$schema": {
|
|
5
|
+
"$schema": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
7
8
|
"data": {
|
|
8
9
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
10
|
"type": "object",
|
|
10
|
-
"propertyNames": {
|
|
11
|
+
"propertyNames": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"pattern": "^[A-Z]{2}$"
|
|
14
|
+
},
|
|
11
15
|
"additionalProperties": {
|
|
12
16
|
"type": "object",
|
|
13
17
|
"properties": {
|
|
@@ -52,7 +56,10 @@
|
|
|
52
56
|
"description": "Northeast longitude coordinate"
|
|
53
57
|
}
|
|
54
58
|
},
|
|
55
|
-
"required": [
|
|
59
|
+
"required": [
|
|
60
|
+
"lat",
|
|
61
|
+
"lon"
|
|
62
|
+
],
|
|
56
63
|
"additionalProperties": false
|
|
57
64
|
},
|
|
58
65
|
"sw": {
|
|
@@ -71,20 +78,33 @@
|
|
|
71
78
|
"description": "Southwest longitude coordinate"
|
|
72
79
|
}
|
|
73
80
|
},
|
|
74
|
-
"required": [
|
|
81
|
+
"required": [
|
|
82
|
+
"lat",
|
|
83
|
+
"lon"
|
|
84
|
+
],
|
|
75
85
|
"additionalProperties": false
|
|
76
86
|
}
|
|
77
87
|
},
|
|
78
|
-
"required": [
|
|
88
|
+
"required": [
|
|
89
|
+
"ne",
|
|
90
|
+
"sw"
|
|
91
|
+
],
|
|
79
92
|
"additionalProperties": false,
|
|
80
93
|
"description": "Bounding box coordinates for the country"
|
|
81
94
|
}
|
|
82
95
|
},
|
|
83
|
-
"required": [
|
|
96
|
+
"required": [
|
|
97
|
+
"name",
|
|
98
|
+
"areaId",
|
|
99
|
+
"boundingBox"
|
|
100
|
+
],
|
|
84
101
|
"additionalProperties": false
|
|
85
102
|
},
|
|
86
103
|
"description": "A mapping of country codes to country information including name, area, and bounding box coordinates"
|
|
87
104
|
}
|
|
88
105
|
},
|
|
89
|
-
"required": [
|
|
106
|
+
"required": [
|
|
107
|
+
"$schema",
|
|
108
|
+
"data"
|
|
109
|
+
]
|
|
90
110
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.countries = void 0;
|
|
4
|
-
// This file is auto-generated by scripts/prep. Do not edit manually.
|
|
5
4
|
const countries_zod_1 = require("./countries.zod");
|
|
6
5
|
const data = require('./countries.json');
|
|
7
6
|
exports.countries = countries_zod_1.Countries.parse(data.data);
|