lang-database 1.10.0 → 2.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 +10 -1
- package/generated/prisma-client/index.d.ts +1831 -289
- package/generated/prisma-client/index.js +11 -2
- package/generated/prisma-client/schema.prisma +13 -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 +13 -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,13 @@ exports.Prisma.TeacherScalarFieldEnum = makeEnum({
|
|
|
152
153
|
password: 'password'
|
|
153
154
|
});
|
|
154
155
|
|
|
156
|
+
exports.Prisma.TeamScalarFieldEnum = makeEnum({
|
|
157
|
+
id: 'id',
|
|
158
|
+
name: 'name',
|
|
159
|
+
userCount: 'userCount',
|
|
160
|
+
subscriptionExpire: 'subscriptionExpire'
|
|
161
|
+
});
|
|
162
|
+
|
|
155
163
|
exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
|
|
156
164
|
ReadUncommitted: 'ReadUncommitted',
|
|
157
165
|
ReadCommitted: 'ReadCommitted',
|
|
@@ -183,6 +191,7 @@ exports.Prisma.ModelName = makeEnum({
|
|
|
183
191
|
Category: 'Category',
|
|
184
192
|
Pack: 'Pack',
|
|
185
193
|
User: 'User',
|
|
194
|
+
Team: 'Team',
|
|
186
195
|
Teacher: 'Teacher',
|
|
187
196
|
GoogleUser: 'GoogleUser',
|
|
188
197
|
Answer: 'Answer',
|