mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-12 00:22:59 +02:00
naming
This commit is contained in:
parent
03faefc4d1
commit
d765cb2aec
@ -127,7 +127,7 @@ type Repository struct {
|
||||
// swagger:strfmt date-time
|
||||
MirrorUpdated time.Time `json:"mirror_updated"`
|
||||
// swagger:strfmt date-time
|
||||
LastSync time.Time `json:"last_sync"`
|
||||
MirrorLastSyncAt time.Time `json:"mirror_last_sync_at"`
|
||||
RepoTransfer *RepoTransfer `json:"repo_transfer,omitempty"`
|
||||
Topics []string `json:"topics"`
|
||||
Licenses []string `json:"licenses"`
|
||||
|
||||
@ -249,7 +249,7 @@ func innerToRepo(ctx context.Context, repo *repo_model.Repository, permissionInR
|
||||
DefaultTargetBranch: defaultTargetBranch,
|
||||
AvatarURL: repo.AvatarLink(ctx),
|
||||
Internal: !repo.IsPrivate && repo.Owner.Visibility == api.VisibleTypePrivate,
|
||||
LastSync: lastSync,
|
||||
MirrorLastSyncAt: lastSync,
|
||||
MirrorInterval: mirrorInterval,
|
||||
MirrorUpdated: mirrorUpdated,
|
||||
RepoTransfer: transfer,
|
||||
|
||||
10
templates/swagger/v1_json.tmpl
generated
10
templates/swagger/v1_json.tmpl
generated
@ -29020,11 +29020,6 @@
|
||||
"type": "string",
|
||||
"x-go-name": "LanguagesURL"
|
||||
},
|
||||
"last_sync": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name": "LastSync"
|
||||
},
|
||||
"licenses": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
@ -29044,6 +29039,11 @@
|
||||
"type": "string",
|
||||
"x-go-name": "MirrorInterval"
|
||||
},
|
||||
"mirror_last_sync_at": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
"x-go-name": "MirrorLastSyncAt"
|
||||
},
|
||||
"mirror_updated": {
|
||||
"type": "string",
|
||||
"format": "date-time",
|
||||
|
||||
@ -9273,11 +9273,6 @@
|
||||
"type": "string",
|
||||
"x-go-name": "LanguagesURL"
|
||||
},
|
||||
"last_sync": {
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
"x-go-name": "LastSync"
|
||||
},
|
||||
"licenses": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
@ -9297,6 +9292,11 @@
|
||||
"type": "string",
|
||||
"x-go-name": "MirrorInterval"
|
||||
},
|
||||
"mirror_last_sync_at": {
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
"x-go-name": "MirrorLastSyncAt"
|
||||
},
|
||||
"mirror_updated": {
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user