@youversion/platform-core 0.8.0 → 0.8.2
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/.turbo/turbo-build.log +7 -7
- package/CHANGELOG.md +15 -0
- package/dist/index.d.cts +20 -10
- package/dist/index.d.ts +20 -10
- package/package.json +4 -3
- package/src/__tests__/MockBibles.ts +1129 -1227
- package/src/__tests__/MockChapters.ts +171 -1950
- package/src/__tests__/MockPassages.ts +7 -14
- package/src/__tests__/MockVerses.ts +60 -75
- package/src/__tests__/MockVersions.ts +30 -30
- package/src/__tests__/bible.test.ts +7 -16
- package/src/__tests__/client.test.ts +10 -1
- package/src/__tests__/setup.ts +12 -9
- package/src/schemas/book.ts +4 -3
- package/src/schemas/chapter.ts +3 -12
- package/src/schemas/passage.ts +1 -3
- package/src/schemas/verse.ts +2 -7
- package/src/schemas/version.ts +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @youversion/platform-core@0.8.
|
|
2
|
+
> @youversion/platform-core@0.8.2 build /home/runner/work/platform-sdk-react/platform-sdk-react/packages/core
|
|
3
3
|
> tsup src/index.ts --format cjs,esm --dts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
[34mCLI[39m Target: es2022
|
|
9
9
|
[34mCJS[39m Build start
|
|
10
10
|
[34mESM[39m Build start
|
|
11
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m43.46 KB[39m
|
|
12
|
-
[32mCJS[39m ⚡️ Build success in 42ms
|
|
13
11
|
[32mESM[39m [1mdist/index.js [22m[32m41.62 KB[39m
|
|
14
|
-
[32mESM[39m ⚡️ Build success in
|
|
12
|
+
[32mESM[39m ⚡️ Build success in 36ms
|
|
13
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m43.46 KB[39m
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 36ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.cts [22m[
|
|
18
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 1808ms
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.cts [22m[32m31.98 KB[39m
|
|
18
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m31.98 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @youversion/platform-core
|
|
2
2
|
|
|
3
|
+
## 0.8.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 93be9ef: Update types, zod schemas, and test mocks for the following updated endpoints:
|
|
8
|
+
- get bible books
|
|
9
|
+
- get bible chapters
|
|
10
|
+
- get bible verses
|
|
11
|
+
|
|
12
|
+
## 0.8.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- 6a7b8ba: Upgrade to React 19.1.2 to fix a security vulnerability in React.
|
|
17
|
+
|
|
3
18
|
## 0.8.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
package/dist/index.d.cts
CHANGED
|
@@ -8,8 +8,8 @@ declare const BibleVersionSchema: z.ZodObject<{
|
|
|
8
8
|
info: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
publisher_url: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
10
10
|
language_tag: z.ZodString;
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
localized_abbreviation: z.ZodString;
|
|
12
|
+
localized_title: z.ZodString;
|
|
13
13
|
organization_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
title: z.ZodString;
|
|
15
15
|
books: z.ZodArray<z.ZodUnion<readonly [...z.ZodLiteral<"GEN" | "EXO" | "LEV" | "NUM" | "DEU" | "JOS" | "JDG" | "RUT" | "1SA" | "2SA" | "1KI" | "2KI" | "1CH" | "2CH" | "EZR" | "NEH" | "EST" | "JOB" | "PSA" | "PRO" | "ECC" | "SNG" | "ISA" | "JER" | "LAM" | "EZK" | "DAN" | "HOS" | "JOL" | "AMO" | "OBA" | "JON" | "MIC" | "NAM" | "HAB" | "ZEP" | "HAG" | "ZEC" | "MAL" | "MAT" | "MRK" | "LUK" | "JHN" | "ACT" | "ROM" | "1CO" | "2CO" | "GAL" | "EPH" | "PHP" | "COL" | "1TH" | "2TH" | "1TI" | "2TI" | "TIT" | "PHM" | "HEB" | "JAS" | "1PE" | "2PE" | "1JN" | "2JN" | "3JN" | "JUD" | "REV" | "TOB" | "JDT" | "ESG" | "WIS" | "SIR" | "BAR" | "LJE" | "S3Y" | "SUS" | "BEL" | "1MA" | "2MA" | "3MA" | "4MA" | "1ES" | "2ES" | "MAN" | "PS2" | "ODA" | "PSS" | "3ES" | "EZA" | "5EZ" | "6EZ" | "DAG" | "PS3" | "2BA" | "LBA" | "JUB" | "ENO" | "1MQ" | "2MQ" | "3MQ" | "REP" | "4BA" | "LAO" | "LKA">[], z.ZodType<string & {}, unknown, z.core.$ZodTypeInternals<string & {}, unknown>>]>>;
|
|
@@ -28,40 +28,50 @@ type BookUsfm = z.infer<typeof BookUsfmSchema>;
|
|
|
28
28
|
declare const BibleBookSchema: z.ZodObject<{
|
|
29
29
|
id: z.ZodUnion<readonly [...z.ZodLiteral<"GEN" | "EXO" | "LEV" | "NUM" | "DEU" | "JOS" | "JDG" | "RUT" | "1SA" | "2SA" | "1KI" | "2KI" | "1CH" | "2CH" | "EZR" | "NEH" | "EST" | "JOB" | "PSA" | "PRO" | "ECC" | "SNG" | "ISA" | "JER" | "LAM" | "EZK" | "DAN" | "HOS" | "JOL" | "AMO" | "OBA" | "JON" | "MIC" | "NAM" | "HAB" | "ZEP" | "HAG" | "ZEC" | "MAL" | "MAT" | "MRK" | "LUK" | "JHN" | "ACT" | "ROM" | "1CO" | "2CO" | "GAL" | "EPH" | "PHP" | "COL" | "1TH" | "2TH" | "1TI" | "2TI" | "TIT" | "PHM" | "HEB" | "JAS" | "1PE" | "2PE" | "1JN" | "2JN" | "3JN" | "JUD" | "REV" | "TOB" | "JDT" | "ESG" | "WIS" | "SIR" | "BAR" | "LJE" | "S3Y" | "SUS" | "BEL" | "1MA" | "2MA" | "3MA" | "4MA" | "1ES" | "2ES" | "MAN" | "PS2" | "ODA" | "PSS" | "3ES" | "EZA" | "5EZ" | "6EZ" | "DAG" | "PS3" | "2BA" | "LBA" | "JUB" | "ENO" | "1MQ" | "2MQ" | "3MQ" | "REP" | "4BA" | "LAO" | "LKA">[], z.ZodType<string & {}, unknown, z.core.$ZodTypeInternals<string & {}, unknown>>]>;
|
|
30
30
|
title: z.ZodString;
|
|
31
|
+
full_title: z.ZodString;
|
|
31
32
|
abbreviation: z.ZodOptional<z.ZodString>;
|
|
32
33
|
canon: z.ZodEnum<{
|
|
33
34
|
ot: "ot";
|
|
34
35
|
nt: "nt";
|
|
35
36
|
dc: "dc";
|
|
36
37
|
}>;
|
|
37
|
-
chapters: z.ZodOptional<z.ZodArray<z.
|
|
38
|
+
chapters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
39
|
+
id: z.ZodString;
|
|
40
|
+
passage_id: z.ZodString;
|
|
41
|
+
title: z.ZodString;
|
|
42
|
+
verses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
43
|
+
id: z.ZodString;
|
|
44
|
+
passage_id: z.ZodString;
|
|
45
|
+
title: z.ZodString;
|
|
46
|
+
}, z.core.$strip>>>;
|
|
47
|
+
}, z.core.$strip>>>;
|
|
38
48
|
}, z.core.$strip>;
|
|
39
49
|
type BibleBook = z.infer<typeof BibleBookSchema>;
|
|
40
50
|
type CANON = z.infer<typeof CanonSchema>;
|
|
41
51
|
|
|
42
52
|
declare const BibleChapterSchema: z.ZodObject<{
|
|
43
53
|
id: z.ZodString;
|
|
44
|
-
book_id: z.ZodUnion<readonly [...z.ZodLiteral<"GEN" | "EXO" | "LEV" | "NUM" | "DEU" | "JOS" | "JDG" | "RUT" | "1SA" | "2SA" | "1KI" | "2KI" | "1CH" | "2CH" | "EZR" | "NEH" | "EST" | "JOB" | "PSA" | "PRO" | "ECC" | "SNG" | "ISA" | "JER" | "LAM" | "EZK" | "DAN" | "HOS" | "JOL" | "AMO" | "OBA" | "JON" | "MIC" | "NAM" | "HAB" | "ZEP" | "HAG" | "ZEC" | "MAL" | "MAT" | "MRK" | "LUK" | "JHN" | "ACT" | "ROM" | "1CO" | "2CO" | "GAL" | "EPH" | "PHP" | "COL" | "1TH" | "2TH" | "1TI" | "2TI" | "TIT" | "PHM" | "HEB" | "JAS" | "1PE" | "2PE" | "1JN" | "2JN" | "3JN" | "JUD" | "REV" | "TOB" | "JDT" | "ESG" | "WIS" | "SIR" | "BAR" | "LJE" | "S3Y" | "SUS" | "BEL" | "1MA" | "2MA" | "3MA" | "4MA" | "1ES" | "2ES" | "MAN" | "PS2" | "ODA" | "PSS" | "3ES" | "EZA" | "5EZ" | "6EZ" | "DAG" | "PS3" | "2BA" | "LBA" | "JUB" | "ENO" | "1MQ" | "2MQ" | "3MQ" | "REP" | "4BA" | "LAO" | "LKA">[], z.ZodType<string & {}, unknown, z.core.$ZodTypeInternals<string & {}, unknown>>]>;
|
|
45
54
|
passage_id: z.ZodString;
|
|
46
55
|
title: z.ZodString;
|
|
47
|
-
verses: z.ZodOptional<z.ZodArray<z.
|
|
56
|
+
verses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
57
|
+
id: z.ZodString;
|
|
58
|
+
passage_id: z.ZodString;
|
|
59
|
+
title: z.ZodString;
|
|
60
|
+
}, z.core.$strip>>>;
|
|
48
61
|
}, z.core.$strip>;
|
|
49
62
|
type BibleChapter = z.infer<typeof BibleChapterSchema>;
|
|
50
63
|
|
|
51
64
|
declare const BibleVerseSchema: z.ZodObject<{
|
|
52
65
|
id: z.ZodString;
|
|
53
|
-
book_id: z.ZodUnion<readonly [...z.ZodLiteral<"GEN" | "EXO" | "LEV" | "NUM" | "DEU" | "JOS" | "JDG" | "RUT" | "1SA" | "2SA" | "1KI" | "2KI" | "1CH" | "2CH" | "EZR" | "NEH" | "EST" | "JOB" | "PSA" | "PRO" | "ECC" | "SNG" | "ISA" | "JER" | "LAM" | "EZK" | "DAN" | "HOS" | "JOL" | "AMO" | "OBA" | "JON" | "MIC" | "NAM" | "HAB" | "ZEP" | "HAG" | "ZEC" | "MAL" | "MAT" | "MRK" | "LUK" | "JHN" | "ACT" | "ROM" | "1CO" | "2CO" | "GAL" | "EPH" | "PHP" | "COL" | "1TH" | "2TH" | "1TI" | "2TI" | "TIT" | "PHM" | "HEB" | "JAS" | "1PE" | "2PE" | "1JN" | "2JN" | "3JN" | "JUD" | "REV" | "TOB" | "JDT" | "ESG" | "WIS" | "SIR" | "BAR" | "LJE" | "S3Y" | "SUS" | "BEL" | "1MA" | "2MA" | "3MA" | "4MA" | "1ES" | "2ES" | "MAN" | "PS2" | "ODA" | "PSS" | "3ES" | "EZA" | "5EZ" | "6EZ" | "DAG" | "PS3" | "2BA" | "LBA" | "JUB" | "ENO" | "1MQ" | "2MQ" | "3MQ" | "REP" | "4BA" | "LAO" | "LKA">[], z.ZodType<string & {}, unknown, z.core.$ZodTypeInternals<string & {}, unknown>>]>;
|
|
54
|
-
chapter_id: z.ZodString;
|
|
55
66
|
passage_id: z.ZodString;
|
|
56
|
-
|
|
67
|
+
title: z.ZodString;
|
|
57
68
|
}, z.core.$strip>;
|
|
58
69
|
type BibleVerse = z.infer<typeof BibleVerseSchema>;
|
|
59
70
|
|
|
60
71
|
declare const BiblePassageSchema: z.ZodObject<{
|
|
61
72
|
id: z.ZodString;
|
|
62
73
|
content: z.ZodString;
|
|
63
|
-
|
|
64
|
-
human_reference: z.ZodString;
|
|
74
|
+
reference: z.ZodString;
|
|
65
75
|
}, z.core.$strip>;
|
|
66
76
|
type BiblePassage = z.infer<typeof BiblePassageSchema>;
|
|
67
77
|
|
package/dist/index.d.ts
CHANGED
|
@@ -8,8 +8,8 @@ declare const BibleVersionSchema: z.ZodObject<{
|
|
|
8
8
|
info: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
publisher_url: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
10
10
|
language_tag: z.ZodString;
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
localized_abbreviation: z.ZodString;
|
|
12
|
+
localized_title: z.ZodString;
|
|
13
13
|
organization_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
title: z.ZodString;
|
|
15
15
|
books: z.ZodArray<z.ZodUnion<readonly [...z.ZodLiteral<"GEN" | "EXO" | "LEV" | "NUM" | "DEU" | "JOS" | "JDG" | "RUT" | "1SA" | "2SA" | "1KI" | "2KI" | "1CH" | "2CH" | "EZR" | "NEH" | "EST" | "JOB" | "PSA" | "PRO" | "ECC" | "SNG" | "ISA" | "JER" | "LAM" | "EZK" | "DAN" | "HOS" | "JOL" | "AMO" | "OBA" | "JON" | "MIC" | "NAM" | "HAB" | "ZEP" | "HAG" | "ZEC" | "MAL" | "MAT" | "MRK" | "LUK" | "JHN" | "ACT" | "ROM" | "1CO" | "2CO" | "GAL" | "EPH" | "PHP" | "COL" | "1TH" | "2TH" | "1TI" | "2TI" | "TIT" | "PHM" | "HEB" | "JAS" | "1PE" | "2PE" | "1JN" | "2JN" | "3JN" | "JUD" | "REV" | "TOB" | "JDT" | "ESG" | "WIS" | "SIR" | "BAR" | "LJE" | "S3Y" | "SUS" | "BEL" | "1MA" | "2MA" | "3MA" | "4MA" | "1ES" | "2ES" | "MAN" | "PS2" | "ODA" | "PSS" | "3ES" | "EZA" | "5EZ" | "6EZ" | "DAG" | "PS3" | "2BA" | "LBA" | "JUB" | "ENO" | "1MQ" | "2MQ" | "3MQ" | "REP" | "4BA" | "LAO" | "LKA">[], z.ZodType<string & {}, unknown, z.core.$ZodTypeInternals<string & {}, unknown>>]>>;
|
|
@@ -28,40 +28,50 @@ type BookUsfm = z.infer<typeof BookUsfmSchema>;
|
|
|
28
28
|
declare const BibleBookSchema: z.ZodObject<{
|
|
29
29
|
id: z.ZodUnion<readonly [...z.ZodLiteral<"GEN" | "EXO" | "LEV" | "NUM" | "DEU" | "JOS" | "JDG" | "RUT" | "1SA" | "2SA" | "1KI" | "2KI" | "1CH" | "2CH" | "EZR" | "NEH" | "EST" | "JOB" | "PSA" | "PRO" | "ECC" | "SNG" | "ISA" | "JER" | "LAM" | "EZK" | "DAN" | "HOS" | "JOL" | "AMO" | "OBA" | "JON" | "MIC" | "NAM" | "HAB" | "ZEP" | "HAG" | "ZEC" | "MAL" | "MAT" | "MRK" | "LUK" | "JHN" | "ACT" | "ROM" | "1CO" | "2CO" | "GAL" | "EPH" | "PHP" | "COL" | "1TH" | "2TH" | "1TI" | "2TI" | "TIT" | "PHM" | "HEB" | "JAS" | "1PE" | "2PE" | "1JN" | "2JN" | "3JN" | "JUD" | "REV" | "TOB" | "JDT" | "ESG" | "WIS" | "SIR" | "BAR" | "LJE" | "S3Y" | "SUS" | "BEL" | "1MA" | "2MA" | "3MA" | "4MA" | "1ES" | "2ES" | "MAN" | "PS2" | "ODA" | "PSS" | "3ES" | "EZA" | "5EZ" | "6EZ" | "DAG" | "PS3" | "2BA" | "LBA" | "JUB" | "ENO" | "1MQ" | "2MQ" | "3MQ" | "REP" | "4BA" | "LAO" | "LKA">[], z.ZodType<string & {}, unknown, z.core.$ZodTypeInternals<string & {}, unknown>>]>;
|
|
30
30
|
title: z.ZodString;
|
|
31
|
+
full_title: z.ZodString;
|
|
31
32
|
abbreviation: z.ZodOptional<z.ZodString>;
|
|
32
33
|
canon: z.ZodEnum<{
|
|
33
34
|
ot: "ot";
|
|
34
35
|
nt: "nt";
|
|
35
36
|
dc: "dc";
|
|
36
37
|
}>;
|
|
37
|
-
chapters: z.ZodOptional<z.ZodArray<z.
|
|
38
|
+
chapters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
39
|
+
id: z.ZodString;
|
|
40
|
+
passage_id: z.ZodString;
|
|
41
|
+
title: z.ZodString;
|
|
42
|
+
verses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
43
|
+
id: z.ZodString;
|
|
44
|
+
passage_id: z.ZodString;
|
|
45
|
+
title: z.ZodString;
|
|
46
|
+
}, z.core.$strip>>>;
|
|
47
|
+
}, z.core.$strip>>>;
|
|
38
48
|
}, z.core.$strip>;
|
|
39
49
|
type BibleBook = z.infer<typeof BibleBookSchema>;
|
|
40
50
|
type CANON = z.infer<typeof CanonSchema>;
|
|
41
51
|
|
|
42
52
|
declare const BibleChapterSchema: z.ZodObject<{
|
|
43
53
|
id: z.ZodString;
|
|
44
|
-
book_id: z.ZodUnion<readonly [...z.ZodLiteral<"GEN" | "EXO" | "LEV" | "NUM" | "DEU" | "JOS" | "JDG" | "RUT" | "1SA" | "2SA" | "1KI" | "2KI" | "1CH" | "2CH" | "EZR" | "NEH" | "EST" | "JOB" | "PSA" | "PRO" | "ECC" | "SNG" | "ISA" | "JER" | "LAM" | "EZK" | "DAN" | "HOS" | "JOL" | "AMO" | "OBA" | "JON" | "MIC" | "NAM" | "HAB" | "ZEP" | "HAG" | "ZEC" | "MAL" | "MAT" | "MRK" | "LUK" | "JHN" | "ACT" | "ROM" | "1CO" | "2CO" | "GAL" | "EPH" | "PHP" | "COL" | "1TH" | "2TH" | "1TI" | "2TI" | "TIT" | "PHM" | "HEB" | "JAS" | "1PE" | "2PE" | "1JN" | "2JN" | "3JN" | "JUD" | "REV" | "TOB" | "JDT" | "ESG" | "WIS" | "SIR" | "BAR" | "LJE" | "S3Y" | "SUS" | "BEL" | "1MA" | "2MA" | "3MA" | "4MA" | "1ES" | "2ES" | "MAN" | "PS2" | "ODA" | "PSS" | "3ES" | "EZA" | "5EZ" | "6EZ" | "DAG" | "PS3" | "2BA" | "LBA" | "JUB" | "ENO" | "1MQ" | "2MQ" | "3MQ" | "REP" | "4BA" | "LAO" | "LKA">[], z.ZodType<string & {}, unknown, z.core.$ZodTypeInternals<string & {}, unknown>>]>;
|
|
45
54
|
passage_id: z.ZodString;
|
|
46
55
|
title: z.ZodString;
|
|
47
|
-
verses: z.ZodOptional<z.ZodArray<z.
|
|
56
|
+
verses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
57
|
+
id: z.ZodString;
|
|
58
|
+
passage_id: z.ZodString;
|
|
59
|
+
title: z.ZodString;
|
|
60
|
+
}, z.core.$strip>>>;
|
|
48
61
|
}, z.core.$strip>;
|
|
49
62
|
type BibleChapter = z.infer<typeof BibleChapterSchema>;
|
|
50
63
|
|
|
51
64
|
declare const BibleVerseSchema: z.ZodObject<{
|
|
52
65
|
id: z.ZodString;
|
|
53
|
-
book_id: z.ZodUnion<readonly [...z.ZodLiteral<"GEN" | "EXO" | "LEV" | "NUM" | "DEU" | "JOS" | "JDG" | "RUT" | "1SA" | "2SA" | "1KI" | "2KI" | "1CH" | "2CH" | "EZR" | "NEH" | "EST" | "JOB" | "PSA" | "PRO" | "ECC" | "SNG" | "ISA" | "JER" | "LAM" | "EZK" | "DAN" | "HOS" | "JOL" | "AMO" | "OBA" | "JON" | "MIC" | "NAM" | "HAB" | "ZEP" | "HAG" | "ZEC" | "MAL" | "MAT" | "MRK" | "LUK" | "JHN" | "ACT" | "ROM" | "1CO" | "2CO" | "GAL" | "EPH" | "PHP" | "COL" | "1TH" | "2TH" | "1TI" | "2TI" | "TIT" | "PHM" | "HEB" | "JAS" | "1PE" | "2PE" | "1JN" | "2JN" | "3JN" | "JUD" | "REV" | "TOB" | "JDT" | "ESG" | "WIS" | "SIR" | "BAR" | "LJE" | "S3Y" | "SUS" | "BEL" | "1MA" | "2MA" | "3MA" | "4MA" | "1ES" | "2ES" | "MAN" | "PS2" | "ODA" | "PSS" | "3ES" | "EZA" | "5EZ" | "6EZ" | "DAG" | "PS3" | "2BA" | "LBA" | "JUB" | "ENO" | "1MQ" | "2MQ" | "3MQ" | "REP" | "4BA" | "LAO" | "LKA">[], z.ZodType<string & {}, unknown, z.core.$ZodTypeInternals<string & {}, unknown>>]>;
|
|
54
|
-
chapter_id: z.ZodString;
|
|
55
66
|
passage_id: z.ZodString;
|
|
56
|
-
|
|
67
|
+
title: z.ZodString;
|
|
57
68
|
}, z.core.$strip>;
|
|
58
69
|
type BibleVerse = z.infer<typeof BibleVerseSchema>;
|
|
59
70
|
|
|
60
71
|
declare const BiblePassageSchema: z.ZodObject<{
|
|
61
72
|
id: z.ZodString;
|
|
62
73
|
content: z.ZodString;
|
|
63
|
-
|
|
64
|
-
human_reference: z.ZodString;
|
|
74
|
+
reference: z.ZodString;
|
|
65
75
|
}, z.core.$strip>;
|
|
66
76
|
type BiblePassage = z.infer<typeof BiblePassageSchema>;
|
|
67
77
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@youversion/platform-core",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"tsup": "8.5.0",
|
|
31
31
|
"typescript": "5.9.3",
|
|
32
32
|
"vitest": "4.0.4",
|
|
33
|
-
"@internal/
|
|
34
|
-
"@internal/
|
|
33
|
+
"@internal/eslint-config": "0.0.0",
|
|
34
|
+
"@internal/tsconfig": "0.0.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"zod": "4.1.12"
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"lint": "eslint . --max-warnings 0",
|
|
43
43
|
"typecheck": "tsc --noEmit",
|
|
44
44
|
"test": "dotenv -e .env.local -- vitest run",
|
|
45
|
+
"test:integration": "INTEGRATION_TESTS=true dotenv -e .env.local -- vitest run",
|
|
45
46
|
"test:watch": "dotenv -e .env.local -- vitest",
|
|
46
47
|
"test:coverage": "dotenv -e .env.local -- vitest run --coverage"
|
|
47
48
|
}
|