@a_team/prisma 2.1.14 → 2.1.20-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/default.d.ts +1 -1
- package/dist/client/edge.d.ts +1 -1
- package/dist/client/edge.js +13 -11
- package/dist/client/index-browser.js +7 -4
- package/dist/client/index.d.ts +10 -46
- package/dist/client/index.js +13 -11
- package/dist/client/libquery_engine-darwin-arm64.dylib.node +0 -0
- package/dist/client/libquery_engine-darwin.dylib.node +0 -0
- package/dist/client/libquery_engine-linux-musl-openssl-3.0.x.so.node +0 -0
- package/dist/client/package.json +14 -1
- package/dist/client/query_engine-windows.dll.node +0 -0
- package/dist/client/runtime/edge-esm.js +18 -18
- package/dist/client/runtime/edge.js +18 -18
- package/dist/client/runtime/library.d.ts +148 -18
- package/dist/client/runtime/library.js +53 -53
- package/dist/client/runtime/react-native.js +26 -26
- package/dist/client/runtime/wasm.js +17 -17
- package/dist/client/wasm.d.ts +1 -1
- package/dist/client/wasm.js +7 -4
- package/package.json +8 -2
package/dist/client/default.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./index"
|
package/dist/client/edge.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./default"
|
package/dist/client/edge.js
CHANGED
|
@@ -13,6 +13,7 @@ const {
|
|
|
13
13
|
empty,
|
|
14
14
|
join,
|
|
15
15
|
raw,
|
|
16
|
+
skip,
|
|
16
17
|
Decimal,
|
|
17
18
|
Debug,
|
|
18
19
|
objectEnumValues,
|
|
@@ -31,12 +32,12 @@ exports.Prisma = Prisma
|
|
|
31
32
|
exports.$Enums = {}
|
|
32
33
|
|
|
33
34
|
/**
|
|
34
|
-
* Prisma Client JS version: 5.
|
|
35
|
-
* Query Engine version:
|
|
35
|
+
* Prisma Client JS version: 5.22.0
|
|
36
|
+
* Query Engine version: 605197351a3c8bdd595af2d2a9bc3025bca48ea2
|
|
36
37
|
*/
|
|
37
38
|
Prisma.prismaVersion = {
|
|
38
|
-
client: "5.
|
|
39
|
-
engine: "
|
|
39
|
+
client: "5.22.0",
|
|
40
|
+
engine: "605197351a3c8bdd595af2d2a9bc3025bca48ea2"
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
Prisma.PrismaClientKnownRequestError = PrismaClientKnownRequestError;
|
|
@@ -77,6 +78,8 @@ Prisma.NullTypes = {
|
|
|
77
78
|
|
|
78
79
|
|
|
79
80
|
|
|
81
|
+
|
|
82
|
+
|
|
80
83
|
/**
|
|
81
84
|
* Enums
|
|
82
85
|
*/
|
|
@@ -336,7 +339,7 @@ const config = {
|
|
|
336
339
|
"value": "prisma-client-js"
|
|
337
340
|
},
|
|
338
341
|
"output": {
|
|
339
|
-
"value": "/Users/
|
|
342
|
+
"value": "/Users/masha/Desktop/ateam/prisma/src/client",
|
|
340
343
|
"fromEnvVar": null
|
|
341
344
|
},
|
|
342
345
|
"config": {
|
|
@@ -368,16 +371,15 @@ const config = {
|
|
|
368
371
|
"previewFeatures": [
|
|
369
372
|
"prismaSchemaFolder"
|
|
370
373
|
],
|
|
371
|
-
"sourceFilePath": "/Users/
|
|
374
|
+
"sourceFilePath": "/Users/masha/Desktop/ateam/prisma/prisma/schema/schema.prisma",
|
|
372
375
|
"isCustomOutput": true
|
|
373
376
|
},
|
|
374
377
|
"relativeEnvPaths": {
|
|
375
|
-
"rootEnvPath": null
|
|
376
|
-
"schemaEnvPath": "../../.env"
|
|
378
|
+
"rootEnvPath": null
|
|
377
379
|
},
|
|
378
|
-
"relativePath": "../../prisma",
|
|
379
|
-
"clientVersion": "5.
|
|
380
|
-
"engineVersion": "
|
|
380
|
+
"relativePath": "../../prisma/schema",
|
|
381
|
+
"clientVersion": "5.22.0",
|
|
382
|
+
"engineVersion": "605197351a3c8bdd595af2d2a9bc3025bca48ea2",
|
|
381
383
|
"datasourceNames": [
|
|
382
384
|
"db"
|
|
383
385
|
],
|
|
@@ -7,6 +7,7 @@ const {
|
|
|
7
7
|
makeStrictEnum,
|
|
8
8
|
Public,
|
|
9
9
|
getRuntime,
|
|
10
|
+
skip
|
|
10
11
|
} = require('./runtime/index-browser.js')
|
|
11
12
|
|
|
12
13
|
|
|
@@ -16,12 +17,12 @@ exports.Prisma = Prisma
|
|
|
16
17
|
exports.$Enums = {}
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
|
-
* Prisma Client JS version: 5.
|
|
20
|
-
* Query Engine version:
|
|
20
|
+
* Prisma Client JS version: 5.22.0
|
|
21
|
+
* Query Engine version: 605197351a3c8bdd595af2d2a9bc3025bca48ea2
|
|
21
22
|
*/
|
|
22
23
|
Prisma.prismaVersion = {
|
|
23
|
-
client: "5.
|
|
24
|
-
engine: "
|
|
24
|
+
client: "5.22.0",
|
|
25
|
+
engine: "605197351a3c8bdd595af2d2a9bc3025bca48ea2"
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
Prisma.PrismaClientKnownRequestError = () => {
|
|
@@ -108,6 +109,8 @@ Prisma.NullTypes = {
|
|
|
108
109
|
AnyNull: objectEnumValues.classes.AnyNull
|
|
109
110
|
}
|
|
110
111
|
|
|
112
|
+
|
|
113
|
+
|
|
111
114
|
/**
|
|
112
115
|
* Enums
|
|
113
116
|
*/
|
package/dist/client/index.d.ts
CHANGED
|
@@ -539,6 +539,8 @@ export namespace Prisma {
|
|
|
539
539
|
export import raw = runtime.raw
|
|
540
540
|
export import Sql = runtime.Sql
|
|
541
541
|
|
|
542
|
+
|
|
543
|
+
|
|
542
544
|
/**
|
|
543
545
|
* Decimal.js
|
|
544
546
|
*/
|
|
@@ -565,8 +567,8 @@ export namespace Prisma {
|
|
|
565
567
|
export import Exact = $Public.Exact
|
|
566
568
|
|
|
567
569
|
/**
|
|
568
|
-
* Prisma Client JS version: 5.
|
|
569
|
-
* Query Engine version:
|
|
570
|
+
* Prisma Client JS version: 5.22.0
|
|
571
|
+
* Query Engine version: 605197351a3c8bdd595af2d2a9bc3025bca48ea2
|
|
570
572
|
*/
|
|
571
573
|
export type PrismaVersion = {
|
|
572
574
|
client: string
|
|
@@ -578,51 +580,13 @@ export namespace Prisma {
|
|
|
578
580
|
* Utility Types
|
|
579
581
|
*/
|
|
580
582
|
|
|
581
|
-
/**
|
|
582
|
-
* From https://github.com/sindresorhus/type-fest/
|
|
583
|
-
* Matches a JSON object.
|
|
584
|
-
* This type can be useful to enforce some input to be JSON-compatible or as a super-type to be extended from.
|
|
585
|
-
*/
|
|
586
|
-
export type JsonObject = {[Key in string]?: JsonValue}
|
|
587
|
-
|
|
588
|
-
/**
|
|
589
|
-
* From https://github.com/sindresorhus/type-fest/
|
|
590
|
-
* Matches a JSON array.
|
|
591
|
-
*/
|
|
592
|
-
export interface JsonArray extends Array<JsonValue> {}
|
|
593
|
-
|
|
594
|
-
/**
|
|
595
|
-
* From https://github.com/sindresorhus/type-fest/
|
|
596
|
-
* Matches any valid JSON value.
|
|
597
|
-
*/
|
|
598
|
-
export type JsonValue = string | number | boolean | JsonObject | JsonArray | null
|
|
599
|
-
|
|
600
|
-
/**
|
|
601
|
-
* Matches a JSON object.
|
|
602
|
-
* Unlike `JsonObject`, this type allows undefined and read-only properties.
|
|
603
|
-
*/
|
|
604
|
-
export type InputJsonObject = {readonly [Key in string]?: InputJsonValue | null}
|
|
605
|
-
|
|
606
|
-
/**
|
|
607
|
-
* Matches a JSON array.
|
|
608
|
-
* Unlike `JsonArray`, readonly arrays are assignable to this type.
|
|
609
|
-
*/
|
|
610
|
-
export interface InputJsonArray extends ReadonlyArray<InputJsonValue | null> {}
|
|
611
583
|
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
* `null` cannot be used as the value of a JSON field because its meaning
|
|
619
|
-
* would be ambiguous. Use `Prisma.JsonNull` to store the JSON null value or
|
|
620
|
-
* `Prisma.DbNull` to clear the JSON value and set the field to the database
|
|
621
|
-
* NULL value instead.
|
|
622
|
-
*
|
|
623
|
-
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-by-null-values
|
|
624
|
-
*/
|
|
625
|
-
export type InputJsonValue = string | number | boolean | InputJsonObject | InputJsonArray | { toJSON(): unknown }
|
|
584
|
+
export import JsonObject = runtime.JsonObject
|
|
585
|
+
export import JsonArray = runtime.JsonArray
|
|
586
|
+
export import JsonValue = runtime.JsonValue
|
|
587
|
+
export import InputJsonObject = runtime.InputJsonObject
|
|
588
|
+
export import InputJsonArray = runtime.InputJsonArray
|
|
589
|
+
export import InputJsonValue = runtime.InputJsonValue
|
|
626
590
|
|
|
627
591
|
/**
|
|
628
592
|
* Types of the values used to represent different kinds of `null` values when working with JSON fields.
|
package/dist/client/index.js
CHANGED
|
@@ -13,6 +13,7 @@ const {
|
|
|
13
13
|
empty,
|
|
14
14
|
join,
|
|
15
15
|
raw,
|
|
16
|
+
skip,
|
|
16
17
|
Decimal,
|
|
17
18
|
Debug,
|
|
18
19
|
objectEnumValues,
|
|
@@ -31,12 +32,12 @@ exports.Prisma = Prisma
|
|
|
31
32
|
exports.$Enums = {}
|
|
32
33
|
|
|
33
34
|
/**
|
|
34
|
-
* Prisma Client JS version: 5.
|
|
35
|
-
* Query Engine version:
|
|
35
|
+
* Prisma Client JS version: 5.22.0
|
|
36
|
+
* Query Engine version: 605197351a3c8bdd595af2d2a9bc3025bca48ea2
|
|
36
37
|
*/
|
|
37
38
|
Prisma.prismaVersion = {
|
|
38
|
-
client: "5.
|
|
39
|
-
engine: "
|
|
39
|
+
client: "5.22.0",
|
|
40
|
+
engine: "605197351a3c8bdd595af2d2a9bc3025bca48ea2"
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
Prisma.PrismaClientKnownRequestError = PrismaClientKnownRequestError;
|
|
@@ -76,6 +77,8 @@ Prisma.NullTypes = {
|
|
|
76
77
|
}
|
|
77
78
|
|
|
78
79
|
|
|
80
|
+
|
|
81
|
+
|
|
79
82
|
const path = require('path')
|
|
80
83
|
|
|
81
84
|
/**
|
|
@@ -337,7 +340,7 @@ const config = {
|
|
|
337
340
|
"value": "prisma-client-js"
|
|
338
341
|
},
|
|
339
342
|
"output": {
|
|
340
|
-
"value": "/Users/
|
|
343
|
+
"value": "/Users/masha/Desktop/ateam/prisma/src/client",
|
|
341
344
|
"fromEnvVar": null
|
|
342
345
|
},
|
|
343
346
|
"config": {
|
|
@@ -369,16 +372,15 @@ const config = {
|
|
|
369
372
|
"previewFeatures": [
|
|
370
373
|
"prismaSchemaFolder"
|
|
371
374
|
],
|
|
372
|
-
"sourceFilePath": "/Users/
|
|
375
|
+
"sourceFilePath": "/Users/masha/Desktop/ateam/prisma/prisma/schema/schema.prisma",
|
|
373
376
|
"isCustomOutput": true
|
|
374
377
|
},
|
|
375
378
|
"relativeEnvPaths": {
|
|
376
|
-
"rootEnvPath": null
|
|
377
|
-
"schemaEnvPath": "../../.env"
|
|
379
|
+
"rootEnvPath": null
|
|
378
380
|
},
|
|
379
|
-
"relativePath": "../../prisma",
|
|
380
|
-
"clientVersion": "5.
|
|
381
|
-
"engineVersion": "
|
|
381
|
+
"relativePath": "../../prisma/schema",
|
|
382
|
+
"clientVersion": "5.22.0",
|
|
383
|
+
"engineVersion": "605197351a3c8bdd595af2d2a9bc3025bca48ea2",
|
|
382
384
|
"datasourceNames": [
|
|
383
385
|
"db"
|
|
384
386
|
],
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/client/package.json
CHANGED
|
@@ -77,8 +77,21 @@
|
|
|
77
77
|
"import": "./generator-build/index.js",
|
|
78
78
|
"default": "./generator-build/index.js"
|
|
79
79
|
},
|
|
80
|
+
"./sql": {
|
|
81
|
+
"require": {
|
|
82
|
+
"types": "./sql.d.ts",
|
|
83
|
+
"node": "./sql.js",
|
|
84
|
+
"default": "./sql.js"
|
|
85
|
+
},
|
|
86
|
+
"import": {
|
|
87
|
+
"types": "./sql.d.ts",
|
|
88
|
+
"node": "./sql.mjs",
|
|
89
|
+
"default": "./sql.mjs"
|
|
90
|
+
},
|
|
91
|
+
"default": "./sql.js"
|
|
92
|
+
},
|
|
80
93
|
"./*": "./*"
|
|
81
94
|
},
|
|
82
|
-
"version": "5.
|
|
95
|
+
"version": "5.22.0",
|
|
83
96
|
"sideEffects": false
|
|
84
97
|
}
|
|
Binary file
|