@mx-cartographer/experiences 4.1.4-alpha.bb2 → 4.1.4-alpha.bb3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +4 -1
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -11325,7 +11325,10 @@ class Rr {
|
|
|
11325
11325
|
removeGoal = async (A) => this.fetchInstance.delete(`${M.GOALS}/${A}`).then((n) => n);
|
|
11326
11326
|
removeRetirementGoal = async (A) => this.fetchInstance.delete(`${M.RETIREMENT_GOALS}/${A}`).then((n) => n);
|
|
11327
11327
|
removeRetirementGoalAccount = async (A) => this.fetchInstance.delete(`${M.RETIREMENT_GOAL_ACCOUNTS}/${A}`).then((n) => n);
|
|
11328
|
-
reorderGoals = async (A) =>
|
|
11328
|
+
reorderGoals = async (A) => {
|
|
11329
|
+
const n = { goals: A };
|
|
11330
|
+
return console.log("Goals: ", A), this.fetchInstance.post(`${M.GOALS}/reposition`, n).then((a) => a.goals);
|
|
11331
|
+
};
|
|
11329
11332
|
updateGoal = async (A) => this.fetchInstance.put(`${M.GOALS}/${A.guid}`, A).then((n) => n.goal);
|
|
11330
11333
|
updateMonthlyCashFlowProfile = async (A) => this.fetchInstance.put(`${M.MONTHLY_CASH_FLOW_PROFILE}`, A).then((n) => n.monthly_cash_flow_profile);
|
|
11331
11334
|
updateRetirementGoal = async (A) => this.fetchInstance.put(`${M.RETIREMENT_GOALS}/${A.guid}`, A).then((n) => n.retirement_goal);
|