move forgefed to models

This commit is contained in:
Michael Jerger 2023-12-09 14:27:29 +01:00
parent 0b2cf2a55b
commit abdf56dde1
9 changed files with 5 additions and 5 deletions

View file

@ -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"

View file

@ -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"

View file

@ -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"
)

View file

@ -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",