mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 06:25:31 +00:00
move forgefed to models
This commit is contained in:
parent
0b2cf2a55b
commit
abdf56dde1
|
@ -13,11 +13,11 @@ import (
|
|||
|
||||
"code.gitea.io/gitea/models/activitypub"
|
||||
"code.gitea.io/gitea/models/db"
|
||||
"code.gitea.io/gitea/models/forgefed"
|
||||
repo_model "code.gitea.io/gitea/models/repo"
|
||||
user_model "code.gitea.io/gitea/models/user"
|
||||
api "code.gitea.io/gitea/modules/activitypub"
|
||||
"code.gitea.io/gitea/modules/context"
|
||||
"code.gitea.io/gitea/modules/forgefed"
|
||||
"code.gitea.io/gitea/modules/log"
|
||||
"code.gitea.io/gitea/modules/setting"
|
||||
"code.gitea.io/gitea/modules/util"
|
||||
|
|
|
@ -8,9 +8,9 @@ import (
|
|||
"net/http"
|
||||
|
||||
"code.gitea.io/gitea/models/db"
|
||||
"code.gitea.io/gitea/models/forgefed"
|
||||
"code.gitea.io/gitea/modules/activitypub"
|
||||
"code.gitea.io/gitea/modules/context"
|
||||
"code.gitea.io/gitea/modules/forgefed"
|
||||
"code.gitea.io/gitea/modules/log"
|
||||
|
||||
ap "github.com/go-ap/activitypub"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
package swagger
|
||||
|
||||
import (
|
||||
ffed "code.gitea.io/gitea/modules/forgefed"
|
||||
ffed "code.gitea.io/gitea/models/forgefed"
|
||||
api "code.gitea.io/gitea/modules/structs"
|
||||
"code.gitea.io/gitea/services/forms"
|
||||
)
|
||||
|
|
4
templates/swagger/v1_json.tmpl
generated
4
templates/swagger/v1_json.tmpl
generated
|
@ -23180,7 +23180,7 @@
|
|||
},
|
||||
"SourceType": {
|
||||
"type": "string",
|
||||
"x-go-package": "code.gitea.io/gitea/modules/forgefed"
|
||||
"x-go-package": "code.gitea.io/gitea/models/forgefed"
|
||||
},
|
||||
"Star": {
|
||||
"description": "Star activity data type",
|
||||
|
@ -23190,7 +23190,7 @@
|
|||
"$ref": "#/definitions/SourceType"
|
||||
}
|
||||
},
|
||||
"x-go-package": "code.gitea.io/gitea/modules/forgefed"
|
||||
"x-go-package": "code.gitea.io/gitea/models/forgefed"
|
||||
},
|
||||
"StateType": {
|
||||
"description": "StateType issue state type",
|
||||
|
|
Loading…
Reference in a new issue