feat: add gitea skill discovery
This commit is contained in:
@@ -46,3 +46,23 @@ type InstalledTarget struct {
|
||||
type State struct {
|
||||
Skills []SkillState `json:"skills"`
|
||||
}
|
||||
|
||||
type RemoteSkill struct {
|
||||
Name string `json:"name"`
|
||||
FullName string `json:"fullName"`
|
||||
Description string `json:"description"`
|
||||
CloneURL string `json:"cloneURL"`
|
||||
SSHURL string `json:"sshURL"`
|
||||
DefaultBranch string `json:"defaultBranch"`
|
||||
UpdatedAt string `json:"updatedAt"`
|
||||
IsDownloaded bool `json:"isDownloaded"`
|
||||
Status string `json:"status"`
|
||||
Error string `json:"error"`
|
||||
}
|
||||
|
||||
type TestConnectionResult struct {
|
||||
OK bool `json:"ok"`
|
||||
Message string `json:"message"`
|
||||
Username string `json:"username"`
|
||||
Org string `json:"org"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user