waha-shared 1.0.514 → 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.
Files changed (53) hide show
  1. package/dist/data/areas/index.js +5 -2
  2. package/dist/data/aslTimestamps/index.js +5 -2
  3. package/dist/data/bibleAudios/index.js +5 -2
  4. package/dist/data/bibleBooks/index.js +5 -2
  5. package/dist/data/bibleChaptersList/index.js +7 -2
  6. package/dist/data/bibleStatuses/index.js +5 -2
  7. package/dist/data/bibleTexts/index.js +5 -2
  8. package/dist/data/clones/index.js +5 -2
  9. package/dist/data/countries/index.js +5 -2
  10. package/dist/data/countriesAndLanguages/index.js +7 -2
  11. package/dist/data/crowdinLanguages/index.js +7 -2
  12. package/dist/data/curriculumFoundations/index.js +7 -2
  13. package/dist/data/curriculumQuestions/index.js +7 -2
  14. package/dist/data/curriculumTopics/index.js +7 -2
  15. package/dist/data/iso6933LanguageCodes/index.js +7 -2
  16. package/dist/data/languages/index.d.ts +0 -2
  17. package/dist/data/languages/index.js +5 -2
  18. package/dist/data/languages/languages.json +0 -310
  19. package/dist/data/languages/languages.schema.json +1 -11
  20. package/dist/data/languages/languages.zod.d.ts +0 -3
  21. package/dist/data/languages/languages.zod.js +0 -4
  22. package/dist/data/lessonPauses/index.js +5 -2
  23. package/dist/data/mediaDurations/index.js +7 -2
  24. package/dist/data/notification/index.js +5 -2
  25. package/dist/data/numeralMaps/index.js +5 -2
  26. package/dist/data/phoneLanguages/index.js +7 -2
  27. package/dist/data/questions/index.js +5 -2
  28. package/dist/data/releaseNotes/index.js +5 -2
  29. package/dist/data/releaseNotes/releaseNotes.json +51 -2
  30. package/dist/data/screenshots/index.js +5 -2
  31. package/dist/data/scripts/index.js +5 -2
  32. package/dist/data/sets/index.js +5 -2
  33. package/dist/data/specialIds/index.js +5 -2
  34. package/dist/data/translationsApp/index.js +7 -2
  35. package/dist/data/translationsFtb/index.js +7 -2
  36. package/dist/data/translationsIntroduction/index.js +7 -2
  37. package/dist/data/translationsQuestion/index.js +7 -2
  38. package/dist/data/translationsSet/index.js +7 -2
  39. package/dist/data/translationsSolarSpeaker/index.js +7 -2
  40. package/dist/data/translationsSpokenQuestion/index.js +7 -2
  41. package/dist/data/youtubePlaylists/index.js +7 -2
  42. package/dist/data/youtubeVideos/index.js +5 -2
  43. package/dist/functions/activeCampaign.js +16 -4
  44. package/dist/functions/bibles.d.ts +5 -4
  45. package/dist/functions/bibles.js +8 -6
  46. package/dist/functions/crowdin.js +1 -1
  47. package/dist/functions/languages.js +0 -5
  48. package/dist/functions/scripturePassages.js +4 -1
  49. package/dist/functions/sets.js +3 -1
  50. package/dist/functions/utils.js +1 -1
  51. package/dist/types/languages.d.ts +0 -8
  52. package/dist/types/webContent.js +1 -1
  53. package/package.json +2 -2
@@ -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
  }
@@ -14,7 +14,7 @@ exports.IsDraft = zod_1.default
14
14
  .optional();
15
15
  exports.SeekerFriendly = zod_1.default
16
16
  .boolean()
17
- .describe('If this is checked the micro lesson will be marked as seeker friendly. Seeker friendly micro lessons will not link back to the website.')
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'])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waha-shared",
3
- "version": "1.0.514",
3
+ "version": "1.0.516",
4
4
  "author": "Waha",
5
5
  "dependencies": {
6
6
  "@types/signale": "^1.4.7",
@@ -18,7 +18,7 @@
18
18
  "copyfiles": "^2.4.1",
19
19
  "react": "^19.3.0",
20
20
  "typescript": "~5.9.2",
21
- "zod": "^4.6.6"
21
+ "zod": "^4.6.7"
22
22
  },
23
23
  "files": [
24
24
  "dist",