mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #21773 from davelopez/25.1_fix_help_forun_integration
[25.1] Fix help forum integration
This commit is contained in:
@@ -13900,7 +13900,7 @@ export interface components {
|
||||
* Tags
|
||||
* @description The tags of the topic.
|
||||
*/
|
||||
tags: string[];
|
||||
tags: components["schemas"]["HelpForumTag"][];
|
||||
/**
|
||||
* Tags Descriptions
|
||||
* @description The descriptions of the tags of the topic.
|
||||
|
||||
@@ -22,6 +22,12 @@ class HelpTempBaseModel(Model):
|
||||
model_config = ConfigDict(extra="allow")
|
||||
|
||||
|
||||
class HelpForumTag(HelpTempBaseModel):
|
||||
"""Model for a tag in the help forum."""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class HelpForumPost(HelpTempBaseModel):
|
||||
"""Model for a post in the help forum."""
|
||||
|
||||
@@ -59,7 +65,7 @@ class HelpForumTopic(Model):
|
||||
archived: Annotated[bool, Field(description="Whether the topic is archived.")]
|
||||
bookmarked: Annotated[Optional[bool], Field(default=None, description="Whether the topic is bookmarked.")]
|
||||
liked: Annotated[Optional[bool], Field(default=None, description="Whether the topic is liked.")]
|
||||
tags: Annotated[list[str], Field(description="The tags of the topic.")]
|
||||
tags: Annotated[list[HelpForumTag], Field(description="The tags of the topic.")]
|
||||
tags_descriptions: Annotated[
|
||||
Optional[Any], Field(default=None, description="The descriptions of the tags of the topic.")
|
||||
]
|
||||
@@ -79,12 +85,6 @@ class HelpForumCategory(HelpTempBaseModel):
|
||||
pass
|
||||
|
||||
|
||||
class HelpForumTag(HelpTempBaseModel):
|
||||
"""Model for a tag in the help forum."""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class HelpForumGroup(HelpTempBaseModel):
|
||||
"""Model for a group in the help forum."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user