mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-25 11:16:11 +01: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/activitypub"
|
||||||
"code.gitea.io/gitea/models/db"
|
"code.gitea.io/gitea/models/db"
|
||||||
|
"code.gitea.io/gitea/models/forgefed"
|
||||||
repo_model "code.gitea.io/gitea/models/repo"
|
repo_model "code.gitea.io/gitea/models/repo"
|
||||||
user_model "code.gitea.io/gitea/models/user"
|
user_model "code.gitea.io/gitea/models/user"
|
||||||
api "code.gitea.io/gitea/modules/activitypub"
|
api "code.gitea.io/gitea/modules/activitypub"
|
||||||
"code.gitea.io/gitea/modules/context"
|
"code.gitea.io/gitea/modules/context"
|
||||||
"code.gitea.io/gitea/modules/forgefed"
|
|
||||||
"code.gitea.io/gitea/modules/log"
|
"code.gitea.io/gitea/modules/log"
|
||||||
"code.gitea.io/gitea/modules/setting"
|
"code.gitea.io/gitea/modules/setting"
|
||||||
"code.gitea.io/gitea/modules/util"
|
"code.gitea.io/gitea/modules/util"
|
||||||
|
|
|
@ -8,9 +8,9 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"code.gitea.io/gitea/models/db"
|
"code.gitea.io/gitea/models/db"
|
||||||
|
"code.gitea.io/gitea/models/forgefed"
|
||||||
"code.gitea.io/gitea/modules/activitypub"
|
"code.gitea.io/gitea/modules/activitypub"
|
||||||
"code.gitea.io/gitea/modules/context"
|
"code.gitea.io/gitea/modules/context"
|
||||||
"code.gitea.io/gitea/modules/forgefed"
|
|
||||||
"code.gitea.io/gitea/modules/log"
|
"code.gitea.io/gitea/modules/log"
|
||||||
|
|
||||||
ap "github.com/go-ap/activitypub"
|
ap "github.com/go-ap/activitypub"
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
package swagger
|
package swagger
|
||||||
|
|
||||||
import (
|
import (
|
||||||
ffed "code.gitea.io/gitea/modules/forgefed"
|
ffed "code.gitea.io/gitea/models/forgefed"
|
||||||
api "code.gitea.io/gitea/modules/structs"
|
api "code.gitea.io/gitea/modules/structs"
|
||||||
"code.gitea.io/gitea/services/forms"
|
"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": {
|
"SourceType": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"x-go-package": "code.gitea.io/gitea/modules/forgefed"
|
"x-go-package": "code.gitea.io/gitea/models/forgefed"
|
||||||
},
|
},
|
||||||
"Star": {
|
"Star": {
|
||||||
"description": "Star activity data type",
|
"description": "Star activity data type",
|
||||||
|
@ -23190,7 +23190,7 @@
|
||||||
"$ref": "#/definitions/SourceType"
|
"$ref": "#/definitions/SourceType"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"x-go-package": "code.gitea.io/gitea/modules/forgefed"
|
"x-go-package": "code.gitea.io/gitea/models/forgefed"
|
||||||
},
|
},
|
||||||
"StateType": {
|
"StateType": {
|
||||||
"description": "StateType issue state type",
|
"description": "StateType issue state type",
|
||||||
|
|
Loading…
Reference in a new issue