Skip to content

Frontend Entity

junothyme edited this page Dec 21, 2019 · 15 revisions
[편집기록]
날짜 내용 버전 작성자
2019-11-25 기본 포맷 정리 0.5 이상원
2019-12-02 User Entity 추가 1.0 이상원
2019-12-09 Invite Entity 추가 1.1 이상원
2019-12-10 Profile Entity 수정 1.2 이상원

Frontend Entity

Channel

필드명 타입
id number?
name string?
description string?
privacy boolean?
createdAt Date?
creatorName string?

Post

필드명 타입
id number?
createdAt number?
updatedAt string?
contents string?
profile Profile?
replyCount string?
room Channel?
filePath string?

Profile

필드명 타입
id number?
name string?
thumbnail string?
status string?
role Role?
description string?
phone string?
email string?
snugId number?

*** Role 참고 ***

enum Role{
    "admin"= "admin";
    "member"="member";
}

User

필드명 타입
id number?
email string?
name string?
password string?

Snug

필드명 타입
id number?
name string?
thumbnail string?
description string?
createdAt string?
updatedAt string?

Invite

필드명 타입
id number?
email string?
snug string?
link string?
createdAt Date?

ParticipateInfo

필드명 타입
channel Channel
profile Profile

PathParameter

|필드명|타입| |snugId|number?| |channelId|number?|

Socket

|필드명|타입| |socket|SocketIOClient.Socket|

Thread

|필드명|타입| |post|Post| |replies|Post[]|

WebToken

|필드명|타입| |token|T|

🏠 Home

ㄴ 📒 API

ㄴ 📒 Ground Rule

ㄴ ✏️ STUDY

ㄴ 🤔 주간회고

Clone this wiki locally