sowell-models 1.35.0 → 1.36.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.35.0",
3
+ "version": "1.36.0",
4
4
  "description": "SoWell models",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -90,7 +90,7 @@ export interface IIssueReport extends IModel {
90
90
  spot?: ISpot | ISpot[]
91
91
  imgs?: string[]
92
92
  isTenantRequest?: boolean
93
- tenantSpot?: ISpot
93
+ tenantSpot?: ISpot
94
94
  reason?: IReason
95
95
  origin?: IOrigin
96
96
  assignee?: IUser
@@ -98,6 +98,7 @@ export interface IIssueReport extends IModel {
98
98
  areaId?: number
99
99
  validate?: () => string
100
100
  metadata?: Record<string, any>
101
+ code?: string
101
102
  }
102
103
 
103
104
  export class IssueCollection
@@ -158,6 +159,7 @@ export class SPIssueReportItem
158
159
  @Attr() rejectedTimestamp!: Date
159
160
  @Attr() seen!: boolean
160
161
  @Attr() metadata!: Record<string, any>
162
+ @Attr() code!: string
161
163
  @BelongsTo() author!: SPUserItem
162
164
  @BelongsTo() category!: SPCategoryItem
163
165
  @BelongsTo() residence!: IResidence