lang-database 1.10.0 → 3.0.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/.env-dev.example +3 -0
- package/.env-local.example +3 -0
- package/.env-prod.example +3 -0
- package/.env-test.example +3 -0
- package/generated/prisma-client/index-browser.js +13 -2
- package/generated/prisma-client/index.d.ts +2126 -292
- package/generated/prisma-client/index.js +14 -3
- package/generated/prisma-client/schema.prisma +17 -2
- package/migrations/{20221112124401_init → 20230607212052_}/migration.sql +55 -33
- package/migrations/20230607212301_teams_restricted_deck_fixed_typo/migration.sql +36 -0
- package/package.json +1 -1
- package/schema.prisma +17 -2
- package/.env-dev +0 -2
- package/.env-local +0 -2
- package/.env-prod +0 -3
- package/.env-test +0 -4
- package/migrations/20221112132548_id_fields_fix_in_cockroachdb/migration.sql +0 -158
package/.env-dev.example
ADDED
|
@@ -121,7 +121,8 @@ exports.Prisma.PackScalarFieldEnum = makeEnum({
|
|
|
121
121
|
longDescription: 'longDescription',
|
|
122
122
|
categoryId: 'categoryId',
|
|
123
123
|
published: 'published',
|
|
124
|
-
currentPrice: 'currentPrice'
|
|
124
|
+
currentPrice: 'currentPrice',
|
|
125
|
+
public: 'public'
|
|
125
126
|
});
|
|
126
127
|
|
|
127
128
|
exports.Prisma.PurchaseScalarFieldEnum = makeEnum({
|
|
@@ -152,6 +153,14 @@ exports.Prisma.TeacherScalarFieldEnum = makeEnum({
|
|
|
152
153
|
password: 'password'
|
|
153
154
|
});
|
|
154
155
|
|
|
156
|
+
exports.Prisma.TeamScalarFieldEnum = makeEnum({
|
|
157
|
+
id: 'id',
|
|
158
|
+
name: 'name',
|
|
159
|
+
emailPattern: 'emailPattern',
|
|
160
|
+
userCount: 'userCount',
|
|
161
|
+
subscriptionExpire: 'subscriptionExpire'
|
|
162
|
+
});
|
|
163
|
+
|
|
155
164
|
exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
|
|
156
165
|
ReadUncommitted: 'ReadUncommitted',
|
|
157
166
|
ReadCommitted: 'ReadCommitted',
|
|
@@ -170,7 +179,8 @@ exports.Prisma.UserCardScalarFieldEnum = makeEnum({
|
|
|
170
179
|
exports.Prisma.UserScalarFieldEnum = makeEnum({
|
|
171
180
|
id: 'id',
|
|
172
181
|
email: 'email',
|
|
173
|
-
name: 'name'
|
|
182
|
+
name: 'name',
|
|
183
|
+
teamId: 'teamId'
|
|
174
184
|
});
|
|
175
185
|
exports.PurchaseStatus = makeEnum({
|
|
176
186
|
PENDING: 'PENDING',
|
|
@@ -183,6 +193,7 @@ exports.Prisma.ModelName = makeEnum({
|
|
|
183
193
|
Category: 'Category',
|
|
184
194
|
Pack: 'Pack',
|
|
185
195
|
User: 'User',
|
|
196
|
+
Team: 'Team',
|
|
186
197
|
Teacher: 'Teacher',
|
|
187
198
|
GoogleUser: 'GoogleUser',
|
|
188
199
|
Answer: 'Answer',
|