@dative-gpi/foundation-core-domain 0.0.177 → 0.0.178
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.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export enum ApplicationScope {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
None = 0,
|
|
3
|
+
OrganisationType = 1,
|
|
4
|
+
Organisation = 2,
|
|
5
|
+
Group = 11,
|
|
6
|
+
Scenario = 12,
|
|
7
|
+
Report = 13
|
|
8
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { AddressDTO } from "@dative-gpi/foundation-shared-domain/models";
|
|
2
|
+
|
|
1
3
|
import type { LocationInfosDTO } from "./locationInfos";
|
|
2
4
|
import { LocationInfos } from "./locationInfos";
|
|
3
|
-
import type { AddressDTO } from "./address";
|
|
4
5
|
|
|
5
6
|
export class LocationDetails extends LocationInfos {
|
|
6
7
|
description: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AddressDTO } from "
|
|
2
|
-
import { Address } from "
|
|
1
|
+
import type { AddressDTO } from "@dative-gpi/foundation-shared-domain/models";
|
|
2
|
+
import { Address } from "@dative-gpi/foundation-shared-domain/models";
|
|
3
3
|
|
|
4
4
|
export class LocationInfos {
|
|
5
5
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dative-gpi/foundation-core-domain",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.178",
|
|
5
5
|
"description": "",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
"main": "index.ts",
|
|
10
10
|
"author": "",
|
|
11
11
|
"license": "ISC",
|
|
12
|
-
"gitHead": "
|
|
12
|
+
"gitHead": "965b5f2c9bdb926c03d5a17f94991d2fc2621e51"
|
|
13
13
|
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export class Address {
|
|
2
|
-
placeId: string;
|
|
3
|
-
placeLabel: string;
|
|
4
|
-
formattedAddress: string;
|
|
5
|
-
locality: string;
|
|
6
|
-
country: string;
|
|
7
|
-
latitude: number;
|
|
8
|
-
longitude: number;
|
|
9
|
-
|
|
10
|
-
constructor(params: AddressDTO) {
|
|
11
|
-
this.placeId = params.placeId;
|
|
12
|
-
this.placeLabel = params.placeLabel;
|
|
13
|
-
this.formattedAddress = params.formattedAddress;
|
|
14
|
-
this.locality = params.locality;
|
|
15
|
-
this.country = params.country;
|
|
16
|
-
this.latitude = params.latitude;
|
|
17
|
-
this.longitude = params.longitude;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export interface AddressDTO {
|
|
22
|
-
placeId: string;
|
|
23
|
-
placeLabel: string;
|
|
24
|
-
formattedAddress: string;
|
|
25
|
-
locality: string;
|
|
26
|
-
country: string;
|
|
27
|
-
latitude: number;
|
|
28
|
-
longitude: number;
|
|
29
|
-
}
|