waha-shared 1.0.515 → 1.0.516
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/dist/data/areas/index.js +5 -2
- package/dist/data/aslTimestamps/index.js +5 -2
- package/dist/data/bibleAudios/index.js +5 -2
- package/dist/data/bibleBooks/index.js +5 -2
- package/dist/data/bibleChaptersList/index.js +7 -2
- package/dist/data/bibleStatuses/index.js +5 -2
- package/dist/data/bibleTexts/index.js +5 -2
- package/dist/data/clones/index.js +5 -2
- package/dist/data/countries/index.js +5 -2
- package/dist/data/countriesAndLanguages/index.js +7 -2
- package/dist/data/crowdinLanguages/index.js +7 -2
- package/dist/data/curriculumFoundations/index.js +7 -2
- package/dist/data/curriculumQuestions/index.js +7 -2
- package/dist/data/curriculumTopics/index.js +7 -2
- package/dist/data/iso6933LanguageCodes/index.js +7 -2
- package/dist/data/languages/index.d.ts +0 -2
- package/dist/data/languages/index.js +5 -2
- package/dist/data/languages/languages.json +0 -310
- package/dist/data/languages/languages.schema.json +1 -11
- package/dist/data/languages/languages.zod.d.ts +0 -3
- package/dist/data/languages/languages.zod.js +0 -4
- package/dist/data/lessonPauses/index.js +5 -2
- package/dist/data/mediaDurations/index.js +7 -2
- package/dist/data/notification/index.js +5 -2
- package/dist/data/numeralMaps/index.js +5 -2
- package/dist/data/phoneLanguages/index.js +7 -2
- package/dist/data/questions/index.js +5 -2
- package/dist/data/releaseNotes/index.js +5 -2
- package/dist/data/releaseNotes/releaseNotes.json +51 -2
- package/dist/data/screenshots/index.js +5 -2
- package/dist/data/scripts/index.js +5 -2
- package/dist/data/sets/index.js +5 -2
- package/dist/data/specialIds/index.js +5 -2
- package/dist/data/translationsApp/index.js +7 -2
- package/dist/data/translationsFtb/index.js +7 -2
- package/dist/data/translationsIntroduction/index.js +7 -2
- package/dist/data/translationsQuestion/index.js +7 -2
- package/dist/data/translationsSet/index.js +7 -2
- package/dist/data/translationsSolarSpeaker/index.js +7 -2
- package/dist/data/translationsSpokenQuestion/index.js +7 -2
- package/dist/data/youtubePlaylists/index.js +7 -2
- package/dist/data/youtubeVideos/index.js +5 -2
- package/dist/functions/activeCampaign.js +16 -4
- package/dist/functions/bibles.d.ts +5 -4
- package/dist/functions/bibles.js +8 -6
- package/dist/functions/crowdin.js +1 -1
- package/dist/functions/languages.js +0 -5
- package/dist/functions/scripturePassages.js +4 -1
- package/dist/functions/sets.js +3 -1
- package/dist/functions/utils.js +1 -1
- package/dist/types/languages.d.ts +0 -8
- package/dist/types/webContent.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
2
|
import { BibleAudio } from '../data/bibleAudios/bibleAudios.zod';
|
|
3
3
|
import { BibleText } from '../data/bibleTexts/bibleTexts.zod';
|
|
4
|
-
import type { CurriculumOnboarding } from '../data/curriculumOnboarding/curriculumOnboarding.zod';
|
|
5
4
|
import type { CurriculumQuestions } from '../data/curriculumQuestions/curriculumQuestions.zod';
|
|
6
5
|
import { type Language } from '../data/languages/languages.zod';
|
|
7
6
|
import { LessonPauses } from '../data/lessonPauses/lessonPauses.zod';
|
|
@@ -29,7 +28,6 @@ declare const RequiredBridgeLanguages: z.ZodObject<{
|
|
|
29
28
|
titles: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
|
|
30
29
|
questionText: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
|
|
31
30
|
questionAudio: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
|
|
32
|
-
onboardingPassages: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
|
|
33
31
|
}, z.core.$strip>;
|
|
34
32
|
type RequiredBridgeLanguages = z.infer<typeof RequiredBridgeLanguages>;
|
|
35
33
|
export declare const LanguageInfoStatuses: z.ZodObject<{
|
|
@@ -95,12 +93,6 @@ export interface LanguageInfo extends Omit<Language, 'bible' | 'bibleFallbacks'
|
|
|
95
93
|
*/
|
|
96
94
|
script: Scripts[number];
|
|
97
95
|
contentLanguages: RequiredBridgeLanguages;
|
|
98
|
-
/**
|
|
99
|
-
* The passage ids to use for the onboarding DBS, keyed by the user's "What
|
|
100
|
-
* brings you to Waha?" answer. Sourced from this language's onboarding
|
|
101
|
-
* curriculum (some languages use different psalm numberings).
|
|
102
|
-
*/
|
|
103
|
-
onboardingPassageIds: CurriculumOnboarding[number]['passages'];
|
|
104
96
|
/** The statuses of this language. */
|
|
105
97
|
status: LanguageInfoStatuses;
|
|
106
98
|
}
|
package/dist/types/webContent.js
CHANGED
|
@@ -14,7 +14,7 @@ exports.IsDraft = zod_1.default
|
|
|
14
14
|
.optional();
|
|
15
15
|
exports.SeekerFriendly = zod_1.default
|
|
16
16
|
.boolean()
|
|
17
|
-
.describe(
|
|
17
|
+
.describe("If this is checked the content is marked as seeker friendly, meaning it's suitable for people who aren't yet believers. In the app, only seeker friendly content is shown before training is unlocked. On the website, seeker friendly pages use a minimal header and footer, skip the donation prompt, and micro lessons don't link back to the micro lessons list.")
|
|
18
18
|
.optional();
|
|
19
19
|
exports.Platform = zod_1.default
|
|
20
20
|
.enum(['Web Only', 'App Only', 'All'])
|