@cxtms/cx-schema 1.9.264 → 1.9.265
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/package.json
CHANGED
|
@@ -383,6 +383,8 @@ the common cases — use them first. Reach for `eval` only when nothing below fi
|
|
|
383
383
|
| `dateDiff` | `{{ dateDiff dueDate startDate }}` | Whole days, first minus second |
|
|
384
384
|
| `daysBetween` | `{{ daysBetween pickupDate deliveryDate }}` | Absolute day difference |
|
|
385
385
|
| `daysUntil` / `daysAgo` | `{{ daysUntil dueDate }}` | Days between now and the date |
|
|
386
|
+
| `minutesAgo` | `{{ minutesAgo arrivedAt }}` | Whole minutes from the date to now; null for missing/invalid dates |
|
|
387
|
+
| `elapsed` | `{{ elapsed arrivedAt departedAt }}` | Elapsed hours/minutes (`1h 05m`); optional end path, otherwise now |
|
|
386
388
|
| `isDateBefore` / `isDateAfter` | `{{ isDateBefore pickupDate deliveryDate }}` | Date comparison |
|
|
387
389
|
| `hasPermission` | `{{ hasPermission Orders/Update }}` | Current user permission check |
|
|
388
390
|
| `fromConfig` | `{{ fromConfig apps.myFeature key }}` | Organization config lookup |
|