Skip to content

Commit bf908c4

Browse files
committed
feat: Add translations property to Rule entity
1 parent 1132abc commit bf908c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mastodon/entities/v1/rule.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ export interface Rule {
55
text: string;
66
/** Longer-form description of the rule. */
77
hint: string;
8+
/** Available translations for this rule’s `text` and `hint`, as a Hash where keys are locale codes and values are hashes with `text` and `hint` keys. */
9+
translations: Record<string, { text: string; hint: string }>;
810
}

0 commit comments

Comments
 (0)