mirror of
https://github.com/modrinth/code.git
synced 2026-09-02 13:05:50 +00:00
rules affect tech review detail statuses
This commit is contained in:
@@ -28,6 +28,19 @@ export class LabrinthTechReviewInternalModule extends AbstractModule {
|
||||
)
|
||||
}
|
||||
|
||||
public async getDetailRuleInput(
|
||||
detailId: string,
|
||||
): Promise<Labrinth.TechReview.Internal.RuleInput> {
|
||||
return this.client.request<Labrinth.TechReview.Internal.RuleInput>(
|
||||
`/moderation/tech-review/rules/details/${detailId}/input`,
|
||||
{
|
||||
api: 'labrinth',
|
||||
version: 'internal',
|
||||
method: 'GET',
|
||||
},
|
||||
)
|
||||
}
|
||||
|
||||
public async getRuleAffectedDetails(
|
||||
id: number,
|
||||
): Promise<Labrinth.TechReview.Internal.DelphiRuleAffectedDetail[]> {
|
||||
|
||||
Reference in New Issue
Block a user