package wire // ProjectConnection identifies the source of reachable repositories. type ProjectConnection struct { ID string `json:"id"` Forge string `json:"forge"` Title string `json:"title"` State string `json:"state"` CanAdd bool `json:"can_add"` } type ReachableProject struct { Repo string `json:"repo"` Name string `json:"name"` Title string `json:"title"` Description string `json:"description"` DescriptionSource string `json:"description_source"` Forge string `json:"forge"` ConnectionID string `json:"connection_id"` } type SetProjectStar struct { Starred bool `json:"starred"` } // EditProject contains only owner-editable metadata. Names belong to the team. type EditProject struct { UseTitle bool `json:"use_title,omitempty"` Revision int64 `json:"revision"` Title string `json:"title"` Description string `json:"description"` Names []string `json:"names"` } // ForgetProjectName removes a private name, leaving team names intact. type ForgetProjectName struct { Name string `json:"name"` }