Fix: 타입 고침

This commit is contained in:
jhynsoo 2024-09-20 17:40:56 +09:00
parent 8b17f50087
commit 67b4729e7b
2 changed files with 8 additions and 5 deletions

View File

@ -19,7 +19,7 @@ const projects: Project[] = [
{
id: 1,
name: 'project-111',
type: 'Segmentation',
type: 'segmentation',
children: [
{
id: 12,
@ -45,7 +45,7 @@ const projects: Project[] = [
{
id: 2,
name: 'very-extremely-long-long-project-name-222',
type: 'Classification',
type: 'classification',
children: [
{
id: 23,

View File

@ -252,13 +252,15 @@ export const handlers = [
{
id: 1,
imageTitle: 'image.jpg',
imageUrl: 'https://example.com/image.jpg',
imagePath: 'https://example.com/image.jpg',
dataPath: 'https://example.com/image.json',
status: 'PENDING',
},
{
id: 2,
imageTitle: 'another_image.jpg',
imageUrl: 'https://example.com/another_image.jpg',
imagePath: 'https://example.com/another_image.jpg',
dataPath: 'https://example.com/another_image.json',
status: 'IN_PROGRESS',
},
],
@ -282,7 +284,8 @@ export const handlers = [
const response: ImageResponse = {
id: parseInt(imageId as string, 10),
imageTitle: 'Image Title',
imageUrl: 'image-url.jpg',
imagePath: 'image-url.jpg',
dataPath: 'data-url.json',
status: 'PENDING',
};
return HttpResponse.json(response);