sowell-models 1.5.0 → 1.6.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.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "SoWell models",
5
5
  "type": "module",
6
6
  "engines": {
@@ -14,8 +14,11 @@ export interface IVisitSchedule extends IModel {
14
14
  dueAt: Date
15
15
  checklistId?: string
16
16
  residence?: IResidence
17
+ residenceId?: string
17
18
  place?: IPlace
19
+ placeId?: string
18
20
  spot?: ISpot
21
+ spotId?: string
19
22
  checklist?: IChecklist
20
23
  }
21
24
 
@@ -48,6 +51,9 @@ export class SPVisitSchedule
48
51
  static jsonapiType = "visit_schedules"
49
52
  @Attr() dueAt!: Date
50
53
  @Attr() checklistId!: string
54
+ @Attr() residenceId!: string
55
+ @Attr() placeId!: string
56
+ @Attr() spotId!: string
51
57
  @BelongsTo() residence!: SPResidenceItem
52
58
  @BelongsTo() place!: SPPlaceItem
53
59
  @BelongsTo() spot!: SPSpotItem