File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
apps/rpc/src/modules/event Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -330,7 +330,7 @@ export function getEventRepository(): EventRepository {
330330 // 4. Event in future, registration full (registration status does not matter)
331331 //
332332 // Past events are not featured. We would rather have no featured events than "stale" events.
333-
333+
334334 const events = await handle . $queryRawTyped ( findFeaturedEvents ( offset , limit ) )
335335
336336 return parseOrReport ( BaseEventSchema . array ( ) , events )
Original file line number Diff line number Diff line change 2424 "prisma" : " prisma" ,
2525 "migrate" : " prisma migrate dev" ,
2626 "generate" : " prisma generate --sql" ,
27- "postinstall" : " prisma generate --sql" ,
2827 "apply-fixtures" : " tsx src/fixtures.ts"
2928 },
3029 "dependencies" : {
Original file line number Diff line number Diff line change @@ -229,14 +229,17 @@ enum EventType {
229229 COMPANY @map (" COMPANY " )
230230 /// Kurs
231231 ACADEMIC @map (" ACADEMIC " )
232+ /// Sosialt
232233 SOCIAL @map (" SOCIAL " )
233- // These are for the rare occations we have events that are only open to committee members
234+ // This type is for the rare occation we have an event that is only open to committee members.
235+ /// Komitéarrangement
234236 INTERNAL @map (" INTERNAL " )
235237 OTHER @map (" OTHER " )
236- // These are for a committe called "velkom" and are special social events for new students.
238+ // This type is for a committe called "velkom" and are special social events for new students.
237239 // These have a separate type because we have historically hid these from event lists to not
238240 // spam students that are not new with these events. In older versions of OnlineWeb these
239241 // were even treated as a completely separate event entity.
242+ /// Velkom/Fadderukene
240243 WELCOME @map (" WELCOME " )
241244
242245 @@map (" event_type " )
@@ -251,6 +254,7 @@ model Attendance {
251254 createdAt DateTime @default (now () ) @db.Timestamptz (3 )
252255 updatedAt DateTime @default (now () ) @updatedAt @db.Timestamptz (3 )
253256
257+ /// Price in NOK (100 = 100 NOK)
254258 attendancePrice Int ?
255259
256260 pools AttendancePool []
You can’t perform that action at this time.
0 commit comments