@gaialabs/core 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/client/client.d.ts +1 -0
  2. package/client/client.js +5 -0
  3. package/client/default.d.ts +1 -0
  4. package/client/default.js +5 -0
  5. package/client/edge.d.ts +1 -0
  6. package/client/edge.js +373 -0
  7. package/client/index-browser.js +399 -0
  8. package/client/index.d.ts +34222 -0
  9. package/client/index.js +373 -0
  10. package/client/package.json +144 -0
  11. package/client/query_compiler_fast_bg.js +2 -0
  12. package/client/query_compiler_fast_bg.wasm +0 -0
  13. package/client/query_compiler_fast_bg.wasm-base64.js +2 -0
  14. package/client/query_engine-windows.dll.node +0 -0
  15. package/client/query_engine_bg.js +2 -0
  16. package/client/query_engine_bg.wasm +0 -0
  17. package/client/runtime/client.d.ts +3358 -0
  18. package/client/runtime/client.js +86 -0
  19. package/client/runtime/edge-esm.js +35 -0
  20. package/client/runtime/edge.js +35 -0
  21. package/client/runtime/index-browser.d.ts +90 -0
  22. package/client/runtime/index-browser.js +6 -0
  23. package/client/runtime/library.d.ts +3982 -0
  24. package/client/runtime/library.js +147 -0
  25. package/client/runtime/react-native.js +84 -0
  26. package/client/runtime/wasm-compiler-edge.js +76 -0
  27. package/client/runtime/wasm-engine-edge.js +38 -0
  28. package/client/schema.prisma +404 -0
  29. package/client/wasm-edge-light-loader.mjs +5 -0
  30. package/client/wasm-worker-loader.mjs +5 -0
  31. package/client/wasm.d.ts +1 -0
  32. package/client/wasm.js +421 -0
  33. package/dist/index.cjs +1228 -424
  34. package/dist/index.cjs.map +1 -1
  35. package/dist/index.d.cts +1038 -347
  36. package/dist/index.d.cts.map +1 -0
  37. package/dist/index.d.mts +1038 -347
  38. package/dist/index.d.mts.map +1 -0
  39. package/dist/index.mjs +1225 -421
  40. package/dist/index.mjs.map +1 -1
  41. package/package.json +15 -1
  42. package/prisma.cjs +1 -0
  43. package/prisma.d.ts +1 -0
  44. package/prisma.mjs +9 -0
@@ -0,0 +1,399 @@
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
+ Decimal,
10
+ DbNull,
11
+ JsonNull,
12
+ AnyNull,
13
+ NullTypes,
14
+ makeStrictEnum,
15
+ Public,
16
+ getRuntime,
17
+ skip
18
+ } = require('./runtime/index-browser.js')
19
+
20
+
21
+ const Prisma = {}
22
+
23
+ exports.Prisma = Prisma
24
+ exports.$Enums = {}
25
+
26
+ /**
27
+ * Prisma Client JS version: 7.6.0
28
+ * Query Engine version: 75cbdc1eb7150937890ad5465d861175c6624711
29
+ */
30
+ Prisma.prismaVersion = {
31
+ client: "7.6.0",
32
+ engine: "75cbdc1eb7150937890ad5465d861175c6624711"
33
+ }
34
+
35
+ Prisma.PrismaClientKnownRequestError = () => {
36
+ const runtimeName = getRuntime().prettyName;
37
+ throw new Error(`PrismaClientKnownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
38
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
39
+ )};
40
+ Prisma.PrismaClientUnknownRequestError = () => {
41
+ const runtimeName = getRuntime().prettyName;
42
+ throw new Error(`PrismaClientUnknownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
43
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
44
+ )}
45
+ Prisma.PrismaClientRustPanicError = () => {
46
+ const runtimeName = getRuntime().prettyName;
47
+ throw new Error(`PrismaClientRustPanicError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
48
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
49
+ )}
50
+ Prisma.PrismaClientInitializationError = () => {
51
+ const runtimeName = getRuntime().prettyName;
52
+ throw new Error(`PrismaClientInitializationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
53
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
54
+ )}
55
+ Prisma.PrismaClientValidationError = () => {
56
+ const runtimeName = getRuntime().prettyName;
57
+ throw new Error(`PrismaClientValidationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
58
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
59
+ )}
60
+ Prisma.Decimal = Decimal
61
+
62
+ /**
63
+ * Re-export of sql-template-tag
64
+ */
65
+ Prisma.sql = () => {
66
+ const runtimeName = getRuntime().prettyName;
67
+ throw new Error(`sqltag is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
68
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
69
+ )}
70
+ Prisma.empty = () => {
71
+ const runtimeName = getRuntime().prettyName;
72
+ throw new Error(`empty is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
73
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
74
+ )}
75
+ Prisma.join = () => {
76
+ const runtimeName = getRuntime().prettyName;
77
+ throw new Error(`join is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
78
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
79
+ )}
80
+ Prisma.raw = () => {
81
+ const runtimeName = getRuntime().prettyName;
82
+ throw new Error(`raw is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
83
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
84
+ )}
85
+ Prisma.validator = Public.validator
86
+
87
+ /**
88
+ * Extensions
89
+ */
90
+ Prisma.getExtensionContext = () => {
91
+ const runtimeName = getRuntime().prettyName;
92
+ throw new Error(`Extensions.getExtensionContext is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
93
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
94
+ )}
95
+ Prisma.defineExtension = () => {
96
+ const runtimeName = getRuntime().prettyName;
97
+ throw new Error(`Extensions.defineExtension is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
98
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
99
+ )}
100
+
101
+ /**
102
+ * Shorthand utilities for JSON filtering
103
+ */
104
+ Prisma.DbNull = DbNull
105
+ Prisma.JsonNull = JsonNull
106
+ Prisma.AnyNull = AnyNull
107
+
108
+ Prisma.NullTypes = NullTypes
109
+
110
+
111
+
112
+ /**
113
+ * Enums
114
+ */
115
+
116
+ exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
117
+ ReadUncommitted: 'ReadUncommitted',
118
+ ReadCommitted: 'ReadCommitted',
119
+ RepeatableRead: 'RepeatableRead',
120
+ Serializable: 'Serializable'
121
+ });
122
+
123
+ exports.Prisma.PlatformScalarFieldEnum = {
124
+ id: 'id',
125
+ name: 'name',
126
+ meta: 'meta',
127
+ createdAt: 'createdAt',
128
+ updatedAt: 'updatedAt'
129
+ };
130
+
131
+ exports.Prisma.PlatformBranchScalarFieldEnum = {
132
+ id: 'id',
133
+ name: 'name',
134
+ version: 'version',
135
+ isActive: 'isActive',
136
+ notes: 'notes',
137
+ platformId: 'platformId',
138
+ addressingModes: 'addressingModes',
139
+ vectors: 'vectors',
140
+ types: 'types',
141
+ headers: 'headers',
142
+ createdAt: 'createdAt',
143
+ updatedAt: 'updatedAt'
144
+ };
145
+
146
+ exports.Prisma.DeveloperScalarFieldEnum = {
147
+ id: 'id',
148
+ name: 'name',
149
+ meta: 'meta',
150
+ createdAt: 'createdAt',
151
+ updatedAt: 'updatedAt'
152
+ };
153
+
154
+ exports.Prisma.RegionScalarFieldEnum = {
155
+ id: 'id',
156
+ name: 'name',
157
+ meta: 'meta',
158
+ createdAt: 'createdAt',
159
+ updatedAt: 'updatedAt'
160
+ };
161
+
162
+ exports.Prisma.GameScalarFieldEnum = {
163
+ id: 'id',
164
+ name: 'name',
165
+ meta: 'meta',
166
+ platformId: 'platformId',
167
+ createdAt: 'createdAt',
168
+ updatedAt: 'updatedAt'
169
+ };
170
+
171
+ exports.Prisma.GameDeveloperScalarFieldEnum = {
172
+ id: 'id',
173
+ gameId: 'gameId',
174
+ developerId: 'developerId',
175
+ createdAt: 'createdAt',
176
+ updatedAt: 'updatedAt'
177
+ };
178
+
179
+ exports.Prisma.GameRomScalarFieldEnum = {
180
+ id: 'id',
181
+ crc: 'crc',
182
+ meta: 'meta',
183
+ gameId: 'gameId',
184
+ regionId: 'regionId',
185
+ createdAt: 'createdAt',
186
+ updatedAt: 'updatedAt'
187
+ };
188
+
189
+ exports.Prisma.GameRomBranchScalarFieldEnum = {
190
+ id: 'id',
191
+ name: 'name',
192
+ version: 'version',
193
+ isActive: 'isActive',
194
+ notes: 'notes',
195
+ gameRomId: 'gameRomId',
196
+ platformBranchId: 'platformBranchId',
197
+ coplib: 'coplib',
198
+ config: 'config',
199
+ files: 'files',
200
+ blocks: 'blocks',
201
+ labels: 'labels',
202
+ rewrites: 'rewrites',
203
+ mnemonics: 'mnemonics',
204
+ overrides: 'overrides',
205
+ transforms: 'transforms',
206
+ strings: 'strings',
207
+ structs: 'structs',
208
+ groups: 'groups',
209
+ fileTypes: 'fileTypes',
210
+ createdAt: 'createdAt',
211
+ updatedAt: 'updatedAt'
212
+ };
213
+
214
+ exports.Prisma.GameRomArtifactScalarFieldEnum = {
215
+ id: 'id',
216
+ name: 'name',
217
+ type: 'type',
218
+ version: 'version',
219
+ crc: 'crc',
220
+ meta: 'meta',
221
+ gameRomId: 'gameRomId',
222
+ isText: 'isText',
223
+ text: 'text',
224
+ data: 'data',
225
+ createdAt: 'createdAt',
226
+ updatedAt: 'updatedAt'
227
+ };
228
+
229
+ exports.Prisma.GameRomBranchArtifactScalarFieldEnum = {
230
+ id: 'id',
231
+ branchId: 'branchId',
232
+ artifactId: 'artifactId'
233
+ };
234
+
235
+ exports.Prisma.BaseRomScalarFieldEnum = {
236
+ id: 'id',
237
+ name: 'name',
238
+ gameId: 'gameId',
239
+ gameRomId: 'gameRomId',
240
+ createdAt: 'createdAt',
241
+ updatedAt: 'updatedAt'
242
+ };
243
+
244
+ exports.Prisma.BaseRomBranchScalarFieldEnum = {
245
+ id: 'id',
246
+ name: 'name',
247
+ version: 'version',
248
+ isActive: 'isActive',
249
+ notes: 'notes',
250
+ baseRomId: 'baseRomId',
251
+ gameRomBranchId: 'gameRomBranchId',
252
+ createdAt: 'createdAt',
253
+ updatedAt: 'updatedAt'
254
+ };
255
+
256
+ exports.Prisma.BaseRomFileScalarFieldEnum = {
257
+ id: 'id',
258
+ name: 'name',
259
+ type: 'type',
260
+ version: 'version',
261
+ crc: 'crc',
262
+ meta: 'meta',
263
+ baseRomId: 'baseRomId',
264
+ isText: 'isText',
265
+ text: 'text',
266
+ data: 'data',
267
+ createdAt: 'createdAt',
268
+ updatedAt: 'updatedAt'
269
+ };
270
+
271
+ exports.Prisma.BaseRomBranchFileScalarFieldEnum = {
272
+ id: 'id',
273
+ branchId: 'branchId',
274
+ fileId: 'fileId'
275
+ };
276
+
277
+ exports.Prisma.ProjectScalarFieldEnum = {
278
+ id: 'id',
279
+ name: 'name',
280
+ meta: 'meta',
281
+ gameId: 'gameId',
282
+ baseRomId: 'baseRomId',
283
+ createdAt: 'createdAt',
284
+ updatedAt: 'updatedAt'
285
+ };
286
+
287
+ exports.Prisma.ProjectBranchScalarFieldEnum = {
288
+ id: 'id',
289
+ name: 'name',
290
+ version: 'version',
291
+ isActive: 'isActive',
292
+ notes: 'notes',
293
+ projectId: 'projectId',
294
+ baseRomBranchId: 'baseRomBranchId',
295
+ modules: 'modules',
296
+ createdAt: 'createdAt',
297
+ updatedAt: 'updatedAt'
298
+ };
299
+
300
+ exports.Prisma.ProjectFileScalarFieldEnum = {
301
+ id: 'id',
302
+ name: 'name',
303
+ type: 'type',
304
+ module: 'module',
305
+ version: 'version',
306
+ crc: 'crc',
307
+ meta: 'meta',
308
+ projectId: 'projectId',
309
+ isText: 'isText',
310
+ text: 'text',
311
+ data: 'data',
312
+ createdAt: 'createdAt',
313
+ updatedAt: 'updatedAt'
314
+ };
315
+
316
+ exports.Prisma.ProjectBranchFileScalarFieldEnum = {
317
+ id: 'id',
318
+ branchId: 'branchId',
319
+ fileId: 'fileId'
320
+ };
321
+
322
+ exports.Prisma.SortOrder = {
323
+ asc: 'asc',
324
+ desc: 'desc'
325
+ };
326
+
327
+ exports.Prisma.NullableJsonNullValueInput = {
328
+ DbNull: Prisma.DbNull,
329
+ JsonNull: Prisma.JsonNull
330
+ };
331
+
332
+ exports.Prisma.QueryMode = {
333
+ default: 'default',
334
+ insensitive: 'insensitive'
335
+ };
336
+
337
+ exports.Prisma.JsonNullValueFilter = {
338
+ DbNull: Prisma.DbNull,
339
+ JsonNull: Prisma.JsonNull,
340
+ AnyNull: Prisma.AnyNull
341
+ };
342
+
343
+ exports.Prisma.NullsOrder = {
344
+ first: 'first',
345
+ last: 'last'
346
+ };
347
+
348
+
349
+ exports.Prisma.ModelName = {
350
+ Platform: 'Platform',
351
+ PlatformBranch: 'PlatformBranch',
352
+ Developer: 'Developer',
353
+ Region: 'Region',
354
+ Game: 'Game',
355
+ GameDeveloper: 'GameDeveloper',
356
+ GameRom: 'GameRom',
357
+ GameRomBranch: 'GameRomBranch',
358
+ GameRomArtifact: 'GameRomArtifact',
359
+ GameRomBranchArtifact: 'GameRomBranchArtifact',
360
+ BaseRom: 'BaseRom',
361
+ BaseRomBranch: 'BaseRomBranch',
362
+ BaseRomFile: 'BaseRomFile',
363
+ BaseRomBranchFile: 'BaseRomBranchFile',
364
+ Project: 'Project',
365
+ ProjectBranch: 'ProjectBranch',
366
+ ProjectFile: 'ProjectFile',
367
+ ProjectBranchFile: 'ProjectBranchFile'
368
+ };
369
+
370
+ /**
371
+ * This is a stub Prisma Client that will error at runtime if called.
372
+ */
373
+ class PrismaClient {
374
+ constructor() {
375
+ return new Proxy(this, {
376
+ get(target, prop) {
377
+ let message
378
+ const runtime = getRuntime()
379
+ if (runtime.isEdge) {
380
+ message = `PrismaClient is not configured to run in ${runtime.prettyName}. In order to run Prisma Client on edge runtime, either:
381
+ - Use Prisma Accelerate: https://pris.ly/d/accelerate
382
+ - Use Driver Adapters: https://pris.ly/d/driver-adapters
383
+ `;
384
+ } else {
385
+ message = 'PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `' + runtime.prettyName + '`).'
386
+ }
387
+
388
+ message += `
389
+ If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
390
+
391
+ throw new Error(message)
392
+ }
393
+ })
394
+ }
395
+ }
396
+
397
+ exports.PrismaClient = PrismaClient
398
+
399
+ Object.assign(exports, Prisma)