@dative-gpi/foundation-core-domain 0.0.130 → 0.0.131

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.
@@ -4,6 +4,7 @@ export class WidgetTemplateInfos {
4
4
  code: string;
5
5
  icon: string;
6
6
  description: string;
7
+ category: string | null;
7
8
  defaultWidth: number;
8
9
  defaultHeight: number;
9
10
  defaultMeta: { [key: string]: string }
@@ -14,6 +15,7 @@ export class WidgetTemplateInfos {
14
15
  this.code = params.code;
15
16
  this.icon = params.icon;
16
17
  this.description = params.description;
18
+ this.category = params.category;
17
19
  this.defaultWidth = params.defaultWidth;
18
20
  this.defaultHeight = params.defaultHeight;
19
21
  this.defaultMeta = params.defaultMeta;
@@ -26,6 +28,7 @@ export interface WidgetTemplateInfosDTO {
26
28
  code: string;
27
29
  icon: string;
28
30
  description: string;
31
+ category: string | null;
29
32
  defaultWidth: number;
30
33
  defaultHeight: number;
31
34
  defaultMeta: { [key: string]: string }
@@ -16,5 +16,6 @@ export interface CreateWidgetDTO {
16
16
  height: number;
17
17
  x: number;
18
18
  y: number;
19
+ targetScreenSize: "s" | "m" | "l" | "xl" | null;
19
20
  meta: { [key: string]: string };
20
21
  }
@@ -7,7 +7,7 @@ export class WidgetInfos {
7
7
  height: number;
8
8
  x: number;
9
9
  y: number;
10
- targetScreenSize: "s" | "m" | "l" | "xl";
10
+ targetScreenSize: "s" | "m" | "l" | "xl" | null;
11
11
  meta: { [key: string]: string };
12
12
 
13
13
  constructor(params: WidgetInfosDTO) {
@@ -33,6 +33,6 @@ export interface WidgetInfosDTO {
33
33
  height: number;
34
34
  x: number;
35
35
  y: number;
36
- targetScreenSize: "s" | "m" | "l" | "xl";
36
+ targetScreenSize: "s" | "m" | "l" | "xl" | null;
37
37
  meta: { [key: string]: string };
38
38
  }
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.130",
4
+ "version": "0.0.131",
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": "c595834a1af9272a46df01ffdc93b8dee851a2e8"
12
+ "gitHead": "11ac39c098085a049744234e279ca4a71bfaf75a"
13
13
  }