Skip to content

Commit 170dec1

Browse files
committedJan 12, 2025·
fix: mock data build error 수정
1 parent 877b66f commit 170dec1

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed
 

‎src/mocks/documentCard.ts

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { DocumentList } from '@/types';
22

33
const documentCardData: DocumentList[] = [
44
{
5+
teamId: 1,
56
id: 1,
67
title: '자료이름1',
78
description: '이번 포스팅은 [스터디 목적]에 관한것입니다. 먼저 [목차]는 이렇습니다.',
@@ -18,6 +19,7 @@ const documentCardData: DocumentList[] = [
1819
type: 'IMAGE',
1920
},
2021
{
22+
teamId: 1,
2123
id: 2,
2224
title: '자료이름2',
2325
description: '이번 포스팅은 [스터디 목적]에 관한것입니다. 먼저 [목차]는 이렇습니다.',
@@ -34,6 +36,7 @@ const documentCardData: DocumentList[] = [
3436
type: 'IMAGE',
3537
},
3638
{
39+
teamId: 1,
3740
id: 3,
3841
title: '자료이름3',
3942
description: '이번 포스팅은 [스터디 목적]에 관한것입니다. 먼저 [목차]는 이렇습니다.',
@@ -51,6 +54,7 @@ const documentCardData: DocumentList[] = [
5154
},
5255

5356
{
57+
teamId: 1,
5458
id: 4,
5559
title: '자료이름4',
5660
description: '이번 포스팅은 [스터디 목적]에 관한것입니다. 먼저 [목차]는 이렇습니다.',
@@ -67,6 +71,7 @@ const documentCardData: DocumentList[] = [
6771
type: 'IMAGE',
6872
},
6973
{
74+
teamId: 1,
7075
id: 5,
7176
title: '자료이름5',
7277
description: '이번 포스팅은 [스터디 목적]에 관한것입니다. 먼저 [목차]는 이렇습니다.',
@@ -84,6 +89,7 @@ const documentCardData: DocumentList[] = [
8489
},
8590

8691
{
92+
teamId: 1,
8793
id: 6,
8894
title: '자료이름6',
8995
description: '이번 포스팅은 [스터디 목적]에 관한것입니다. 먼저 [목차]는 이렇습니다.',
@@ -100,6 +106,7 @@ const documentCardData: DocumentList[] = [
100106
type: 'IMAGE',
101107
},
102108
{
109+
teamId: 1,
103110
id: 7,
104111
title: '자료이름7',
105112
description: '이번 포스팅은 [스터디 목적]에 관한것입니다. 먼저 [목차]는 이렇습니다.',
@@ -116,6 +123,7 @@ const documentCardData: DocumentList[] = [
116123
type: 'IMAGE',
117124
},
118125
{
126+
teamId: 1,
119127
id: 8,
120128
title: '자료이름8',
121129
description: '이번 포스팅은 [스터디 목적]에 관한것입니다. 먼저 [목차]는 이렇습니다.',

‎src/mocks/documentCardAll.ts

+12
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { DocumentList } from '@/types';
22

33
const documentCardDataAll: DocumentList[] = [
44
{
5+
teamId: 1,
56
id: 1,
67
title: '자료이름1',
78
description: '이번 포스팅은 [스터디 목적]에 관한것입니다. 먼저 [목차]는 이렇습니다.',
@@ -17,6 +18,7 @@ const documentCardDataAll: DocumentList[] = [
1718
type: 'IMAGE',
1819
},
1920
{
21+
teamId: 1,
2022
id: 2,
2123
title: '자료이름2',
2224
description: '이번 포스팅은 [스터디 목적]에 관한것입니다. 먼저 [목차]는 이렇습니다.',
@@ -32,6 +34,7 @@ const documentCardDataAll: DocumentList[] = [
3234
type: 'IMAGE',
3335
},
3436
{
37+
teamId: 1,
3538
id: 3,
3639
title: '자료이름3',
3740
description: '이번 포스팅은 [스터디 목적]에 관한것입니다. 먼저 [목차]는 이렇습니다.',
@@ -47,6 +50,7 @@ const documentCardDataAll: DocumentList[] = [
4750
type: 'IMAGE',
4851
},
4952
{
53+
teamId: 1,
5054
id: 4,
5155
title: '자료이름4',
5256
description: '이번 포스팅은 [스터디 목적]에 관한것입니다. 먼저 [목차]는 이렇습니다.',
@@ -62,6 +66,7 @@ const documentCardDataAll: DocumentList[] = [
6266
type: 'IMAGE',
6367
},
6468
{
69+
teamId: 1,
6570
id: 5,
6671
title: '자료이름5',
6772
description: '이번 포스팅은 [스터디 목적]에 관한것입니다. 먼저 [목차]는 이렇습니다.',
@@ -77,6 +82,7 @@ const documentCardDataAll: DocumentList[] = [
7782
type: 'IMAGE',
7883
},
7984
{
85+
teamId: 1,
8086
id: 6,
8187
title: '자료이름6',
8288
description: '이번 포스팅은 [스터디 목적]에 관한것입니다. 먼저 [목차]는 이렇습니다.',
@@ -92,6 +98,7 @@ const documentCardDataAll: DocumentList[] = [
9298
type: 'IMAGE',
9399
},
94100
{
101+
teamId: 1,
95102
id: 7,
96103
title: '자료이름7',
97104
description: '이번 포스팅은 [스터디 목적]에 관한것입니다. 먼저 [목차]는 이렇습니다.',
@@ -107,6 +114,7 @@ const documentCardDataAll: DocumentList[] = [
107114
type: 'IMAGE',
108115
},
109116
{
117+
teamId: 1,
110118
id: 8,
111119
title: '자료이름8',
112120
description: '이번 포스팅은 [스터디 목적]에 관한것입니다. 먼저 [목차]는 이렇습니다.',
@@ -122,6 +130,7 @@ const documentCardDataAll: DocumentList[] = [
122130
type: 'IMAGE',
123131
},
124132
{
133+
teamId: 1,
125134
id: 9,
126135
title: '자료이름9',
127136
description: '이번 포스팅은 [스터디 목적]에 관한것입니다. 먼저 [목차]는 이렇습니다.',
@@ -137,6 +146,7 @@ const documentCardDataAll: DocumentList[] = [
137146
type: 'IMAGE',
138147
},
139148
{
149+
teamId: 1,
140150
id: 10,
141151
title: '자료이름10',
142152
description: '이번 포스팅은 [스터디 목적]에 관한것입니다. 먼저 [목차]는 이렇습니다.',
@@ -152,6 +162,7 @@ const documentCardDataAll: DocumentList[] = [
152162
type: 'IMAGE',
153163
},
154164
{
165+
teamId: 1,
155166
id: 11,
156167
title: '자료이름11',
157168
description: '이번 포스팅은 [스터디 목적]에 관한것입니다. 먼저 [목차]는 이렇습니다.',
@@ -167,6 +178,7 @@ const documentCardDataAll: DocumentList[] = [
167178
type: 'IMAGE',
168179
},
169180
{
181+
teamId: 1,
170182
id: 12,
171183
title: '자료이름12',
172184
description: '이번 포스팅은 [스터디 목적]에 관한것입니다. 먼저 [목차]는 이렇습니다.',

0 commit comments

Comments
 (0)
Please sign in to comment.