MCPcopy Create free account
hub / github.com/code100x/cms / fetchEvents

Function fetchEvents

src/actions/event-actions/index.ts:16–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14}
15
16export async function fetchEvents() {
17 return await prisma.event.findMany();
18}
19
20export async function addEvent(
21 event: Omit<Event, 'id' | 'createdAt' | 'updatedAt'>,

Callers 1

loadEventsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected