@passly-nl/data 1.2.1 → 1.2.2
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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@passly-nl/data",
|
|
3
3
|
"description": "API implementation for Passly.",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": "https://github.com/sponsors/basmilius",
|
|
@@ -50,17 +50,17 @@
|
|
|
50
50
|
"./*": "./*"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@basmilius/http-client": "^3.
|
|
53
|
+
"@basmilius/http-client": "^3.31.0",
|
|
54
54
|
"@flux-ui/types": "^3.0.0-next.67",
|
|
55
55
|
"@fortawesome/fontawesome-common-types": "^7.2.0",
|
|
56
56
|
"@types/luxon": "^3.7.1",
|
|
57
|
-
"@typescript/native-preview": "^7.0.0-dev.
|
|
57
|
+
"@typescript/native-preview": "^7.0.0-dev.20260512.1",
|
|
58
58
|
"apexcharts": "^5.11.0",
|
|
59
59
|
"luxon": "^3.7.2",
|
|
60
60
|
"tsdown": "^0.22.0"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"@basmilius/http-client": "^3.
|
|
63
|
+
"@basmilius/http-client": "^3.31.0",
|
|
64
64
|
"@flux-ui/types": "^3.0.0-next.67",
|
|
65
65
|
"@fortawesome/fontawesome-common-types": "^7.2.0",
|
|
66
66
|
"apexcharts": "^5.11.0",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { dto } from '@basmilius/http-client';
|
|
2
|
+
import type { PictureDto } from '#data/dto';
|
|
2
3
|
|
|
3
4
|
@dto
|
|
4
5
|
export class OrderProductDto {
|
|
@@ -26,20 +27,20 @@ export class OrderProductDto {
|
|
|
26
27
|
this.#description = value;
|
|
27
28
|
}
|
|
28
29
|
|
|
29
|
-
get image():
|
|
30
|
+
get image(): PictureDto | null {
|
|
30
31
|
return this.#image;
|
|
31
32
|
}
|
|
32
33
|
|
|
33
|
-
set image(value:
|
|
34
|
+
set image(value: PictureDto | null) {
|
|
34
35
|
this.#image = value;
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
#id: string;
|
|
38
39
|
#name: string;
|
|
39
40
|
#description: string;
|
|
40
|
-
#image:
|
|
41
|
+
#image: PictureDto | null;
|
|
41
42
|
|
|
42
|
-
constructor(id: string, name: string, description: string, image:
|
|
43
|
+
constructor(id: string, name: string, description: string, image: PictureDto | null) {
|
|
43
44
|
this.#id = id;
|
|
44
45
|
this.#name = name;
|
|
45
46
|
this.#description = description;
|