Skip to content

fix(api): read group label type from groups.labels - #125

Merged
toto04 merged 1 commit into
mainfrom
fix/group-labels-type
Oct 21, 2026
Merged

toto04 merged 1 commit into
mainfrom
fix/group-labels-type

Conversation

@BIA3IA

@BIA3IA BIA3IA commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

tg.groupLabels.* and tg.permissions.* are removed by the backend's RFC v3 Phase 5 release. The dashboard only referenced them in types:

  • TgGroupLabel now reads from groups.labels.getAll (same shape, already used at runtime).
  • Remove the unused TgUserRole type.

Works with both the current SDK and the upcoming v2.

Verified: pnpm typecheck, pnpm check, pnpm test (56 passed, 3 skipped), and typecheck against the Phase 5 backend SDK.

tg.groupLabels and tg.permissions are removed in the Phase 5 backend
(RFC v3 §13). Drop the unused TgUserRole type.
@coderabbitai

coderabbitai Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ea98b1b3-4180-4bab-906d-3379af3994b6
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@toto04
toto04 merged commit 39fea2a into main Oct 21, 2026
2 checks passed
@toto04
toto04 deleted the fix/group-labels-type branch October 21, 2026 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants