refactor(models): update data models and remove deprecated IM entities

- Update channel, notification, PR, repo, user, workspace models
- Remove deleted IM models: articles, channel follows, message
  attachments/bookmarks/drafts/edit history/embeds/mentions/pins/
  polls/reactions/threads, saved messages, thread read states
- Add new PR models: review requests, templates
- Add repo release assets model
- Add base_info module for API detail responses
This commit is contained in:
zhenyi
2026-06-10 18:49:37 +08:00
parent 420dedbc1e
commit 9eb77ab98b
50 changed files with 827 additions and 440 deletions
+3 -1
View File
@@ -10,6 +10,7 @@ pub mod repo_members;
pub mod repo_push_commit;
pub mod repo_push_lock;
pub mod repo_queries;
pub mod repo_release_assets;
pub mod repo_releases;
pub mod repo_stars;
pub mod repo_stats;
@@ -18,7 +19,7 @@ pub mod repo_watches;
pub mod repo_webhooks;
pub use branch_protection_rule::BranchProtectionRule;
pub use repo::Repo;
pub use repo::{Repo, RepoDetail};
pub use repo_branches::RepoBranch;
pub use repo_commit_comments::RepoCommitComment;
pub use repo_commit_statuses::RepoCommitStatus;
@@ -28,6 +29,7 @@ pub use repo_invitations::RepoInvitation;
pub use repo_members::RepoMember;
pub use repo_push_commit::RepoPushCommit;
pub use repo_push_lock::RepoPushLock;
pub use repo_release_assets::RepoReleaseAsset;
pub use repo_releases::RepoRelease;
pub use repo_stars::RepoStar;
pub use repo_stats::RepoStats;