Skip to content

Commit

Permalink
Task の interface を定義
Browse files Browse the repository at this point in the history
  • Loading branch information
itizawa committed Dec 12, 2023
1 parent bdf0769 commit 073eda8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/domains/Task/Task.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export interface Task {
_id: string;
title: string;
body: string;
createdUserId: string;
objectiveId: string;
dueDate: string; // 対応日時
createdAt: string;
updatedAt: string;
}
1 change: 1 addition & 0 deletions src/domains/Task/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export type { Task } from './Task';

0 comments on commit 073eda8

Please sign in to comment.