@dative-gpi/foundation-shared-domain 1.0.13 → 1.0.14

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.
@@ -0,0 +1,11 @@
1
+ import { ImageInfos, type ImageInfosDTO } from "./imageInfos";
2
+
3
+ export class ImageDetails extends ImageInfos {
4
+
5
+ constructor(params: ImageDetailsDTO) {
6
+ super(params);
7
+ }
8
+ }
9
+
10
+ export interface ImageDetailsDTO extends ImageInfosDTO {
11
+ }
@@ -1,16 +1,16 @@
1
- export class BlurHash {
1
+ export class ImageInfos {
2
2
  blurHash: string;
3
3
  width: number;
4
4
  height: number;
5
5
 
6
- constructor(params: BlurHashDTO) {
6
+ constructor(params: ImageInfosDTO) {
7
7
  this.blurHash = params.blurHash;
8
8
  this.width = params.width;
9
9
  this.height = params.height;
10
10
  }
11
11
  }
12
12
 
13
- export interface BlurHashDTO {
13
+ export interface ImageInfosDTO {
14
14
  blurHash: string;
15
15
  width: number;
16
16
  height: number;
@@ -1 +1,2 @@
1
- export * from "./blurHash";
1
+ export * from "./imageDetails";
2
+ export * from "./imageInfos";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dative-gpi/foundation-shared-domain",
3
3
  "sideEffects": false,
4
- "version": "1.0.13",
4
+ "version": "1.0.14",
5
5
  "description": "",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -12,5 +12,5 @@
12
12
  "peerDependencies": {
13
13
  "date-fns": "^3.6.0"
14
14
  },
15
- "gitHead": "b77b0e0975cd193eae758a4af0effa38e5182a9f"
15
+ "gitHead": "e073c5a79111956c451fe05f19c7829246d4784e"
16
16
  }