Skip to content

Commit 2cd98f1

Browse files
committed
chore: update generated types
1 parent ba1c395 commit 2cd98f1

19 files changed

+2374
-2234
lines changed

packages/db/generated/prisma/enums.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ export type EventStatus = (typeof EventStatus)[keyof typeof EventStatus]
8787

8888

8989
export const EventType = {
90-
SOCIAL: 'SOCIAL',
91-
ACADEMIC: 'ACADEMIC',
92-
COMPANY: 'COMPANY',
9390
GENERAL_ASSEMBLY: 'GENERAL_ASSEMBLY',
91+
COMPANY: 'COMPANY',
92+
ACADEMIC: 'ACADEMIC',
93+
SOCIAL: 'SOCIAL',
9494
INTERNAL: 'INTERNAL',
9595
OTHER: 'OTHER',
9696
WELCOME: 'WELCOME'

packages/db/generated/prisma/internal/class.ts

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

packages/db/generated/prisma/internal/prismaNamespace.ts

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3074,12 +3074,12 @@ export type GroupScalarFieldEnum = (typeof GroupScalarFieldEnum)[keyof typeof Gr
30743074

30753075
export const GroupMembershipScalarFieldEnum = {
30763076
id: 'id',
3077-
groupId: 'groupId',
3078-
userId: 'userId',
30793077
start: 'start',
30803078
end: 'end',
30813079
createdAt: 'createdAt',
3082-
updatedAt: 'updatedAt'
3080+
updatedAt: 'updatedAt',
3081+
groupId: 'groupId',
3082+
userId: 'userId'
30833083
} as const
30843084

30853085
export type GroupMembershipScalarFieldEnum = (typeof GroupMembershipScalarFieldEnum)[keyof typeof GroupMembershipScalarFieldEnum]
@@ -3095,9 +3095,9 @@ export type GroupMembershipRoleScalarFieldEnum = (typeof GroupMembershipRoleScal
30953095

30963096
export const GroupRoleScalarFieldEnum = {
30973097
id: 'id',
3098-
groupId: 'groupId',
30993098
name: 'name',
3100-
type: 'type'
3099+
type: 'type',
3100+
groupId: 'groupId'
31013101
} as const
31023102

31033103
export type GroupRoleScalarFieldEnum = (typeof GroupRoleScalarFieldEnum)[keyof typeof GroupRoleScalarFieldEnum]
@@ -3134,10 +3134,7 @@ export type AttendancePoolScalarFieldEnum = (typeof AttendancePoolScalarFieldEnu
31343134

31353135
export const AttendeeScalarFieldEnum = {
31363136
id: 'id',
3137-
attendanceId: 'attendanceId',
3138-
userId: 'userId',
31393137
userGrade: 'userGrade',
3140-
attendancePoolId: 'attendancePoolId',
31413138
selections: 'selections',
31423139
reserved: 'reserved',
31433140
earliestReservationAt: 'earliestReservationAt',
@@ -3151,6 +3148,10 @@ export const AttendeeScalarFieldEnum = {
31513148
paymentChargeDeadline: 'paymentChargeDeadline',
31523149
paymentChargedAt: 'paymentChargedAt',
31533150
paymentRefundedAt: 'paymentRefundedAt',
3151+
paymentCheckoutUrl: 'paymentCheckoutUrl',
3152+
attendanceId: 'attendanceId',
3153+
userId: 'userId',
3154+
attendancePoolId: 'attendancePoolId',
31543155
paymentRefundedById: 'paymentRefundedById'
31553156
} as const
31563157

@@ -3169,11 +3170,11 @@ export const EventScalarFieldEnum = {
31693170
locationTitle: 'locationTitle',
31703171
locationAddress: 'locationAddress',
31713172
locationLink: 'locationLink',
3172-
attendanceId: 'attendanceId',
31733173
type: 'type',
31743174
markForMissedAttendance: 'markForMissedAttendance',
31753175
createdAt: 'createdAt',
31763176
updatedAt: 'updatedAt',
3177+
attendanceId: 'attendanceId',
31773178
parentId: 'parentId',
31783179
metadataImportId: 'metadataImportId'
31793180
} as const
@@ -3212,10 +3213,10 @@ export type MarkGroupScalarFieldEnum = (typeof MarkGroupScalarFieldEnum)[keyof t
32123213

32133214

32143215
export const PersonalMarkScalarFieldEnum = {
3216+
createdAt: 'createdAt',
32153217
markId: 'markId',
32163218
userId: 'userId',
3217-
givenById: 'givenById',
3218-
createdAt: 'createdAt'
3219+
givenById: 'givenById'
32193220
} as const
32203221

32213222
export type PersonalMarkScalarFieldEnum = (typeof PersonalMarkScalarFieldEnum)[keyof typeof PersonalMarkScalarFieldEnum]
@@ -3265,7 +3266,6 @@ export type EventHostingGroupScalarFieldEnum = (typeof EventHostingGroupScalarFi
32653266

32663267
export const JobListingScalarFieldEnum = {
32673268
id: 'id',
3268-
companyId: 'companyId',
32693269
title: 'title',
32703270
description: 'description',
32713271
shortDescription: 'shortDescription',
@@ -3279,7 +3279,8 @@ export const JobListingScalarFieldEnum = {
32793279
applicationEmail: 'applicationEmail',
32803280
rollingAdmission: 'rollingAdmission',
32813281
createdAt: 'createdAt',
3282-
updatedAt: 'updatedAt'
3282+
updatedAt: 'updatedAt',
3283+
companyId: 'companyId'
32833284
} as const
32843285

32853286
export type JobListingScalarFieldEnum = (typeof JobListingScalarFieldEnum)[keyof typeof JobListingScalarFieldEnum]
@@ -3309,11 +3310,11 @@ export type OfflineScalarFieldEnum = (typeof OfflineScalarFieldEnum)[keyof typeo
33093310

33103311
export const ArticleScalarFieldEnum = {
33113312
id: 'id',
3313+
slug: 'slug',
33123314
title: 'title',
33133315
author: 'author',
33143316
photographer: 'photographer',
33153317
imageUrl: 'imageUrl',
3316-
slug: 'slug',
33173318
excerpt: 'excerpt',
33183319
content: 'content',
33193320
isFeatured: 'isFeatured',
@@ -3369,26 +3370,26 @@ export type RecurringTaskScalarFieldEnum = (typeof RecurringTaskScalarFieldEnum)
33693370

33703371
export const FeedbackFormScalarFieldEnum = {
33713372
id: 'id',
3372-
eventId: 'eventId',
33733373
publicResultsToken: 'publicResultsToken',
33743374
createdAt: 'createdAt',
33753375
updatedAt: 'updatedAt',
3376-
answerDeadline: 'answerDeadline'
3376+
answerDeadline: 'answerDeadline',
3377+
eventId: 'eventId'
33773378
} as const
33783379

33793380
export type FeedbackFormScalarFieldEnum = (typeof FeedbackFormScalarFieldEnum)[keyof typeof FeedbackFormScalarFieldEnum]
33803381

33813382

33823383
export const FeedbackQuestionScalarFieldEnum = {
33833384
id: 'id',
3384-
feedbackFormId: 'feedbackFormId',
33853385
label: 'label',
33863386
required: 'required',
33873387
showInPublicResults: 'showInPublicResults',
33883388
type: 'type',
33893389
order: 'order',
33903390
createdAt: 'createdAt',
3391-
updatedAt: 'updatedAt'
3391+
updatedAt: 'updatedAt',
3392+
feedbackFormId: 'feedbackFormId'
33923393
} as const
33933394

33943395
export type FeedbackQuestionScalarFieldEnum = (typeof FeedbackQuestionScalarFieldEnum)[keyof typeof FeedbackQuestionScalarFieldEnum]
@@ -3405,9 +3406,9 @@ export type FeedbackQuestionOptionScalarFieldEnum = (typeof FeedbackQuestionOpti
34053406

34063407
export const FeedbackQuestionAnswerScalarFieldEnum = {
34073408
id: 'id',
3409+
value: 'value',
34083410
questionId: 'questionId',
3409-
formAnswerId: 'formAnswerId',
3410-
value: 'value'
3411+
formAnswerId: 'formAnswerId'
34113412
} as const
34123413

34133414
export type FeedbackQuestionAnswerScalarFieldEnum = (typeof FeedbackQuestionAnswerScalarFieldEnum)[keyof typeof FeedbackQuestionAnswerScalarFieldEnum]
@@ -3423,10 +3424,10 @@ export type FeedbackQuestionAnswerOptionLinkScalarFieldEnum = (typeof FeedbackQu
34233424

34243425
export const FeedbackFormAnswerScalarFieldEnum = {
34253426
id: 'id',
3426-
feedbackFormId: 'feedbackFormId',
3427-
attendeeId: 'attendeeId',
34283427
createdAt: 'createdAt',
3429-
updatedAt: 'updatedAt'
3428+
updatedAt: 'updatedAt',
3429+
feedbackFormId: 'feedbackFormId',
3430+
attendeeId: 'attendeeId'
34303431
} as const
34313432

34323433
export type FeedbackFormAnswerScalarFieldEnum = (typeof FeedbackFormAnswerScalarFieldEnum)[keyof typeof FeedbackFormAnswerScalarFieldEnum]
@@ -3437,10 +3438,10 @@ export const AuditLogScalarFieldEnum = {
34373438
tableName: 'tableName',
34383439
rowId: 'rowId',
34393440
createdAt: 'createdAt',
3440-
userId: 'userId',
34413441
operation: 'operation',
34423442
rowData: 'rowData',
3443-
transactionId: 'transactionId'
3443+
transactionId: 'transactionId',
3444+
userId: 'userId'
34443445
} as const
34453446

34463447
export type AuditLogScalarFieldEnum = (typeof AuditLogScalarFieldEnum)[keyof typeof AuditLogScalarFieldEnum]

packages/db/generated/prisma/internal/prismaNamespaceBrowser.ts

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,12 @@ export type GroupScalarFieldEnum = (typeof GroupScalarFieldEnum)[keyof typeof Gr
185185

186186
export const GroupMembershipScalarFieldEnum = {
187187
id: 'id',
188-
groupId: 'groupId',
189-
userId: 'userId',
190188
start: 'start',
191189
end: 'end',
192190
createdAt: 'createdAt',
193-
updatedAt: 'updatedAt'
191+
updatedAt: 'updatedAt',
192+
groupId: 'groupId',
193+
userId: 'userId'
194194
} as const
195195

196196
export type GroupMembershipScalarFieldEnum = (typeof GroupMembershipScalarFieldEnum)[keyof typeof GroupMembershipScalarFieldEnum]
@@ -206,9 +206,9 @@ export type GroupMembershipRoleScalarFieldEnum = (typeof GroupMembershipRoleScal
206206

207207
export const GroupRoleScalarFieldEnum = {
208208
id: 'id',
209-
groupId: 'groupId',
210209
name: 'name',
211-
type: 'type'
210+
type: 'type',
211+
groupId: 'groupId'
212212
} as const
213213

214214
export type GroupRoleScalarFieldEnum = (typeof GroupRoleScalarFieldEnum)[keyof typeof GroupRoleScalarFieldEnum]
@@ -245,10 +245,7 @@ export type AttendancePoolScalarFieldEnum = (typeof AttendancePoolScalarFieldEnu
245245

246246
export const AttendeeScalarFieldEnum = {
247247
id: 'id',
248-
attendanceId: 'attendanceId',
249-
userId: 'userId',
250248
userGrade: 'userGrade',
251-
attendancePoolId: 'attendancePoolId',
252249
selections: 'selections',
253250
reserved: 'reserved',
254251
earliestReservationAt: 'earliestReservationAt',
@@ -262,6 +259,10 @@ export const AttendeeScalarFieldEnum = {
262259
paymentChargeDeadline: 'paymentChargeDeadline',
263260
paymentChargedAt: 'paymentChargedAt',
264261
paymentRefundedAt: 'paymentRefundedAt',
262+
paymentCheckoutUrl: 'paymentCheckoutUrl',
263+
attendanceId: 'attendanceId',
264+
userId: 'userId',
265+
attendancePoolId: 'attendancePoolId',
265266
paymentRefundedById: 'paymentRefundedById'
266267
} as const
267268

@@ -280,11 +281,11 @@ export const EventScalarFieldEnum = {
280281
locationTitle: 'locationTitle',
281282
locationAddress: 'locationAddress',
282283
locationLink: 'locationLink',
283-
attendanceId: 'attendanceId',
284284
type: 'type',
285285
markForMissedAttendance: 'markForMissedAttendance',
286286
createdAt: 'createdAt',
287287
updatedAt: 'updatedAt',
288+
attendanceId: 'attendanceId',
288289
parentId: 'parentId',
289290
metadataImportId: 'metadataImportId'
290291
} as const
@@ -323,10 +324,10 @@ export type MarkGroupScalarFieldEnum = (typeof MarkGroupScalarFieldEnum)[keyof t
323324

324325

325326
export const PersonalMarkScalarFieldEnum = {
327+
createdAt: 'createdAt',
326328
markId: 'markId',
327329
userId: 'userId',
328-
givenById: 'givenById',
329-
createdAt: 'createdAt'
330+
givenById: 'givenById'
330331
} as const
331332

332333
export type PersonalMarkScalarFieldEnum = (typeof PersonalMarkScalarFieldEnum)[keyof typeof PersonalMarkScalarFieldEnum]
@@ -376,7 +377,6 @@ export type EventHostingGroupScalarFieldEnum = (typeof EventHostingGroupScalarFi
376377

377378
export const JobListingScalarFieldEnum = {
378379
id: 'id',
379-
companyId: 'companyId',
380380
title: 'title',
381381
description: 'description',
382382
shortDescription: 'shortDescription',
@@ -390,7 +390,8 @@ export const JobListingScalarFieldEnum = {
390390
applicationEmail: 'applicationEmail',
391391
rollingAdmission: 'rollingAdmission',
392392
createdAt: 'createdAt',
393-
updatedAt: 'updatedAt'
393+
updatedAt: 'updatedAt',
394+
companyId: 'companyId'
394395
} as const
395396

396397
export type JobListingScalarFieldEnum = (typeof JobListingScalarFieldEnum)[keyof typeof JobListingScalarFieldEnum]
@@ -420,11 +421,11 @@ export type OfflineScalarFieldEnum = (typeof OfflineScalarFieldEnum)[keyof typeo
420421

421422
export const ArticleScalarFieldEnum = {
422423
id: 'id',
424+
slug: 'slug',
423425
title: 'title',
424426
author: 'author',
425427
photographer: 'photographer',
426428
imageUrl: 'imageUrl',
427-
slug: 'slug',
428429
excerpt: 'excerpt',
429430
content: 'content',
430431
isFeatured: 'isFeatured',
@@ -480,26 +481,26 @@ export type RecurringTaskScalarFieldEnum = (typeof RecurringTaskScalarFieldEnum)
480481

481482
export const FeedbackFormScalarFieldEnum = {
482483
id: 'id',
483-
eventId: 'eventId',
484484
publicResultsToken: 'publicResultsToken',
485485
createdAt: 'createdAt',
486486
updatedAt: 'updatedAt',
487-
answerDeadline: 'answerDeadline'
487+
answerDeadline: 'answerDeadline',
488+
eventId: 'eventId'
488489
} as const
489490

490491
export type FeedbackFormScalarFieldEnum = (typeof FeedbackFormScalarFieldEnum)[keyof typeof FeedbackFormScalarFieldEnum]
491492

492493

493494
export const FeedbackQuestionScalarFieldEnum = {
494495
id: 'id',
495-
feedbackFormId: 'feedbackFormId',
496496
label: 'label',
497497
required: 'required',
498498
showInPublicResults: 'showInPublicResults',
499499
type: 'type',
500500
order: 'order',
501501
createdAt: 'createdAt',
502-
updatedAt: 'updatedAt'
502+
updatedAt: 'updatedAt',
503+
feedbackFormId: 'feedbackFormId'
503504
} as const
504505

505506
export type FeedbackQuestionScalarFieldEnum = (typeof FeedbackQuestionScalarFieldEnum)[keyof typeof FeedbackQuestionScalarFieldEnum]
@@ -516,9 +517,9 @@ export type FeedbackQuestionOptionScalarFieldEnum = (typeof FeedbackQuestionOpti
516517

517518
export const FeedbackQuestionAnswerScalarFieldEnum = {
518519
id: 'id',
520+
value: 'value',
519521
questionId: 'questionId',
520-
formAnswerId: 'formAnswerId',
521-
value: 'value'
522+
formAnswerId: 'formAnswerId'
522523
} as const
523524

524525
export type FeedbackQuestionAnswerScalarFieldEnum = (typeof FeedbackQuestionAnswerScalarFieldEnum)[keyof typeof FeedbackQuestionAnswerScalarFieldEnum]
@@ -534,10 +535,10 @@ export type FeedbackQuestionAnswerOptionLinkScalarFieldEnum = (typeof FeedbackQu
534535

535536
export const FeedbackFormAnswerScalarFieldEnum = {
536537
id: 'id',
537-
feedbackFormId: 'feedbackFormId',
538-
attendeeId: 'attendeeId',
539538
createdAt: 'createdAt',
540-
updatedAt: 'updatedAt'
539+
updatedAt: 'updatedAt',
540+
feedbackFormId: 'feedbackFormId',
541+
attendeeId: 'attendeeId'
541542
} as const
542543

543544
export type FeedbackFormAnswerScalarFieldEnum = (typeof FeedbackFormAnswerScalarFieldEnum)[keyof typeof FeedbackFormAnswerScalarFieldEnum]
@@ -548,10 +549,10 @@ export const AuditLogScalarFieldEnum = {
548549
tableName: 'tableName',
549550
rowId: 'rowId',
550551
createdAt: 'createdAt',
551-
userId: 'userId',
552552
operation: 'operation',
553553
rowData: 'rowData',
554-
transactionId: 'transactionId'
554+
transactionId: 'transactionId',
555+
userId: 'userId'
555556
} as const
556557

557558
export type AuditLogScalarFieldEnum = (typeof AuditLogScalarFieldEnum)[keyof typeof AuditLogScalarFieldEnum]

0 commit comments

Comments
 (0)