Skip to content

Commit

Permalink
fix: remove enum constraint from deck
Browse files Browse the repository at this point in the history
  • Loading branch information
saehun committed Aug 12, 2023
1 parent df3518f commit d97e377
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/types/src/database/Deck.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import { DeckCategory } from '../dto/createDeckDto';

export type Deck = {
id: string;
name: string;
// TODO category m:n relation
category: DeckCategory[];
category: string[];
// TODO card 1:n relation and aggregate card count
cardIds: string[];
// TODO card 1:n relation and aggregate card count
Expand Down

0 comments on commit d97e377

Please sign in to comment.