@things-factory/kpi 9.0.20 → 9.0.21

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/kpi",
3
- "version": "9.0.20",
3
+ "version": "9.0.21",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -44,5 +44,5 @@
44
44
  "@things-factory/dataset": "^9.0.20",
45
45
  "@things-factory/shell": "^9.0.20"
46
46
  },
47
- "gitHead": "d66d7047d01d82c6c676f8f02ecf1233fe55eaab"
47
+ "gitHead": "0b142308f7695abe45d6e144d22e075bef5eda3d"
48
48
  }
@@ -90,6 +90,13 @@ export class KpiMetric {
90
90
  @Field({ nullable: true, description: 'Indicates whether this metric is active and usable.' })
91
91
  active?: boolean
92
92
 
93
+ @Column({ nullable: true })
94
+ @Field({
95
+ nullable: true,
96
+ description: 'Cron schedule string for periodic KPI value aggregation (e.g., "0 0 * * *" for daily).'
97
+ })
98
+ schedule?: string
99
+
93
100
  @Column({ nullable: true })
94
101
  @Field({ nullable: true, description: 'Schedule ID for the registered cron job.' })
95
102
  scheduleId?: string