@danielcok17/prisma-db 1.9.0 → 1.10.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 +3 -2
- package/prisma/law.prisma +45 -47
- package/prisma/generated/app/client.d.ts +0 -1
- package/prisma/generated/app/client.js +0 -4
- package/prisma/generated/app/default.d.ts +0 -1
- package/prisma/generated/app/default.js +0 -4
- package/prisma/generated/app/edge.d.ts +0 -1
- package/prisma/generated/app/edge.js +0 -768
- package/prisma/generated/app/index-browser.js +0 -750
- package/prisma/generated/app/index.d.ts +0 -63852
- package/prisma/generated/app/index.js +0 -793
- package/prisma/generated/app/libquery_engine-darwin-arm64.dylib.node +0 -0
- package/prisma/generated/app/libquery_engine-linux-musl-openssl-3.0.x.so.node +0 -0
- package/prisma/generated/app/package.json +0 -183
- package/prisma/generated/app/query_engine_bg.js +0 -2
- package/prisma/generated/app/query_engine_bg.wasm +0 -0
- package/prisma/generated/app/runtime/edge-esm.js +0 -34
- package/prisma/generated/app/runtime/edge.js +0 -34
- package/prisma/generated/app/runtime/index-browser.d.ts +0 -370
- package/prisma/generated/app/runtime/index-browser.js +0 -16
- package/prisma/generated/app/runtime/library.d.ts +0 -3977
- package/prisma/generated/app/runtime/library.js +0 -146
- package/prisma/generated/app/runtime/react-native.js +0 -83
- package/prisma/generated/app/runtime/wasm-compiler-edge.js +0 -84
- package/prisma/generated/app/runtime/wasm-engine-edge.js +0 -36
- package/prisma/generated/app/schema.prisma +0 -941
- package/prisma/generated/app/wasm-edge-light-loader.mjs +0 -4
- package/prisma/generated/app/wasm-worker-loader.mjs +0 -4
- package/prisma/generated/app/wasm.d.ts +0 -1
- package/prisma/generated/app/wasm.js +0 -775
- package/prisma/generated/law/client.d.ts +0 -1
- package/prisma/generated/law/client.js +0 -4
- package/prisma/generated/law/default.d.ts +0 -1
- package/prisma/generated/law/default.js +0 -4
- package/prisma/generated/law/edge.d.ts +0 -1
- package/prisma/generated/law/edge.js +0 -256
- package/prisma/generated/law/index-browser.js +0 -238
- package/prisma/generated/law/index.d.ts +0 -6868
- package/prisma/generated/law/index.js +0 -281
- package/prisma/generated/law/libquery_engine-darwin-arm64.dylib.node +0 -0
- package/prisma/generated/law/libquery_engine-linux-musl-openssl-3.0.x.so.node +0 -0
- package/prisma/generated/law/package.json +0 -183
- package/prisma/generated/law/query_engine_bg.js +0 -2
- package/prisma/generated/law/query_engine_bg.wasm +0 -0
- package/prisma/generated/law/runtime/edge-esm.js +0 -34
- package/prisma/generated/law/runtime/edge.js +0 -34
- package/prisma/generated/law/runtime/index-browser.d.ts +0 -370
- package/prisma/generated/law/runtime/index-browser.js +0 -16
- package/prisma/generated/law/runtime/library.d.ts +0 -3977
- package/prisma/generated/law/runtime/library.js +0 -146
- package/prisma/generated/law/runtime/react-native.js +0 -83
- package/prisma/generated/law/runtime/wasm-compiler-edge.js +0 -84
- package/prisma/generated/law/runtime/wasm-engine-edge.js +0 -36
- package/prisma/generated/law/schema.prisma +0 -82
- package/prisma/generated/law/wasm-edge-light-loader.mjs +0 -4
- package/prisma/generated/law/wasm-worker-loader.mjs +0 -4
- package/prisma/generated/law/wasm.d.ts +0 -1
- package/prisma/generated/law/wasm.js +0 -263
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/* !!! This is code generated by Prisma. Do not edit directly. !!!
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
|
|
7
|
-
const {
|
|
8
|
-
PrismaClientKnownRequestError,
|
|
9
|
-
PrismaClientUnknownRequestError,
|
|
10
|
-
PrismaClientRustPanicError,
|
|
11
|
-
PrismaClientInitializationError,
|
|
12
|
-
PrismaClientValidationError,
|
|
13
|
-
getPrismaClient,
|
|
14
|
-
sqltag,
|
|
15
|
-
empty,
|
|
16
|
-
join,
|
|
17
|
-
raw,
|
|
18
|
-
skip,
|
|
19
|
-
Decimal,
|
|
20
|
-
Debug,
|
|
21
|
-
objectEnumValues,
|
|
22
|
-
makeStrictEnum,
|
|
23
|
-
Extensions,
|
|
24
|
-
warnOnce,
|
|
25
|
-
defineDmmfProperty,
|
|
26
|
-
Public,
|
|
27
|
-
getRuntime,
|
|
28
|
-
createParam,
|
|
29
|
-
} = require('./runtime/wasm-engine-edge.js')
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
const Prisma = {}
|
|
33
|
-
|
|
34
|
-
exports.Prisma = Prisma
|
|
35
|
-
exports.$Enums = {}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Prisma Client JS version: 6.17.0
|
|
39
|
-
* Query Engine version: c0aafc03b8ef6cdced8654b9a817999e02457d6a
|
|
40
|
-
*/
|
|
41
|
-
Prisma.prismaVersion = {
|
|
42
|
-
client: "6.17.0",
|
|
43
|
-
engine: "c0aafc03b8ef6cdced8654b9a817999e02457d6a"
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
Prisma.PrismaClientKnownRequestError = PrismaClientKnownRequestError;
|
|
47
|
-
Prisma.PrismaClientUnknownRequestError = PrismaClientUnknownRequestError
|
|
48
|
-
Prisma.PrismaClientRustPanicError = PrismaClientRustPanicError
|
|
49
|
-
Prisma.PrismaClientInitializationError = PrismaClientInitializationError
|
|
50
|
-
Prisma.PrismaClientValidationError = PrismaClientValidationError
|
|
51
|
-
Prisma.Decimal = Decimal
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Re-export of sql-template-tag
|
|
55
|
-
*/
|
|
56
|
-
Prisma.sql = sqltag
|
|
57
|
-
Prisma.empty = empty
|
|
58
|
-
Prisma.join = join
|
|
59
|
-
Prisma.raw = raw
|
|
60
|
-
Prisma.validator = Public.validator
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Extensions
|
|
64
|
-
*/
|
|
65
|
-
Prisma.getExtensionContext = Extensions.getExtensionContext
|
|
66
|
-
Prisma.defineExtension = Extensions.defineExtension
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* Shorthand utilities for JSON filtering
|
|
70
|
-
*/
|
|
71
|
-
Prisma.DbNull = objectEnumValues.instances.DbNull
|
|
72
|
-
Prisma.JsonNull = objectEnumValues.instances.JsonNull
|
|
73
|
-
Prisma.AnyNull = objectEnumValues.instances.AnyNull
|
|
74
|
-
|
|
75
|
-
Prisma.NullTypes = {
|
|
76
|
-
DbNull: objectEnumValues.classes.DbNull,
|
|
77
|
-
JsonNull: objectEnumValues.classes.JsonNull,
|
|
78
|
-
AnyNull: objectEnumValues.classes.AnyNull
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* Enums
|
|
87
|
-
*/
|
|
88
|
-
exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
|
|
89
|
-
ReadUncommitted: 'ReadUncommitted',
|
|
90
|
-
ReadCommitted: 'ReadCommitted',
|
|
91
|
-
RepeatableRead: 'RepeatableRead',
|
|
92
|
-
Serializable: 'Serializable'
|
|
93
|
-
});
|
|
94
|
-
|
|
95
|
-
exports.Prisma.LawVersionScalarFieldEnum = {
|
|
96
|
-
id: 'id',
|
|
97
|
-
lawId: 'lawId',
|
|
98
|
-
lawName: 'lawName',
|
|
99
|
-
versionNumber: 'versionNumber',
|
|
100
|
-
lawUrl: 'lawUrl',
|
|
101
|
-
isLawVersionEffective: 'isLawVersionEffective',
|
|
102
|
-
isAmendment: 'isAmendment',
|
|
103
|
-
fullLawId: 'fullLawId',
|
|
104
|
-
approvalDate: 'approvalDate',
|
|
105
|
-
publicationDate: 'publicationDate',
|
|
106
|
-
effectiveFrom: 'effectiveFrom',
|
|
107
|
-
effectiveUntil: 'effectiveUntil',
|
|
108
|
-
author: 'author',
|
|
109
|
-
fullLawHtml: 'fullLawHtml',
|
|
110
|
-
fullLaw: 'fullLaw',
|
|
111
|
-
legalAreas: 'legalAreas',
|
|
112
|
-
publishedIn: 'publishedIn',
|
|
113
|
-
relationships: 'relationships'
|
|
114
|
-
};
|
|
115
|
-
|
|
116
|
-
exports.Prisma.LawAttachmentScalarFieldEnum = {
|
|
117
|
-
id: 'id',
|
|
118
|
-
name: 'name',
|
|
119
|
-
attachmentId: 'attachmentId',
|
|
120
|
-
content: 'content',
|
|
121
|
-
lawVersionId: 'lawVersionId'
|
|
122
|
-
};
|
|
123
|
-
|
|
124
|
-
exports.Prisma.VersionParagraphScalarFieldEnum = {
|
|
125
|
-
id: 'id',
|
|
126
|
-
paragraphId: 'paragraphId',
|
|
127
|
-
versionId: 'versionId',
|
|
128
|
-
sequenceNumber: 'sequenceNumber',
|
|
129
|
-
text: 'text',
|
|
130
|
-
fullText: 'fullText',
|
|
131
|
-
fullTextWithCitations: 'fullTextWithCitations',
|
|
132
|
-
embedding: 'embedding',
|
|
133
|
-
partId: 'partId',
|
|
134
|
-
partName: 'partName',
|
|
135
|
-
chapterId: 'chapterId',
|
|
136
|
-
chapterName: 'chapterName',
|
|
137
|
-
divisionId: 'divisionId',
|
|
138
|
-
divisionName: 'divisionName',
|
|
139
|
-
sectionId: 'sectionId',
|
|
140
|
-
sectionName: 'sectionName',
|
|
141
|
-
paragraphPath: 'paragraphPath',
|
|
142
|
-
paragraphGroupName: 'paragraphGroupName',
|
|
143
|
-
isAmendment: 'isAmendment',
|
|
144
|
-
validFrom: 'validFrom',
|
|
145
|
-
validTo: 'validTo'
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
exports.Prisma.SortOrder = {
|
|
149
|
-
asc: 'asc',
|
|
150
|
-
desc: 'desc'
|
|
151
|
-
};
|
|
152
|
-
|
|
153
|
-
exports.Prisma.NullableJsonNullValueInput = {
|
|
154
|
-
DbNull: Prisma.DbNull,
|
|
155
|
-
JsonNull: Prisma.JsonNull
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
exports.Prisma.QueryMode = {
|
|
159
|
-
default: 'default',
|
|
160
|
-
insensitive: 'insensitive'
|
|
161
|
-
};
|
|
162
|
-
|
|
163
|
-
exports.Prisma.JsonNullValueFilter = {
|
|
164
|
-
DbNull: Prisma.DbNull,
|
|
165
|
-
JsonNull: Prisma.JsonNull,
|
|
166
|
-
AnyNull: Prisma.AnyNull
|
|
167
|
-
};
|
|
168
|
-
|
|
169
|
-
exports.Prisma.NullsOrder = {
|
|
170
|
-
first: 'first',
|
|
171
|
-
last: 'last'
|
|
172
|
-
};
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
exports.Prisma.ModelName = {
|
|
176
|
-
LawVersion: 'LawVersion',
|
|
177
|
-
LawAttachment: 'LawAttachment',
|
|
178
|
-
VersionParagraph: 'VersionParagraph'
|
|
179
|
-
};
|
|
180
|
-
/**
|
|
181
|
-
* Create the Client
|
|
182
|
-
*/
|
|
183
|
-
const config = {
|
|
184
|
-
"generator": {
|
|
185
|
-
"name": "client",
|
|
186
|
-
"provider": {
|
|
187
|
-
"fromEnvVar": null,
|
|
188
|
-
"value": "prisma-client-js"
|
|
189
|
-
},
|
|
190
|
-
"output": {
|
|
191
|
-
"value": "/Users/danielcok/Solty/AI Solutions/legal-ai-prisma-db/prisma/generated/law",
|
|
192
|
-
"fromEnvVar": null
|
|
193
|
-
},
|
|
194
|
-
"config": {
|
|
195
|
-
"engineType": "library"
|
|
196
|
-
},
|
|
197
|
-
"binaryTargets": [
|
|
198
|
-
{
|
|
199
|
-
"fromEnvVar": null,
|
|
200
|
-
"value": "darwin-arm64",
|
|
201
|
-
"native": true
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
"fromEnvVar": null,
|
|
205
|
-
"value": "linux-musl-openssl-3.0.x"
|
|
206
|
-
}
|
|
207
|
-
],
|
|
208
|
-
"previewFeatures": [],
|
|
209
|
-
"sourceFilePath": "/Users/danielcok/Solty/AI Solutions/legal-ai-prisma-db/prisma/law.prisma",
|
|
210
|
-
"isCustomOutput": true
|
|
211
|
-
},
|
|
212
|
-
"relativeEnvPaths": {
|
|
213
|
-
"rootEnvPath": null,
|
|
214
|
-
"schemaEnvPath": "../../../.env"
|
|
215
|
-
},
|
|
216
|
-
"relativePath": "../..",
|
|
217
|
-
"clientVersion": "6.17.0",
|
|
218
|
-
"engineVersion": "c0aafc03b8ef6cdced8654b9a817999e02457d6a",
|
|
219
|
-
"datasourceNames": [
|
|
220
|
-
"db"
|
|
221
|
-
],
|
|
222
|
-
"activeProvider": "postgresql",
|
|
223
|
-
"postinstall": false,
|
|
224
|
-
"inlineDatasources": {
|
|
225
|
-
"db": {
|
|
226
|
-
"url": {
|
|
227
|
-
"fromEnvVar": "POSTGRES_PRISMA_URL_LAW",
|
|
228
|
-
"value": null
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
},
|
|
232
|
-
"inlineSchema": "generator client {\n provider = \"prisma-client-js\"\n output = \"./generated/law\"\n binaryTargets = [\"native\", \"linux-musl-openssl-3.0.x\"]\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"POSTGRES_PRISMA_URL_LAW\")\n directUrl = env(\"POSTGRES_URL_NON_POOLING_LAW\")\n schemas = [\"public\"]\n}\n\n/// Existing public tables (read-only recommended). Validate nullability via introspection.\nmodel LawVersion {\n id String @id\n lawId String? @map(\"lawid\")\n lawName String? @map(\"lawname\")\n versionNumber String? @map(\"versionnumber\")\n lawUrl String? @map(\"lawurl\")\n isLawVersionEffective Boolean? @map(\"islawversioneffective\")\n isAmendment Boolean? @map(\"isamendment\")\n fullLawId String? @map(\"fulllawid\")\n approvalDate DateTime? @map(\"approvaldate\")\n publicationDate DateTime? @map(\"publicationdate\")\n effectiveFrom DateTime? @map(\"effectivefrom\")\n effectiveUntil DateTime? @map(\"effectiveuntil\")\n author String?\n fullLawHtml String? @map(\"fulllawhtml\")\n fullLaw String? @map(\"fulllaw\")\n legalAreas Json? @map(\"legalareas\")\n publishedIn Json? @map(\"publishedin\")\n relationships Json? @map(\"relationships\")\n\n attachments LawAttachment[]\n paragraphs VersionParagraph[]\n\n @@map(\"law_versions\")\n @@schema(\"public\")\n}\n\nmodel LawAttachment {\n id Int @id\n name String?\n attachmentId String? @map(\"attachmentid\")\n content String?\n lawVersionId String @map(\"lawversionid\")\n\n lawVersion LawVersion @relation(fields: [lawVersionId], references: [id])\n\n @@map(\"law_attachments\")\n @@schema(\"public\")\n}\n\nmodel VersionParagraph {\n id Int @id\n paragraphId String? @map(\"paragraph_id\")\n versionId String @map(\"version_id\")\n sequenceNumber Int? @map(\"sequence_number\")\n text String?\n fullText String? @map(\"full_text\")\n fullTextWithCitations String? @map(\"full_text_with_citations\")\n embedding Json?\n partId String? @map(\"part_id\")\n partName String? @map(\"part_name\")\n chapterId String? @map(\"chapter_id\")\n chapterName String? @map(\"chapter_name\")\n divisionId String? @map(\"division_id\")\n divisionName String? @map(\"division_name\")\n sectionId String? @map(\"section_id\")\n sectionName String? @map(\"section_name\")\n paragraphPath String? @map(\"paragraph_path\")\n paragraphGroupName String? @map(\"paragraph_group_name\")\n isAmendment Boolean? @map(\"is_amendment\")\n validFrom DateTime? @map(\"valid_from\")\n validTo DateTime? @map(\"valid_to\")\n\n lawVersion LawVersion @relation(fields: [versionId], references: [id])\n\n @@map(\"version_paragraphs\")\n @@schema(\"public\")\n}\n",
|
|
233
|
-
"inlineSchemaHash": "5e7978877ab7bde8da2bb99a15d195f0272bd753b7bfb2d9da6aa9007a9220cc",
|
|
234
|
-
"copyEngine": true
|
|
235
|
-
}
|
|
236
|
-
config.dirname = '/'
|
|
237
|
-
|
|
238
|
-
config.runtimeDataModel = JSON.parse("{\"models\":{\"LawVersion\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"lawId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"lawid\"},{\"name\":\"lawName\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"lawname\"},{\"name\":\"versionNumber\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"versionnumber\"},{\"name\":\"lawUrl\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"lawurl\"},{\"name\":\"isLawVersionEffective\",\"kind\":\"scalar\",\"type\":\"Boolean\",\"dbName\":\"islawversioneffective\"},{\"name\":\"isAmendment\",\"kind\":\"scalar\",\"type\":\"Boolean\",\"dbName\":\"isamendment\"},{\"name\":\"fullLawId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"fulllawid\"},{\"name\":\"approvalDate\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"approvaldate\"},{\"name\":\"publicationDate\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"publicationdate\"},{\"name\":\"effectiveFrom\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"effectivefrom\"},{\"name\":\"effectiveUntil\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"effectiveuntil\"},{\"name\":\"author\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"fullLawHtml\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"fulllawhtml\"},{\"name\":\"fullLaw\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"fulllaw\"},{\"name\":\"legalAreas\",\"kind\":\"scalar\",\"type\":\"Json\",\"dbName\":\"legalareas\"},{\"name\":\"publishedIn\",\"kind\":\"scalar\",\"type\":\"Json\",\"dbName\":\"publishedin\"},{\"name\":\"relationships\",\"kind\":\"scalar\",\"type\":\"Json\",\"dbName\":\"relationships\"},{\"name\":\"attachments\",\"kind\":\"object\",\"type\":\"LawAttachment\",\"relationName\":\"LawAttachmentToLawVersion\"},{\"name\":\"paragraphs\",\"kind\":\"object\",\"type\":\"VersionParagraph\",\"relationName\":\"LawVersionToVersionParagraph\"}],\"dbName\":\"law_versions\"},\"LawAttachment\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"name\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"attachmentId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"attachmentid\"},{\"name\":\"content\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"lawVersionId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"lawversionid\"},{\"name\":\"lawVersion\",\"kind\":\"object\",\"type\":\"LawVersion\",\"relationName\":\"LawAttachmentToLawVersion\"}],\"dbName\":\"law_attachments\"},\"VersionParagraph\":{\"fields\":[{\"name\":\"id\",\"kind\":\"scalar\",\"type\":\"Int\"},{\"name\":\"paragraphId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"paragraph_id\"},{\"name\":\"versionId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"version_id\"},{\"name\":\"sequenceNumber\",\"kind\":\"scalar\",\"type\":\"Int\",\"dbName\":\"sequence_number\"},{\"name\":\"text\",\"kind\":\"scalar\",\"type\":\"String\"},{\"name\":\"fullText\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"full_text\"},{\"name\":\"fullTextWithCitations\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"full_text_with_citations\"},{\"name\":\"embedding\",\"kind\":\"scalar\",\"type\":\"Json\"},{\"name\":\"partId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"part_id\"},{\"name\":\"partName\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"part_name\"},{\"name\":\"chapterId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"chapter_id\"},{\"name\":\"chapterName\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"chapter_name\"},{\"name\":\"divisionId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"division_id\"},{\"name\":\"divisionName\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"division_name\"},{\"name\":\"sectionId\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"section_id\"},{\"name\":\"sectionName\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"section_name\"},{\"name\":\"paragraphPath\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"paragraph_path\"},{\"name\":\"paragraphGroupName\",\"kind\":\"scalar\",\"type\":\"String\",\"dbName\":\"paragraph_group_name\"},{\"name\":\"isAmendment\",\"kind\":\"scalar\",\"type\":\"Boolean\",\"dbName\":\"is_amendment\"},{\"name\":\"validFrom\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"valid_from\"},{\"name\":\"validTo\",\"kind\":\"scalar\",\"type\":\"DateTime\",\"dbName\":\"valid_to\"},{\"name\":\"lawVersion\",\"kind\":\"object\",\"type\":\"LawVersion\",\"relationName\":\"LawVersionToVersionParagraph\"}],\"dbName\":\"version_paragraphs\"}},\"enums\":{},\"types\":{}}")
|
|
239
|
-
defineDmmfProperty(exports.Prisma, config.runtimeDataModel)
|
|
240
|
-
config.engineWasm = {
|
|
241
|
-
getRuntime: async () => require('./query_engine_bg.js'),
|
|
242
|
-
getQueryEngineWasmModule: async () => {
|
|
243
|
-
const loader = (await import('#wasm-engine-loader')).default
|
|
244
|
-
const engine = (await loader).default
|
|
245
|
-
return engine
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
config.compilerWasm = undefined
|
|
249
|
-
|
|
250
|
-
config.injectableEdgeEnv = () => ({
|
|
251
|
-
parsed: {
|
|
252
|
-
POSTGRES_PRISMA_URL_LAW: typeof globalThis !== 'undefined' && globalThis['POSTGRES_PRISMA_URL_LAW'] || typeof process !== 'undefined' && process.env && process.env.POSTGRES_PRISMA_URL_LAW || undefined
|
|
253
|
-
}
|
|
254
|
-
})
|
|
255
|
-
|
|
256
|
-
if (typeof globalThis !== 'undefined' && globalThis['DEBUG'] || typeof process !== 'undefined' && process.env && process.env.DEBUG || undefined) {
|
|
257
|
-
Debug.enable(typeof globalThis !== 'undefined' && globalThis['DEBUG'] || typeof process !== 'undefined' && process.env && process.env.DEBUG || undefined)
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
const PrismaClient = getPrismaClient(config)
|
|
261
|
-
exports.PrismaClient = PrismaClient
|
|
262
|
-
Object.assign(exports, Prisma)
|
|
263
|
-
|