@actual-app/api 26.1.0-nightly.20251214 → 26.1.0-nightly.20251216
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/@types/app/query.d.ts +2 -0
- package/dist/app/bundle.api.js +5 -1
- package/dist/app/query.js +6 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/@types/app/query.d.ts
CHANGED
package/dist/app/bundle.api.js
CHANGED
|
@@ -106150,6 +106150,9 @@ class Action {
|
|
|
106150
106150
|
if (cellValue && typeof cellValue === "object" && "type" in cellValue) {
|
|
106151
106151
|
throw new Error(`Formula error: ${cellValue.message}`);
|
|
106152
106152
|
}
|
|
106153
|
+
if (typeof cellValue === "number") {
|
|
106154
|
+
return amountToInteger(Math.round(cellValue * 100) / 100);
|
|
106155
|
+
}
|
|
106153
106156
|
return cellValue;
|
|
106154
106157
|
}
|
|
106155
106158
|
catch (err) {
|
|
@@ -124452,7 +124455,8 @@ const exportModel = {
|
|
|
124452
124455
|
"custom-report",
|
|
124453
124456
|
"markdown-card",
|
|
124454
124457
|
"summary-card",
|
|
124455
|
-
"calendar-card"
|
|
124458
|
+
"calendar-card",
|
|
124459
|
+
"formula-card"
|
|
124456
124460
|
].includes(widget.type)) {
|
|
124457
124461
|
throw new ValidationError(`Invalid widget.${idx}.type value ${widget.type}.`);
|
|
124458
124462
|
}
|
package/dist/app/query.js
CHANGED
package/dist/package.json
CHANGED