Skip to content

A local-first personal finance app

Add documentation for holdBudgetForNextMonth and resetBudgetHold (#420)

rodriguestiago02f272b9733fb
diff --git a/docs/api/reference.md b/docs/api/reference.md
index 534b658734..aa9ca1c112 100644
--- a/docs/api/reference.md
+++ b/docs/api/reference.md
@@ -9,7 +9,9 @@ import APIList from './APIList';
"getBudgetMonths",
"getBudgetMonth",
"setBudgetAmount",
-"setBudgetCarryover"
+"setBudgetCarryover",
+"holdBudgetForNextMonth",
+"resetBudgetHold"
]} />
<APIList title="Transactions" sections={[
@@ -124,6 +126,14 @@ These are types.
<Method name="setBudgetCarryover" args={[{ name: 'month', type: 'month' }, { name: 'categoryId', type: 'id' }, { name: 'flag', type: 'bool' }]} returns="Promise<null>" />
+#### `holdBudgetForNextMonth`
+
+<Method name="holdBudgetForNextMonth" args={[{ name: 'month', type: 'month' }, { name: 'value', type: 'amount' }]} returns="Promise<null>" />
+
+#### `resetBudgetHold`
+
+<Method name="resetBudgetHold" args={[{ name: 'month', type: 'month' }]} returns="Promise<null>" />
+
## Transactions
#### Transaction