@@ -9,6 +9,21 @@ export interface TrendRepository {
99 * @see https://docs.joinmastodon.org/methods/admin/trends/#links
1010 */
1111 list ( meta ?: HttpMetaParams ) : Paginator < TrendLink [ ] > ;
12+
13+ /** https://github.com/mastodon/mastodon/pull/24257 */
14+ $select ( id : string ) : {
15+ approve ( meta ?: HttpMetaParams ) : Promise < TrendLink > ;
16+ reject ( meta ?: HttpMetaParams ) : Promise < TrendLink > ;
17+ } ;
18+
19+ /** https://github.com/mastodon/mastodon/pull/24257 */
20+ publishers : {
21+ list ( meta ?: HttpMetaParams ) : Paginator < TrendLink [ ] > ;
22+ $select ( id : string ) : {
23+ approve ( meta ?: HttpMetaParams ) : Promise < TrendLink > ;
24+ reject ( meta ?: HttpMetaParams ) : Promise < TrendLink > ;
25+ } ;
26+ } ;
1227 } ;
1328
1429 statuses : {
@@ -17,6 +32,12 @@ export interface TrendRepository {
1732 * @see https://docs.joinmastodon.org/methods/admin/trends/#statuses
1833 */
1934 list ( meta ?: HttpMetaParams ) : Paginator < Status [ ] > ;
35+
36+ /** https://github.com/mastodon/mastodon/pull/24257 */
37+ $select ( id : string ) : {
38+ approve ( meta ?: HttpMetaParams ) : Promise < Status > ;
39+ reject ( meta ?: HttpMetaParams ) : Promise < Status > ;
40+ } ;
2041 } ;
2142
2243 tags : {
@@ -25,5 +46,11 @@ export interface TrendRepository {
2546 * @see https://docs.joinmastodon.org/methods/admin/trends/#tags
2647 */
2748 list ( meta ?: HttpMetaParams ) : Paginator < Admin . Tag [ ] > ;
49+
50+ /** https://github.com/mastodon/mastodon/pull/24257 */
51+ $select ( id : string ) : {
52+ approve ( meta ?: HttpMetaParams ) : Promise < Admin . Tag > ;
53+ reject ( meta ?: HttpMetaParams ) : Promise < Admin . Tag > ;
54+ } ;
2855 } ;
2956}
0 commit comments