@dative-gpi/foundation-core-domain 1.0.159-kiosk → 1.0.159-kioskv2

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,14 +3,14 @@ import type { DashboardType } from '@dative-gpi/foundation-shared-domain/enums';
3
3
  export class PlaylistDashboard
4
4
  {
5
5
  id: string;
6
- dashboardScopeId: string;
6
+ dashboardScopedId: string;
7
7
  dashboardType: DashboardType;
8
8
  index: number;
9
9
 
10
10
  constructor(params: PlaylistDashboardDTO)
11
11
  {
12
12
  this.id = params.id;
13
- this.dashboardScopeId = params.dashboardScopeId;
13
+ this.dashboardScopedId = params.dashboardScopedId;
14
14
  this.dashboardType = params.dashboardType as DashboardType;
15
15
  this.index = params.index;
16
16
  }
@@ -19,13 +19,13 @@ export class PlaylistDashboard
19
19
  export interface PlaylistDashboardDTO
20
20
  {
21
21
  id: string;
22
- dashboardScopeId: string;
22
+ dashboardScopedId: string;
23
23
  dashboardType: number;
24
24
  index: number;
25
25
  }
26
26
 
27
27
  export interface CreatePlaylistDashboardDTO {
28
- dashboardScopeId: string;
28
+ dashboardScopedId: string;
29
29
  dashboardType: number;
30
30
  index: number;
31
31
  }
@@ -8,7 +8,7 @@ export class PlaylistInfos {
8
8
  code: string;
9
9
  looped: boolean;
10
10
  delay: number;
11
- dashboard: PlaylistDashboard[];
11
+ dashboards: PlaylistDashboard[];
12
12
 
13
13
  constructor(params: PlaylistInfosDTO) {
14
14
  this.id = params.id;
@@ -18,7 +18,7 @@ export class PlaylistInfos {
18
18
  this.code = params.code;
19
19
  this.looped = params.looped;
20
20
  this.delay = params.delay;
21
- this.dashboard = params.dashboard.map((d: PlaylistDashboardDTO) => new PlaylistDashboard(d));
21
+ this.dashboards = params.dashboards.map((d: PlaylistDashboardDTO) => new PlaylistDashboard(d));
22
22
  }
23
23
  }
24
24
 
@@ -30,7 +30,7 @@ export interface PlaylistInfosDTO {
30
30
  code: string;
31
31
  looped: boolean;
32
32
  delay: number;
33
- dashboard: PlaylistDashboardDTO[];
33
+ dashboards: PlaylistDashboardDTO[];
34
34
  }
35
35
 
36
36
  export interface PlaylistFilters {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dative-gpi/foundation-core-domain",
3
3
  "sideEffects": false,
4
- "version": "1.0.159-kiosk",
4
+ "version": "1.0.159-kioskv2",
5
5
  "description": "",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -10,8 +10,8 @@
10
10
  "author": "",
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
- "@dative-gpi/foundation-shared-domain": "1.0.159-kiosk",
14
- "@dative-gpi/foundation-shared-services": "1.0.159-kiosk"
13
+ "@dative-gpi/foundation-shared-domain": "1.0.159-kioskv2",
14
+ "@dative-gpi/foundation-shared-services": "1.0.159-kioskv2"
15
15
  },
16
- "gitHead": "23ad4df99de67168e08d72cdba94acd9d95441e0"
16
+ "gitHead": "596bfa661dad67a01ef42697605be5107f3dae2f"
17
17
  }