Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/entities/comment/schemas/CommentSchema.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export interface CommentSchema {
id: number;
authorId: number;
authorName: string;
content: string;
}
5 changes: 5 additions & 0 deletions src/entities/community/schemas/CommunitySchema.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export interface CommunitySchema {
id: number;
name: string;
jobGroup: string;
}
6 changes: 6 additions & 0 deletions src/entities/company/schemas/CompanySchema.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export interface CompanySchema {
id: number;
careerLink: string;
logoUrl: string;
description: string;
}
5 changes: 5 additions & 0 deletions src/entities/feed/schemas/FeedSchema.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export interface FeedSchema {
id: number;
title: string;
content: string;
}
5 changes: 5 additions & 0 deletions src/entities/user/ProfileSchema.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export interface ProfileSchema {
id: number;
name: string;
nickname: string;
}
5 changes: 5 additions & 0 deletions src/entities/user/UserSchema.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export interface UserSchema {
id: number;
email: string;
role: "NORMAL" | "ADMIN";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

roleUserRole 타입으로 분리하면 재사용성과 가독성이 좋아질 것 같습니다!

}
Loading