@prisma/composer-prisma-cloud 0.18.0 → 0.19.0
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/auth/auth-service.mjs +4 -2
- package/dist/auth/auth-service.mjs.map +1 -1
- package/dist/auth/{constants-B7YSuQsF-CbQEXXm0.mjs → constants-D1wCvoU3-gX4AfOjK.mjs} +4 -2
- package/dist/auth/constants-D1wCvoU3-gX4AfOjK.mjs.map +1 -0
- package/dist/auth/index.mjs +2 -2
- package/dist/auth/index.mjs.map +1 -1
- package/dist/auth/pack.mjs +2 -2
- package/dist/auth/pack.mjs.map +1 -1
- package/dist/auth/testing.mjs +2317 -1146
- package/dist/auth/testing.mjs.map +1 -1
- package/package.json +21 -21
- package/dist/auth/constants-B7YSuQsF-CbQEXXm0.mjs.map +0 -1
|
@@ -5,7 +5,7 @@ import { RPC_PEER_KEY, contract, makeClient, perBindingToken, rpc } from "@prism
|
|
|
5
5
|
import { type } from "arktype";
|
|
6
6
|
import node from "@prisma/composer/node";
|
|
7
7
|
import "jose";
|
|
8
|
-
//#region ../../1-prisma-cloud/2-shared-modules/auth/dist/constants-
|
|
8
|
+
//#region ../../1-prisma-cloud/2-shared-modules/auth/dist/constants-D1wCvoU3.mjs
|
|
9
9
|
var contract_default = {
|
|
10
10
|
schemaVersion: "1",
|
|
11
11
|
targetFamily: "sql",
|
|
@@ -130,6 +130,7 @@ var contract_default = {
|
|
|
130
130
|
},
|
|
131
131
|
"relations": { "user": {
|
|
132
132
|
"cardinality": "N:1",
|
|
133
|
+
"nullable": false,
|
|
133
134
|
"on": {
|
|
134
135
|
"localFields": ["userId"],
|
|
135
136
|
"targetFields": ["id"]
|
|
@@ -278,6 +279,7 @@ var contract_default = {
|
|
|
278
279
|
},
|
|
279
280
|
"relations": { "user": {
|
|
280
281
|
"cardinality": "N:1",
|
|
282
|
+
"nullable": false,
|
|
281
283
|
"on": {
|
|
282
284
|
"localFields": ["userId"],
|
|
283
285
|
"targetFields": ["id"]
|
|
@@ -1690,7 +1692,7 @@ function emailService() {
|
|
|
1690
1692
|
}
|
|
1691
1693
|
emailService();
|
|
1692
1694
|
//#endregion
|
|
1693
|
-
//#region ../../1-prisma-cloud/2-shared-modules/auth/dist/auth-service-
|
|
1695
|
+
//#region ../../1-prisma-cloud/2-shared-modules/auth/dist/auth-service-CTqHmm8S.mjs
|
|
1694
1696
|
const userRecord = type({
|
|
1695
1697
|
id: "string",
|
|
1696
1698
|
email: "string",
|