sowell-models 1.20.0 → 1.21.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sowell-models",
3
- "version": "1.20.0",
3
+ "version": "1.21.0",
4
4
  "description": "SoWell models",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -21,6 +21,7 @@ export interface IChecklist extends IModel {
21
21
  checkpoints?: ICheckpoint[]
22
22
  family?: IFamily
23
23
  periodicity?: string
24
+ defaultAgent?: string
24
25
  allowedAgents?: string[]
25
26
  }
26
27
 
@@ -53,6 +54,7 @@ export class SPChecklistItem extends ApplicationRecord implements IChecklist {
53
54
  @Attr({ persist: false }) updatedAt!: Date
54
55
  @Attr() periodicity!: string
55
56
  @Attr() allowedAgents!: string[]
57
+ @Attr() defaultAgent!: string
56
58
  @BelongsTo() company!: SPCompany
57
59
  @BelongsTo() family!: SPFamily
58
60
  @HasOne() area!: SPAreaItem