Add database and Prisma configurations, enhance event and leaderboard components with API integration, and update navigation for session management
This commit is contained in:
36
prisma/generated/prisma/enums.ts
Normal file
36
prisma/generated/prisma/enums.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
||||
/* eslint-disable */
|
||||
// biome-ignore-all lint: generated file
|
||||
// @ts-nocheck
|
||||
/*
|
||||
* This file exports all enum related types from the schema.
|
||||
*
|
||||
* 🟢 You can import this file directly.
|
||||
*/
|
||||
|
||||
export const Role = {
|
||||
USER: 'USER',
|
||||
ADMIN: 'ADMIN'
|
||||
} as const
|
||||
|
||||
export type Role = (typeof Role)[keyof typeof Role]
|
||||
|
||||
|
||||
export const EventType = {
|
||||
SUMMIT: 'SUMMIT',
|
||||
LAUNCH: 'LAUNCH',
|
||||
FESTIVAL: 'FESTIVAL',
|
||||
COMPETITION: 'COMPETITION'
|
||||
} as const
|
||||
|
||||
export type EventType = (typeof EventType)[keyof typeof EventType]
|
||||
|
||||
|
||||
export const EventStatus = {
|
||||
UPCOMING: 'UPCOMING',
|
||||
LIVE: 'LIVE',
|
||||
PAST: 'PAST'
|
||||
} as const
|
||||
|
||||
export type EventStatus = (typeof EventStatus)[keyof typeof EventStatus]
|
||||
Reference in New Issue
Block a user