rules affect tech review detail statuses

This commit is contained in:
aecsocket
2026-07-24 13:49:20 +01:00
parent 4b07ed720e
commit 8d82c228cf
17 changed files with 760 additions and 210 deletions
@@ -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[]> {