Skip to content

Commit 78155f0

Browse files
committed
seedする際に、メモを追加するようにした
1 parent 84a13ab commit 78155f0

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

server/src/seeds/test-data/data.ts

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Day } from "common/types";
1+
import type { Day, User } from "common/types";
22

33
export const subjects: Array<{
44
group: string;
@@ -30,7 +30,19 @@ export const interest = [
3030
{ userId: 103, subjectId: 4 },
3131
];
3232

33-
export const users = [
33+
export const users: User[] = [
34+
{
35+
id: 0,
36+
name: "メモ",
37+
gender: "メモ",
38+
grade: "メモ",
39+
faculty: "メモ",
40+
department: "メモ",
41+
intro: "メモです。",
42+
pictureUrl:
43+
"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvpbYflYCwbG_c11ADWhZUaf93zrtmvYYjSvY4NNxcF4Ri-XO6jiFZq-1InXfcxBjTD9_8jQntvnzML5F0geA04H9etzy3dcZ7SaqpbfKX4PmFgg8nplhaSLBCWo6zOIwq-jJc9tjrXxKV/s1600/bunbougu_memo.png",
44+
guid: "0000",
45+
},
3446
{
3547
id: 101,
3648
name: "田中太郎",

0 commit comments

Comments
 (0)