clarion-shared-types 1.0.8 → 1.0.10

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.
@@ -32,4 +32,5 @@ __exportStar(require("./intefaces/incident-type"), exports);
32
32
  __exportStar(require("./intefaces/incident-assignment"), exports);
33
33
  __exportStar(require("./intefaces/incident-response-unit-assignment"), exports);
34
34
  __exportStar(require("./intefaces/incident-status-changed"), exports);
35
+ __exportStar(require("./intefaces/incident-status-details"), exports);
35
36
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/incident/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,OAAO;AACP,+DAA6C;AAC7C,gEAA8C;AAC9C,8DAA4C;AAC5C,iEAA+C;AAC/C,+DAA6C;AAC7C,gEAA8C;AAC9C,4EAA0D;AAE1D,YAAY;AACZ,uDAAqC;AACrC,8DAA4C;AAC5C,kEAAgD;AAChD,gEAA8C;AAC9C,gEAA8C;AAC9C,4DAA0C;AAC1C,kEAAgD;AAChD,gFAA8D;AAC9D,sEAAoD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/incident/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,OAAO;AACP,+DAA6C;AAC7C,gEAA8C;AAC9C,8DAA4C;AAC5C,iEAA+C;AAC/C,+DAA6C;AAC7C,gEAA8C;AAC9C,4EAA0D;AAE1D,YAAY;AACZ,uDAAqC;AACrC,8DAA4C;AAC5C,kEAAgD;AAChD,gEAA8C;AAC9C,gEAA8C;AAC9C,4DAA0C;AAC1C,kEAAgD;AAChD,gFAA8D;AAC9D,sEAAoD;AACpD,sEAAoD"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=incident-status-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"incident-status-details.js","sourceRoot":"","sources":["../../../../../src/modules/incident/intefaces/incident-status-details.ts"],"names":[],"mappings":""}
@@ -16,4 +16,5 @@ export * from './intefaces/incident-type';
16
16
  export * from './intefaces/incident-assignment';
17
17
  export * from './intefaces/incident-response-unit-assignment';
18
18
  export * from './intefaces/incident-status-changed';
19
+ export * from './intefaces/incident-status-details';
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/incident/index.ts"],"names":[],"mappings":"AAAA,OAAO;AACP,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2CAA2C,CAAC;AAE1D,YAAY;AACZ,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qCAAqC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/incident/index.ts"],"names":[],"mappings":"AAAA,OAAO;AACP,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2CAA2C,CAAC;AAE1D,YAAY;AACZ,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=incident-status-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"incident-status-details.js","sourceRoot":"","sources":["../../../../../src/modules/incident/intefaces/incident-status-details.ts"],"names":[],"mappings":""}
@@ -14,3 +14,4 @@ export * from './intefaces/incident-type';
14
14
  export * from './intefaces/incident-assignment';
15
15
  export * from './intefaces/incident-response-unit-assignment';
16
16
  export * from './intefaces/incident-status-changed';
17
+ export * from './intefaces/incident-status-details';
@@ -0,0 +1,6 @@
1
+ export interface IncidentStatusDetails {
2
+ hasBeenOnHold?: boolean;
3
+ maxOnHoldDurationDays?: number;
4
+ onHoldDurationDays?: number;
5
+ extensionDays?: number;
6
+ }
@@ -10,6 +10,7 @@ import { IncidentAssignment } from "./incident-assignment";
10
10
  import { IncidentCategory } from "./incident-category";
11
11
  import { IncidentReporter } from "./incident-reporter";
12
12
  import { IncidentResponseUnitAssignment } from "./incident-response-unit-assignment";
13
+ import { IncidentStatusDetails } from "./incident-status-details";
13
14
  import { IncidentType } from "./incident-type";
14
15
  export interface Incident {
15
16
  id?: number;
@@ -22,6 +23,7 @@ export interface Incident {
22
23
  typeId: number;
23
24
  description?: string;
24
25
  status?: IncidentStatus;
26
+ statusDetails?: IncidentStatusDetails;
25
27
  priority?: IncidentPriority;
26
28
  isSensitive?: boolean;
27
29
  location?: MapLocation;
@@ -3,7 +3,7 @@ export interface WorkflowState {
3
3
  id: string;
4
4
  incident: Incident;
5
5
  currentStatus: IncidentStatus;
6
- statusUpdateTimestamp: number;
6
+ statusUpdateTimestamp?: number;
7
7
  resolutionDeadline: Date;
8
8
  appealDeadline?: Date;
9
9
  appealResolutionDeadline?: Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarion-shared-types",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",