sowell-models 1.14.0 → 1.16.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.14.0",
3
+ "version": "1.16.0",
4
4
  "description": "SoWell models",
5
5
  "type": "module",
6
6
  "engines": {
@@ -12,6 +12,8 @@ export interface ILocation extends IModel {
12
12
  areaType?: IAreaType
13
13
  areaTypeId?: number
14
14
  checkpoints?: ICheckpoint[]
15
+ iconUrl?: string
16
+ order?: number
15
17
  }
16
18
 
17
19
  @Model()
@@ -19,6 +21,8 @@ export class SPLocationItem extends ApplicationRecord implements ILocation {
19
21
  static jsonapiType = "locations"
20
22
  @Attr() name!: string
21
23
  @Attr() areaTypeId!: number
24
+ @Attr() iconUrl!: string
25
+ @Attr() order!: number
22
26
  @BelongsTo() areaType!: SPAreaType
23
27
  @HasMany() checkpoints?: SPCheckpointItem[] | undefined
24
28
  }