waha-shared 1.0.274 → 1.0.276

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 (28) hide show
  1. package/dist/data/bibleAudios/bibleAudios.json +1 -1
  2. package/dist/data/bibleBooks/bibleBooks.json +15 -72
  3. package/dist/data/bibleStatuses/bibleStatuses.json +2 -383
  4. package/dist/data/bibleTexts/bibleTexts.json +1 -1
  5. package/dist/data/dblAudioLicenses/dblAudioLicenses.json +6553 -6553
  6. package/dist/data/dblTextLicenses/dblTextLicenses.json +15105 -15105
  7. package/dist/data/languages/languages.json +1 -1
  8. package/dist/data/mediaDurations/mediaDurations.json +101 -101
  9. package/dist/data/notification/notification.json +1 -3
  10. package/dist/data/releaseNotes/releaseNotes.json +49 -2
  11. package/dist/data/screenshots/screenshots.json +1 -1
  12. package/dist/data/specialIds/index.d.ts +1 -0
  13. package/dist/data/specialIds/specialIds.json +8 -33
  14. package/dist/data/specialIds/specialIds.schema.json +7 -1
  15. package/dist/data/specialIds/specialIds.zod.d.ts +1 -0
  16. package/dist/data/specialIds/specialIds.zod.js +3 -0
  17. package/dist/data/translationsApp/index.d.ts +5 -0
  18. package/dist/data/translationsApp/translationsApp.json +5 -0
  19. package/dist/data/translationsApp/translationsApp.schema.json +5 -0
  20. package/dist/data/translationsApp/translationsApp.zod.d.ts +10 -0
  21. package/dist/data/translationsApp/translationsApp.zod.js +5 -0
  22. package/dist/data/youtubePlaylists/youtubePlaylists.json +1 -1
  23. package/dist/types/analytics.d.ts +3 -0
  24. package/dist/types/stoplight.d.ts +7 -0
  25. package/dist/types/stoplight.js +8 -0
  26. package/dist/types/users.d.ts +34 -0
  27. package/dist/types/users.js +5 -0
  28. package/package.json +1 -1
@@ -5,6 +5,7 @@ const zod_1 = require("zod");
5
5
  const location_1 = require("./location");
6
6
  Object.defineProperty(exports, "WahaUserLocationSchema", { enumerable: true, get: function () { return location_1.WahaUserLocationSchema; } });
7
7
  const microLessons_1 = require("./microLessons");
8
+ const stoplight_1 = require("./stoplight");
8
9
  exports.DesireIdSchema = zod_1.z.enum([
9
10
  'talk_to_others_about_jesus',
10
11
  'build_a_team_of_disciple_makers',
@@ -70,6 +71,8 @@ exports.CompletionEventSchema = zod_1.z.object({
70
71
  * rather than automatically by doing the lesson on the lesson screen.
71
72
  */
72
73
  manual: zod_1.z.boolean().optional(),
74
+ howManyObeyed: stoplight_1.StoplightOptionSchema.optional(),
75
+ howManyShared: stoplight_1.StoplightOptionSchema.optional(),
73
76
  });
74
77
  exports.WahaShareContentSchema = zod_1.z.enum([
75
78
  'app',
@@ -132,6 +135,8 @@ exports.WahaUserSchema = exports.WahaUserStateSchema.extend({
132
135
  articleSessions: zod_1.z.array(exports.ArticleSessionSchema).optional(),
133
136
  activated: zod_1.z.boolean().optional(),
134
137
  microLessonCompletions: zod_1.z.array(microLessons_1.MicroLessonSubmissionSchema).optional(),
138
+ obedienceScore: zod_1.z.number().optional(),
139
+ sharingScore: zod_1.z.number().optional(),
135
140
  });
136
141
  exports.PushEnabledWahaUserSchema = exports.WahaUserSchema.omit({
137
142
  wahaUserId: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waha-shared",
3
- "version": "1.0.274",
3
+ "version": "1.0.276",
4
4
  "author": "Waha",
5
5
  "dependencies": {
6
6
  "@types/signale": "^1.4.7",