lang-database 1.9.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 +20 -1
- package/generated/prisma-client/index.d.ts +3811 -771
- package/generated/prisma-client/index.js +21 -2
- package/generated/prisma-client/schema.prisma +30 -7
- 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 +30 -7
- 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
|
@@ -103,6 +103,11 @@ exports.Prisma.CardScalarFieldEnum = makeEnum({
|
|
|
103
103
|
back: 'back'
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
+
exports.Prisma.CategoryScalarFieldEnum = makeEnum({
|
|
107
|
+
id: 'id',
|
|
108
|
+
name: 'name'
|
|
109
|
+
});
|
|
110
|
+
|
|
106
111
|
exports.Prisma.GoogleUserScalarFieldEnum = makeEnum({
|
|
107
112
|
id: 'id',
|
|
108
113
|
userId: 'userId'
|
|
@@ -112,7 +117,12 @@ exports.Prisma.PackScalarFieldEnum = makeEnum({
|
|
|
112
117
|
id: 'id',
|
|
113
118
|
teacherId: 'teacherId',
|
|
114
119
|
name: 'name',
|
|
115
|
-
|
|
120
|
+
shortDescription: 'shortDescription',
|
|
121
|
+
longDescription: 'longDescription',
|
|
122
|
+
categoryId: 'categoryId',
|
|
123
|
+
published: 'published',
|
|
124
|
+
currentPrice: 'currentPrice',
|
|
125
|
+
public: 'public'
|
|
116
126
|
});
|
|
117
127
|
|
|
118
128
|
exports.Prisma.PurchaseScalarFieldEnum = makeEnum({
|
|
@@ -143,6 +153,13 @@ exports.Prisma.TeacherScalarFieldEnum = makeEnum({
|
|
|
143
153
|
password: 'password'
|
|
144
154
|
});
|
|
145
155
|
|
|
156
|
+
exports.Prisma.TeamScalarFieldEnum = makeEnum({
|
|
157
|
+
id: 'id',
|
|
158
|
+
name: 'name',
|
|
159
|
+
userCount: 'userCount',
|
|
160
|
+
subscriptionExpire: 'subscriptionExpire'
|
|
161
|
+
});
|
|
162
|
+
|
|
146
163
|
exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
|
|
147
164
|
ReadUncommitted: 'ReadUncommitted',
|
|
148
165
|
ReadCommitted: 'ReadCommitted',
|
|
@@ -171,8 +188,10 @@ exports.PurchaseStatus = makeEnum({
|
|
|
171
188
|
exports.Prisma.ModelName = makeEnum({
|
|
172
189
|
Card: 'Card',
|
|
173
190
|
UserCard: 'UserCard',
|
|
191
|
+
Category: 'Category',
|
|
174
192
|
Pack: 'Pack',
|
|
175
193
|
User: 'User',
|
|
194
|
+
Team: 'Team',
|
|
176
195
|
Teacher: 'Teacher',
|
|
177
196
|
GoogleUser: 'GoogleUser',
|
|
178
197
|
Answer: 'Answer',
|