v0.5.0
Pre-release
Pre-release
์ ๊ท ๊ธฐ๋ฅ โจ
- ๋ก๊ทธ์ธ ๊ด๋ จ mutation ์ถ๊ฐ
type LinkedAccount {
platform: String!
id: String!
email: String
linkedAt: DateTime!
}
type Account {
userId: Int!
linkedAccounts: [LinkedAccount!]!
}
type LoginSuccess {
accessToken: String!
refreshToken: String!
userId: Int!
message: String!
}
type LoginNotLinked {
message: String!
}
union LoginResult = LoginSuccess | LoginNotLinked
type GoogleLoginInput {
clientId: String!
credential: String!
}
- ftLogin ์ถ๊ฐ
mutation ftLogin (ftCode: "example"): LoginSuccess!
- googleLogin ์ถ๊ฐ
mutation googleLogin (google: GoogleLoginInput, ftCode: "example"): LoginResult!
- linkGoogle ์ถ๊ฐ
mutation linkGoogle (google: GoogleLoginInput): Account!
- unlinkAccount ์ถ๊ฐ
mutation unlinkAccount (targetPlatform: String!): Account!
- refreshToken ์ถ๊ฐ
mutation refreshToken (refreshToken: String!): LoginSuccess!
- logout ์ถ๊ฐ
mutation logout: Int!
- deleteAccount ์ถ๊ฐ
mutation deleteAccount: Int!
- getSetting ์ถ๊ฐ
getSetting: Account
- getPersonalVersus ์ถ๊ฐ
# login, userId ๋ชจ๋ ์ฌ์ฉ ๊ฐ๋ฅํฉ๋๋ค
getPersonalVersus (login: "example", userId: 12345) {
levelRank {
rank
value
}
totalScoreRank {
rank
value
}
totalEvalCountRank {
rank
value
}
currWeekExpIncreamentRank {
rank
value
}
currWeekScoreRank {
rank
value
}
currWeekEvalCountRank {
rank
value
}
}
๊ธฐ์กด api ๋ณ๊ฒฝ ์ฌํญ โป๏ธ
- getPersonalGeneral ์ character ๋ฅผ ๋ฐฑ์๋์์ ์บ๋ฆญํฐ๊น์ง ํน์ ํด์ ๋ฐํํ๋๋ก ์์
getPersonalGeneral (login: "example") {
character {
name
types {
name
description
color
}
imgUrl
}
}
- getPersonalEval ์ totalCount ๋ฅผ countByDateTemplate ๊ณผ ํตํฉ, ๊ธฐ์กด totalCount ๋ ๋ค์ release ์ ์ญ์ ์์
- graphql complexity ๋ฅผ ํตํด, ํ๋ฒ์ ๋๋ฌด ๋ง์ field ๋ฅผ ์์ฒญํ๋ฉด ์๋ฌ๋ฅผ ๋ฐํํ๋๋ก ์์
๋ฒ๊ทธ ์์ ๐
์ธ๋ถ ๋ณ๊ฒฝ ์ฌํญ ๐
- feat โจ complexity by @jpham005 in #228
- refactor โป๏ธ character by @jpham005 in #231
- feat โจ versus by @jpham005 in #233
- feat โจ login & setting page by @niamu01 in #218
- refactor: โป๏ธ ์ฌ๋ฅ ์ต๋ ๊ตฌ์ญ์ ์ ์ ๋ถํฌ๊ฐ ๊ณผ๋ํ๊ฒ ์ ์ ๋ฌธ์ ์์ by @jpham005 in #234
- refactor: โป๏ธ ์บ์ ํ ํ์ ์๋ ๋ถ๋ถ private ํจ์๋ก ๋ณ๊ฒฝ, cache max, ttl ์ค์ ๋ณ๊ฒฝ by @jpham005 in #236
- chore: ๐ v0.5.0 by @jpham005 in #237
Full Changelog: v0.4.0...v0.5.0