Skip to content

Commit 57424ba

Browse files
jp3peparkgang
authored andcommitted
up: work todo 생성 시 반복 요일 정보 입력 가능하게 기능 수정 (#62)
* up: work todo 생성 시 반복 요일 정보 입력 가능하게 기능 수정 * up: 버전 정보 업데이트
1 parent 850562f commit 57424ba

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "api-gateway",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "",
55
"author": "",
66
"private": true,
@@ -40,7 +40,7 @@
4040
"@types/express": "^4.17.11",
4141
"@types/jest": "^26.0.22",
4242
"@types/multer": "^1.4.7",
43-
"@types/node": "^14.17.26",
43+
"@types/node": "^14.17.32",
4444
"@types/supertest": "^2.0.10",
4545
"@typescript-eslint/eslint-plugin": "^4.33.0",
4646
"@typescript-eslint/parser": "^4.33.0",
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import { RepeatedDaysOfTheWeekType } from "./repeated-days-of-the-week.type";
21
import { WorkTodoType } from "./work-todo.type";
32

43
export interface WorkTodoPostInterface extends WorkTodoType {
5-
repeatedDaysOfTheWeek?: RepeatedDaysOfTheWeekType[];
4+
repeatedDaysOfTheWeek: number[];
65
}

src/todo/todo.http

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ Content-Type: application/json
4747

4848
{
4949
"courseId": 1,
50-
"title": "나만의 할 일1"
50+
"title": "나만의 할 일1",
51+
"repeatedDaysOfTheWeek": []
5152
}
5253

5354
### work_todo 추가(선택)
@@ -56,10 +57,11 @@ Content-Type: application/json
5657

5758
{
5859
"courseId": 1,
59-
"recurringCycleDate": 1,
6060
"title": "나만의 할 일1",
61-
"explanation": "나만의 할 일 설명1",
62-
"activeDate": "2021-11-05T08:50:00.12"
61+
"repeatedDaysOfTheWeek": [1, 2, 3],
62+
"activeDate": "2021-11-05T08:50:00.12",
63+
"recurringCycleDate": 1,
64+
"explanation": "나만의 할 일 설명1"
6365
}
6466

6567
### work_todo 전체 리스트 가져오기

0 commit comments

Comments
 (0)