@dative-gpi/foundation-core-domain 0.0.197 → 0.0.199

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/models/index.ts CHANGED
@@ -48,7 +48,6 @@ export * from "./scenarios"; // No service
48
48
  export * from "./shared"; // No service
49
49
  export * from "./serviceAccountOrganisationAuthTokens";
50
50
  export * from "./serviceAccountOrganisations";
51
- export * from "./terminals";
52
51
  export * from "./userOrganisationColumns"; // No service
53
52
  export * from "./userOrganisations";
54
53
  export * from "./userOrganisationTables";
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.197",
4
+ "version": "0.0.199",
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": "8e65deed3f8b3b2bf7f750b120afed7d650f1c7e"
12
+ "gitHead": "42f7d9f60cfe208a7e78b9b62e266cf7dadca9b8"
13
13
  }
@@ -1,2 +0,0 @@
1
- export * from "./terminalDetails";
2
- export * from "./terminalInfos";
@@ -1,21 +0,0 @@
1
- import { TerminalInfos, type TerminalInfosDTO } from "./terminalInfos";
2
-
3
- export class TerminalDetails extends TerminalInfos {
4
- constructor(params: TerminalDetailsDTO) {
5
- super(params);
6
- }
7
- }
8
-
9
- export interface TerminalDetailsDTO extends TerminalInfosDTO {
10
- }
11
-
12
- export interface CreateTerminalDTO {
13
- label: string;
14
- icon: string;
15
- key: string;
16
- }
17
-
18
- export interface UpdateTerminalDTO {
19
- label: string;
20
- icon: string;
21
- }
@@ -1,33 +0,0 @@
1
- import { utcToEpoch } from "@dative-gpi/foundation-shared-domain/tools";
2
-
3
- export class TerminalInfos {
4
- id: string;
5
- userId: string;
6
- label: string;
7
- icon: string;
8
- key: string;
9
- lastConnection: number;
10
-
11
- constructor(params: TerminalInfosDTO) {
12
- this.id = params.id;
13
- this.userId = params.userId;
14
- this.label = params.label;
15
- this.icon = params.icon;
16
- this.key = params.key;
17
- this.lastConnection = utcToEpoch(params.lastConnection);
18
- }
19
-
20
- }
21
-
22
- export interface TerminalInfosDTO {
23
- id: string;
24
- userId: string;
25
- label: string;
26
- icon: string;
27
- key: string;
28
- lastConnection: string;
29
- }
30
-
31
- export interface TerminalFilters {
32
- key?: string | null;
33
- }