@s-hirano-ist/s-database 1.0.0 → 1.1.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/package.json +13 -15
- package/prisma/schema.prisma +2 -4
- package/src/generated/prisma/browser.ts +44 -0
- package/src/generated/prisma/client.ts +66 -0
- package/src/generated/prisma/commonInputTypes.ts +360 -0
- package/src/generated/prisma/enums.ts +17 -0
- package/src/generated/prisma/internal/class.ts +230 -0
- package/src/generated/prisma/internal/prismaNamespace.ts +1167 -0
- package/src/generated/prisma/internal/prismaNamespaceBrowser.ts +185 -0
- package/src/generated/prisma/models/Article.ts +1638 -0
- package/src/generated/prisma/models/Book.ts +1536 -0
- package/src/generated/prisma/models/Category.ts +1336 -0
- package/src/generated/prisma/models/Image.ts +1449 -0
- package/src/generated/prisma/models/Note.ts +1234 -0
- package/src/generated/prisma/models.ts +16 -0
- package/src/index.ts +4 -0
- package/dist/index.d.ts +0 -3
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -4
- package/dist/index.js.map +0 -1
- package/src/generated/client.d.ts +0 -1
- package/src/generated/client.js +0 -5
- package/src/generated/default.d.ts +0 -1
- package/src/generated/default.js +0 -5
- package/src/generated/edge.d.ts +0 -1
- package/src/generated/edge.js +0 -265
- package/src/generated/index-browser.js +0 -251
- package/src/generated/index.d.ts +0 -8913
- package/src/generated/index.js +0 -280
- package/src/generated/package.json +0 -183
- package/src/generated/runtime/edge-esm.js +0 -35
- package/src/generated/runtime/edge.js +0 -35
- package/src/generated/runtime/index-browser.d.ts +0 -370
- package/src/generated/runtime/index-browser.js +0 -17
- package/src/generated/runtime/library.d.ts +0 -3982
- package/src/generated/runtime/library.js +0 -147
- package/src/generated/runtime/react-native.js +0 -84
- package/src/generated/runtime/wasm-compiler-edge.js +0 -85
- package/src/generated/runtime/wasm-engine-edge.js +0 -37
- package/src/generated/schema.prisma +0 -127
- package/src/generated/wasm-edge-light-loader.mjs +0 -5
- package/src/generated/wasm-worker-loader.mjs +0 -5
- package/src/generated/wasm.d.ts +0 -1
- package/src/generated/wasm.js +0 -265
package/src/generated/wasm.js
DELETED
|
@@ -1,265 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/* !!! This is code generated by Prisma. Do not edit directly. !!!
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// biome-ignore-all lint: generated file
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
|
|
8
|
-
const {
|
|
9
|
-
PrismaClientKnownRequestError,
|
|
10
|
-
PrismaClientUnknownRequestError,
|
|
11
|
-
PrismaClientRustPanicError,
|
|
12
|
-
PrismaClientInitializationError,
|
|
13
|
-
PrismaClientValidationError,
|
|
14
|
-
getPrismaClient,
|
|
15
|
-
sqltag,
|
|
16
|
-
empty,
|
|
17
|
-
join,
|
|
18
|
-
raw,
|
|
19
|
-
skip,
|
|
20
|
-
Decimal,
|
|
21
|
-
Debug,
|
|
22
|
-
objectEnumValues,
|
|
23
|
-
makeStrictEnum,
|
|
24
|
-
Extensions,
|
|
25
|
-
warnOnce,
|
|
26
|
-
defineDmmfProperty,
|
|
27
|
-
Public,
|
|
28
|
-
getRuntime,
|
|
29
|
-
createParam,
|
|
30
|
-
} = require('./runtime/wasm-engine-edge.js')
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
const Prisma = {}
|
|
34
|
-
|
|
35
|
-
exports.Prisma = Prisma
|
|
36
|
-
exports.$Enums = {}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Prisma Client JS version: 6.19.0
|
|
40
|
-
* Query Engine version: 2ba551f319ab1df4bc874a89965d8b3641056773
|
|
41
|
-
*/
|
|
42
|
-
Prisma.prismaVersion = {
|
|
43
|
-
client: "6.19.0",
|
|
44
|
-
engine: "2ba551f319ab1df4bc874a89965d8b3641056773"
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
Prisma.PrismaClientKnownRequestError = PrismaClientKnownRequestError;
|
|
48
|
-
Prisma.PrismaClientUnknownRequestError = PrismaClientUnknownRequestError
|
|
49
|
-
Prisma.PrismaClientRustPanicError = PrismaClientRustPanicError
|
|
50
|
-
Prisma.PrismaClientInitializationError = PrismaClientInitializationError
|
|
51
|
-
Prisma.PrismaClientValidationError = PrismaClientValidationError
|
|
52
|
-
Prisma.Decimal = Decimal
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Re-export of sql-template-tag
|
|
56
|
-
*/
|
|
57
|
-
Prisma.sql = sqltag
|
|
58
|
-
Prisma.empty = empty
|
|
59
|
-
Prisma.join = join
|
|
60
|
-
Prisma.raw = raw
|
|
61
|
-
Prisma.validator = Public.validator
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Extensions
|
|
65
|
-
*/
|
|
66
|
-
Prisma.getExtensionContext = Extensions.getExtensionContext
|
|
67
|
-
Prisma.defineExtension = Extensions.defineExtension
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Shorthand utilities for JSON filtering
|
|
71
|
-
*/
|
|
72
|
-
Prisma.DbNull = objectEnumValues.instances.DbNull
|
|
73
|
-
Prisma.JsonNull = objectEnumValues.instances.JsonNull
|
|
74
|
-
Prisma.AnyNull = objectEnumValues.instances.AnyNull
|
|
75
|
-
|
|
76
|
-
Prisma.NullTypes = {
|
|
77
|
-
DbNull: objectEnumValues.classes.DbNull,
|
|
78
|
-
JsonNull: objectEnumValues.classes.JsonNull,
|
|
79
|
-
AnyNull: objectEnumValues.classes.AnyNull
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Enums
|
|
88
|
-
*/
|
|
89
|
-
exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
|
|
90
|
-
ReadUncommitted: 'ReadUncommitted',
|
|
91
|
-
ReadCommitted: 'ReadCommitted',
|
|
92
|
-
RepeatableRead: 'RepeatableRead',
|
|
93
|
-
Serializable: 'Serializable'
|
|
94
|
-
});
|
|
95
|
-
|
|
96
|
-
exports.Prisma.CategoryScalarFieldEnum = {
|
|
97
|
-
id: 'id',
|
|
98
|
-
name: 'name',
|
|
99
|
-
createdAt: 'createdAt',
|
|
100
|
-
updatedAt: 'updatedAt',
|
|
101
|
-
userId: 'userId'
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
exports.Prisma.ArticleScalarFieldEnum = {
|
|
105
|
-
id: 'id',
|
|
106
|
-
title: 'title',
|
|
107
|
-
url: 'url',
|
|
108
|
-
quote: 'quote',
|
|
109
|
-
ogImageUrl: 'ogImageUrl',
|
|
110
|
-
ogTitle: 'ogTitle',
|
|
111
|
-
ogDescription: 'ogDescription',
|
|
112
|
-
categoryId: 'categoryId',
|
|
113
|
-
status: 'status',
|
|
114
|
-
userId: 'userId',
|
|
115
|
-
createdAt: 'createdAt',
|
|
116
|
-
updatedAt: 'updatedAt',
|
|
117
|
-
exportedAt: 'exportedAt'
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
exports.Prisma.NoteScalarFieldEnum = {
|
|
121
|
-
id: 'id',
|
|
122
|
-
title: 'title',
|
|
123
|
-
markdown: 'markdown',
|
|
124
|
-
status: 'status',
|
|
125
|
-
userId: 'userId',
|
|
126
|
-
createdAt: 'createdAt',
|
|
127
|
-
updatedAt: 'updatedAt',
|
|
128
|
-
exportedAt: 'exportedAt'
|
|
129
|
-
};
|
|
130
|
-
|
|
131
|
-
exports.Prisma.ImageScalarFieldEnum = {
|
|
132
|
-
id: 'id',
|
|
133
|
-
path: 'path',
|
|
134
|
-
contentType: 'contentType',
|
|
135
|
-
fileSize: 'fileSize',
|
|
136
|
-
width: 'width',
|
|
137
|
-
height: 'height',
|
|
138
|
-
tags: 'tags',
|
|
139
|
-
description: 'description',
|
|
140
|
-
status: 'status',
|
|
141
|
-
userId: 'userId',
|
|
142
|
-
createdAt: 'createdAt',
|
|
143
|
-
updatedAt: 'updatedAt',
|
|
144
|
-
exportedAt: 'exportedAt'
|
|
145
|
-
};
|
|
146
|
-
|
|
147
|
-
exports.Prisma.BookScalarFieldEnum = {
|
|
148
|
-
id: 'id',
|
|
149
|
-
ISBN: 'ISBN',
|
|
150
|
-
title: 'title',
|
|
151
|
-
googleTitle: 'googleTitle',
|
|
152
|
-
googleSubTitle: 'googleSubTitle',
|
|
153
|
-
googleAuthors: 'googleAuthors',
|
|
154
|
-
googleDescription: 'googleDescription',
|
|
155
|
-
googleImgSrc: 'googleImgSrc',
|
|
156
|
-
googleHref: 'googleHref',
|
|
157
|
-
markdown: 'markdown',
|
|
158
|
-
rating: 'rating',
|
|
159
|
-
tags: 'tags',
|
|
160
|
-
status: 'status',
|
|
161
|
-
userId: 'userId',
|
|
162
|
-
createdAt: 'createdAt',
|
|
163
|
-
updatedAt: 'updatedAt',
|
|
164
|
-
exportedAt: 'exportedAt'
|
|
165
|
-
};
|
|
166
|
-
|
|
167
|
-
exports.Prisma.SortOrder = {
|
|
168
|
-
asc: 'asc',
|
|
169
|
-
desc: 'desc'
|
|
170
|
-
};
|
|
171
|
-
|
|
172
|
-
exports.Prisma.QueryMode = {
|
|
173
|
-
default: 'default',
|
|
174
|
-
insensitive: 'insensitive'
|
|
175
|
-
};
|
|
176
|
-
|
|
177
|
-
exports.Prisma.NullsOrder = {
|
|
178
|
-
first: 'first',
|
|
179
|
-
last: 'last'
|
|
180
|
-
};
|
|
181
|
-
exports.Status = exports.$Enums.Status = {
|
|
182
|
-
UNEXPORTED: 'UNEXPORTED',
|
|
183
|
-
EXPORTED: 'EXPORTED'
|
|
184
|
-
};
|
|
185
|
-
|
|
186
|
-
exports.Prisma.ModelName = {
|
|
187
|
-
Category: 'Category',
|
|
188
|
-
Article: 'Article',
|
|
189
|
-
Note: 'Note',
|
|
190
|
-
Image: 'Image',
|
|
191
|
-
Book: 'Book'
|
|
192
|
-
};
|
|
193
|
-
/**
|
|
194
|
-
* Create the Client
|
|
195
|
-
*/
|
|
196
|
-
const config = {
|
|
197
|
-
"generator": {
|
|
198
|
-
"name": "client",
|
|
199
|
-
"provider": {
|
|
200
|
-
"fromEnvVar": null,
|
|
201
|
-
"value": "prisma-client-js"
|
|
202
|
-
},
|
|
203
|
-
"output": {
|
|
204
|
-
"value": "/home/runner/work/s-private/s-private/packages/database/src/generated",
|
|
205
|
-
"fromEnvVar": null
|
|
206
|
-
},
|
|
207
|
-
"config": {
|
|
208
|
-
"engineType": "library"
|
|
209
|
-
},
|
|
210
|
-
"binaryTargets": [
|
|
211
|
-
{
|
|
212
|
-
"fromEnvVar": null,
|
|
213
|
-
"value": "debian-openssl-3.0.x",
|
|
214
|
-
"native": true
|
|
215
|
-
}
|
|
216
|
-
],
|
|
217
|
-
"previewFeatures": [],
|
|
218
|
-
"sourceFilePath": "/home/runner/work/s-private/s-private/packages/database/prisma/schema.prisma",
|
|
219
|
-
"isCustomOutput": true
|
|
220
|
-
},
|
|
221
|
-
"relativeEnvPaths": {
|
|
222
|
-
"rootEnvPath": null
|
|
223
|
-
},
|
|
224
|
-
"relativePath": "../../prisma",
|
|
225
|
-
"clientVersion": "6.19.0",
|
|
226
|
-
"engineVersion": "2ba551f319ab1df4bc874a89965d8b3641056773",
|
|
227
|
-
"datasourceNames": [
|
|
228
|
-
"db"
|
|
229
|
-
],
|
|
230
|
-
"activeProvider": "postgresql",
|
|
231
|
-
"postinstall": false,
|
|
232
|
-
"ciName": "GitHub Actions",
|
|
233
|
-
"inlineDatasources": {
|
|
234
|
-
"db": {
|
|
235
|
-
"url": {
|
|
236
|
-
"fromEnvVar": "DATABASE_URL",
|
|
237
|
-
"value": null
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
},
|
|
241
|
-
"inlineSchema": "generator client {\n provider = \"prisma-client-js\"\n output = \"../src/generated\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL\") // uses connection pooling\n // directUrl = env(\"POSTGRES_DIRECT_URL\") // uses a direct connection // not needed for prisma postgresql database\n}\n\nenum Status {\n UNEXPORTED\n EXPORTED\n}\n\nmodel Category {\n id String @id\n\n name String\n\n Articles Article[]\n\n createdAt DateTime @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n\n userId String @map(\"user_id\")\n\n @@unique([name, userId])\n @@map(\"categories\")\n}\n\nmodel Article {\n id String @id\n\n title String\n url String\n quote String?\n\n ogImageUrl String? @map(\"og_image_url\")\n ogTitle String? @map(\"og_title\")\n ogDescription String? @map(\"og_description\")\n\n Category Category @relation(fields: [categoryId], references: [id], onDelete: Cascade, onUpdate: Cascade)\n categoryId String @map(\"category_id\")\n\n status Status\n\n userId String @map(\"user_id\")\n\n createdAt DateTime @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n exportedAt DateTime? @map(\"exported_at\")\n\n @@unique([url, userId])\n @@map(\"articles\")\n}\n\nmodel Note {\n id String @id\n\n title String\n markdown String\n\n status Status\n\n userId String @map(\"user_id\")\n\n createdAt DateTime @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n exportedAt DateTime? @map(\"exported_at\")\n\n @@unique([title, userId])\n @@map(\"notes\")\n}\n\nmodel Image {\n id String @id\n\n path String\n contentType String @map(\"content_type\") // e.g.: image/jpeg, image/png\n fileSize Int? @map(\"file_size\") // byte\n width Int? // pixel\n height Int? // pixel\n tags String[]\n description String?\n\n status Status\n\n userId String @map(\"user_id\")\n\n createdAt DateTime @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n exportedAt DateTime? @map(\"exported_at\")\n\n @@unique([path, userId])\n @@map(\"images\")\n}\n\nmodel Book {\n id String @id\n ISBN String @map(\"isbn\")\n title String\n\n googleTitle String? @map(\"google_title\")\n googleSubTitle String? @map(\"google_subtitle\")\n googleAuthors String[] @map(\"google_authors\")\n googleDescription String? @map(\"google_description\")\n googleImgSrc String? @map(\"google_img_src\")\n googleHref String? @map(\"google_href\")\n\n markdown String?\n\n rating Int? // 1-5\n tags String[]\n\n status Status\n\n userId String @map(\"user_id\")\n\n createdAt DateTime @map(\"created_at\")\n updatedAt DateTime @updatedAt @map(\"updated_at\")\n exportedAt DateTime? @map(\"exported_at\")\n\n @@unique([ISBN, userId])\n @@map(\"books\")\n}\n",
|
|
242
|
-
"inlineSchemaHash": "8728a5c5069e9e0530f97e733a5fcee6bda99bbf0eab99769714ef9bd272854c",
|
|
243
|
-
"copyEngine": false
|
|
244
|
-
}
|
|
245
|
-
config.dirname = '/'
|
|
246
|
-
|
|
247
|
-
config.runtimeDataModel = JSON.parse("{\"models\":{\"Category\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"Articles\",\"kind\":\"object\",\"type\":\"Article\",\"relationName\":\"ArticleToCategory\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"user_id\"}],\"dbName\":\"categories\"},\"Article\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"title\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"url\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"quote\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"ogImageUrl\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"og_image_url\"},{\"name\":\"ogTitle\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"og_title\"},{\"name\":\"ogDescription\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"og_description\"},{\"name\":\"Category\",\"kind\":\"object\",\"type\":\"Category\",\"relationName\":\"ArticleToCategory\"},{\"name\":\"categoryId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"category_id\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"Status\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"user_id\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"exportedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"exported_at\"}],\"dbName\":\"articles\"},\"Note\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"title\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"markdown\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"Status\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"user_id\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"exportedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"exported_at\"}],\"dbName\":\"notes\"},\"Image\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"path\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"contentType\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"content_type\"},{\"name\":\"fileSize\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"file_size\"},{\"name\":\"width\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"height\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"tags\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"description\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"Status\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"user_id\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"exportedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"exported_at\"}],\"dbName\":\"images\"},\"Book\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"ISBN\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"isbn\"},{\"name\":\"title\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"googleTitle\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"google_title\"},{\"name\":\"googleSubTitle\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"google_subtitle\"},{\"name\":\"googleAuthors\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"google_authors\"},{\"name\":\"googleDescription\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"google_description\"},{\"name\":\"googleImgSrc\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"google_img_src\"},{\"name\":\"googleHref\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"google_href\"},{\"name\":\"markdown\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"rating\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"tags\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"status\",\"kind\":\"enum\",\"type\":\"Status\"},{\"name\":\"userId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"user_id\"},{\"name\":\"createdAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"created_at\"},{\"name\":\"updatedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"updated_at\"},{\"name\":\"exportedAt\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"exported_at\"}],\"dbName\":\"books\"}},\"enums\":{},\"types\":{}}")
|
|
248
|
-
defineDmmfProperty(exports.Prisma, config.runtimeDataModel)
|
|
249
|
-
config.engineWasm = undefined
|
|
250
|
-
config.compilerWasm = undefined
|
|
251
|
-
|
|
252
|
-
config.injectableEdgeEnv = () => ({
|
|
253
|
-
parsed: {
|
|
254
|
-
DATABASE_URL: typeof globalThis !== 'undefined' && globalThis['DATABASE_URL'] || typeof process !== 'undefined' && process.env && process.env.DATABASE_URL || undefined
|
|
255
|
-
}
|
|
256
|
-
})
|
|
257
|
-
|
|
258
|
-
if (typeof globalThis !== 'undefined' && globalThis['DEBUG'] || typeof process !== 'undefined' && process.env && process.env.DEBUG || undefined) {
|
|
259
|
-
Debug.enable(typeof globalThis !== 'undefined' && globalThis['DEBUG'] || typeof process !== 'undefined' && process.env && process.env.DEBUG || undefined)
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
const PrismaClient = getPrismaClient(config)
|
|
263
|
-
exports.PrismaClient = PrismaClient
|
|
264
|
-
Object.assign(exports, Prisma)
|
|
265
|
-
|