Skip to content

Commit

Permalink
prisma removed
Browse files Browse the repository at this point in the history
  • Loading branch information
HeeManSu committed Jul 9, 2024
1 parent cb2939d commit ab6194a
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions mango-frontend/src/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
import { Sprint } from "@prisma/client";
export interface Sprint {
sprint_id: number;
name: string;
description?: string;
start_date: string;
end_date: string;
status: 'ongoing' | 'upcoming' | 'completed';
organizationId: number;
}

export interface FetchSprintsPayload {
sprints: Sprint[];
Expand All @@ -10,4 +18,4 @@ export interface SprintState {
status: 'idle' | 'loading' | 'succeeded' | 'failed';
error: string | null;
message: string | null;
}
}

0 comments on commit ab6194a

Please sign in to comment.