Skip to content

Commit

Permalink
fix: add a description to the new config
Browse files Browse the repository at this point in the history
  • Loading branch information
ishowvel committed Dec 28, 2024
1 parent f2e522b commit a2093ed
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions src/configuration/review-incentivizer-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,20 @@ import { Static, Type } from "@sinclair/typebox";

export const reviewIncentivizerConfigurationType = Type.Object(
{
baseRate: Type.Number(),
conclusiveReviewCredit: Type.Number(),
/**
* Number of lines of code that equals $1 in review credit
*/
baseRate: Type.Number({
default: 100,
description: "Number of lines of code that equals $1 in review credit",
}),
/**
* Flat rate bonus in dollars for completing a conclusive review i.e (Approved or Changes Requested)
*/
conclusiveReviewCredit: Type.Number({
default: 25,
description: "Flat rate bonus in dollars for completing a conclusive review i.e (Approved or Changes Requested)",
}),
},
{ default: {} }
);
Expand Down

0 comments on commit a2093ed

Please sign in to comment.