sowell-models 1.1.0 → 1.1.1

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.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "SoWell models",
5
5
  "type": "module",
6
6
  "engines": {
@@ -7,6 +7,7 @@ import { ICheckpoint, SPCheckpointItem } from "../Checkpoint"
7
7
 
8
8
  export interface ILocation extends IModel {
9
9
  _id?: string
10
+ id?: string
10
11
  name?: string
11
12
  areaType?: IAreaType
12
13
  areaTypeId?: number
@@ -20,4 +21,4 @@ export class SPLocationItem extends ApplicationRecord implements ILocation {
20
21
  @Attr() areaTypeId!: number
21
22
  @BelongsTo() areaType!: SPAreaType
22
23
  @HasMany() checkpoints?: SPCheckpointItem[] | undefined
23
- }
24
+ }