Skip to content

Commit

Permalink
updates events type
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhelp committed Sep 11, 2024
1 parent 1a64b15 commit 0cd1a70
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions apps/web/src/components/events/shared/EventColumns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@ import { Badge } from "@/components/shadcn/ui/badge";
import c from "config";
import { eventTableValidatorType } from "@/lib/types/events";

const eventValidator = createSelectSchema(events);

export type eventTableValidatorType = Pick<
z.infer<typeof eventValidator>,
"title" | "startTime" | "endTime" | "id" | "type"
>;

export const columns: ColumnDef<eventTableValidatorType>[] = [
{
accessorKey: "title",
Expand Down

0 comments on commit 0cd1a70

Please sign in to comment.