@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.
@@ -1,179 +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
- * WARNING: This is an internal file that is subject to change!
8
- *
9
- * 🛑 Under no circumstances should you import this file directly! 🛑
10
- *
11
- * All exports from this file are wrapped under a `Prisma` namespace object in the browser.ts file.
12
- * While this enables partial backward compatibility, it is not part of the stable public API.
13
- *
14
- * If you are looking for your Models, Enums, and Input Types, please import them from the respective
15
- * model files in the `model` directory!
16
- */
17
-
18
- import * as runtime from "@prisma/client/runtime/index-browser"
19
-
20
- export type * from '../models'
21
- export type * from './prismaNamespace'
22
-
23
- export const Decimal = runtime.Decimal
24
-
25
-
26
- export const NullTypes = {
27
- DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull),
28
- JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull),
29
- AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull),
30
- }
31
- /**
32
- * Helper for filtering JSON entries that have `null` on the database (empty on the db)
33
- *
34
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
35
- */
36
- export const DbNull = runtime.DbNull
37
-
38
- /**
39
- * Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
40
- *
41
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
42
- */
43
- export const JsonNull = runtime.JsonNull
44
-
45
- /**
46
- * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
47
- *
48
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
49
- */
50
- export const AnyNull = runtime.AnyNull
51
-
52
-
53
- export const ModelName = {
54
- User: 'User',
55
- Session: 'Session',
56
- Account: 'Account',
57
- Verification: 'Verification',
58
- Upload: 'Upload'
59
- } as const
60
-
61
- export type ModelName = (typeof ModelName)[keyof typeof ModelName]
62
-
63
- /*
64
- * Enums
65
- */
66
-
67
- export const TransactionIsolationLevel = runtime.makeStrictEnum({
68
- ReadUncommitted: 'ReadUncommitted',
69
- ReadCommitted: 'ReadCommitted',
70
- RepeatableRead: 'RepeatableRead',
71
- Serializable: 'Serializable'
72
- } as const)
73
-
74
- export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
75
-
76
-
77
- export const UserScalarFieldEnum = {
78
- id: 'id',
79
- name: 'name',
80
- email: 'email',
81
- emailVerified: 'emailVerified',
82
- image: 'image',
83
- createdAt: 'createdAt',
84
- updatedAt: 'updatedAt',
85
- role: 'role',
86
- banned: 'banned',
87
- banReason: 'banReason',
88
- banExpires: 'banExpires',
89
- firstName: 'firstName',
90
- lastName: 'lastName',
91
- phone: 'phone'
92
- } as const
93
-
94
- export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
95
-
96
-
97
- export const SessionScalarFieldEnum = {
98
- id: 'id',
99
- expiresAt: 'expiresAt',
100
- token: 'token',
101
- createdAt: 'createdAt',
102
- updatedAt: 'updatedAt',
103
- ipAddress: 'ipAddress',
104
- userAgent: 'userAgent',
105
- userId: 'userId',
106
- impersonatedBy: 'impersonatedBy'
107
- } as const
108
-
109
- export type SessionScalarFieldEnum = (typeof SessionScalarFieldEnum)[keyof typeof SessionScalarFieldEnum]
110
-
111
-
112
- export const AccountScalarFieldEnum = {
113
- id: 'id',
114
- accountId: 'accountId',
115
- providerId: 'providerId',
116
- userId: 'userId',
117
- accessToken: 'accessToken',
118
- refreshToken: 'refreshToken',
119
- idToken: 'idToken',
120
- accessTokenExpiresAt: 'accessTokenExpiresAt',
121
- refreshTokenExpiresAt: 'refreshTokenExpiresAt',
122
- scope: 'scope',
123
- password: 'password',
124
- createdAt: 'createdAt',
125
- updatedAt: 'updatedAt'
126
- } as const
127
-
128
- export type AccountScalarFieldEnum = (typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum]
129
-
130
-
131
- export const VerificationScalarFieldEnum = {
132
- id: 'id',
133
- identifier: 'identifier',
134
- value: 'value',
135
- expiresAt: 'expiresAt',
136
- createdAt: 'createdAt',
137
- updatedAt: 'updatedAt'
138
- } as const
139
-
140
- export type VerificationScalarFieldEnum = (typeof VerificationScalarFieldEnum)[keyof typeof VerificationScalarFieldEnum]
141
-
142
-
143
- export const UploadScalarFieldEnum = {
144
- id: 'id',
145
- createdAt: 'createdAt',
146
- updatedAt: 'updatedAt',
147
- filename: 'filename',
148
- mimetype: 'mimetype',
149
- encoding: 'encoding',
150
- url: 'url',
151
- size: 'size'
152
- } as const
153
-
154
- export type UploadScalarFieldEnum = (typeof UploadScalarFieldEnum)[keyof typeof UploadScalarFieldEnum]
155
-
156
-
157
- export const SortOrder = {
158
- asc: 'asc',
159
- desc: 'desc'
160
- } as const
161
-
162
- export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
163
-
164
-
165
- export const QueryMode = {
166
- default: 'default',
167
- insensitive: 'insensitive'
168
- } as const
169
-
170
- export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]
171
-
172
-
173
- export const NullsOrder = {
174
- first: 'first',
175
- last: 'last'
176
- } as const
177
-
178
- export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
179
-