@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.
- package/dist/cjs/cli.cjs +9939 -8987
- package/dist/cjs/index.cjs +16455 -0
- package/dist/esm/index.js +8105 -0
- package/dist/esm/index.js.map +7 -0
- package/dist/types/actions.d.ts +10 -0
- package/dist/types/db.d.ts +2 -1
- package/dist/types/files.d.ts +2 -2
- package/dist/types/s3.d.ts +1 -1
- package/dist/types/uploads.d.ts +4 -0
- package/migrations/20241204173229_add_license_notes/migration.sql +5 -0
- package/migrations/20241204182154_add_book_intro_summaries/migration.sql +2 -0
- package/migrations/20241218211246_add_profiles/migration.sql +12 -0
- package/migrations/20241218211453_add_profile_references/migration.sql +6 -0
- package/node_modules/@zip.js/zip.js/.github/workflows/publish.yml +17 -0
- package/node_modules/@zip.js/zip.js/deno.json +10 -1
- package/node_modules/@zip.js/zip.js/dist/z-worker-fflate.js +1 -1
- package/node_modules/@zip.js/zip.js/dist/z-worker-pako.js +1 -1
- package/node_modules/@zip.js/zip.js/dist/z-worker.js +1 -1
- package/node_modules/@zip.js/zip.js/dist/zip-fs-full.js +274 -133
- package/node_modules/@zip.js/zip.js/dist/zip-fs-full.min.js +1 -1
- package/node_modules/@zip.js/zip.js/dist/zip-fs.js +274 -125
- package/node_modules/@zip.js/zip.js/dist/zip-fs.min.js +1 -1
- package/node_modules/@zip.js/zip.js/dist/zip-full.js +233 -122
- package/node_modules/@zip.js/zip.js/dist/zip-full.min.js +1 -1
- package/node_modules/@zip.js/zip.js/dist/zip-no-worker-deflate.min.js +1 -1
- package/node_modules/@zip.js/zip.js/dist/zip-no-worker-inflate.min.js +1 -1
- package/node_modules/@zip.js/zip.js/dist/zip-no-worker.min.js +1 -1
- package/node_modules/@zip.js/zip.js/dist/zip.js +233 -114
- package/node_modules/@zip.js/zip.js/dist/zip.min.js +1 -1
- package/node_modules/@zip.js/zip.js/eslint.config.mjs +49 -0
- package/node_modules/@zip.js/zip.js/index-fflate.js +2 -1
- package/node_modules/@zip.js/zip.js/index.cjs +274 -133
- package/node_modules/@zip.js/zip.js/index.d.ts +254 -34
- package/node_modules/@zip.js/zip.js/index.js +3 -1
- package/node_modules/@zip.js/zip.js/index.min.js +1 -1
- package/node_modules/@zip.js/zip.js/lib/core/codec-pool.js +3 -1
- package/node_modules/@zip.js/zip.js/lib/core/codec-worker.js +11 -8
- package/node_modules/@zip.js/zip.js/lib/core/configuration.js +2 -1
- package/node_modules/@zip.js/zip.js/lib/core/constants.js +8 -0
- package/node_modules/@zip.js/zip.js/lib/core/io.js +10 -3
- package/node_modules/@zip.js/zip.js/lib/core/streams/aes-crypto-stream.js +4 -3
- package/node_modules/@zip.js/zip.js/lib/core/streams/codecs/deflate.js +0 -4
- package/node_modules/@zip.js/zip.js/lib/core/streams/codecs/inflate.js +0 -4
- package/node_modules/@zip.js/zip.js/lib/core/streams/crc32-stream.js +1 -0
- package/node_modules/@zip.js/zip.js/lib/core/streams/zip-entry-stream.js +4 -2
- package/node_modules/@zip.js/zip.js/lib/core/util/mime-type.js +0 -2
- package/node_modules/@zip.js/zip.js/lib/core/util/stream-codec-shim.js +4 -4
- package/node_modules/@zip.js/zip.js/lib/core/z-worker-core.js +4 -2
- package/node_modules/@zip.js/zip.js/lib/core/zip-entry.js +17 -5
- package/node_modules/@zip.js/zip.js/lib/core/zip-fs-core.js +41 -11
- package/node_modules/@zip.js/zip.js/lib/core/zip-reader.js +45 -23
- package/node_modules/@zip.js/zip.js/lib/core/zip-writer.js +147 -66
- package/node_modules/@zip.js/zip.js/lib/z-worker-inline-template.js +1 -1
- package/node_modules/@zip.js/zip.js/lib/z-worker-inline.js +1 -1
- package/node_modules/@zip.js/zip.js/lib/zip-data-uri.js +4 -1
- package/node_modules/@zip.js/zip.js/lib/zip-fs.js +2 -1
- package/node_modules/@zip.js/zip.js/lib/zip-full-fflate.js +2 -1
- package/node_modules/@zip.js/zip.js/lib/zip-full.js +2 -1
- package/node_modules/@zip.js/zip.js/lib/zip.js +2 -1
- package/node_modules/@zip.js/zip.js/package.json +121 -78
- package/package.json +14 -6
- package/prisma-gen/client.d.ts +1 -0
- package/prisma-gen/client.js +4 -0
- package/prisma-gen/default.d.ts +1 -1
- package/prisma-gen/edge.d.ts +1 -1
- package/prisma-gen/edge.js +30 -9
- package/prisma-gen/index-browser.js +25 -4
- package/prisma-gen/index.d.ts +3530 -1572
- package/prisma-gen/index.js +30 -9
- package/prisma-gen/runtime/edge-esm.js +21 -18
- package/prisma-gen/runtime/edge.js +21 -18
- package/prisma-gen/runtime/index-browser.d.ts +1 -1
- package/prisma-gen/runtime/index-browser.js +1 -1
- package/prisma-gen/runtime/library.d.ts +306 -71
- package/prisma-gen/runtime/library.js +70 -67
- package/prisma-gen/runtime/react-native.js +80 -0
- package/prisma-gen/runtime/wasm.js +22 -19
- package/prisma-gen/wasm.d.ts +1 -1
- package/prisma-gen/wasm.js +25 -4
- package/schema.prisma +27 -0
- package/node_modules/@zip.js/.ignored_zip.js +0 -0
package/prisma-gen/wasm.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./index"
|
package/prisma-gen/wasm.js
CHANGED
|
@@ -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.
|
|
20
|
-
* Query Engine version:
|
|
20
|
+
* Prisma Client JS version: 5.22.0
|
|
21
|
+
* Query Engine version: 605197351a3c8bdd595af2d2a9bc3025bca48ea2
|
|
21
22
|
*/
|
|
22
23
|
Prisma.prismaVersion = {
|
|
23
|
-
client: "5.
|
|
24
|
-
engine: "
|
|
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
|
|
|
Binary file
|