Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#332] 컨트리뷰터 리팩토링 #333

Merged
merged 4 commits into from
Jun 10, 2024
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
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
package com.droidknights.app.core.data.repository.api

import com.droidknights.app.core.model.Contributor
import com.droidknights.app.core.model.ContributorWithYears
import com.droidknights.app.core.model.ContributorGroup
import kotlinx.coroutines.flow.Flow

interface ContributorRepository {

suspend fun getContributors(
fun flowContributors(
owner: String,
name: String,
): List<Contributor>

suspend fun getContributorsWithYears(): List<ContributorWithYears>
): Flow<List<ContributorGroup>>
}
157 changes: 95 additions & 62 deletions core/data/src/main/assets/contributors.json
Original file line number Diff line number Diff line change
@@ -1,186 +1,219 @@
[
{
"id":28249981,
"name":"laco-dev",
"login": "laco-dev",
"id": 28249981,
"years":[
2023
]
},
{
"id":32327475,
"name":"wisemuji",
"login": "wisemuji",
"id": 32327475,
"years":[
2023,
2024
]
},
{
"id":54518925,
"name":"l2hyunwoo",
"login": "KwakEuiJin",
"id": 93872496,
"years":[
2023
2023,
2024
]
},
{
"id":18674395,
"name":"JeonK1",
"login": "l2hyunwoo",
"id": 54518925,
"years":[
2023
2023,
2024
]
},
{
"id":93872496,
"name":"KwakEuiJin",
"login": "tmdgh1592",
"id": 56534241,
"years":[
2023
2023,
2024
]
},
{
"login": "JeonK1",
"id": 18674395,
"years":[
2023,
2024
]
},
{
"id":57751515,
"name":"yuuuzzzin",
"login": "taehwandev",
"id": 2144231,
"years":[
2023,
2024
]
},
{
"login": "rhkrwngud445",
"id": 33768873,
"years":[
2023,
2024
]
},
{
"login": "yuuuzzzin",
"id": 57751515,
"years":[
2023
]
},
{
"id":53253298,
"name":"toastmeister1",
"login": "toastmeister1",
"id": 53253298,
"years":[
2023
]
},
{
"id":72238126,
"name":"yjyoon-dev",
"login": "Cjsghkd",
"id": 84944098,
"years":[
2023
]
},
{
"id":84944098,
"name":"Cjsghkd",
"login": "yjyoon-dev",
"id": 72238126,
"years":[
2023
]
},
{
"id":22849063,
"name":"KimReady",
"login": "HamBP",
"id": 35232655,
"years":[
2024
]
},
{
"id":2144231,
"name":"taehwandev",
"login": "chattymin",
"id": 52882799,
"years":[
2023,
2024
]
},
{
"id":37904970,
"name":"sodp5",
"login": "KimReady",
"id": 22849063,
"years":[
2023
2024
]
},
{
"id":51078673,
"name":"JaesungLeee",
"login": "ParkJong-Hun",
"id": 81838716,
"years":[
2023
2024
]
},
{
"id":61337202,
"name":"koreatlwls",
"login": "koreatlwls",
"id": 61337202,
"years":[
2023
]
},
{
"id":44341119,
"name":"malibinYun",
"login": "sodp5",
"id": 37904970,
"years":[
2023
]
},
{
"id":1534926,
"name":"Pluu",
"login": "JaesungLeee",
"id": 51078673,
"years":[
2023
]
},
{
"id":81838716,
"name":"ParkJong-Hun",
"login": "malibinYun",
"id": 44341119,
"years":[
2024
2023
]
},
{
"id":92064758,
"name":"theo-taehwan",
"login": "taeheeL",
"id": 98825364,
"years":[
2024
2023
]
},
{
"id":52663419,
"name":"jeongth9446",
"login": "Pluu",
"id": 1534926,
"years":[
2023
]
},
{
"id":4679634,
"name":"kisa002",
"login": "kisa002",
"id": 4679634,
"years":[
2023
]
},
{
"id":40175383,
"name":"gowoon-choi",
"login": "jeongth9446",
"id": 52663419,
"years":[
2023
]
},
{
"id":7759511,
"name":"workspace",
"login": "theo-taehwan",
"id": 92064758,
"years":[
2024
]
},
{
"login": "gowoon-choi",
"id": 40175383,
"years":[
2023
]
},
{
"id":51016231,
"name":"easyhooon",
"login": "easyhooon",
"id": 51016231,
"years":[
2024
]
},
{
"id":33443660,
"name":"KwonDae",
"login": "workspace",
"id": 7759511,
"years":[
2023
]
},
{
"id":35232655,
"name":"HamBP",
"login": "KwonDae",
"id": 33443660,
"years":[
2024
2023
]
},
{
"id":76798309,
"name":"onseok",
"login": "onseok",
"id": 76798309,
"years":[
2023
]
}
]
]
Loading
Loading