@wisemen/address 0.2.5 → 0.2.7
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.
|
@@ -3,6 +3,15 @@ export class AddressCommandBuilder {
|
|
|
3
3
|
command;
|
|
4
4
|
constructor() {
|
|
5
5
|
this.command = new AddressCommand();
|
|
6
|
+
this.command.placeId = null;
|
|
7
|
+
this.command.placeName = null;
|
|
8
|
+
this.command.country = null;
|
|
9
|
+
this.command.city = null;
|
|
10
|
+
this.command.postalCode = null;
|
|
11
|
+
this.command.streetName = null;
|
|
12
|
+
this.command.streetNumber = null;
|
|
13
|
+
this.command.unit = null;
|
|
14
|
+
this.command.coordinates = null;
|
|
6
15
|
}
|
|
7
16
|
withPlaceId(placeId) {
|
|
8
17
|
this.command.placeId = placeId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address-command.builder.js","sourceRoot":"","sources":["../lib/address-command.builder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAErD,MAAM,OAAO,qBAAqB;IACxB,OAAO,CAAgB;IAE/B;QACE,IAAI,CAAC,OAAO,GAAG,IAAI,cAAc,EAAE,CAAA;
|
|
1
|
+
{"version":3,"file":"address-command.builder.js","sourceRoot":"","sources":["../lib/address-command.builder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAErD,MAAM,OAAO,qBAAqB;IACxB,OAAO,CAAgB;IAE/B;QACE,IAAI,CAAC,OAAO,GAAG,IAAI,cAAc,EAAE,CAAA;QACnC,IAAI,CAAC,OAAO,CAAC,OAAO,GAAG,IAAI,CAAA;QAC3B,IAAI,CAAC,OAAO,CAAC,SAAS,GAAG,IAAI,CAAA;QAC7B,IAAI,CAAC,OAAO,CAAC,OAAO,GAAG,IAAI,CAAA;QAC3B,IAAI,CAAC,OAAO,CAAC,IAAI,GAAG,IAAI,CAAA;QACxB,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,CAAC,OAAO,CAAC,WAAW,GAAG,WAAW,CAAA;QAEtC,OAAO,IAAI,CAAA;IACb,CAAC;IAED,KAAK;QACH,OAAO,IAAI,CAAC,OAAO,CAAA;IACrB,CAAC;CACF"}
|
|
@@ -6,6 +6,15 @@ export class AddressCommandBuilder {
|
|
|
6
6
|
|
|
7
7
|
constructor () {
|
|
8
8
|
this.command = new AddressCommand()
|
|
9
|
+
this.command.placeId = null
|
|
10
|
+
this.command.placeName = null
|
|
11
|
+
this.command.country = null
|
|
12
|
+
this.command.city = null
|
|
13
|
+
this.command.postalCode = null
|
|
14
|
+
this.command.streetName = null
|
|
15
|
+
this.command.streetNumber = null
|
|
16
|
+
this.command.unit = null
|
|
17
|
+
this.command.coordinates = null
|
|
9
18
|
}
|
|
10
19
|
|
|
11
20
|
withPlaceId (placeId: string | null): this {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wisemen/address",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dist/index.js"
|
|
@@ -19,16 +19,16 @@
|
|
|
19
19
|
"release": "pnpx release-it"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@nestjs/common": "^11.1.
|
|
23
|
-
"@nestjs/swagger": "^11.2.
|
|
24
|
-
"@wisemen/coordinates": "0.0.
|
|
25
|
-
"@wisemen/validators": "^0.0.
|
|
22
|
+
"@nestjs/common": "^11.1.13",
|
|
23
|
+
"@nestjs/swagger": "^11.2.6",
|
|
24
|
+
"@wisemen/coordinates": "0.0.18",
|
|
25
|
+
"@wisemen/validators": "^0.0.21",
|
|
26
26
|
"class-transformer": "^0.5.1",
|
|
27
27
|
"class-validator": "^0.14.3",
|
|
28
28
|
"typeorm": "^0.3.28"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@wisemen/eslint-config-nestjs": "^0.2.
|
|
31
|
+
"@wisemen/eslint-config-nestjs": "^0.2.8",
|
|
32
32
|
"eslint": "9.39.2",
|
|
33
33
|
"eslint-plugin-import-typescript": "^0.0.4",
|
|
34
34
|
"eslint-plugin-unicorn": "62.0.0",
|