Skip to content

fix: 검색 페이지 api response 타입 수정 #291

fix: 검색 페이지 api response 타입 수정

fix: 검색 페이지 api response 타입 수정 #291

Triggered via pull request November 22, 2023 11:26
Status Failure
Total duration 1m 4s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

pull_request.yml

on: pull_request
build-react
30s
build-react
build-storybook
55s
build-storybook
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build-react: src/core/mocks/datas/searchRooms.ts#L15
Type '{ id: number; title: string; managerNickname: string; level: number; roomType: "MORNING"; certifyTime: number; currentUserCount: number; maxUserCount: number; image: string; isPassword: true; routine: { ...; }[]; }' is not assignable to type 'Room'.
build-react: src/core/mocks/datas/searchRooms.ts#L37
Type '{ id: number; title: string; managerNickname: string; level: number; roomType: "NIGHT"; certifyTime: number; currentUserCount: number; maxUserCount: number; image: string; isPassword: true; routine: { ...; }[]; }' is not assignable to type 'Room'.
build-react: src/core/mocks/datas/searchRooms.ts#L59
Type '{ id: number; title: string; managerNickname: string; level: number; roomType: "NIGHT"; certifyTime: number; currentUserCount: number; maxUserCount: number; image: string; isPassword: false; routine: { ...; }[]; }' is not assignable to type 'Room'.
build-react: src/core/mocks/datas/searchRooms.ts#L81
Type '{ id: number; title: string; managerNickname: string; level: number; roomType: "MORNING"; certifyTime: number; currentUserCount: number; maxUserCount: number; image: string; isPassword: true; routine: { ...; }[]; }' is not assignable to type 'Room'.
build-react: src/core/mocks/datas/searchRooms.ts#L103
Type '{ id: number; title: string; managerNickname: string; level: number; roomType: "NIGHT"; certifyTime: number; currentUserCount: number; maxUserCount: number; image: string; isPassword: true; routine: { ...; }[]; }' is not assignable to type 'Room'.
build-react: src/core/mocks/datas/searchRooms.ts#L125
Type '{ id: number; title: string; managerNickname: string; level: number; roomType: "MORNING"; certifyTime: number; currentUserCount: number; maxUserCount: number; image: string; isPassword: false; routine: { ...; }[]; }' is not assignable to type 'Room'.
build-react: src/core/mocks/datas/searchRooms.ts#L147
Type '{ id: number; title: string; managerNickname: string; level: number; roomType: "MORNING"; certifyTime: number; currentUserCount: number; maxUserCount: number; image: string; isPassword: true; routine: { ...; }[]; }' is not assignable to type 'Room'.
build-react: src/core/mocks/datas/searchRooms.ts#L169
Type '{ id: number; title: string; managerNickname: string; level: number; roomType: "NIGHT"; certifyTime: number; currentUserCount: number; maxUserCount: number; image: string; isPassword: true; routine: { ...; }[]; }' is not assignable to type 'Room'.
build-react: src/core/mocks/datas/searchRooms.ts#L191
Type '{ id: number; title: string; managerNickname: string; level: number; roomType: "NIGHT"; certifyTime: number; currentUserCount: number; maxUserCount: number; image: string; isPassword: false; routine: { ...; }[]; }' is not assignable to type 'Room'.
build-react: src/core/mocks/datas/searchRooms.ts#L213
Type '{ id: number; title: string; managerNickname: string; level: number; roomType: "MORNING"; certifyTime: number; currentUserCount: number; maxUserCount: number; image: string; isPassword: false; routine: { ...; }[]; }' is not assignable to type 'Room'.