Skip to content

Commit

Permalink
frontend: fixing build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
NickSavage committed Dec 18, 2024
1 parent 3ce8d39 commit 9f41e98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion zettelkasten-front/src/models/Card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export interface Entity {
type: string;
created_at: Date;
updated_at: Date;
card_count?: number;
card_count: number;
}

export interface Card {
Expand Down
2 changes: 2 additions & 0 deletions zettelkasten-front/src/tests/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ export const sampleEntityData: Entity[] = [
type: "Type A",
created_at: new Date(),
updated_at: new Date(),
card_count: 1
},
{
id: 2,
Expand All @@ -153,6 +154,7 @@ export const sampleEntityData: Entity[] = [
type: "Type B",
created_at: new Date(),
updated_at: new Date(),
card_count: 2
},
];

Expand Down

0 comments on commit 9f41e98

Please sign in to comment.