@a_team/prisma 2.1.15 → 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 +16 -26
- package/dist/client/index-browser.js +7 -16
- package/dist/client/index.d.ts +11 -364
- package/dist/client/index.js +16 -26
- 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 +15 -2
- 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/schema.prisma +10 -35
- package/dist/client/wasm.d.ts +1 -1
- package/dist/client/wasm.js +7 -16
- package/package.json +8 -2
|
@@ -517,49 +517,24 @@ model TalentIndustry {
|
|
|
517
517
|
@@map("talentIndustries")
|
|
518
518
|
}
|
|
519
519
|
|
|
520
|
-
enum RegisterRequestType {
|
|
521
|
-
SUPERCHARGE
|
|
522
|
-
BUILD_PRODUCT
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
enum HiringTimeline {
|
|
526
|
-
immediate
|
|
527
|
-
next_month
|
|
528
|
-
within_3_months
|
|
529
|
-
exploring
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
type ClientRegistration {
|
|
533
|
-
emailVerified Boolean?
|
|
534
|
-
signupCompany String? @db.ObjectId
|
|
535
|
-
companyQualified Boolean?
|
|
536
|
-
requestType RegisterRequestType?
|
|
537
|
-
requestSolution String?
|
|
538
|
-
requestRoles String[]
|
|
539
|
-
requestHelp String?
|
|
540
|
-
howDidYouHear String?
|
|
541
|
-
hiringTimeline HiringTimeline?
|
|
542
|
-
}
|
|
543
|
-
|
|
544
520
|
model User {
|
|
545
|
-
id String
|
|
521
|
+
id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
546
522
|
firstName String?
|
|
547
523
|
lastName String?
|
|
548
|
-
username String?
|
|
549
|
-
email String?
|
|
550
|
-
isAdmin Boolean
|
|
551
|
-
createdMissionsModels Mission[]
|
|
552
|
-
ownedMissionsModels Mission[]
|
|
524
|
+
username String? @unique(map: "username_1")
|
|
525
|
+
email String? @unique(map: "email_1")
|
|
526
|
+
isAdmin Boolean @default(false)
|
|
527
|
+
createdMissionsModels Mission[] @relation("creator")
|
|
528
|
+
ownedMissionsModels Mission[] @relation("ownerModel")
|
|
553
529
|
type String
|
|
554
530
|
pictureURL String?
|
|
555
531
|
status String
|
|
556
|
-
createdAt DateTime
|
|
532
|
+
createdAt DateTime @db.Date
|
|
557
533
|
titles String[]
|
|
558
534
|
scrubbed String?
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
missionPrefills MissionPrefill[] @relation("user")
|
|
535
|
+
authoredMissionSpecs MissionSpec[] @relation("author")
|
|
536
|
+
modifiedMissionSpecs MissionSpec[] @relation("lastModifier")
|
|
537
|
+
missionPrefills MissionPrefill[] @relation("user")
|
|
563
538
|
|
|
564
539
|
@@map("users")
|
|
565
540
|
}
|
package/dist/client/wasm.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./index"
|
package/dist/client/wasm.js
CHANGED
|
@@ -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
|
*/
|
|
@@ -344,18 +347,6 @@ exports.MissionRoleStatus = exports.$Enums.MissionRoleStatus = {
|
|
|
344
347
|
Ended: 'Ended'
|
|
345
348
|
};
|
|
346
349
|
|
|
347
|
-
exports.RegisterRequestType = exports.$Enums.RegisterRequestType = {
|
|
348
|
-
SUPERCHARGE: 'SUPERCHARGE',
|
|
349
|
-
BUILD_PRODUCT: 'BUILD_PRODUCT'
|
|
350
|
-
};
|
|
351
|
-
|
|
352
|
-
exports.HiringTimeline = exports.$Enums.HiringTimeline = {
|
|
353
|
-
immediate: 'immediate',
|
|
354
|
-
next_month: 'next_month',
|
|
355
|
-
within_3_months: 'within_3_months',
|
|
356
|
-
exploring: 'exploring'
|
|
357
|
-
};
|
|
358
|
-
|
|
359
350
|
exports.Prisma.ModelName = {
|
|
360
351
|
Account: 'Account',
|
|
361
352
|
ClientCompany: 'ClientCompany',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@a_team/prisma",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.20-linux",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "rm -rf ./dist & npm run generate & tsc",
|
|
@@ -30,5 +30,11 @@
|
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"@prisma/client": ">=5"
|
|
33
|
-
}
|
|
33
|
+
},
|
|
34
|
+
"os": [
|
|
35
|
+
"darwin"
|
|
36
|
+
],
|
|
37
|
+
"cpu": [
|
|
38
|
+
"arm64"
|
|
39
|
+
]
|
|
34
40
|
}
|