@mframework/layer-shared 0.0.1 → 0.0.3
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/package.json +6 -11
- package/package.json +3 -8
- package/prisma/generated/browser.ts +0 -44
- package/prisma/generated/client.ts +0 -66
- package/prisma/generated/commonInputTypes.ts +0 -432
- package/prisma/generated/enums.ts +0 -15
- package/prisma/generated/internal/class.ts +0 -232
- package/prisma/generated/internal/prismaNamespace.ts +0 -1154
- package/prisma/generated/internal/prismaNamespaceBrowser.ts +0 -179
- package/prisma/generated/models/Account.ts +0 -1620
- package/prisma/generated/models/Session.ts +0 -1484
- package/prisma/generated/models/Upload.ts +0 -1291
- package/prisma/generated/models/User.ts +0 -1780
- package/prisma/generated/models/Verification.ts +0 -1172
- package/prisma/generated/models.ts +0 -16
- package/prisma/schema.prisma +0 -102
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
// biome-ignore-all lint: generated file
|
|
5
|
-
// @ts-nocheck
|
|
6
|
-
/*
|
|
7
|
-
* This is a barrel export file for all models and their related types.
|
|
8
|
-
*
|
|
9
|
-
* 🟢 You can import this file directly.
|
|
10
|
-
*/
|
|
11
|
-
export type * from './models/User'
|
|
12
|
-
export type * from './models/Session'
|
|
13
|
-
export type * from './models/Account'
|
|
14
|
-
export type * from './models/Verification'
|
|
15
|
-
export type * from './models/Upload'
|
|
16
|
-
export type * from './commonInputTypes'
|
package/prisma/schema.prisma
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
generator client {
|
|
3
|
-
provider = "prisma-client"
|
|
4
|
-
output = "./generated"
|
|
5
|
-
engineType = "binary"
|
|
6
|
-
binaryTargets = ["native"]
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
datasource db {
|
|
10
|
-
provider = "postgresql"
|
|
11
|
-
schemas = ["auth", "public"]
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
model User {
|
|
15
|
-
id String @id
|
|
16
|
-
name String
|
|
17
|
-
email String
|
|
18
|
-
emailVerified Boolean
|
|
19
|
-
image String?
|
|
20
|
-
createdAt DateTime?
|
|
21
|
-
updatedAt DateTime?
|
|
22
|
-
Session Session[]
|
|
23
|
-
Account Account[]
|
|
24
|
-
|
|
25
|
-
role String?
|
|
26
|
-
banned Boolean?
|
|
27
|
-
banReason String?
|
|
28
|
-
banExpires DateTime?
|
|
29
|
-
|
|
30
|
-
firstName String?
|
|
31
|
-
lastName String?
|
|
32
|
-
phone String?
|
|
33
|
-
|
|
34
|
-
@@unique([email])
|
|
35
|
-
@@map("user")
|
|
36
|
-
@@schema("auth")
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
model Session {
|
|
40
|
-
id String @id
|
|
41
|
-
expiresAt DateTime
|
|
42
|
-
token String
|
|
43
|
-
createdAt DateTime?
|
|
44
|
-
updatedAt DateTime?
|
|
45
|
-
ipAddress String?
|
|
46
|
-
userAgent String?
|
|
47
|
-
userId String
|
|
48
|
-
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
|
49
|
-
|
|
50
|
-
impersonatedBy String?
|
|
51
|
-
|
|
52
|
-
@@unique([token])
|
|
53
|
-
@@map("session")
|
|
54
|
-
@@schema("auth")
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
model Account {
|
|
58
|
-
id String @id
|
|
59
|
-
accountId String
|
|
60
|
-
providerId String
|
|
61
|
-
userId String
|
|
62
|
-
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
|
63
|
-
accessToken String?
|
|
64
|
-
refreshToken String?
|
|
65
|
-
idToken String?
|
|
66
|
-
accessTokenExpiresAt DateTime?
|
|
67
|
-
refreshTokenExpiresAt DateTime?
|
|
68
|
-
scope String?
|
|
69
|
-
password String?
|
|
70
|
-
createdAt DateTime?
|
|
71
|
-
updatedAt DateTime?
|
|
72
|
-
|
|
73
|
-
@@map("account")
|
|
74
|
-
@@schema("auth")
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
model Verification {
|
|
78
|
-
id String @id
|
|
79
|
-
identifier String
|
|
80
|
-
value String
|
|
81
|
-
expiresAt DateTime
|
|
82
|
-
createdAt DateTime?
|
|
83
|
-
updatedAt DateTime?
|
|
84
|
-
|
|
85
|
-
@@map("verification")
|
|
86
|
-
@@schema("auth")
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
model Upload {
|
|
90
|
-
id Int @id @default(autoincrement())
|
|
91
|
-
createdAt DateTime? @default(now())
|
|
92
|
-
updatedAt DateTime? @updatedAt
|
|
93
|
-
|
|
94
|
-
filename String
|
|
95
|
-
mimetype String?
|
|
96
|
-
encoding String?
|
|
97
|
-
url String
|
|
98
|
-
size Int?
|
|
99
|
-
|
|
100
|
-
@@map("uploads")
|
|
101
|
-
@@schema("public")
|
|
102
|
-
}
|