@dative-gpi/foundation-core-domain 1.0.137-maps2 → 1.0.137-maps4

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.
@@ -2,7 +2,7 @@ import { DeviceConnectivityDetails, type DeviceConnectivityDetailsDTO } from "..
2
2
  import { DeviceStatusDetails, type DeviceStatusDetailsDTO } from "../deviceStatuses/deviceStatusDetails";
3
3
  import { DeviceOrganisationAlert, type DeviceOrganisationAlertDTO } from "./deviceOrganisationAlert";
4
4
  import { ModelStatusInfos, type ModelStatusInfosDTO } from "../modelStatuses/modelStatusInfos";
5
- import { Address, type AddressDTO } from "@dative-gpi/foundation-shared-domain/models";
5
+ import { type EntityType } from '@dative-gpi/foundation-shared-domain/enums';
6
6
  import { PathCrumb, type PathCrumbDTO } from "../shared/pathCrumb";
7
7
 
8
8
  export class DeviceOrganisationInfos {
@@ -10,7 +10,8 @@ export class DeviceOrganisationInfos {
10
10
  deviceId: string;
11
11
  manufacturerId: string;
12
12
  manufacturerLabel: string;
13
- address: Address | null;
13
+ latitude: number | null;
14
+ longitude: number | null;
14
15
  articleId: string;
15
16
  articleLabel: string;
16
17
  modelId: string;
@@ -46,7 +47,8 @@ export class DeviceOrganisationInfos {
46
47
  this.deviceId = params.deviceId;
47
48
  this.manufacturerId = params.manufacturerId;
48
49
  this.manufacturerLabel = params.manufacturerLabel;
49
- this.address = params.address ? new Address(params.address) : null;
50
+ this.latitude = params.latitude;
51
+ this.longitude = params.longitude;
50
52
  this.articleId = params.articleId;
51
53
  this.articleLabel = params.articleLabel;
52
54
  this.modelId = params.modelId;
@@ -85,7 +87,8 @@ export interface DeviceOrganisationInfosDTO {
85
87
  deviceId: string;
86
88
  manufacturerId: string;
87
89
  manufacturerLabel: string;
88
- address: AddressDTO | null;
90
+ latitude: number | null;
91
+ longitude: number | null;
89
92
  articleId: string;
90
93
  articleLabel: string;
91
94
  modelId: string;
@@ -128,4 +131,6 @@ export interface DeviceOrganisationFilters {
128
131
  deviceOrganisationsIds?: string[] | null;
129
132
  otherDeviceOrganisationsIds?: string[] | null;
130
133
  search?: string | null;
134
+ entityType?: EntityType | null;
135
+ entitiesIds?: string[] | null;
131
136
  }
@@ -1,3 +1,4 @@
1
+ import type { EntityType } from '@dative-gpi/foundation-shared-domain/enums';
1
2
  import { Address, type AddressDTO } from "@dative-gpi/foundation-shared-domain/models";
2
3
 
3
4
  export class LocationInfos {
@@ -46,4 +47,6 @@ export interface LocationFilters {
46
47
  locationsIds?: string[] | null;
47
48
  modelsIds?: string[] | null;
48
49
  search?: string | null;
50
+ entityType?: EntityType | null;
51
+ entitiesIds?: string[] | null;
49
52
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dative-gpi/foundation-core-domain",
3
3
  "sideEffects": false,
4
- "version": "1.0.137-maps2",
4
+ "version": "1.0.137-maps4",
5
5
  "description": "",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -10,8 +10,8 @@
10
10
  "author": "",
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
- "@dative-gpi/foundation-shared-domain": "1.0.137-maps2",
14
- "@dative-gpi/foundation-shared-services": "1.0.137-maps2"
13
+ "@dative-gpi/foundation-shared-domain": "1.0.137-maps4",
14
+ "@dative-gpi/foundation-shared-services": "1.0.137-maps4"
15
15
  },
16
- "gitHead": "0e9da9645c2c83684220f99135cf12e4c339897c"
16
+ "gitHead": "2ff4d8aa1783b9f845daae1e8e6c9b9d23820b72"
17
17
  }