mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-05-16 06:49:09 +02:00
feat: gist & co-authors
This commit is contained in:
@@ -520,6 +520,10 @@ export default class Repository {
|
||||
return this._model.options;
|
||||
}
|
||||
|
||||
get coauthors() {
|
||||
return this._model.coauthors || [];
|
||||
}
|
||||
|
||||
get model() {
|
||||
return this._model;
|
||||
}
|
||||
@@ -537,6 +541,11 @@ export default class Repository {
|
||||
return {
|
||||
repoId: this._model.repoId,
|
||||
options: this._model.options,
|
||||
coauthors: (this._model.coauthors || []).map((c) => ({
|
||||
username: c.username,
|
||||
githubId: c.githubId,
|
||||
photo: c.photo,
|
||||
})),
|
||||
conference: this._model.conference,
|
||||
anonymizeDate: this._model.anonymizeDate,
|
||||
status: this.status,
|
||||
|
||||
Reference in New Issue
Block a user