@helloao/cli 0.0.1
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/actions.d.ts +57 -0
- package/actions.js +262 -0
- package/cli.d.ts +2 -0
- package/cli.js +139 -0
- package/db.d.ts +110 -0
- package/db.js +754 -0
- package/downloads.d.ts +2 -0
- package/downloads.js +12 -0
- package/files.d.ts +56 -0
- package/files.js +232 -0
- package/index.d.ts +8 -0
- package/index.js +38 -0
- package/migrations/20240420231455_initial/migration.sql +66 -0
- package/migrations/20240623183848_add_book_order/migration.sql +26 -0
- package/migrations/20240629194121_add_chapter_links/migration.sql +45 -0
- package/migrations/20240629194513_add_chapter_content/migration.sql +30 -0
- package/migrations/20240705221833_remove_unused_columns/migration.sql +27 -0
- package/migrations/20240711173108_add_chapter_audio/migration.sql +13 -0
- package/migrations/20240724212651_add_hashing/migration.sql +25 -0
- package/node_modules/@zip.js/zip.js/LICENSE +28 -0
- package/node_modules/@zip.js/zip.js/README.md +173 -0
- package/node_modules/@zip.js/zip.js/deno.json +8 -0
- package/node_modules/@zip.js/zip.js/dist/README.md +28 -0
- package/node_modules/@zip.js/zip.js/dist/z-worker-fflate.js +1 -0
- package/node_modules/@zip.js/zip.js/dist/z-worker-pako.js +1 -0
- package/node_modules/@zip.js/zip.js/dist/z-worker.js +1 -0
- package/node_modules/@zip.js/zip.js/dist/zip-fs-full.js +11935 -0
- package/node_modules/@zip.js/zip.js/dist/zip-fs-full.min.js +1 -0
- package/node_modules/@zip.js/zip.js/dist/zip-fs.js +6079 -0
- package/node_modules/@zip.js/zip.js/dist/zip-fs.min.js +1 -0
- package/node_modules/@zip.js/zip.js/dist/zip-full.js +9463 -0
- package/node_modules/@zip.js/zip.js/dist/zip-full.min.js +1 -0
- package/node_modules/@zip.js/zip.js/dist/zip-no-worker-deflate.min.js +1 -0
- package/node_modules/@zip.js/zip.js/dist/zip-no-worker-inflate.min.js +1 -0
- package/node_modules/@zip.js/zip.js/dist/zip-no-worker.min.js +1 -0
- package/node_modules/@zip.js/zip.js/dist/zip.js +5240 -0
- package/node_modules/@zip.js/zip.js/dist/zip.min.js +1 -0
- package/node_modules/@zip.js/zip.js/index-fflate.js +82 -0
- package/node_modules/@zip.js/zip.js/index.cjs +11927 -0
- package/node_modules/@zip.js/zip.js/index.d.ts +2048 -0
- package/node_modules/@zip.js/zip.js/index.js +87 -0
- package/node_modules/@zip.js/zip.js/index.min.js +1 -0
- package/node_modules/@zip.js/zip.js/lib/core/codec-pool.js +127 -0
- package/node_modules/@zip.js/zip.js/lib/core/codec-worker.js +348 -0
- package/node_modules/@zip.js/zip.js/lib/core/configuration.js +127 -0
- package/node_modules/@zip.js/zip.js/lib/core/constants.js +114 -0
- package/node_modules/@zip.js/zip.js/lib/core/io.js +749 -0
- package/node_modules/@zip.js/zip.js/lib/core/streams/aes-crypto-stream.js +326 -0
- package/node_modules/@zip.js/zip.js/lib/core/streams/codec-stream.js +154 -0
- package/node_modules/@zip.js/zip.js/lib/core/streams/codecs/crc32.js +63 -0
- package/node_modules/@zip.js/zip.js/lib/core/streams/codecs/deflate.js +2063 -0
- package/node_modules/@zip.js/zip.js/lib/core/streams/codecs/inflate.js +2167 -0
- package/node_modules/@zip.js/zip.js/lib/core/streams/codecs/sjcl.js +827 -0
- package/node_modules/@zip.js/zip.js/lib/core/streams/common-crypto.js +55 -0
- package/node_modules/@zip.js/zip.js/lib/core/streams/crc32-stream.js +56 -0
- package/node_modules/@zip.js/zip.js/lib/core/streams/stream-adapter.js +55 -0
- package/node_modules/@zip.js/zip.js/lib/core/streams/zip-crypto-stream.js +162 -0
- package/node_modules/@zip.js/zip.js/lib/core/streams/zip-entry-stream.js +165 -0
- package/node_modules/@zip.js/zip.js/lib/core/util/cp437-decode.js +48 -0
- package/node_modules/@zip.js/zip.js/lib/core/util/decode-text.js +43 -0
- package/node_modules/@zip.js/zip.js/lib/core/util/default-mime-type.js +38 -0
- package/node_modules/@zip.js/zip.js/lib/core/util/encode-text.js +48 -0
- package/node_modules/@zip.js/zip.js/lib/core/util/mime-type.js +1639 -0
- package/node_modules/@zip.js/zip.js/lib/core/util/stream-codec-shim.js +91 -0
- package/node_modules/@zip.js/zip.js/lib/core/z-worker-core.js +176 -0
- package/node_modules/@zip.js/zip.js/lib/core/zip-entry.js +86 -0
- package/node_modules/@zip.js/zip.js/lib/core/zip-fs-core.js +865 -0
- package/node_modules/@zip.js/zip.js/lib/core/zip-reader.js +757 -0
- package/node_modules/@zip.js/zip.js/lib/core/zip-writer.js +1186 -0
- package/node_modules/@zip.js/zip.js/lib/z-worker-bootstrap-fflate.js +40 -0
- package/node_modules/@zip.js/zip.js/lib/z-worker-bootstrap-pako.js +39 -0
- package/node_modules/@zip.js/zip.js/lib/z-worker-fflate.js +40 -0
- package/node_modules/@zip.js/zip.js/lib/z-worker-inline-template.js +42 -0
- package/node_modules/@zip.js/zip.js/lib/z-worker-inline.js +1 -0
- package/node_modules/@zip.js/zip.js/lib/z-worker.js +38 -0
- package/node_modules/@zip.js/zip.js/lib/zip-data-uri.js +53 -0
- package/node_modules/@zip.js/zip.js/lib/zip-fflate-shim.js +37 -0
- package/node_modules/@zip.js/zip.js/lib/zip-fs.js +53 -0
- package/node_modules/@zip.js/zip.js/lib/zip-full-fflate.js +53 -0
- package/node_modules/@zip.js/zip.js/lib/zip-full.js +54 -0
- package/node_modules/@zip.js/zip.js/lib/zip-no-worker-deflate.js +42 -0
- package/node_modules/@zip.js/zip.js/lib/zip-no-worker-fflate-deflate.js +42 -0
- package/node_modules/@zip.js/zip.js/lib/zip-no-worker-fflate-inflate.js +42 -0
- package/node_modules/@zip.js/zip.js/lib/zip-no-worker-fflate.js +43 -0
- package/node_modules/@zip.js/zip.js/lib/zip-no-worker-inflate.js +42 -0
- package/node_modules/@zip.js/zip.js/lib/zip-no-worker.js +44 -0
- package/node_modules/@zip.js/zip.js/lib/zip.js +52 -0
- package/node_modules/@zip.js/zip.js/package.json +86 -0
- package/package.json +43 -0
- package/prisma-gen/default.d.ts +1 -0
- package/prisma-gen/default.js +1 -0
- package/prisma-gen/edge.d.ts +1 -0
- package/prisma-gen/edge.js +242 -0
- package/prisma-gen/index-browser.js +236 -0
- package/prisma-gen/index.d.ts +13248 -0
- package/prisma-gen/index.js +265 -0
- package/prisma-gen/runtime/edge-esm.js +28 -0
- package/prisma-gen/runtime/edge.js +28 -0
- package/prisma-gen/runtime/index-browser.d.ts +365 -0
- package/prisma-gen/runtime/index-browser.js +13 -0
- package/prisma-gen/runtime/library.d.ts +3168 -0
- package/prisma-gen/runtime/library.js +140 -0
- package/prisma-gen/runtime/wasm.js +29 -0
- package/prisma-gen/wasm.d.ts +1 -0
- package/prisma-gen/wasm.js +236 -0
- package/s3.d.ts +14 -0
- package/s3.js +76 -0
- package/schema.prisma +154 -0
- package/uploads.d.ts +54 -0
- package/uploads.js +141 -0
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
|
|
4
|
+
const {
|
|
5
|
+
PrismaClientKnownRequestError,
|
|
6
|
+
PrismaClientUnknownRequestError,
|
|
7
|
+
PrismaClientRustPanicError,
|
|
8
|
+
PrismaClientInitializationError,
|
|
9
|
+
PrismaClientValidationError,
|
|
10
|
+
NotFoundError,
|
|
11
|
+
getPrismaClient,
|
|
12
|
+
sqltag,
|
|
13
|
+
empty,
|
|
14
|
+
join,
|
|
15
|
+
raw,
|
|
16
|
+
Decimal,
|
|
17
|
+
Debug,
|
|
18
|
+
objectEnumValues,
|
|
19
|
+
makeStrictEnum,
|
|
20
|
+
Extensions,
|
|
21
|
+
warnOnce,
|
|
22
|
+
defineDmmfProperty,
|
|
23
|
+
Public,
|
|
24
|
+
getRuntime
|
|
25
|
+
} = require('./runtime/edge.js')
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
const Prisma = {}
|
|
29
|
+
|
|
30
|
+
exports.Prisma = Prisma
|
|
31
|
+
exports.$Enums = {}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Prisma Client JS version: 5.12.1
|
|
35
|
+
* Query Engine version: 4c784e32044a8a016d99474bd02a3b6123742169
|
|
36
|
+
*/
|
|
37
|
+
Prisma.prismaVersion = {
|
|
38
|
+
client: "5.12.1",
|
|
39
|
+
engine: "4c784e32044a8a016d99474bd02a3b6123742169"
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
Prisma.PrismaClientKnownRequestError = PrismaClientKnownRequestError;
|
|
43
|
+
Prisma.PrismaClientUnknownRequestError = PrismaClientUnknownRequestError
|
|
44
|
+
Prisma.PrismaClientRustPanicError = PrismaClientRustPanicError
|
|
45
|
+
Prisma.PrismaClientInitializationError = PrismaClientInitializationError
|
|
46
|
+
Prisma.PrismaClientValidationError = PrismaClientValidationError
|
|
47
|
+
Prisma.NotFoundError = NotFoundError
|
|
48
|
+
Prisma.Decimal = Decimal
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Re-export of sql-template-tag
|
|
52
|
+
*/
|
|
53
|
+
Prisma.sql = sqltag
|
|
54
|
+
Prisma.empty = empty
|
|
55
|
+
Prisma.join = join
|
|
56
|
+
Prisma.raw = raw
|
|
57
|
+
Prisma.validator = Public.validator
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Extensions
|
|
61
|
+
*/
|
|
62
|
+
Prisma.getExtensionContext = Extensions.getExtensionContext
|
|
63
|
+
Prisma.defineExtension = Extensions.defineExtension
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Shorthand utilities for JSON filtering
|
|
67
|
+
*/
|
|
68
|
+
Prisma.DbNull = objectEnumValues.instances.DbNull
|
|
69
|
+
Prisma.JsonNull = objectEnumValues.instances.JsonNull
|
|
70
|
+
Prisma.AnyNull = objectEnumValues.instances.AnyNull
|
|
71
|
+
|
|
72
|
+
Prisma.NullTypes = {
|
|
73
|
+
DbNull: objectEnumValues.classes.DbNull,
|
|
74
|
+
JsonNull: objectEnumValues.classes.JsonNull,
|
|
75
|
+
AnyNull: objectEnumValues.classes.AnyNull
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Enums
|
|
82
|
+
*/
|
|
83
|
+
exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
|
|
84
|
+
Serializable: 'Serializable'
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
exports.Prisma.TranslationScalarFieldEnum = {
|
|
88
|
+
id: 'id',
|
|
89
|
+
name: 'name',
|
|
90
|
+
website: 'website',
|
|
91
|
+
licenseUrl: 'licenseUrl',
|
|
92
|
+
shortName: 'shortName',
|
|
93
|
+
englishName: 'englishName',
|
|
94
|
+
language: 'language',
|
|
95
|
+
textDirection: 'textDirection',
|
|
96
|
+
sha256: 'sha256'
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
exports.Prisma.InputFileScalarFieldEnum = {
|
|
100
|
+
translationId: 'translationId',
|
|
101
|
+
name: 'name',
|
|
102
|
+
format: 'format',
|
|
103
|
+
sha256: 'sha256',
|
|
104
|
+
sizeInBytes: 'sizeInBytes'
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
exports.Prisma.BookScalarFieldEnum = {
|
|
108
|
+
id: 'id',
|
|
109
|
+
translationId: 'translationId',
|
|
110
|
+
name: 'name',
|
|
111
|
+
commonName: 'commonName',
|
|
112
|
+
title: 'title',
|
|
113
|
+
order: 'order',
|
|
114
|
+
numberOfChapters: 'numberOfChapters',
|
|
115
|
+
sha256: 'sha256'
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
exports.Prisma.ChapterScalarFieldEnum = {
|
|
119
|
+
number: 'number',
|
|
120
|
+
bookId: 'bookId',
|
|
121
|
+
translationId: 'translationId',
|
|
122
|
+
json: 'json',
|
|
123
|
+
sha256: 'sha256'
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
exports.Prisma.ChapterAudioUrlScalarFieldEnum = {
|
|
127
|
+
number: 'number',
|
|
128
|
+
bookId: 'bookId',
|
|
129
|
+
translationId: 'translationId',
|
|
130
|
+
reader: 'reader',
|
|
131
|
+
url: 'url'
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
exports.Prisma.ChapterVerseScalarFieldEnum = {
|
|
135
|
+
number: 'number',
|
|
136
|
+
chapterNumber: 'chapterNumber',
|
|
137
|
+
bookId: 'bookId',
|
|
138
|
+
translationId: 'translationId',
|
|
139
|
+
text: 'text',
|
|
140
|
+
contentJson: 'contentJson',
|
|
141
|
+
sha256: 'sha256'
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
exports.Prisma.ChapterFootnoteScalarFieldEnum = {
|
|
145
|
+
id: 'id',
|
|
146
|
+
chapterNumber: 'chapterNumber',
|
|
147
|
+
bookId: 'bookId',
|
|
148
|
+
translationId: 'translationId',
|
|
149
|
+
text: 'text',
|
|
150
|
+
sha256: 'sha256',
|
|
151
|
+
verseNumber: 'verseNumber'
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
exports.Prisma.SortOrder = {
|
|
155
|
+
asc: 'asc',
|
|
156
|
+
desc: 'desc'
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
exports.Prisma.NullsOrder = {
|
|
160
|
+
first: 'first',
|
|
161
|
+
last: 'last'
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
exports.Prisma.ModelName = {
|
|
166
|
+
Translation: 'Translation',
|
|
167
|
+
InputFile: 'InputFile',
|
|
168
|
+
Book: 'Book',
|
|
169
|
+
Chapter: 'Chapter',
|
|
170
|
+
ChapterAudioUrl: 'ChapterAudioUrl',
|
|
171
|
+
ChapterVerse: 'ChapterVerse',
|
|
172
|
+
ChapterFootnote: 'ChapterFootnote'
|
|
173
|
+
};
|
|
174
|
+
/**
|
|
175
|
+
* Create the Client
|
|
176
|
+
*/
|
|
177
|
+
const config = {
|
|
178
|
+
"generator": {
|
|
179
|
+
"name": "client",
|
|
180
|
+
"provider": {
|
|
181
|
+
"fromEnvVar": null,
|
|
182
|
+
"value": "prisma-client-js"
|
|
183
|
+
},
|
|
184
|
+
"output": {
|
|
185
|
+
"value": "C:\\Projects\\bible-api\\packages\\helloao-cli\\prisma-gen",
|
|
186
|
+
"fromEnvVar": null
|
|
187
|
+
},
|
|
188
|
+
"config": {
|
|
189
|
+
"engineType": "library"
|
|
190
|
+
},
|
|
191
|
+
"binaryTargets": [
|
|
192
|
+
{
|
|
193
|
+
"fromEnvVar": null,
|
|
194
|
+
"value": "windows",
|
|
195
|
+
"native": true
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"previewFeatures": [],
|
|
199
|
+
"sourceFilePath": "C:\\Projects\\bible-api\\packages\\helloao-cli\\schema.prisma",
|
|
200
|
+
"isCustomOutput": true
|
|
201
|
+
},
|
|
202
|
+
"relativeEnvPaths": {
|
|
203
|
+
"rootEnvPath": null
|
|
204
|
+
},
|
|
205
|
+
"relativePath": "..",
|
|
206
|
+
"clientVersion": "5.12.1",
|
|
207
|
+
"engineVersion": "4c784e32044a8a016d99474bd02a3b6123742169",
|
|
208
|
+
"datasourceNames": [
|
|
209
|
+
"db"
|
|
210
|
+
],
|
|
211
|
+
"activeProvider": "sqlite",
|
|
212
|
+
"postinstall": false,
|
|
213
|
+
"inlineDatasources": {
|
|
214
|
+
"db": {
|
|
215
|
+
"url": {
|
|
216
|
+
"fromEnvVar": null,
|
|
217
|
+
"value": "file:../../bible-api.dev.db"
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"inlineSchema": "datasource db {\r\n provider = \"sqlite\"\r\n url = \"file:../../bible-api.dev.db\"\r\n}\r\n\r\ngenerator client {\r\n provider = \"prisma-client-js\"\r\n output = \"./prisma-gen\"\r\n}\r\n\r\nmodel Translation {\r\n id String @id\r\n name String\r\n website String\r\n licenseUrl String\r\n shortName String?\r\n englishName String\r\n language String\r\n textDirection String\r\n\r\n // The SHA-256 hash of the translation\r\n // includes everything about the translation, including the books, chapters, verses, footnotes, etc.\r\n sha256 String?\r\n \r\n books Book[]\r\n chapters Chapter[]\r\n verses ChapterVerse[]\r\n footnotes ChapterFootnote[]\r\n audioUrls ChapterAudioUrl[]\r\n}\r\n\r\nmodel InputFile {\r\n // The ID of the translation that the file is for\r\n translationId String\r\n\r\n // The name of the file\r\n name String\r\n\r\n format String\r\n\r\n // The SHA-256 hash of the file\r\n sha256 String\r\n \r\n sizeInBytes Int\r\n\r\n @@id([translationId, name])\r\n}\r\n\r\nmodel Book {\r\n id String\r\n\r\n translationId String\r\n translation Translation @relation(fields: [translationId], references: [id])\r\n\r\n name String\r\n commonName String\r\n title String?\r\n order Int\r\n\r\n numberOfChapters Int\r\n\r\n // The SHA-256 hash of the book\r\n sha256 String?\r\n\r\n chapters Chapter[]\r\n verses ChapterVerse[]\r\n footnotes ChapterFootnote[]\r\n audioUrls ChapterAudioUrl[]\r\n\r\n @@id([translationId, id])\r\n}\r\n\r\nmodel Chapter {\r\n number Int\r\n\r\n bookId String\r\n book Book @relation(fields: [translationId, bookId], references: [translationId, id])\r\n\r\n translationId String\r\n translation Translation @relation(fields: [translationId], references: [id])\r\n\r\n json String // The JSON of the chapter\r\n\r\n // The SHA-256 hash of the chapter\r\n sha256 String?\r\n\r\n verses ChapterVerse[]\r\n footnotes ChapterFootnote[]\r\n audioUrls ChapterAudioUrl[]\r\n\r\n @@id([translationId, bookId, number])\r\n}\r\n\r\nmodel ChapterAudioUrl {\r\n number Int\r\n bookId String\r\n book Book @relation(fields: [translationId, bookId], references: [translationId, id])\r\n\r\n translationId String\r\n translation Translation @relation(fields: [translationId], references: [id])\r\n\r\n chapter Chapter @relation(fields: [translationId, bookId, number], references: [translationId, bookId, number])\r\n\r\n reader String\r\n url String\r\n\r\n @@id([translationId, bookId, number, reader])\r\n}\r\n\r\nmodel ChapterVerse {\r\n number Int\r\n\r\n chapterNumber Int\r\n chapter Chapter @relation(fields: [translationId, bookId, chapterNumber], references: [translationId, bookId, number])\r\n\r\n bookId String\r\n book Book @relation(fields: [translationId, bookId], references: [translationId, id])\r\n\r\n translationId String\r\n translation Translation @relation(fields: [translationId], references: [id])\r\n\r\n text String // The text of the verse\r\n contentJson String // The JSON of the verse content\r\n\r\n // The SHA-256 hash of the verse\r\n sha256 String?\r\n\r\n footnotes ChapterFootnote[]\r\n\r\n @@id([translationId, bookId, chapterNumber, number])\r\n}\r\n\r\nmodel ChapterFootnote {\r\n id Int\r\n\r\n chapterNumber Int\r\n chapter Chapter @relation(fields: [translationId, bookId, chapterNumber], references: [translationId, bookId, number])\r\n\r\n bookId String\r\n book Book @relation(fields: [translationId, bookId], references: [translationId, id])\r\n\r\n translationId String\r\n translation Translation @relation(fields: [translationId], references: [id])\r\n\r\n text String\r\n\r\n // The SHA-256 hash of the footnote\r\n sha256 String?\r\n\r\n verseNumber Int?\r\n verse ChapterVerse? @relation(fields: [translationId, bookId, chapterNumber, verseNumber], references: [translationId, bookId, chapterNumber, number])\r\n\r\n @@id([translationId, bookId, chapterNumber, id])\r\n}\r\n",
|
|
222
|
+
"inlineSchemaHash": "41764b814e923d5f889dfa978eb00e5b4ed97714ea6987e161972711cbecd4bb",
|
|
223
|
+
"copyEngine": true
|
|
224
|
+
}
|
|
225
|
+
config.dirname = '/'
|
|
226
|
+
|
|
227
|
+
config.runtimeDataModel = JSON.parse("{\"models\":{\"Translation\":{\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":true,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"website\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"licenseUrl\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"shortName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"englishName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"language\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"textDirection\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sha256\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"books\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Book\",\"relationName\":\"BookToTranslation\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chapters\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Chapter\",\"relationName\":\"ChapterToTranslation\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"verses\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChapterVerse\",\"relationName\":\"ChapterVerseToTranslation\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"footnotes\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChapterFootnote\",\"relationName\":\"ChapterFootnoteToTranslation\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"audioUrls\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChapterAudioUrl\",\"relationName\":\"ChapterAudioUrlToTranslation\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":null,\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"InputFile\":{\"dbName\":null,\"fields\":[{\"name\":\"translationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"format\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sha256\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sizeInBytes\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":{\"name\":null,\"fields\":[\"translationId\",\"name\"]},\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Book\":{\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"translationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"translation\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Translation\",\"relationName\":\"BookToTranslation\",\"relationFromFields\":[\"translationId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"name\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"commonName\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"title\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"order\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"numberOfChapters\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sha256\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chapters\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Chapter\",\"relationName\":\"BookToChapter\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"verses\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChapterVerse\",\"relationName\":\"BookToChapterVerse\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"footnotes\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChapterFootnote\",\"relationName\":\"BookToChapterFootnote\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"audioUrls\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChapterAudioUrl\",\"relationName\":\"BookToChapterAudioUrl\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":{\"name\":null,\"fields\":[\"translationId\",\"id\"]},\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"Chapter\":{\"dbName\":null,\"fields\":[{\"name\":\"number\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"bookId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"book\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Book\",\"relationName\":\"BookToChapter\",\"relationFromFields\":[\"translationId\",\"bookId\"],\"relationToFields\":[\"translationId\",\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"translationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"translation\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Translation\",\"relationName\":\"ChapterToTranslation\",\"relationFromFields\":[\"translationId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"json\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sha256\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"verses\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChapterVerse\",\"relationName\":\"ChapterToChapterVerse\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"footnotes\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChapterFootnote\",\"relationName\":\"ChapterToChapterFootnote\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"audioUrls\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChapterAudioUrl\",\"relationName\":\"ChapterToChapterAudioUrl\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":{\"name\":null,\"fields\":[\"translationId\",\"bookId\",\"number\"]},\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"ChapterAudioUrl\":{\"dbName\":null,\"fields\":[{\"name\":\"number\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"bookId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"book\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Book\",\"relationName\":\"BookToChapterAudioUrl\",\"relationFromFields\":[\"translationId\",\"bookId\"],\"relationToFields\":[\"translationId\",\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"translationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"translation\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Translation\",\"relationName\":\"ChapterAudioUrlToTranslation\",\"relationFromFields\":[\"translationId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chapter\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Chapter\",\"relationName\":\"ChapterToChapterAudioUrl\",\"relationFromFields\":[\"translationId\",\"bookId\",\"number\"],\"relationToFields\":[\"translationId\",\"bookId\",\"number\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"reader\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"url\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":{\"name\":null,\"fields\":[\"translationId\",\"bookId\",\"number\",\"reader\"]},\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"ChapterVerse\":{\"dbName\":null,\"fields\":[{\"name\":\"number\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chapterNumber\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chapter\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Chapter\",\"relationName\":\"ChapterToChapterVerse\",\"relationFromFields\":[\"translationId\",\"bookId\",\"chapterNumber\"],\"relationToFields\":[\"translationId\",\"bookId\",\"number\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"bookId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"book\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Book\",\"relationName\":\"BookToChapterVerse\",\"relationFromFields\":[\"translationId\",\"bookId\"],\"relationToFields\":[\"translationId\",\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"translationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"translation\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Translation\",\"relationName\":\"ChapterVerseToTranslation\",\"relationFromFields\":[\"translationId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"text\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"contentJson\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sha256\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"footnotes\",\"kind\":\"object\",\"isList\":true,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChapterFootnote\",\"relationName\":\"ChapterFootnoteToChapterVerse\",\"relationFromFields\":[],\"relationToFields\":[],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":{\"name\":null,\"fields\":[\"translationId\",\"bookId\",\"chapterNumber\",\"number\"]},\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false},\"ChapterFootnote\":{\"dbName\":null,\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chapterNumber\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"chapter\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Chapter\",\"relationName\":\"ChapterToChapterFootnote\",\"relationFromFields\":[\"translationId\",\"bookId\",\"chapterNumber\"],\"relationToFields\":[\"translationId\",\"bookId\",\"number\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"bookId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"book\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Book\",\"relationName\":\"BookToChapterFootnote\",\"relationFromFields\":[\"translationId\",\"bookId\"],\"relationToFields\":[\"translationId\",\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"translationId\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"translation\",\"kind\":\"object\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"Translation\",\"relationName\":\"ChapterFootnoteToTranslation\",\"relationFromFields\":[\"translationId\"],\"relationToFields\":[\"id\"],\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"text\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":true,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"sha256\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"String\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"verseNumber\",\"kind\":\"scalar\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":true,\"hasDefaultValue\":false,\"type\":\"Int\",\"isGenerated\":false,\"isUpdatedAt\":false},{\"name\":\"verse\",\"kind\":\"object\",\"isList\":false,\"isRequired\":false,\"isUnique\":false,\"isId\":false,\"isReadOnly\":false,\"hasDefaultValue\":false,\"type\":\"ChapterVerse\",\"relationName\":\"ChapterFootnoteToChapterVerse\",\"relationFromFields\":[\"translationId\",\"bookId\",\"chapterNumber\",\"verseNumber\"],\"relationToFields\":[\"translationId\",\"bookId\",\"chapterNumber\",\"number\"],\"isGenerated\":false,\"isUpdatedAt\":false}],\"primaryKey\":{\"name\":null,\"fields\":[\"translationId\",\"bookId\",\"chapterNumber\",\"id\"]},\"uniqueFields\":[],\"uniqueIndexes\":[],\"isGenerated\":false}},\"enums\":{},\"types\":{}}")
|
|
228
|
+
defineDmmfProperty(exports.Prisma, config.runtimeDataModel)
|
|
229
|
+
config.engineWasm = undefined
|
|
230
|
+
|
|
231
|
+
config.injectableEdgeEnv = () => ({
|
|
232
|
+
parsed: {}
|
|
233
|
+
})
|
|
234
|
+
|
|
235
|
+
if (typeof globalThis !== 'undefined' && globalThis['DEBUG'] || typeof process !== 'undefined' && process.env && process.env.DEBUG || undefined) {
|
|
236
|
+
Debug.enable(typeof globalThis !== 'undefined' && globalThis['DEBUG'] || typeof process !== 'undefined' && process.env && process.env.DEBUG || undefined)
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
const PrismaClient = getPrismaClient(config)
|
|
240
|
+
exports.PrismaClient = PrismaClient
|
|
241
|
+
Object.assign(exports, Prisma)
|
|
242
|
+
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
|
|
4
|
+
const {
|
|
5
|
+
Decimal,
|
|
6
|
+
objectEnumValues,
|
|
7
|
+
makeStrictEnum,
|
|
8
|
+
Public,
|
|
9
|
+
getRuntime,
|
|
10
|
+
} = require('./runtime/index-browser.js')
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
const Prisma = {}
|
|
14
|
+
|
|
15
|
+
exports.Prisma = Prisma
|
|
16
|
+
exports.$Enums = {}
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Prisma Client JS version: 5.12.1
|
|
20
|
+
* Query Engine version: 4c784e32044a8a016d99474bd02a3b6123742169
|
|
21
|
+
*/
|
|
22
|
+
Prisma.prismaVersion = {
|
|
23
|
+
client: "5.12.1",
|
|
24
|
+
engine: "4c784e32044a8a016d99474bd02a3b6123742169"
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
Prisma.PrismaClientKnownRequestError = () => {
|
|
28
|
+
const runtimeName = getRuntime().prettyName;
|
|
29
|
+
throw new Error(`PrismaClientKnownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
30
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
31
|
+
)};
|
|
32
|
+
Prisma.PrismaClientUnknownRequestError = () => {
|
|
33
|
+
const runtimeName = getRuntime().prettyName;
|
|
34
|
+
throw new Error(`PrismaClientUnknownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
35
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
36
|
+
)}
|
|
37
|
+
Prisma.PrismaClientRustPanicError = () => {
|
|
38
|
+
const runtimeName = getRuntime().prettyName;
|
|
39
|
+
throw new Error(`PrismaClientRustPanicError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
40
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
41
|
+
)}
|
|
42
|
+
Prisma.PrismaClientInitializationError = () => {
|
|
43
|
+
const runtimeName = getRuntime().prettyName;
|
|
44
|
+
throw new Error(`PrismaClientInitializationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
45
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
46
|
+
)}
|
|
47
|
+
Prisma.PrismaClientValidationError = () => {
|
|
48
|
+
const runtimeName = getRuntime().prettyName;
|
|
49
|
+
throw new Error(`PrismaClientValidationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
50
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
51
|
+
)}
|
|
52
|
+
Prisma.NotFoundError = () => {
|
|
53
|
+
const runtimeName = getRuntime().prettyName;
|
|
54
|
+
throw new Error(`NotFoundError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
55
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
56
|
+
)}
|
|
57
|
+
Prisma.Decimal = Decimal
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Re-export of sql-template-tag
|
|
61
|
+
*/
|
|
62
|
+
Prisma.sql = () => {
|
|
63
|
+
const runtimeName = getRuntime().prettyName;
|
|
64
|
+
throw new Error(`sqltag is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
65
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
66
|
+
)}
|
|
67
|
+
Prisma.empty = () => {
|
|
68
|
+
const runtimeName = getRuntime().prettyName;
|
|
69
|
+
throw new Error(`empty is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
70
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
71
|
+
)}
|
|
72
|
+
Prisma.join = () => {
|
|
73
|
+
const runtimeName = getRuntime().prettyName;
|
|
74
|
+
throw new Error(`join is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
75
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
76
|
+
)}
|
|
77
|
+
Prisma.raw = () => {
|
|
78
|
+
const runtimeName = getRuntime().prettyName;
|
|
79
|
+
throw new Error(`raw is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
80
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
81
|
+
)}
|
|
82
|
+
Prisma.validator = Public.validator
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Extensions
|
|
86
|
+
*/
|
|
87
|
+
Prisma.getExtensionContext = () => {
|
|
88
|
+
const runtimeName = getRuntime().prettyName;
|
|
89
|
+
throw new Error(`Extensions.getExtensionContext is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
90
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
91
|
+
)}
|
|
92
|
+
Prisma.defineExtension = () => {
|
|
93
|
+
const runtimeName = getRuntime().prettyName;
|
|
94
|
+
throw new Error(`Extensions.defineExtension is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
95
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
96
|
+
)}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Shorthand utilities for JSON filtering
|
|
100
|
+
*/
|
|
101
|
+
Prisma.DbNull = objectEnumValues.instances.DbNull
|
|
102
|
+
Prisma.JsonNull = objectEnumValues.instances.JsonNull
|
|
103
|
+
Prisma.AnyNull = objectEnumValues.instances.AnyNull
|
|
104
|
+
|
|
105
|
+
Prisma.NullTypes = {
|
|
106
|
+
DbNull: objectEnumValues.classes.DbNull,
|
|
107
|
+
JsonNull: objectEnumValues.classes.JsonNull,
|
|
108
|
+
AnyNull: objectEnumValues.classes.AnyNull
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Enums
|
|
113
|
+
*/
|
|
114
|
+
|
|
115
|
+
exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
|
|
116
|
+
Serializable: 'Serializable'
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
exports.Prisma.TranslationScalarFieldEnum = {
|
|
120
|
+
id: 'id',
|
|
121
|
+
name: 'name',
|
|
122
|
+
website: 'website',
|
|
123
|
+
licenseUrl: 'licenseUrl',
|
|
124
|
+
shortName: 'shortName',
|
|
125
|
+
englishName: 'englishName',
|
|
126
|
+
language: 'language',
|
|
127
|
+
textDirection: 'textDirection',
|
|
128
|
+
sha256: 'sha256'
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
exports.Prisma.InputFileScalarFieldEnum = {
|
|
132
|
+
translationId: 'translationId',
|
|
133
|
+
name: 'name',
|
|
134
|
+
format: 'format',
|
|
135
|
+
sha256: 'sha256',
|
|
136
|
+
sizeInBytes: 'sizeInBytes'
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
exports.Prisma.BookScalarFieldEnum = {
|
|
140
|
+
id: 'id',
|
|
141
|
+
translationId: 'translationId',
|
|
142
|
+
name: 'name',
|
|
143
|
+
commonName: 'commonName',
|
|
144
|
+
title: 'title',
|
|
145
|
+
order: 'order',
|
|
146
|
+
numberOfChapters: 'numberOfChapters',
|
|
147
|
+
sha256: 'sha256'
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
exports.Prisma.ChapterScalarFieldEnum = {
|
|
151
|
+
number: 'number',
|
|
152
|
+
bookId: 'bookId',
|
|
153
|
+
translationId: 'translationId',
|
|
154
|
+
json: 'json',
|
|
155
|
+
sha256: 'sha256'
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
exports.Prisma.ChapterAudioUrlScalarFieldEnum = {
|
|
159
|
+
number: 'number',
|
|
160
|
+
bookId: 'bookId',
|
|
161
|
+
translationId: 'translationId',
|
|
162
|
+
reader: 'reader',
|
|
163
|
+
url: 'url'
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
exports.Prisma.ChapterVerseScalarFieldEnum = {
|
|
167
|
+
number: 'number',
|
|
168
|
+
chapterNumber: 'chapterNumber',
|
|
169
|
+
bookId: 'bookId',
|
|
170
|
+
translationId: 'translationId',
|
|
171
|
+
text: 'text',
|
|
172
|
+
contentJson: 'contentJson',
|
|
173
|
+
sha256: 'sha256'
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
exports.Prisma.ChapterFootnoteScalarFieldEnum = {
|
|
177
|
+
id: 'id',
|
|
178
|
+
chapterNumber: 'chapterNumber',
|
|
179
|
+
bookId: 'bookId',
|
|
180
|
+
translationId: 'translationId',
|
|
181
|
+
text: 'text',
|
|
182
|
+
sha256: 'sha256',
|
|
183
|
+
verseNumber: 'verseNumber'
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
exports.Prisma.SortOrder = {
|
|
187
|
+
asc: 'asc',
|
|
188
|
+
desc: 'desc'
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
exports.Prisma.NullsOrder = {
|
|
192
|
+
first: 'first',
|
|
193
|
+
last: 'last'
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
exports.Prisma.ModelName = {
|
|
198
|
+
Translation: 'Translation',
|
|
199
|
+
InputFile: 'InputFile',
|
|
200
|
+
Book: 'Book',
|
|
201
|
+
Chapter: 'Chapter',
|
|
202
|
+
ChapterAudioUrl: 'ChapterAudioUrl',
|
|
203
|
+
ChapterVerse: 'ChapterVerse',
|
|
204
|
+
ChapterFootnote: 'ChapterFootnote'
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* This is a stub Prisma Client that will error at runtime if called.
|
|
209
|
+
*/
|
|
210
|
+
class PrismaClient {
|
|
211
|
+
constructor() {
|
|
212
|
+
return new Proxy(this, {
|
|
213
|
+
get(target, prop) {
|
|
214
|
+
let message
|
|
215
|
+
const runtime = getRuntime()
|
|
216
|
+
if (runtime.isEdge) {
|
|
217
|
+
message = `PrismaClient is not configured to run in ${runtime.prettyName}. In order to run Prisma Client on edge runtime, either:
|
|
218
|
+
- Use Prisma Accelerate: https://pris.ly/d/accelerate
|
|
219
|
+
- Use Driver Adapters: https://pris.ly/d/driver-adapters
|
|
220
|
+
`;
|
|
221
|
+
} else {
|
|
222
|
+
message = 'PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `' + runtime.prettyName + '`).'
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
message += `
|
|
226
|
+
If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
|
|
227
|
+
|
|
228
|
+
throw new Error(message)
|
|
229
|
+
}
|
|
230
|
+
})
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
exports.PrismaClient = PrismaClient
|
|
235
|
+
|
|
236
|
+
Object.assign(exports, Prisma)
|