Skip to content

Commit

Permalink
fixing linter
Browse files Browse the repository at this point in the history
  • Loading branch information
divyack2 authored Sep 10, 2024
1 parent 2870b41 commit eb0425d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/services/events/events-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@ import { Schema } from "mongoose";
import { z } from "zod";
import { v4 as uuidv4 } from "uuid";

export const EventType = z.enum(["SPEAKER", "CORPORATE", "SPECIAL", "PARTNERS", "MEALS"]);
export const EventType = z.enum([
"SPEAKER",
"CORPORATE",
"SPECIAL",
"PARTNERS",
"MEALS"

Check failure on line 10 in src/services/events/events-schema.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `,`
]);

export const externalEventView = z.object({
eventId: z.coerce.string().default(() => uuidv4()),
Expand Down

0 comments on commit eb0425d

Please sign in to comment.