@helloao/cli 0.0.10 → 0.0.12

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 (81) hide show
  1. package/dist/cjs/cli.cjs +9939 -8987
  2. package/dist/cjs/index.cjs +16455 -0
  3. package/dist/esm/index.js +8105 -0
  4. package/dist/esm/index.js.map +7 -0
  5. package/dist/types/actions.d.ts +10 -0
  6. package/dist/types/db.d.ts +2 -1
  7. package/dist/types/files.d.ts +2 -2
  8. package/dist/types/s3.d.ts +1 -1
  9. package/dist/types/uploads.d.ts +4 -0
  10. package/migrations/20241204173229_add_license_notes/migration.sql +5 -0
  11. package/migrations/20241204182154_add_book_intro_summaries/migration.sql +2 -0
  12. package/migrations/20241218211246_add_profiles/migration.sql +12 -0
  13. package/migrations/20241218211453_add_profile_references/migration.sql +6 -0
  14. package/node_modules/@zip.js/zip.js/.github/workflows/publish.yml +17 -0
  15. package/node_modules/@zip.js/zip.js/deno.json +10 -1
  16. package/node_modules/@zip.js/zip.js/dist/z-worker-fflate.js +1 -1
  17. package/node_modules/@zip.js/zip.js/dist/z-worker-pako.js +1 -1
  18. package/node_modules/@zip.js/zip.js/dist/z-worker.js +1 -1
  19. package/node_modules/@zip.js/zip.js/dist/zip-fs-full.js +274 -133
  20. package/node_modules/@zip.js/zip.js/dist/zip-fs-full.min.js +1 -1
  21. package/node_modules/@zip.js/zip.js/dist/zip-fs.js +274 -125
  22. package/node_modules/@zip.js/zip.js/dist/zip-fs.min.js +1 -1
  23. package/node_modules/@zip.js/zip.js/dist/zip-full.js +233 -122
  24. package/node_modules/@zip.js/zip.js/dist/zip-full.min.js +1 -1
  25. package/node_modules/@zip.js/zip.js/dist/zip-no-worker-deflate.min.js +1 -1
  26. package/node_modules/@zip.js/zip.js/dist/zip-no-worker-inflate.min.js +1 -1
  27. package/node_modules/@zip.js/zip.js/dist/zip-no-worker.min.js +1 -1
  28. package/node_modules/@zip.js/zip.js/dist/zip.js +233 -114
  29. package/node_modules/@zip.js/zip.js/dist/zip.min.js +1 -1
  30. package/node_modules/@zip.js/zip.js/eslint.config.mjs +49 -0
  31. package/node_modules/@zip.js/zip.js/index-fflate.js +2 -1
  32. package/node_modules/@zip.js/zip.js/index.cjs +274 -133
  33. package/node_modules/@zip.js/zip.js/index.d.ts +254 -34
  34. package/node_modules/@zip.js/zip.js/index.js +3 -1
  35. package/node_modules/@zip.js/zip.js/index.min.js +1 -1
  36. package/node_modules/@zip.js/zip.js/lib/core/codec-pool.js +3 -1
  37. package/node_modules/@zip.js/zip.js/lib/core/codec-worker.js +11 -8
  38. package/node_modules/@zip.js/zip.js/lib/core/configuration.js +2 -1
  39. package/node_modules/@zip.js/zip.js/lib/core/constants.js +8 -0
  40. package/node_modules/@zip.js/zip.js/lib/core/io.js +10 -3
  41. package/node_modules/@zip.js/zip.js/lib/core/streams/aes-crypto-stream.js +4 -3
  42. package/node_modules/@zip.js/zip.js/lib/core/streams/codecs/deflate.js +0 -4
  43. package/node_modules/@zip.js/zip.js/lib/core/streams/codecs/inflate.js +0 -4
  44. package/node_modules/@zip.js/zip.js/lib/core/streams/crc32-stream.js +1 -0
  45. package/node_modules/@zip.js/zip.js/lib/core/streams/zip-entry-stream.js +4 -2
  46. package/node_modules/@zip.js/zip.js/lib/core/util/mime-type.js +0 -2
  47. package/node_modules/@zip.js/zip.js/lib/core/util/stream-codec-shim.js +4 -4
  48. package/node_modules/@zip.js/zip.js/lib/core/z-worker-core.js +4 -2
  49. package/node_modules/@zip.js/zip.js/lib/core/zip-entry.js +17 -5
  50. package/node_modules/@zip.js/zip.js/lib/core/zip-fs-core.js +41 -11
  51. package/node_modules/@zip.js/zip.js/lib/core/zip-reader.js +45 -23
  52. package/node_modules/@zip.js/zip.js/lib/core/zip-writer.js +147 -66
  53. package/node_modules/@zip.js/zip.js/lib/z-worker-inline-template.js +1 -1
  54. package/node_modules/@zip.js/zip.js/lib/z-worker-inline.js +1 -1
  55. package/node_modules/@zip.js/zip.js/lib/zip-data-uri.js +4 -1
  56. package/node_modules/@zip.js/zip.js/lib/zip-fs.js +2 -1
  57. package/node_modules/@zip.js/zip.js/lib/zip-full-fflate.js +2 -1
  58. package/node_modules/@zip.js/zip.js/lib/zip-full.js +2 -1
  59. package/node_modules/@zip.js/zip.js/lib/zip.js +2 -1
  60. package/node_modules/@zip.js/zip.js/package.json +121 -78
  61. package/package.json +14 -6
  62. package/prisma-gen/client.d.ts +1 -0
  63. package/prisma-gen/client.js +4 -0
  64. package/prisma-gen/default.d.ts +1 -1
  65. package/prisma-gen/edge.d.ts +1 -1
  66. package/prisma-gen/edge.js +30 -9
  67. package/prisma-gen/index-browser.js +25 -4
  68. package/prisma-gen/index.d.ts +3530 -1572
  69. package/prisma-gen/index.js +30 -9
  70. package/prisma-gen/runtime/edge-esm.js +21 -18
  71. package/prisma-gen/runtime/edge.js +21 -18
  72. package/prisma-gen/runtime/index-browser.d.ts +1 -1
  73. package/prisma-gen/runtime/index-browser.js +1 -1
  74. package/prisma-gen/runtime/library.d.ts +306 -71
  75. package/prisma-gen/runtime/library.js +70 -67
  76. package/prisma-gen/runtime/react-native.js +80 -0
  77. package/prisma-gen/runtime/wasm.js +22 -19
  78. package/prisma-gen/wasm.d.ts +1 -1
  79. package/prisma-gen/wasm.js +25 -4
  80. package/schema.prisma +27 -0
  81. package/node_modules/@zip.js/.ignored_zip.js +0 -0
@@ -1 +1 @@
1
- export * from './index'
1
+ export * from "./index"
@@ -7,6 +7,7 @@ const {
7
7
  makeStrictEnum,
8
8
  Public,
9
9
  getRuntime,
10
+ skip
10
11
  } = require('./runtime/index-browser.js')
11
12
 
12
13
 
@@ -16,12 +17,12 @@ exports.Prisma = Prisma
16
17
  exports.$Enums = {}
17
18
 
18
19
  /**
19
- * Prisma Client JS version: 5.12.1
20
- * Query Engine version: 4c784e32044a8a016d99474bd02a3b6123742169
20
+ * Prisma Client JS version: 5.22.0
21
+ * Query Engine version: 605197351a3c8bdd595af2d2a9bc3025bca48ea2
21
22
  */
22
23
  Prisma.prismaVersion = {
23
- client: "5.12.1",
24
- engine: "4c784e32044a8a016d99474bd02a3b6123742169"
24
+ client: "5.22.0",
25
+ engine: "605197351a3c8bdd595af2d2a9bc3025bca48ea2"
25
26
  }
26
27
 
27
28
  Prisma.PrismaClientKnownRequestError = () => {
@@ -108,6 +109,8 @@ Prisma.NullTypes = {
108
109
  AnyNull: objectEnumValues.classes.AnyNull
109
110
  }
110
111
 
112
+
113
+
111
114
  /**
112
115
  * Enums
113
116
  */
@@ -121,6 +124,7 @@ exports.Prisma.TranslationScalarFieldEnum = {
121
124
  name: 'name',
122
125
  website: 'website',
123
126
  licenseUrl: 'licenseUrl',
127
+ licenseNotes: 'licenseNotes',
124
128
  shortName: 'shortName',
125
129
  englishName: 'englishName',
126
130
  language: 'language',
@@ -133,6 +137,7 @@ exports.Prisma.CommentaryScalarFieldEnum = {
133
137
  name: 'name',
134
138
  website: 'website',
135
139
  licenseUrl: 'licenseUrl',
140
+ licenseNotes: 'licenseNotes',
136
141
  englishName: 'englishName',
137
142
  language: 'language',
138
143
  textDirection: 'textDirection',
@@ -164,11 +169,26 @@ exports.Prisma.CommentaryBookScalarFieldEnum = {
164
169
  name: 'name',
165
170
  commonName: 'commonName',
166
171
  introduction: 'introduction',
172
+ introductionSummary: 'introductionSummary',
167
173
  order: 'order',
168
174
  numberOfChapters: 'numberOfChapters',
169
175
  sha256: 'sha256'
170
176
  };
171
177
 
178
+ exports.Prisma.CommentaryProfileScalarFieldEnum = {
179
+ id: 'id',
180
+ commentaryId: 'commentaryId',
181
+ subject: 'subject',
182
+ content: 'content',
183
+ referenceBook: 'referenceBook',
184
+ referenceChapter: 'referenceChapter',
185
+ referenceVerse: 'referenceVerse',
186
+ referenceEndChapter: 'referenceEndChapter',
187
+ referenceEndVerse: 'referenceEndVerse',
188
+ json: 'json',
189
+ sha256: 'sha256'
190
+ };
191
+
172
192
  exports.Prisma.ChapterScalarFieldEnum = {
173
193
  number: 'number',
174
194
  bookId: 'bookId',
@@ -241,6 +261,7 @@ exports.Prisma.ModelName = {
241
261
  InputFile: 'InputFile',
242
262
  Book: 'Book',
243
263
  CommentaryBook: 'CommentaryBook',
264
+ CommentaryProfile: 'CommentaryProfile',
244
265
  Chapter: 'Chapter',
245
266
  CommentaryChapter: 'CommentaryChapter',
246
267
  ChapterAudioUrl: 'ChapterAudioUrl',
package/schema.prisma CHANGED
@@ -13,6 +13,7 @@ model Translation {
13
13
  name String
14
14
  website String
15
15
  licenseUrl String
16
+ licenseNotes String?
16
17
  shortName String?
17
18
  englishName String
18
19
  language String
@@ -34,6 +35,7 @@ model Commentary {
34
35
  name String
35
36
  website String
36
37
  licenseUrl String
38
+ licenseNotes String?
37
39
  englishName String
38
40
  language String
39
41
  textDirection String
@@ -45,6 +47,7 @@ model Commentary {
45
47
  books CommentaryBook[]
46
48
  chapters CommentaryChapter[]
47
49
  verses CommentaryChapterVerse[]
50
+ profiles CommentaryProfile[]
48
51
  }
49
52
 
50
53
  model InputFile {
@@ -97,6 +100,7 @@ model CommentaryBook {
97
100
  name String
98
101
  commonName String
99
102
  introduction String?
103
+ introductionSummary String?
100
104
  order Int
101
105
 
102
106
  numberOfChapters Int
@@ -110,6 +114,29 @@ model CommentaryBook {
110
114
  @@id([commentaryId, id])
111
115
  }
112
116
 
117
+ model CommentaryProfile {
118
+ id String
119
+
120
+ commentaryId String
121
+ commentary Commentary @relation(fields: [commentaryId], references: [id])
122
+
123
+ subject String
124
+ content String
125
+
126
+ referenceBook String?
127
+ referenceChapter Int?
128
+ referenceVerse Int?
129
+ referenceEndChapter Int?
130
+ referenceEndVerse Int?
131
+
132
+ json String // The JSON of the profile
133
+
134
+ // The SHA-256 hash of the profile
135
+ sha256 String?
136
+
137
+ @@id([commentaryId, id])
138
+ }
139
+
113
140
  model Chapter {
114
141
  number Int
115
142