@nextage/era-lib 1.0.21 → 1.0.24

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.
Files changed (170) hide show
  1. package/build/events/company-asset/created-event.d.ts +7 -0
  2. package/build/events/company-asset/created-event.d.ts.map +1 -0
  3. package/build/events/company-asset/created-event.js.map +1 -0
  4. package/build/events/company-asset/index.d.ts.map +1 -0
  5. package/build/events/company-asset/index.js.map +1 -0
  6. package/build/events/{asset-inventory → company-asset}/interfaces.d.ts +1 -1
  7. package/build/events/company-asset/interfaces.d.ts.map +1 -0
  8. package/build/events/company-asset/interfaces.js.map +1 -0
  9. package/build/events/{employee → company-asset}/removed-event.d.ts +2 -2
  10. package/build/events/company-asset/removed-event.d.ts.map +1 -0
  11. package/build/events/company-asset/removed-event.js.map +1 -0
  12. package/build/events/company-asset/updated-event.d.ts +7 -0
  13. package/build/events/company-asset/updated-event.d.ts.map +1 -0
  14. package/build/events/company-asset/updated-event.js.map +1 -0
  15. package/build/events/company-control/created-event.d.ts +7 -0
  16. package/build/events/company-control/created-event.d.ts.map +1 -0
  17. package/build/events/company-control/created-event.js.map +1 -0
  18. package/build/events/{asset-inventory → company-control}/index.d.ts.map +1 -1
  19. package/build/events/company-control/index.js.map +1 -0
  20. package/build/events/company-control/interfaces.d.ts +5 -0
  21. package/build/events/company-control/interfaces.d.ts.map +1 -0
  22. package/build/events/company-control/interfaces.js.map +1 -0
  23. package/build/events/{asset-inventory → company-control}/removed-event.d.ts +2 -2
  24. package/build/events/{asset-inventory → company-control}/removed-event.d.ts.map +1 -1
  25. package/build/events/company-control/removed-event.js.map +1 -0
  26. package/build/events/company-control/updated-event.d.ts +7 -0
  27. package/build/events/company-control/updated-event.d.ts.map +1 -0
  28. package/build/events/company-control/updated-event.js.map +1 -0
  29. package/build/events/company-employee/created-event.d.ts +7 -0
  30. package/build/events/company-employee/created-event.d.ts.map +1 -0
  31. package/build/events/company-employee/created-event.js.map +1 -0
  32. package/build/events/{threat-inventory → company-employee}/index.d.ts.map +1 -1
  33. package/build/events/company-employee/index.js.map +1 -0
  34. package/build/events/company-employee/interfaces.d.ts +8 -0
  35. package/build/events/company-employee/interfaces.d.ts.map +1 -0
  36. package/build/events/company-employee/interfaces.js.map +1 -0
  37. package/build/events/{threat-inventory → company-employee}/removed-event.d.ts +2 -2
  38. package/build/events/{threat-inventory → company-employee}/removed-event.d.ts.map +1 -1
  39. package/build/events/company-employee/removed-event.js.map +1 -0
  40. package/build/events/company-employee/updated-event.d.ts +7 -0
  41. package/build/events/company-employee/updated-event.d.ts.map +1 -0
  42. package/build/events/company-employee/updated-event.js.map +1 -0
  43. package/build/events/company-location/created-event.d.ts +7 -0
  44. package/build/events/company-location/created-event.d.ts.map +1 -0
  45. package/build/events/company-location/created-event.js +3 -0
  46. package/build/events/company-location/created-event.js.map +1 -0
  47. package/build/events/company-location/index.d.ts +4 -0
  48. package/build/events/company-location/index.d.ts.map +1 -0
  49. package/build/events/company-location/index.js +20 -0
  50. package/build/events/company-location/index.js.map +1 -0
  51. package/build/events/company-location/interfaces.d.ts +4 -0
  52. package/build/events/company-location/interfaces.d.ts.map +1 -0
  53. package/build/events/company-location/interfaces.js +3 -0
  54. package/build/events/company-location/interfaces.js.map +1 -0
  55. package/build/events/company-location/removed-event.d.ts +7 -0
  56. package/build/events/company-location/removed-event.d.ts.map +1 -0
  57. package/build/events/company-location/removed-event.js +3 -0
  58. package/build/events/company-location/removed-event.js.map +1 -0
  59. package/build/events/company-location/updated-event.d.ts +7 -0
  60. package/build/events/company-location/updated-event.d.ts.map +1 -0
  61. package/build/events/company-location/updated-event.js +3 -0
  62. package/build/events/company-location/updated-event.js.map +1 -0
  63. package/build/events/company-process/created-event.d.ts +7 -0
  64. package/build/events/company-process/created-event.d.ts.map +1 -0
  65. package/build/events/company-process/created-event.js +3 -0
  66. package/build/events/company-process/created-event.js.map +1 -0
  67. package/build/events/company-process/index.d.ts +4 -0
  68. package/build/events/company-process/index.d.ts.map +1 -0
  69. package/build/events/company-process/index.js +20 -0
  70. package/build/events/company-process/index.js.map +1 -0
  71. package/build/events/company-process/interfaces.d.ts +4 -0
  72. package/build/events/company-process/interfaces.d.ts.map +1 -0
  73. package/build/events/company-process/interfaces.js +3 -0
  74. package/build/events/company-process/interfaces.js.map +1 -0
  75. package/build/events/company-process/removed-event.d.ts +7 -0
  76. package/build/events/company-process/removed-event.d.ts.map +1 -0
  77. package/build/events/company-process/removed-event.js +3 -0
  78. package/build/events/company-process/removed-event.js.map +1 -0
  79. package/build/events/company-process/updated-event.d.ts +7 -0
  80. package/build/events/company-process/updated-event.d.ts.map +1 -0
  81. package/build/events/company-process/updated-event.js +3 -0
  82. package/build/events/company-process/updated-event.js.map +1 -0
  83. package/build/events/company-threat/created-event.d.ts +7 -0
  84. package/build/events/company-threat/created-event.d.ts.map +1 -0
  85. package/build/events/company-threat/created-event.js +3 -0
  86. package/build/events/company-threat/created-event.js.map +1 -0
  87. package/build/events/company-threat/index.d.ts +4 -0
  88. package/build/events/company-threat/index.d.ts.map +1 -0
  89. package/build/events/company-threat/index.js +20 -0
  90. package/build/events/company-threat/index.js.map +1 -0
  91. package/build/events/{threat-inventory → company-threat}/interfaces.d.ts +1 -1
  92. package/build/events/company-threat/interfaces.d.ts.map +1 -0
  93. package/build/events/company-threat/interfaces.js +3 -0
  94. package/build/events/company-threat/interfaces.js.map +1 -0
  95. package/build/events/company-threat/removed-event.d.ts +7 -0
  96. package/build/events/company-threat/removed-event.d.ts.map +1 -0
  97. package/build/events/company-threat/removed-event.js +3 -0
  98. package/build/events/company-threat/removed-event.js.map +1 -0
  99. package/build/events/company-threat/updated-event.d.ts +7 -0
  100. package/build/events/company-threat/updated-event.d.ts.map +1 -0
  101. package/build/events/company-threat/updated-event.js +3 -0
  102. package/build/events/company-threat/updated-event.js.map +1 -0
  103. package/build/events/index.d.ts +6 -3
  104. package/build/events/index.d.ts.map +1 -1
  105. package/build/events/index.js +6 -3
  106. package/build/events/index.js.map +1 -1
  107. package/build/events/types/control.interfaces.d.ts +30 -0
  108. package/build/events/types/control.interfaces.d.ts.map +1 -0
  109. package/build/events/types/control.interfaces.js +3 -0
  110. package/build/events/types/control.interfaces.js.map +1 -0
  111. package/build/events/types/enums.d.ts +18 -9
  112. package/build/events/types/enums.d.ts.map +1 -1
  113. package/build/events/types/enums.js +21 -9
  114. package/build/events/types/enums.js.map +1 -1
  115. package/build/events/types/index.d.ts +2 -0
  116. package/build/events/types/index.d.ts.map +1 -1
  117. package/build/events/types/index.js +2 -0
  118. package/build/events/types/index.js.map +1 -1
  119. package/package.json +1 -1
  120. package/build/events/asset-inventory/created-event.d.ts +0 -7
  121. package/build/events/asset-inventory/created-event.d.ts.map +0 -1
  122. package/build/events/asset-inventory/created-event.js.map +0 -1
  123. package/build/events/asset-inventory/index.js.map +0 -1
  124. package/build/events/asset-inventory/interfaces.d.ts.map +0 -1
  125. package/build/events/asset-inventory/interfaces.js.map +0 -1
  126. package/build/events/asset-inventory/removed-event.js.map +0 -1
  127. package/build/events/asset-inventory/updated-event.d.ts +0 -7
  128. package/build/events/asset-inventory/updated-event.d.ts.map +0 -1
  129. package/build/events/asset-inventory/updated-event.js.map +0 -1
  130. package/build/events/employee/created-event.d.ts +0 -7
  131. package/build/events/employee/created-event.d.ts.map +0 -1
  132. package/build/events/employee/created-event.js.map +0 -1
  133. package/build/events/employee/index.d.ts.map +0 -1
  134. package/build/events/employee/index.js.map +0 -1
  135. package/build/events/employee/interfaces.d.ts +0 -8
  136. package/build/events/employee/interfaces.d.ts.map +0 -1
  137. package/build/events/employee/interfaces.js.map +0 -1
  138. package/build/events/employee/removed-event.d.ts.map +0 -1
  139. package/build/events/employee/removed-event.js.map +0 -1
  140. package/build/events/employee/updated-event.d.ts +0 -7
  141. package/build/events/employee/updated-event.d.ts.map +0 -1
  142. package/build/events/employee/updated-event.js.map +0 -1
  143. package/build/events/threat-inventory/created-event.d.ts +0 -7
  144. package/build/events/threat-inventory/created-event.d.ts.map +0 -1
  145. package/build/events/threat-inventory/created-event.js.map +0 -1
  146. package/build/events/threat-inventory/index.js.map +0 -1
  147. package/build/events/threat-inventory/interfaces.d.ts.map +0 -1
  148. package/build/events/threat-inventory/interfaces.js.map +0 -1
  149. package/build/events/threat-inventory/removed-event.js.map +0 -1
  150. package/build/events/threat-inventory/updated-event.d.ts +0 -7
  151. package/build/events/threat-inventory/updated-event.d.ts.map +0 -1
  152. package/build/events/threat-inventory/updated-event.js.map +0 -1
  153. /package/build/events/{asset-inventory → company-asset}/created-event.js +0 -0
  154. /package/build/events/{asset-inventory → company-asset}/index.d.ts +0 -0
  155. /package/build/events/{asset-inventory → company-asset}/index.js +0 -0
  156. /package/build/events/{asset-inventory → company-asset}/interfaces.js +0 -0
  157. /package/build/events/{asset-inventory → company-asset}/removed-event.js +0 -0
  158. /package/build/events/{asset-inventory → company-asset}/updated-event.js +0 -0
  159. /package/build/events/{employee → company-control}/created-event.js +0 -0
  160. /package/build/events/{employee → company-control}/index.d.ts +0 -0
  161. /package/build/events/{employee → company-control}/index.js +0 -0
  162. /package/build/events/{employee → company-control}/interfaces.js +0 -0
  163. /package/build/events/{employee → company-control}/removed-event.js +0 -0
  164. /package/build/events/{employee → company-control}/updated-event.js +0 -0
  165. /package/build/events/{threat-inventory → company-employee}/created-event.js +0 -0
  166. /package/build/events/{threat-inventory → company-employee}/index.d.ts +0 -0
  167. /package/build/events/{threat-inventory → company-employee}/index.js +0 -0
  168. /package/build/events/{threat-inventory → company-employee}/interfaces.js +0 -0
  169. /package/build/events/{threat-inventory → company-employee}/removed-event.js +0 -0
  170. /package/build/events/{threat-inventory → company-employee}/updated-event.js +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updated-event.d.ts","sourceRoot":"","sources":["../../../src/events/company-threat/updated-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAsB,gBAAgB,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAEtD,MAAM,WAAW,yBAAyB;IAExC,OAAO,EAAE,QAAQ,CAAC,oBAAoB,CAAC;IACvC,IAAI,EAAK,sBAAsB,CAAC;CACjC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=updated-event.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updated-event.js","sourceRoot":"","sources":["../../../src/events/company-threat/updated-event.ts"],"names":[],"mappings":""}
@@ -22,10 +22,13 @@ export * from './control-attribute';
22
22
  export * from './employee-role';
23
23
  export * from './threat';
24
24
  export * from './vulnerability';
25
- export * from './asset-inventory';
26
25
  export * from './company';
27
- export * from './employee';
28
- export * from './threat-inventory';
26
+ export * from './company-asset';
27
+ export * from './company-control';
28
+ export * from './company-employee';
29
+ export * from './company-location';
30
+ export * from './company-process';
31
+ export * from './company-threat';
29
32
  export * from './risk-analysis';
30
33
  export * from './risk-asset';
31
34
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/events/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AAExB,cAAc,yBAAyB,CAAC;AAGxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AAGjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AAGtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AAGvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAGhC,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AAGnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/events/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AAExB,cAAc,yBAAyB,CAAC;AAGxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AAGjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AAGtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AAGvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAGhC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AAGjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC"}
@@ -43,10 +43,13 @@ __exportStar(require("./employee-role"), exports);
43
43
  __exportStar(require("./threat"), exports);
44
44
  __exportStar(require("./vulnerability"), exports);
45
45
  // company-mng
46
- __exportStar(require("./asset-inventory"), exports);
47
46
  __exportStar(require("./company"), exports);
48
- __exportStar(require("./employee"), exports);
49
- __exportStar(require("./threat-inventory"), exports);
47
+ __exportStar(require("./company-asset"), exports);
48
+ __exportStar(require("./company-control"), exports);
49
+ __exportStar(require("./company-employee"), exports);
50
+ __exportStar(require("./company-location"), exports);
51
+ __exportStar(require("./company-process"), exports);
52
+ __exportStar(require("./company-threat"), exports);
50
53
  // risk-analysis-mng
51
54
  __exportStar(require("./risk-analysis"), exports);
52
55
  __exportStar(require("./risk-asset"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,+CAA6B;AAC7B,0CAAwB;AAExB,0DAAwC;AAExC,qBAAqB;AACrB,uDAAqC;AACrC,gDAA8B;AAC9B,kDAAgC;AAChC,mDAAiC;AAEjC,mBAAmB;AACnB,wDAAsC;AACtC,iDAA+B;AAC/B,uDAAqC;AACrC,wDAAsC;AAEtC,YAAY;AACZ,iDAA+B;AAC/B,yCAAuB;AAEvB,aAAa;AACb,kDAAgC;AAChC,gDAA8B;AAC9B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,4CAA0B;AAC1B,sDAAoC;AACpC,kDAAgC;AAChC,2CAAyB;AACzB,kDAAgC;AAEhC,cAAc;AACd,oDAAkC;AAClC,4CAA0B;AAC1B,6CAA2B;AAC3B,qDAAmC;AAEnC,oBAAoB;AACpB,kDAAgC;AAChC,+CAA6B;AAE7B,kBAAkB;AAClB,mCAAmC;AAEnC,cAAc"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,+CAA6B;AAC7B,0CAAwB;AAExB,0DAAwC;AAExC,qBAAqB;AACrB,uDAAqC;AACrC,gDAA8B;AAC9B,kDAAgC;AAChC,mDAAiC;AAEjC,mBAAmB;AACnB,wDAAsC;AACtC,iDAA+B;AAC/B,uDAAqC;AACrC,wDAAsC;AAEtC,YAAY;AACZ,iDAA+B;AAC/B,yCAAuB;AAEvB,aAAa;AACb,kDAAgC;AAChC,gDAA8B;AAC9B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,4CAA0B;AAC1B,sDAAoC;AACpC,kDAAgC;AAChC,2CAAyB;AACzB,kDAAgC;AAEhC,cAAc;AACd,4CAA0B;AAC1B,kDAAgC;AAChC,oDAAkC;AAClC,qDAAmC;AACnC,qDAAmC;AACnC,oDAAkC;AAClC,mDAAiC;AAEjC,oBAAoB;AACpB,kDAAgC;AAChC,+CAA6B;AAE7B,kBAAkB;AAClB,mCAAmC;AAEnC,cAAc"}
@@ -0,0 +1,30 @@
1
+ import { NxTypeObject } from '@nextage/nx-frame-be';
2
+ export interface ControlData extends ControlSet {
3
+ plan: boolean;
4
+ do: boolean;
5
+ check: boolean;
6
+ evidence: ControlEvidence[];
7
+ }
8
+ export interface ControlEvidence {
9
+ id?: string;
10
+ type?: string;
11
+ name?: string;
12
+ ref?: string;
13
+ }
14
+ export interface ControlSet {
15
+ description?: NxTypeObject<string> | string;
16
+ refs?: NxTypeObject<string> | string;
17
+ reqs?: ControlSetRequirements;
18
+ at?: string;
19
+ }
20
+ export interface ControlSetRequirements {
21
+ na?: string;
22
+ legal: boolean;
23
+ contractual: boolean;
24
+ business: boolean;
25
+ }
26
+ export interface ControlAttribute {
27
+ type: string;
28
+ v: string[];
29
+ }
30
+ //# sourceMappingURL=control.interfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"control.interfaces.d.ts","sourceRoot":"","sources":["../../../src/events/types/control.interfaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,MAAM,WAAW,WAAY,SAAQ,UAAU;IAC7C,IAAI,EAAM,OAAO,CAAC;IAClB,EAAE,EAAQ,OAAO,CAAC;IAClB,KAAK,EAAK,OAAO,CAAC;IAClB,QAAQ,EAAE,eAAe,EAAE,CAAC;CAC7B;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAI,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAG,MAAM,CAAC;CACf;AAED,MAAM,WAAW,UAAU;IACzB,WAAW,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IAC5C,IAAI,CAAC,EAAS,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IAC5C,IAAI,CAAC,EAAS,sBAAsB,CAAC;IACrC,EAAE,CAAC,EAAW,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,sBAAsB;IACrC,EAAE,CAAC,EAAU,MAAM,CAAC;IACpB,KAAK,EAAQ,OAAO,CAAC;IACrB,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAK,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,EAAK,MAAM,EAAE,CAAC;CAChB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=control.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"control.interfaces.js","sourceRoot":"","sources":["../../../src/events/types/control.interfaces.ts"],"names":[],"mappings":""}
@@ -53,15 +53,24 @@ export declare enum Subjects {
53
53
  CompanyCreated = "company.created",
54
54
  CompanyUpdated = "company.updated",
55
55
  CompanyRemoved = "company.removed",
56
- AssetInventoryCreated = "assetInv.created",
57
- AssetInventoryUpdated = "assetInv.updated",
58
- AssetInventoryRemoved = "assetInv.removed",
59
- ThreatInventoryCreated = "threatInv.created",
60
- ThreatInventoryUpdated = "threatInv.updated",
61
- ThreatInventoryRemoved = "threatInv.removed",
62
- EmployeeCreated = "employee.created",
63
- EmployeeUpdated = "employee.updated",
64
- EmployeeRemoved = "employee.removed",
56
+ CompanyAssetCreated = "compAsset.created",
57
+ CompanyAssetUpdated = "compAsset.updated",
58
+ CompanyAssetRemoved = "compAsset.removed",
59
+ CompanyControlCreated = "compControl.created",
60
+ CompanyControlUpdated = "compControl.updated",
61
+ CompanyControlRemoved = "compControl.removed",
62
+ CompanyThreatCreated = "compThreat.created",
63
+ CompanyThreatUpdated = "compThreat.updated",
64
+ CompanyThreatRemoved = "compThreat.removed",
65
+ CompanyEmployeeCreated = "compEmployee.created",
66
+ CompanyEmployeeUpdated = "compEmployee.updated",
67
+ CompanyEmployeeRemoved = "compEmployee.removed",
68
+ CompanyLocationCreated = "compLocation.created",
69
+ CompanyLocationUpdated = "compLocation.updated",
70
+ CompanyLocationRemoved = "compLocation.removed",
71
+ CompanyProcessCreated = "compProcess.created",
72
+ CompanyProcessUpdated = "compProcess.updated",
73
+ CompanyProcessRemoved = "compProcess.removed",
65
74
  /****************
66
75
  * RISK-MNG *
67
76
  ****************/
@@ -1 +1 @@
1
- {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../src/events/types/enums.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAElB;;sBAEkB;IAGlB,mBAAmB,yBAA8B;IACjD,mBAAmB,yBAA8B;IACjD,mBAAmB,yBAA8B;IAGjD,iBAAiB,uBAA8B;IAC/C,iBAAiB,uBAA8B;IAC/C,iBAAiB,uBAA8B;IAG/C,eAAe,qBAA8B;IAC7C,eAAe,qBAA8B;IAC7C,eAAe,qBAA8B;IAG7C,oBAAoB,0BAA8B;IAClD,oBAAoB,0BAA8B;IAClD,oBAAoB,0BAA8B;IAGlD,kBAAkB,wBAA8B;IAChD,kBAAkB,wBAA8B;IAChD,kBAAkB,wBAA8B;IAGhD,uB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yBAAyB;IAC/C,sBAAsB,yBAAyB;IAC/C,sBAAsB,yBAAyB;IAG/C,sBAAsB,yBAAyB;IAC/C,sBAAsB,yBAAyB;IAC/C,sBAAsB,yBAAyB;IAG/C,qBAAqB,wBAAyB;IAC9C,qBAAqB,wBAAyB;IAC9C,qBAAqB,wBAAyB;IAE9C;;sBAEkB;IAGlB,mBAAmB,yBAAyB;IAC5C,mBAAmB,yBAAyB;IAC5C,mBAAmB,yBAAyB;IAG5C,gBAAgB,sBAAyB;IACzC,gBAAgB,sBAAyB;IACzC,gBAAgB,sBAAyB;CAU1C;AAED,oBAAY,cAAc;IACxB,MAAM,iBAAiB;IACvB,MAAM,iBAAiB;IACvB,MAAM,iBAAiB;CACxB"}
@@ -72,17 +72,29 @@ var Subjects;
72
72
  Subjects["CompanyUpdated"] = "company.updated";
73
73
  Subjects["CompanyRemoved"] = "company.removed";
74
74
  // Asset Inventory
75
- Subjects["AssetInventoryCreated"] = "assetInv.created";
76
- Subjects["AssetInventoryUpdated"] = "assetInv.updated";
77
- Subjects["AssetInventoryRemoved"] = "assetInv.removed";
75
+ Subjects["CompanyAssetCreated"] = "compAsset.created";
76
+ Subjects["CompanyAssetUpdated"] = "compAsset.updated";
77
+ Subjects["CompanyAssetRemoved"] = "compAsset.removed";
78
+ // Controls - SOA
79
+ Subjects["CompanyControlCreated"] = "compControl.created";
80
+ Subjects["CompanyControlUpdated"] = "compControl.updated";
81
+ Subjects["CompanyControlRemoved"] = "compControl.removed";
78
82
  // ThreatInventory
79
- Subjects["ThreatInventoryCreated"] = "threatInv.created";
80
- Subjects["ThreatInventoryUpdated"] = "threatInv.updated";
81
- Subjects["ThreatInventoryRemoved"] = "threatInv.removed";
83
+ Subjects["CompanyThreatCreated"] = "compThreat.created";
84
+ Subjects["CompanyThreatUpdated"] = "compThreat.updated";
85
+ Subjects["CompanyThreatRemoved"] = "compThreat.removed";
82
86
  // Employee
83
- Subjects["EmployeeCreated"] = "employee.created";
84
- Subjects["EmployeeUpdated"] = "employee.updated";
85
- Subjects["EmployeeRemoved"] = "employee.removed";
87
+ Subjects["CompanyEmployeeCreated"] = "compEmployee.created";
88
+ Subjects["CompanyEmployeeUpdated"] = "compEmployee.updated";
89
+ Subjects["CompanyEmployeeRemoved"] = "compEmployee.removed";
90
+ // Location
91
+ Subjects["CompanyLocationCreated"] = "compLocation.created";
92
+ Subjects["CompanyLocationUpdated"] = "compLocation.updated";
93
+ Subjects["CompanyLocationRemoved"] = "compLocation.removed";
94
+ // Process
95
+ Subjects["CompanyProcessCreated"] = "compProcess.created";
96
+ Subjects["CompanyProcessUpdated"] = "compProcess.updated";
97
+ Subjects["CompanyProcessRemoved"] = "compProcess.removed";
86
98
  /****************
87
99
  * RISK-MNG *
88
100
  ****************/
@@ -1 +1 @@
1
- {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../src/events/types/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,QA6HX;AA7HD,WAAY,QAAQ;IAElB;;sBAEkB;IAElB,gBAAgB;IAChB,wDAAiD,CAAA;IACjD,wDAAiD,CAAA;IACjD,wDAAiD,CAAA;IAEjD,cAAc;IACd,oDAA+C,CAAA;IAC/C,oDAA+C,CAAA;IAC/C,oDAA+C,CAAA;IAE/C,WAAW;IACX,gDAA6C,CAAA;IAC7C,gDAA6C,CAAA;IAC7C,gDAA6C,CAAA;IAE7C,gBAAgB;IAChB,0DAAkD,CAAA;IAClD,0DAAkD,CAAA;IAClD,0DAAkD,CAAA;IAElD,cAAc;IACd,sDAAgD,CAAA;IAChD,sDAAgD,CAAA;IAChD,sDAAgD,CAAA;IAEhD,mBAAmB;IACnB,gEAAqD,CAAA;IACrD,gEAAqD,CAAA;IACrD,gEAAqD,CAAA;IAErD,YAAY;IACZ,kDAA8C,CAAA;IAC9C,kDAA8C,CAAA;IAC9C,kDAA8C,CAAA;IAE9C,eAAe;IACf,mDAA4C,CAAA;IAC5C,mDAA4C,CAAA;IAC5C,mDAA4C,CAAA;IAE5C;;sBAE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AAA;IAE5C,iBAAiB;IACjB,yDAA8C,CAAA;IAC9C,yDAA8C,CAAA;IAC9C,yDAA8C,CAAA;IAE9C,kBAAkB;IAClB,uDAA6C,CAAA;IAC7C,uDAA6C,CAAA;IAC7C,uDAA6C,CAAA;IAE7C,WAAW;IACX,2DAA+C,CAAA;IAC/C,2DAA+C,CAAA;IAC/C,2DAA+C,CAAA;IAE/C,WAAW;IACX,2DAA+C,CAAA;IAC/C,2DAA+C,CAAA;IAC/C,2DAA+C,CAAA;IAE/C,UAAU;IACV,yDAA8C,CAAA;IAC9C,yDAA8C,CAAA;IAC9C,yDAA8C,CAAA;IAE9C;;sBAEkB;IAElB,gBAAgB;IAChB,wDAA4C,CAAA;IAC5C,wDAA4C,CAAA;IAC5C,wDAA4C,CAAA;IAE5C,aAAa;IACb,kDAAyC,CAAA;IACzC,kDAAyC,CAAA;IACzC,kDAAyC,CAAA;IAEzC;;sBAEkB;IAElB,mBAAmB;IACnB,2CAA2C;IAC3C,2CAA2C;IAC3C,2CAA2C;AAC7C,CAAC,EA5IW,QAAQ,wBAAR,QAAQ,QA4InB;AAED,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,yCAAuB,CAAA;IACvB,yCAAuB,CAAA;IACvB,yCAAuB,CAAA;AACzB,CAAC,EAJW,cAAc,8BAAd,cAAc,QAIzB"}
@@ -8,5 +8,7 @@ export * from './company-size.enums';
8
8
  export * from './control-attribute.enums';
9
9
  export * from './gender.enums';
10
10
  export * from './risk-analysis.enums';
11
+ export * from './control.interfaces';
12
+ export * from './events.interfaces';
11
13
  export * from './employee.enums';
12
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/events/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAExB,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AAGtC,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/events/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAExB,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AAEtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AAIpC,cAAc,kBAAkB,CAAC"}
@@ -24,6 +24,8 @@ __exportStar(require("./company-size.enums"), exports);
24
24
  __exportStar(require("./control-attribute.enums"), exports);
25
25
  __exportStar(require("./gender.enums"), exports);
26
26
  __exportStar(require("./risk-analysis.enums"), exports);
27
+ __exportStar(require("./control.interfaces"), exports);
28
+ __exportStar(require("./events.interfaces"), exports);
27
29
  // TO DELETE
28
30
  __exportStar(require("./employee.enums"), exports);
29
31
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/events/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AAExB,wDAAsC;AACtC,gDAA8B;AAC9B,sDAAoC;AACpC,oDAAkC;AAClC,wDAAsC;AACtC,uDAAqC;AACrC,4DAA0C;AAC1C,iDAA+B;AAC/B,wDAAsC;AAEtC,YAAY;AACZ,mDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/events/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AAExB,wDAAsC;AACtC,gDAA8B;AAC9B,sDAAoC;AACpC,oDAAkC;AAClC,wDAAsC;AACtC,uDAAqC;AACrC,4DAA0C;AAC1C,iDAA+B;AAC/B,wDAAsC;AAEtC,uDAAqC;AACrC,sDAAoC;AAGpC,YAAY;AACZ,mDAAiC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextage/era-lib",
3
- "version": "1.0.21",
3
+ "version": "1.0.24",
4
4
  "main": "./build/index.js",
5
5
  "types": "./build/index.d.ts",
6
6
  "files": [
@@ -1,7 +0,0 @@
1
- import { Subjects } from '../types/enums';
2
- import { AssetEventData } from './interfaces';
3
- export interface AssetInventoryCreatedEvent {
4
- subject: Subjects.AssetInventoryCreated;
5
- data: AssetEventData;
6
- }
7
- //# sourceMappingURL=created-event.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"created-event.d.ts","sourceRoot":"","sources":["../../../src/events/asset-inventory/created-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAY,gBAAgB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,WAAW,0BAA0B;IAEzC,OAAO,EAAE,QAAQ,CAAC,qBAAqB,CAAC;IACxC,IAAI,EAAK,cAAc,CAAC;CACzB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"created-event.js","sourceRoot":"","sources":["../../../src/events/asset-inventory/created-event.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/events/asset-inventory/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,kDAAgC;AAChC,kDAAgC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/events/asset-inventory/interfaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAQ,sBAAsB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,MAAM,WAAW,cAAe,SAAQ,aAAa;IACnD,MAAM,EAAW,WAAW,CAAC;IAC7B,WAAW,CAAC,EAAK,MAAM,CAAC;IACxB,aAAa,CAAC,EAAG,MAAM,EAAE,CAAC;CAC3B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/events/asset-inventory/interfaces.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"removed-event.js","sourceRoot":"","sources":["../../../src/events/asset-inventory/removed-event.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { Subjects } from '../types/enums';
2
- import { AssetEventData } from './interfaces';
3
- export interface AssetInventoryUpdatedEvent {
4
- subject: Subjects.AssetInventoryUpdated;
5
- data: AssetEventData;
6
- }
7
- //# sourceMappingURL=updated-event.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updated-event.d.ts","sourceRoot":"","sources":["../../../src/events/asset-inventory/updated-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAY,gBAAgB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,WAAW,0BAA0B;IAEzC,OAAO,EAAE,QAAQ,CAAC,qBAAqB,CAAC;IACxC,IAAI,EAAK,cAAc,CAAC;CACzB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"updated-event.js","sourceRoot":"","sources":["../../../src/events/asset-inventory/updated-event.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { Subjects } from '../types/enums';
2
- import { EmployeeEventData } from './interfaces';
3
- export interface EmployeeCreatedEvent {
4
- subject: Subjects.EmployeeCreated;
5
- data: EmployeeEventData;
6
- }
7
- //# sourceMappingURL=created-event.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"created-event.d.ts","sourceRoot":"","sources":["../../../src/events/employee/created-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAe,gBAAgB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,WAAW,oBAAoB;IAEnC,OAAO,EAAE,QAAQ,CAAC,eAAe,CAAC;IAClC,IAAI,EAAK,iBAAiB,CAAC;CAC5B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"created-event.js","sourceRoot":"","sources":["../../../src/events/employee/created-event.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/events/employee/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/events/employee/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,kDAAgC;AAChC,kDAAgC"}
@@ -1,8 +0,0 @@
1
- import { EmployeeStatus } from '../types';
2
- import { BaseEventData } from '../types/events.interfaces';
3
- export interface EmployeeEventData extends BaseEventData {
4
- status: EmployeeStatus;
5
- firstname: string;
6
- lastname: string;
7
- }
8
- //# sourceMappingURL=interfaces.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/events/employee/interfaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAO,4BAA4B,CAAC;AAE5D,MAAM,WAAW,iBAAkB,SAAQ,aAAa;IACtD,MAAM,EAAK,cAAc,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAG,MAAM,CAAC;CACnB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/events/employee/interfaces.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"removed-event.d.ts","sourceRoot":"","sources":["../../../src/events/employee/removed-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAkB,gBAAgB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,WAAW,oBAAoB;IAEnC,OAAO,EAAE,QAAQ,CAAC,eAAe,CAAC;IAClC,IAAI,EAAK,oBAAoB,CAAC;CAC/B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"removed-event.js","sourceRoot":"","sources":["../../../src/events/employee/removed-event.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { Subjects } from '../types/enums';
2
- import { EmployeeEventData } from './interfaces';
3
- export interface EmployeeUpdatedEvent {
4
- subject: Subjects.EmployeeUpdated;
5
- data: EmployeeEventData;
6
- }
7
- //# sourceMappingURL=updated-event.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updated-event.d.ts","sourceRoot":"","sources":["../../../src/events/employee/updated-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAe,gBAAgB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,WAAW,oBAAoB;IAEnC,OAAO,EAAE,QAAQ,CAAC,eAAe,CAAC;IAClC,IAAI,EAAK,iBAAiB,CAAC;CAC5B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"updated-event.js","sourceRoot":"","sources":["../../../src/events/employee/updated-event.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { Subjects } from '../types/enums';
2
- import { ThreatInventoryEventData } from './interfaces';
3
- export interface ThreatInventoryCreatedEvent {
4
- subject: Subjects.ThreatInventoryCreated;
5
- data: ThreatInventoryEventData;
6
- }
7
- //# sourceMappingURL=created-event.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"created-event.d.ts","sourceRoot":"","sources":["../../../src/events/threat-inventory/created-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAsB,gBAAgB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAExD,MAAM,WAAW,2BAA2B;IAE1C,OAAO,EAAE,QAAQ,CAAC,sBAAsB,CAAC;IACzC,IAAI,EAAK,wBAAwB,CAAC;CACnC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"created-event.js","sourceRoot":"","sources":["../../../src/events/threat-inventory/created-event.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/events/threat-inventory/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,kDAAgC;AAChC,kDAAgC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/events/threat-inventory/interfaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAS,kBAAkB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,MAAM,WAAW,wBAAyB,SAAQ,aAAa;IAC7D,UAAU,CAAC,EAAO,MAAM,CAAC;IACzB,YAAY,CAAC,EAAK,UAAU,EAAE,CAAC;IAC/B,eAAe,CAAC,EAAE,UAAU,EAAE,CAAC;CAChC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/events/threat-inventory/interfaces.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"removed-event.js","sourceRoot":"","sources":["../../../src/events/threat-inventory/removed-event.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import { Subjects } from '../types/enums';
2
- import { ThreatInventoryEventData } from './interfaces';
3
- export interface ThreatInventoryUpdatedEvent {
4
- subject: Subjects.ThreatInventoryUpdated;
5
- data: ThreatInventoryEventData;
6
- }
7
- //# sourceMappingURL=updated-event.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updated-event.d.ts","sourceRoot":"","sources":["../../../src/events/threat-inventory/updated-event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAsB,gBAAgB,CAAC;AAC1D,OAAO,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAExD,MAAM,WAAW,2BAA2B;IAE1C,OAAO,EAAE,QAAQ,CAAC,sBAAsB,CAAC;IACzC,IAAI,EAAK,wBAAwB,CAAC;CACnC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"updated-event.js","sourceRoot":"","sources":["../../../src/events/threat-inventory/updated-event.ts"],"names":[],"mappings":""}