@almadar/core 10.14.0 → 10.15.0
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.js.map +1 -1
- package/dist/types/index.d.ts +10 -1
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -921,7 +921,16 @@ interface ResolvedTraitGuard {
|
|
|
921
921
|
}
|
|
922
922
|
interface ResolvedTraitTick {
|
|
923
923
|
name: string;
|
|
924
|
-
|
|
924
|
+
/**
|
|
925
|
+
* `number` (ms), `'frame'`, a duration string (`'5s'`/`'1m'`/`'1h'`), or a
|
|
926
|
+
* 5-field cron expression (`'0 9 * * *'`) — `schema-to-ir.ts`'s
|
|
927
|
+
* `interval: tick.interval || 0` passes the source schema's raw
|
|
928
|
+
* `string | number` straight through with no normalization, so this must
|
|
929
|
+
* match that reality rather than the narrower `number | 'frame'` it used
|
|
930
|
+
* to declare (which made every non-'frame' string an unchecked cast at
|
|
931
|
+
* every consumer).
|
|
932
|
+
*/
|
|
933
|
+
interval: number | string;
|
|
925
934
|
guard?: SExpr;
|
|
926
935
|
effects: SExpr[];
|
|
927
936
|
priority: number;
|