Skip to content

Commit 0ecfa88

Browse files
committed
chore: remove postinstall script
1 parent ec1b4a5 commit 0ecfa88

File tree

3 files changed

+922
-80
lines changed

3 files changed

+922
-80
lines changed

apps/dashboard/src/app/(internal)/audit-log/[id]/page.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ export default function AuditLogDetailsPage() {
4343
// Fetches specific audit
4444
const { auditLog } = useAuditLogDetailsQuery()
4545

46-
if (!auditLog.rowData) return null
46+
if (!auditLog.rowData) {
47+
return null
48+
}
4749

4850
const changed_fields = Object.entries(auditLog.rowData).map(([field, change], index) => {
4951
return (

packages/db/prisma/schema.prisma

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,14 +226,17 @@ enum EventType {
226226
COMPANY @map("COMPANY")
227227
/// Kurs
228228
ACADEMIC @map("ACADEMIC")
229+
/// Sosialt
229230
SOCIAL @map("SOCIAL")
230-
// These are for the rare occations we have events that are only open to committee members
231+
// This type is for the rare occation we have an event that is only open to committee members.
232+
/// Komitéarrangement
231233
INTERNAL @map("INTERNAL")
232234
OTHER @map("OTHER")
233-
// These are for a committe called "velkom" and are special social events for new students.
235+
// This type is for a committe called "velkom" and are special social events for new students.
234236
// These have a separate type because we have historically hid these from event lists to not
235237
// spam students that are not new with these events. In older versions of OnlineWeb these
236238
// were even treated as a completely separate event entity.
239+
/// Velkom/Fadderukene
237240
WELCOME @map("WELCOME")
238241
239242
@@map("event_type")
@@ -248,6 +251,7 @@ model Attendance {
248251
createdAt DateTime @default(now()) @db.Timestamptz(3)
249252
updatedAt DateTime @default(now()) @updatedAt @db.Timestamptz(3)
250253
254+
/// Price in NOK (100 = 100 NOK)
251255
attendancePrice Int?
252256
253257
pools AttendancePool[]

0 commit comments

Comments
 (0)