@quadnix/octo 0.0.23 → 0.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 (292) hide show
  1. package/dist/app.type.d.ts +115 -1
  2. package/dist/app.type.js +21 -0
  3. package/dist/app.type.js.map +1 -1
  4. package/dist/decorators/enable-hook.decorator.d.ts +5 -0
  5. package/dist/decorators/enable-hook.decorator.js +5 -0
  6. package/dist/decorators/enable-hook.decorator.js.map +1 -1
  7. package/dist/decorators/event-source.decorator.d.ts +4 -0
  8. package/dist/decorators/event-source.decorator.js +5 -6
  9. package/dist/decorators/event-source.decorator.js.map +1 -1
  10. package/dist/decorators/model.decorator.d.ts +17 -4
  11. package/dist/decorators/model.decorator.js +17 -4
  12. package/dist/decorators/model.decorator.js.map +1 -1
  13. package/dist/decorators/on-event.decorator.js +1 -6
  14. package/dist/decorators/on-event.decorator.js.map +1 -1
  15. package/dist/decorators/overlay.decorator.d.ts +14 -5
  16. package/dist/decorators/overlay.decorator.js +14 -5
  17. package/dist/decorators/overlay.decorator.js.map +1 -1
  18. package/dist/decorators/resource.decorator.d.ts +15 -5
  19. package/dist/decorators/resource.decorator.js +15 -5
  20. package/dist/decorators/resource.decorator.js.map +1 -1
  21. package/dist/decorators/validate.decorator.d.ts +8 -0
  22. package/dist/decorators/validate.decorator.js +8 -0
  23. package/dist/decorators/validate.decorator.js.map +1 -1
  24. package/dist/errors/container.error.d.ts +9 -0
  25. package/dist/errors/container.error.js +9 -0
  26. package/dist/errors/container.error.js.map +1 -1
  27. package/dist/errors/input.error.d.ts +38 -0
  28. package/dist/errors/input.error.js +38 -0
  29. package/dist/errors/input.error.js.map +1 -1
  30. package/dist/errors/module.error.d.ts +3 -0
  31. package/dist/errors/module.error.js +3 -0
  32. package/dist/errors/module.error.js.map +1 -1
  33. package/dist/errors/node.error.d.ts +27 -0
  34. package/dist/errors/node.error.js +27 -0
  35. package/dist/errors/node.error.js.map +1 -1
  36. package/dist/errors/schema.error.d.ts +3 -0
  37. package/dist/errors/schema.error.js +3 -0
  38. package/dist/errors/schema.error.js.map +1 -1
  39. package/dist/errors/transaction.error.d.ts +21 -0
  40. package/dist/errors/transaction.error.js +21 -0
  41. package/dist/errors/transaction.error.js.map +1 -1
  42. package/dist/events/action.event.d.ts +2 -1
  43. package/dist/events/action.event.js +2 -1
  44. package/dist/events/action.event.js.map +1 -1
  45. package/dist/events/event.model.d.ts +5 -3
  46. package/dist/events/event.model.js +3 -1
  47. package/dist/events/event.model.js.map +1 -1
  48. package/dist/events/hook/commit.hook.event.d.ts +6 -3
  49. package/dist/events/hook/commit.hook.event.js +6 -3
  50. package/dist/events/hook/commit.hook.event.js.map +1 -1
  51. package/dist/events/hook/hook.event.d.ts +2 -1
  52. package/dist/events/hook/hook.event.js +2 -1
  53. package/dist/events/hook/hook.event.js.map +1 -1
  54. package/dist/events/hook/model.hook.event.d.ts +6 -3
  55. package/dist/events/hook/model.hook.event.js +6 -3
  56. package/dist/events/hook/model.hook.event.js.map +1 -1
  57. package/dist/events/hook/resource.hook.event.d.ts +6 -3
  58. package/dist/events/hook/resource.hook.event.js +6 -3
  59. package/dist/events/hook/resource.hook.event.js.map +1 -1
  60. package/dist/events/module.event.d.ts +2 -1
  61. package/dist/events/module.event.js +2 -1
  62. package/dist/events/module.event.js.map +1 -1
  63. package/dist/events/registration.event.d.ts +14 -7
  64. package/dist/events/registration.event.js +14 -7
  65. package/dist/events/registration.event.js.map +1 -1
  66. package/dist/events/serialization.event.d.ts +12 -6
  67. package/dist/events/serialization.event.js +12 -6
  68. package/dist/events/serialization.event.js.map +1 -1
  69. package/dist/events/transaction.event.d.ts +34 -10
  70. package/dist/events/transaction.event.js +26 -8
  71. package/dist/events/transaction.event.js.map +1 -1
  72. package/dist/functions/container/container.d.ts +2 -0
  73. package/dist/functions/container/container.js +2 -0
  74. package/dist/functions/container/container.js.map +1 -1
  75. package/dist/functions/container/test-container.d.ts +2 -0
  76. package/dist/functions/container/test-container.js +2 -0
  77. package/dist/functions/container/test-container.js.map +1 -1
  78. package/dist/functions/dependency/dependency.d.ts +9 -0
  79. package/dist/functions/dependency/dependency.js +6 -0
  80. package/dist/functions/dependency/dependency.js.map +1 -1
  81. package/dist/functions/diff/diff-metadata.d.ts +3 -0
  82. package/dist/functions/diff/diff-metadata.js +3 -0
  83. package/dist/functions/diff/diff-metadata.js.map +1 -1
  84. package/dist/functions/diff/diff.d.ts +6 -0
  85. package/dist/functions/diff/diff.js +6 -0
  86. package/dist/functions/diff/diff.js.map +1 -1
  87. package/dist/functions/diff/diff.utility.d.ts +3 -0
  88. package/dist/functions/diff/diff.utility.js +5 -2
  89. package/dist/functions/diff/diff.utility.js.map +1 -1
  90. package/dist/functions/hook/commit.hook.d.ts +3 -0
  91. package/dist/functions/hook/commit.hook.js +3 -0
  92. package/dist/functions/hook/commit.hook.js.map +1 -1
  93. package/dist/functions/hook/hook.interface.d.ts +3 -0
  94. package/dist/functions/hook/model-action.hook.d.ts +3 -0
  95. package/dist/functions/hook/model-action.hook.js +3 -0
  96. package/dist/functions/hook/model-action.hook.js.map +1 -1
  97. package/dist/functions/hook/resource-action.hook.d.ts +3 -0
  98. package/dist/functions/hook/resource-action.hook.js +3 -0
  99. package/dist/functions/hook/resource-action.hook.js.map +1 -1
  100. package/dist/functions/node/node-action.abstract.d.ts +3 -0
  101. package/dist/functions/node/node-action.abstract.js +3 -0
  102. package/dist/functions/node/node-action.abstract.js.map +1 -1
  103. package/dist/functions/node/node.abstract.d.ts +2 -0
  104. package/dist/functions/node/node.abstract.js +2 -0
  105. package/dist/functions/node/node.abstract.js.map +1 -1
  106. package/dist/functions/node/node.interface.d.ts +4 -0
  107. package/dist/functions/schema/schema.d.ts +17 -0
  108. package/dist/functions/schema/schema.js +18 -1
  109. package/dist/functions/schema/schema.js.map +1 -1
  110. package/dist/index.d.ts +1 -1
  111. package/dist/index.js +1 -1
  112. package/dist/index.js.map +1 -1
  113. package/dist/main.d.ts +3 -0
  114. package/dist/main.js +3 -0
  115. package/dist/main.js.map +1 -1
  116. package/dist/models/account/account.model.d.ts +3 -0
  117. package/dist/models/account/account.model.js +5 -1
  118. package/dist/models/account/account.model.js.map +1 -1
  119. package/dist/models/account/account.schema.d.ts +6 -0
  120. package/dist/models/account/account.schema.js +6 -0
  121. package/dist/models/account/account.schema.js.map +1 -1
  122. package/dist/models/app/app.model.d.ts +3 -1
  123. package/dist/models/app/app.model.js +3 -1
  124. package/dist/models/app/app.model.js.map +1 -1
  125. package/dist/models/app/app.schema.d.ts +3 -0
  126. package/dist/models/app/app.schema.js +3 -0
  127. package/dist/models/app/app.schema.js.map +1 -1
  128. package/dist/models/deployment/deployment.model.d.ts +3 -1
  129. package/dist/models/deployment/deployment.model.js +3 -1
  130. package/dist/models/deployment/deployment.model.js.map +1 -1
  131. package/dist/models/deployment/deployment.schema.d.ts +3 -0
  132. package/dist/models/deployment/deployment.schema.js +3 -0
  133. package/dist/models/deployment/deployment.schema.js.map +1 -1
  134. package/dist/models/environment/environment.model.d.ts +3 -1
  135. package/dist/models/environment/environment.model.js +3 -1
  136. package/dist/models/environment/environment.model.js.map +1 -1
  137. package/dist/models/environment/environment.schema.d.ts +3 -0
  138. package/dist/models/environment/environment.schema.js +3 -0
  139. package/dist/models/environment/environment.schema.js.map +1 -1
  140. package/dist/models/execution/execution.model.d.ts +3 -1
  141. package/dist/models/execution/execution.model.js +3 -1
  142. package/dist/models/execution/execution.model.js.map +1 -1
  143. package/dist/models/execution/execution.schema.d.ts +3 -0
  144. package/dist/models/execution/execution.schema.js +3 -0
  145. package/dist/models/execution/execution.schema.js.map +1 -1
  146. package/dist/models/filesystem/filesystem.model.d.ts +3 -0
  147. package/dist/models/filesystem/filesystem.model.js +3 -0
  148. package/dist/models/filesystem/filesystem.model.js.map +1 -1
  149. package/dist/models/filesystem/filesystem.schema.d.ts +3 -0
  150. package/dist/models/filesystem/filesystem.schema.js +3 -0
  151. package/dist/models/filesystem/filesystem.schema.js.map +1 -1
  152. package/dist/models/image/image.model.d.ts +3 -1
  153. package/dist/models/image/image.model.js +3 -1
  154. package/dist/models/image/image.model.js.map +1 -1
  155. package/dist/models/image/image.schema.d.ts +3 -0
  156. package/dist/models/image/image.schema.js +4 -1
  157. package/dist/models/image/image.schema.js.map +1 -1
  158. package/dist/models/model-action.interface.d.ts +2 -0
  159. package/dist/models/model.abstract.d.ts +3 -0
  160. package/dist/models/model.abstract.js +3 -0
  161. package/dist/models/model.abstract.js.map +1 -1
  162. package/dist/models/model.interface.d.ts +5 -0
  163. package/dist/models/pipeline/pipeline.model.d.ts +3 -1
  164. package/dist/models/pipeline/pipeline.model.js +3 -1
  165. package/dist/models/pipeline/pipeline.model.js.map +1 -1
  166. package/dist/models/pipeline/pipeline.schema.d.ts +3 -0
  167. package/dist/models/pipeline/pipeline.schema.js +3 -0
  168. package/dist/models/pipeline/pipeline.schema.js.map +1 -1
  169. package/dist/models/region/region.model.d.ts +3 -1
  170. package/dist/models/region/region.model.js +3 -1
  171. package/dist/models/region/region.model.js.map +1 -1
  172. package/dist/models/region/region.schema.d.ts +3 -0
  173. package/dist/models/region/region.schema.js +3 -0
  174. package/dist/models/region/region.schema.js.map +1 -1
  175. package/dist/models/server/server.model.d.ts +3 -1
  176. package/dist/models/server/server.model.js +3 -1
  177. package/dist/models/server/server.model.js.map +1 -1
  178. package/dist/models/server/server.schema.d.ts +3 -0
  179. package/dist/models/server/server.schema.js +3 -0
  180. package/dist/models/server/server.schema.js.map +1 -1
  181. package/dist/models/service/service.model.d.ts +3 -1
  182. package/dist/models/service/service.model.js +3 -1
  183. package/dist/models/service/service.model.js.map +1 -1
  184. package/dist/models/service/service.schema.d.ts +3 -0
  185. package/dist/models/service/service.schema.js +3 -0
  186. package/dist/models/service/service.schema.js.map +1 -1
  187. package/dist/models/subnet/subnet.model.d.ts +3 -1
  188. package/dist/models/subnet/subnet.model.js +3 -1
  189. package/dist/models/subnet/subnet.model.js.map +1 -1
  190. package/dist/models/subnet/subnet.schema.d.ts +5 -0
  191. package/dist/models/subnet/subnet.schema.js +5 -0
  192. package/dist/models/subnet/subnet.schema.js.map +1 -1
  193. package/dist/modules/module.abstract.d.ts +3 -0
  194. package/dist/modules/module.abstract.js +3 -0
  195. package/dist/modules/module.abstract.js.map +1 -1
  196. package/dist/modules/module.container.d.ts +6 -0
  197. package/dist/modules/module.container.js +6 -0
  198. package/dist/modules/module.container.js.map +1 -1
  199. package/dist/modules/module.interface.d.ts +3 -0
  200. package/dist/modules/test-module.container.d.ts +6 -0
  201. package/dist/modules/test-module.container.js +6 -1
  202. package/dist/modules/test-module.container.js.map +1 -1
  203. package/dist/overlays/anchor.abstract.d.ts +3 -0
  204. package/dist/overlays/anchor.abstract.js +4 -1
  205. package/dist/overlays/anchor.abstract.js.map +1 -1
  206. package/dist/overlays/anchor.interface.d.ts +3 -0
  207. package/dist/overlays/anchor.schema.d.ts +7 -1
  208. package/dist/overlays/anchor.schema.js +3 -0
  209. package/dist/overlays/anchor.schema.js.map +1 -1
  210. package/dist/overlays/overlay-data.repository.d.ts +6 -0
  211. package/dist/overlays/overlay-data.repository.js +6 -0
  212. package/dist/overlays/overlay-data.repository.js.map +1 -1
  213. package/dist/overlays/overlay.abstract.d.ts +3 -0
  214. package/dist/overlays/overlay.abstract.js +6 -0
  215. package/dist/overlays/overlay.abstract.js.map +1 -1
  216. package/dist/overlays/overlay.interface.d.ts +3 -0
  217. package/dist/overlays/overlay.schema.d.ts +3 -0
  218. package/dist/overlays/overlay.schema.js +3 -0
  219. package/dist/overlays/overlay.schema.js.map +1 -1
  220. package/dist/resources/resource-action.interface.d.ts +3 -0
  221. package/dist/resources/resource-data.repository.d.ts +6 -0
  222. package/dist/resources/resource-data.repository.js +6 -0
  223. package/dist/resources/resource-data.repository.js.map +1 -1
  224. package/dist/resources/resource.abstract.d.ts +3 -0
  225. package/dist/resources/resource.abstract.js +5 -2
  226. package/dist/resources/resource.abstract.js.map +1 -1
  227. package/dist/resources/resource.interface.d.ts +6 -0
  228. package/dist/resources/resource.schema.d.ts +3 -0
  229. package/dist/resources/resource.schema.js +3 -0
  230. package/dist/resources/resource.schema.js.map +1 -1
  231. package/dist/services/capture/capture.service.d.ts +6 -0
  232. package/dist/services/capture/capture.service.js +6 -0
  233. package/dist/services/capture/capture.service.js.map +1 -1
  234. package/dist/services/event/event.service.d.ts +8 -1
  235. package/dist/services/event/event.service.js +13 -4
  236. package/dist/services/event/event.service.js.map +1 -1
  237. package/dist/services/input/input.service.d.ts +6 -0
  238. package/dist/services/input/input.service.js +17 -11
  239. package/dist/services/input/input.service.js.map +1 -1
  240. package/dist/services/schema-translation/schema-translation.service.d.ts +6 -0
  241. package/dist/services/schema-translation/schema-translation.service.js +6 -0
  242. package/dist/services/schema-translation/schema-translation.service.js.map +1 -1
  243. package/dist/services/serialization/model/model-serialization.service.d.ts +6 -0
  244. package/dist/services/serialization/model/model-serialization.service.js +29 -8
  245. package/dist/services/serialization/model/model-serialization.service.js.map +1 -1
  246. package/dist/services/serialization/resource/resource-serialization.service.d.ts +6 -0
  247. package/dist/services/serialization/resource/resource-serialization.service.js +6 -0
  248. package/dist/services/serialization/resource/resource-serialization.service.js.map +1 -1
  249. package/dist/services/state-management/local.state-provider.d.ts +3 -0
  250. package/dist/services/state-management/local.state-provider.js +3 -0
  251. package/dist/services/state-management/local.state-provider.js.map +1 -1
  252. package/dist/services/state-management/state-management.service.d.ts +6 -0
  253. package/dist/services/state-management/state-management.service.js +6 -0
  254. package/dist/services/state-management/state-management.service.js.map +1 -1
  255. package/dist/services/state-management/state-provider.interface.d.ts +3 -0
  256. package/dist/services/state-management/test.state-provider.d.ts +3 -0
  257. package/dist/services/state-management/test.state-provider.js +3 -0
  258. package/dist/services/state-management/test.state-provider.js.map +1 -1
  259. package/dist/services/transaction/transaction.service.d.ts +6 -0
  260. package/dist/services/transaction/transaction.service.js +21 -3
  261. package/dist/services/transaction/transaction.service.js.map +1 -1
  262. package/dist/services/validation/validation.service.d.ts +6 -0
  263. package/dist/services/validation/validation.service.js +6 -0
  264. package/dist/services/validation/validation.service.js.map +1 -1
  265. package/dist/utilities/array/array.utility.d.ts +3 -0
  266. package/dist/utilities/array/array.utility.js +3 -0
  267. package/dist/utilities/array/array.utility.js.map +1 -1
  268. package/dist/utilities/cidr/cidr.utility.d.ts +3 -0
  269. package/dist/utilities/cidr/cidr.utility.js +3 -0
  270. package/dist/utilities/cidr/cidr.utility.js.map +1 -1
  271. package/dist/utilities/node/node.utility.d.ts +3 -0
  272. package/dist/utilities/node/node.utility.js +3 -0
  273. package/dist/utilities/node/node.utility.js.map +1 -1
  274. package/dist/utilities/object/object.utility.d.ts +3 -0
  275. package/dist/utilities/object/object.utility.js +4 -1
  276. package/dist/utilities/object/object.utility.js.map +1 -1
  277. package/dist/utilities/test-helpers/test-classes.d.ts +27 -0
  278. package/dist/utilities/test-helpers/test-classes.js +27 -0
  279. package/dist/utilities/test-helpers/test-classes.js.map +1 -1
  280. package/dist/utilities/test-helpers/test-models.d.ts +6 -0
  281. package/dist/utilities/test-helpers/test-models.js +6 -0
  282. package/dist/utilities/test-helpers/test-models.js.map +1 -1
  283. package/dist/utilities/test-helpers/test-overlays.d.ts +3 -0
  284. package/dist/utilities/test-helpers/test-overlays.js +3 -0
  285. package/dist/utilities/test-helpers/test-overlays.js.map +1 -1
  286. package/dist/utilities/test-helpers/test-resources.d.ts +9 -0
  287. package/dist/utilities/test-helpers/test-resources.js +10 -1
  288. package/dist/utilities/test-helpers/test-resources.js.map +1 -1
  289. package/dist/utilities/validation/validation.utility.d.ts +3 -0
  290. package/dist/utilities/validation/validation.utility.js +3 -0
  291. package/dist/utilities/validation/validation.utility.js.map +1 -1
  292. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"resource.decorator.js","sourceRoot":"","sources":["../../src/decorators/resource.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,QAAQ,EAA6C,MAAM,gBAAgB,CAAC;AACzG,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,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AAQ,CAAC,QAAQ,CAAC;QAE1C,MAAM,OAAO,GAAG,SAAS,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAC,IAAI,CAAC,CAAC,4BAA4B,EAAE,EAAE;YAChG,4BAA4B,CAAC,aAAa,CAAC,GAAG,WAAW,IAAI,WAAW,CAAC,IAAI,EAAE,EAAE,WAAW,CAAC,CAAC;QAChG,CAAC,CAAC,CAAC;QACH,SAAS,CAAC,+BAA+B,CAAC,OAAO,CAAC,CAAC;IACrD,CAAC,CAAC;AACJ,CAAC"}
@@ -5,5 +5,13 @@ type ValidationOptions<T> = {
5
5
  [key in ValidationType]?: ValidationTypeOptions[key];
6
6
  };
7
7
  };
8
+ /**
9
+ * A `@Validate` is a property decorator to validate a property.
10
+ * It is typically used in {@link Schema} to validate schema properties.
11
+ *
12
+ * @group Decorators
13
+ *
14
+ * @see Techniques for [Validation](/docs/techniques/validation).
15
+ */
8
16
  export declare function Validate<T>(validators: ValidationOptions<T> | ValidationOptions<T>[], transform?: (value: any) => any): (target: any, propertyKey: string) => void;
9
17
  export {};
@@ -1,5 +1,13 @@
1
1
  import { ValidationTransactionError } from '../errors/index.js';
2
2
  import { ValidationService } from '../services/validation/validation.service.js';
3
+ /**
4
+ * A `@Validate` is a property decorator to validate a property.
5
+ * It is typically used in {@link Schema} to validate schema properties.
6
+ *
7
+ * @group Decorators
8
+ *
9
+ * @see Techniques for [Validation](/docs/techniques/validation).
10
+ */
3
11
  export function Validate(validators, transform) {
4
12
  return function (target, propertyKey) {
5
13
  const symbol = Symbol();
@@ -1 +1 @@
1
- {"version":3,"file":"validate.decorator.js","sourceRoot":"","sources":["../../src/decorators/validate.decorator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAOjF,MAAM,UAAU,QAAQ,CACtB,UAAyD,EACzD,SAA+B;IAE/B,OAAO,UAAU,MAA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AC;gBAED,MAAM,MAAM,GAAG,iBAAiB,CAAC,QAAQ,EAAE,CAAC;gBAC5C,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;oBACjB,MAAM,IAAI,0BAA0B,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAC;gBACpE,CAAC;gBAED,IAAI,CAAC,MAAM,CAAC,GAAG,QAAQ,CAAC;YAC1B,CAAC;SACF,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC"}
@@ -1,11 +1,20 @@
1
1
  import type { Constructable } from '../app.type.js';
2
+ /**
3
+ * @group Errors/Container
4
+ */
2
5
  export declare class ContainerError extends Error {
3
6
  readonly type: string;
4
7
  constructor(message: string, type: Constructable<unknown> | string);
5
8
  }
9
+ /**
10
+ * @group Errors/Container
11
+ */
6
12
  export declare class ContainerRegistrationError extends ContainerError {
7
13
  constructor(message: string, type: Constructable<unknown> | string);
8
14
  }
15
+ /**
16
+ * @group Errors/Container
17
+ */
9
18
  export declare class ContainerResolutionError extends ContainerError {
10
19
  constructor(message: string, type: Constructable<unknown> | string);
11
20
  }
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @group Errors/Container
3
+ */
1
4
  export class ContainerError extends Error {
2
5
  constructor(message, type) {
3
6
  super(message);
@@ -5,12 +8,18 @@ export class ContainerError extends Error {
5
8
  Object.setPrototypeOf(this, ContainerError.prototype);
6
9
  }
7
10
  }
11
+ /**
12
+ * @group Errors/Container
13
+ */
8
14
  export class ContainerRegistrationError extends ContainerError {
9
15
  constructor(message, type) {
10
16
  super(message, type);
11
17
  Object.setPrototypeOf(this, ContainerRegistrationError.prototype);
12
18
  }
13
19
  }
20
+ /**
21
+ * @group Errors/Container
22
+ */
14
23
  export class ContainerResolutionError extends ContainerError {
15
24
  constructor(message, type) {
16
25
  super(message, type);
@@ -1 +1 @@
1
- {"version":3,"file":"container.error.js","sourceRoot":"","sources":["../../src/errors/container.error.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,cAAe,SAA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AAC,CAAC;QAErB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,0BAA0B,CAAC,SAAS,CAAC,CAAC;IACpE,CAAC;CACF;AAED;;GAEG;AACH,MAAM,OAAO,wBAAyB,SAAQ,cAAc;IAC1D,YAAY,OAAe,EAAE,IAAqC;QAChE,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;QAErB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,wBAAwB,CAAC,SAAS,CAAC,CAAC;IAClE,CAAC;CACF"}
@@ -1,11 +1,49 @@
1
+ /**
2
+ * Parent error class for all input errors.
3
+ *
4
+ * @group Errors/Input
5
+ */
1
6
  export declare class InputError extends Error {
7
+ /**
8
+ * Creates a new instance.
9
+ *
10
+ * @param message The error message.
11
+ */
2
12
  constructor(message: string);
3
13
  }
14
+ /**
15
+ * Error class for input registration errors.
16
+ * This error is thrown when an input key cannot be registered,
17
+ * either because it has already been registered, or is not a valid input key,
18
+ * or is not a valid input value.
19
+ *
20
+ * @group Errors/Input
21
+ */
4
22
  export declare class InputRegistrationError extends InputError {
5
23
  readonly inputKey: string;
24
+ /**
25
+ * Creates a new instance.
26
+ *
27
+ * @param message The error message.
28
+ * @param inputKey The input key for which the error occurred.
29
+ */
6
30
  constructor(message: string, inputKey: string);
7
31
  }
32
+ /**
33
+ * Error class for input resolution errors.
34
+ * This error is thrown when an input key cannot be resolved at runtime.
35
+ * Some common reasons include invalid values found during resolution,
36
+ * or invalid references used to resolve the input key.
37
+ *
38
+ * @group Errors/Input
39
+ */
8
40
  export declare class InputResolutionError extends InputError {
9
41
  readonly inputKey: string;
42
+ /**
43
+ * Creates a new instance.
44
+ *
45
+ * @param message The error message.
46
+ * @param inputKey The input key for which the error occurred.
47
+ */
10
48
  constructor(message: string, inputKey: string);
11
49
  }
@@ -1,17 +1,55 @@
1
+ /**
2
+ * Parent error class for all input errors.
3
+ *
4
+ * @group Errors/Input
5
+ */
1
6
  export class InputError extends Error {
7
+ /**
8
+ * Creates a new instance.
9
+ *
10
+ * @param message The error message.
11
+ */
2
12
  constructor(message) {
3
13
  super(message);
4
14
  Object.setPrototypeOf(this, InputError.prototype);
5
15
  }
6
16
  }
17
+ /**
18
+ * Error class for input registration errors.
19
+ * This error is thrown when an input key cannot be registered,
20
+ * either because it has already been registered, or is not a valid input key,
21
+ * or is not a valid input value.
22
+ *
23
+ * @group Errors/Input
24
+ */
7
25
  export class InputRegistrationError extends InputError {
26
+ /**
27
+ * Creates a new instance.
28
+ *
29
+ * @param message The error message.
30
+ * @param inputKey The input key for which the error occurred.
31
+ */
8
32
  constructor(message, inputKey) {
9
33
  super(message);
10
34
  this.inputKey = inputKey;
11
35
  Object.setPrototypeOf(this, InputRegistrationError.prototype);
12
36
  }
13
37
  }
38
+ /**
39
+ * Error class for input resolution errors.
40
+ * This error is thrown when an input key cannot be resolved at runtime.
41
+ * Some common reasons include invalid values found during resolution,
42
+ * or invalid references used to resolve the input key.
43
+ *
44
+ * @group Errors/Input
45
+ */
14
46
  export class InputResolutionError extends InputError {
47
+ /**
48
+ * Creates a new instance.
49
+ *
50
+ * @param message The error message.
51
+ * @param inputKey The input key for which the error occurred.
52
+ */
15
53
  constructor(message, inputKey) {
16
54
  super(message);
17
55
  this.inputKey = inputKey;
@@ -1 +1 @@
1
- {"version":3,"file":"input.error.js","sourceRoot":"","sources":["../../src/errors/input.error.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,UAAW,SAAQ,KAAK;IACnC,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;IACpD,CAAC;CACF;AAED,MAAM,OAAO,sBAAuB,SAAQ,UAAU;IAGpD,YAAY,OAAe,EAAE,QAAgB;QAC3C,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAEzB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,sBAAsB,CAAC,SAAS,CAAC,CAAC;IAChE,CAAC;CACF;AAED,MAAM,OAAO,oBAAqB,SAAQ,UAAU;IAGlD,YAAY,OAAe,EAAE,QAAgB;QAC3C,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAEzB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;IAC9D,CAAC;CACF"}
1
+ {"version":3,"file":"input.error.js","sourceRoot":"","sources":["../../src/errors/input.error.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,OAAO,UAAW,SAAQ,KAAK;IACnC;;;;OAIG;IACH,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;IACpD,CAAC;CACF;AAED;;;;;;;GAOG;AACH,MAAM,OAAO,sBAAuB,SAAQ,UAAU;IAGpD;;;;;OAKG;IACH,YAAY,OAAe,EAAE,QAAgB;QAC3C,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAEzB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,sBAAsB,CAAC,SAAS,CAAC,CAAC;IAChE,CAAC;CACF;AAED;;;;;;;GAOG;AACH,MAAM,OAAO,oBAAqB,SAAQ,UAAU;IAGlD;;;;;OAKG;IACH,YAAY,OAAe,EAAE,QAAgB;QAC3C,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAEzB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;IAC9D,CAAC;CACF"}
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @group Errors/Module
3
+ */
1
4
  export declare class ModuleError extends Error {
2
5
  readonly module: string;
3
6
  constructor(message: string, moduleName: string);
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @group Errors/Module
3
+ */
1
4
  export class ModuleError extends Error {
2
5
  constructor(message, moduleName) {
3
6
  super(message);
@@ -1 +1 @@
1
- {"version":3,"file":"module.error.js","sourceRoot":"","sources":["../../src/errors/module.error.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,WAAY,SAAQ,KAAK;IAGpC,YAAY,OAAe,EAAE,UAAkB;QAC7C,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC;QAEzB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACrD,CAAC;CACF"}
1
+ {"version":3,"file":"module.error.js","sourceRoot":"","sources":["../../src/errors/module.error.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,KAAK;IAGpC,YAAY,OAAe,EAAE,UAAkB;QAC7C,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,MAAM,GAAG,UAAU,CAAC;QAEzB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACrD,CAAC;CACF"}
@@ -2,34 +2,61 @@ import type { UnknownModel, UnknownNode, UnknownOverlay, UnknownResource } from
2
2
  import type { Dependency, IDependency } from '../functions/dependency/dependency.js';
3
3
  import type { Diff } from '../functions/diff/diff.js';
4
4
  import type { AResource } from '../resources/resource.abstract.js';
5
+ /**
6
+ * @group Errors/Node
7
+ */
5
8
  export declare class DependencyError extends Error {
6
9
  readonly dependency: IDependency;
7
10
  constructor(message: string, dependency: Dependency);
8
11
  }
12
+ /**
13
+ * @group Errors/Node
14
+ */
9
15
  export declare class NodeUnsynthError extends Error {
10
16
  readonly subject: string;
11
17
  constructor(message: string, subject: string);
12
18
  }
19
+ /**
20
+ * @group Errors/Node
21
+ */
13
22
  export declare class NodeError extends Error {
14
23
  readonly node: string;
15
24
  constructor(message: string, node: typeof AResource | UnknownNode);
16
25
  }
26
+ /**
27
+ * @group Errors/Node
28
+ */
17
29
  export declare class ContextNodeError extends NodeError {
18
30
  constructor(message: string, node: UnknownNode);
19
31
  }
32
+ /**
33
+ * @group Errors/Node
34
+ */
20
35
  export declare class ModelError extends NodeError {
21
36
  constructor(message: string, model: UnknownModel);
22
37
  }
38
+ /**
39
+ * @group Errors/Node
40
+ */
23
41
  export declare class OverlayError extends NodeError {
24
42
  constructor(message: string, overlay: UnknownOverlay);
25
43
  }
44
+ /**
45
+ * @group Errors/Node
46
+ */
26
47
  export declare class ResourceError extends NodeError {
27
48
  constructor(message: string, resource: typeof AResource | UnknownResource);
28
49
  }
50
+ /**
51
+ * @group Errors/Node
52
+ */
29
53
  export declare class DiffInverseResourceError extends ResourceError {
30
54
  readonly diff: ReturnType<Diff['toJSON']>;
31
55
  constructor(message: string, resource: UnknownResource, diff: Diff);
32
56
  }
57
+ /**
58
+ * @group Errors/Node
59
+ */
33
60
  export declare class RemoveResourceError extends ResourceError {
34
61
  readonly childrenResources: string[];
35
62
  constructor(message: string, resource: UnknownResource, childrenResources: UnknownResource[]);
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @group Errors/Node
3
+ */
1
4
  export class DependencyError extends Error {
2
5
  constructor(message, dependency) {
3
6
  super(message);
@@ -5,6 +8,9 @@ export class DependencyError extends Error {
5
8
  Object.setPrototypeOf(this, DependencyError.prototype);
6
9
  }
7
10
  }
11
+ /**
12
+ * @group Errors/Node
13
+ */
8
14
  export class NodeUnsynthError extends Error {
9
15
  constructor(message, subject) {
10
16
  super(message);
@@ -12,6 +18,9 @@ export class NodeUnsynthError extends Error {
12
18
  Object.setPrototypeOf(this, NodeUnsynthError.prototype);
13
19
  }
14
20
  }
21
+ /**
22
+ * @group Errors/Node
23
+ */
15
24
  export class NodeError extends Error {
16
25
  constructor(message, node) {
17
26
  super(message);
@@ -19,30 +28,45 @@ export class NodeError extends Error {
19
28
  Object.setPrototypeOf(this, NodeError.prototype);
20
29
  }
21
30
  }
31
+ /**
32
+ * @group Errors/Node
33
+ */
22
34
  export class ContextNodeError extends NodeError {
23
35
  constructor(message, node) {
24
36
  super(message, node);
25
37
  Object.setPrototypeOf(this, ContextNodeError.prototype);
26
38
  }
27
39
  }
40
+ /**
41
+ * @group Errors/Node
42
+ */
28
43
  export class ModelError extends NodeError {
29
44
  constructor(message, model) {
30
45
  super(message, model);
31
46
  Object.setPrototypeOf(this, ModelError.prototype);
32
47
  }
33
48
  }
49
+ /**
50
+ * @group Errors/Node
51
+ */
34
52
  export class OverlayError extends NodeError {
35
53
  constructor(message, overlay) {
36
54
  super(message, overlay);
37
55
  Object.setPrototypeOf(this, OverlayError.prototype);
38
56
  }
39
57
  }
58
+ /**
59
+ * @group Errors/Node
60
+ */
40
61
  export class ResourceError extends NodeError {
41
62
  constructor(message, resource) {
42
63
  super(message, resource);
43
64
  Object.setPrototypeOf(this, ResourceError.prototype);
44
65
  }
45
66
  }
67
+ /**
68
+ * @group Errors/Node
69
+ */
46
70
  export class DiffInverseResourceError extends ResourceError {
47
71
  constructor(message, resource, diff) {
48
72
  super(message, resource);
@@ -50,6 +74,9 @@ export class DiffInverseResourceError extends ResourceError {
50
74
  Object.setPrototypeOf(this, DiffInverseResourceError.prototype);
51
75
  }
52
76
  }
77
+ /**
78
+ * @group Errors/Node
79
+ */
53
80
  export class RemoveResourceError extends ResourceError {
54
81
  constructor(message, resource, childrenResources) {
55
82
  super(message, resource);
@@ -1 +1 @@
1
- {"version":3,"file":"node.error.js","sourceRoot":"","sources":["../../src/errors/node.error.ts"],"names":[],"mappings":"AAMA,MAAM,OAAO,eAAgB,SAAQ,KAAK;IAGxC,YAAY,OAAe,EAAE,UAAsB;QACjD,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC;QAErC,MAAM,CAAC,cAAc,CAAC,I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AAE,QAA4C;QACvE,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QAEzB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IACvD,CAAC;CACF;AAED;;GAEG;AACH,MAAM,OAAO,wBAAyB,SAAQ,aAAa;IAGzD,YAAY,OAAe,EAAE,QAAyB,EAAE,IAAU;QAChE,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QAEzB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC;QAE1B,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,wBAAwB,CAAC,SAAS,CAAC,CAAC;IAClE,CAAC;CACF;AAED;;GAEG;AACH,MAAM,OAAO,mBAAoB,SAAQ,aAAa;IAGpD,YAAY,OAAe,EAAE,QAAyB,EAAE,iBAAoC;QAC1F,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QAEzB,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAE,CAAC,CAAC,WAA4B,CAAC,SAAS,CAAC,CAAC;QAEjG,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAC;IAC7D,CAAC;CACF"}
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @group Errors/Schema
3
+ */
1
4
  export declare class SchemaError extends Error {
2
5
  readonly schemaClassName: string;
3
6
  constructor(message: string, schemaClassName: string);
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @group Errors/Schema
3
+ */
1
4
  export class SchemaError extends Error {
2
5
  constructor(message, schemaClassName) {
3
6
  super(message);
@@ -1 +1 @@
1
- {"version":3,"file":"schema.error.js","sourceRoot":"","sources":["../../src/errors/schema.error.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,WAAY,SAAQ,KAAK;IAGpC,YAAY,OAAe,EAAE,eAAuB;QAClD,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QAEvC,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACrD,CAAC;CACF"}
1
+ {"version":3,"file":"schema.error.js","sourceRoot":"","sources":["../../src/errors/schema.error.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,KAAK;IAGpC,YAAY,OAAe,EAAE,eAAuB;QAClD,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QAEvC,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACrD,CAAC;CACF"}
@@ -1,34 +1,55 @@
1
1
  import type { IUnknownModelAction, UnknownResource } from '../app.type.js';
2
2
  import type { Diff } from '../functions/diff/diff.js';
3
3
  import type { ValidationService } from '../services/validation/validation.service.js';
4
+ /**
5
+ * @group Errors/Transaction
6
+ */
4
7
  export declare class TransactionError extends Error {
5
8
  constructor(message: string);
6
9
  }
10
+ /**
11
+ * @group Errors/Transaction
12
+ */
7
13
  export declare class DiffsOnDirtyResourcesTransactionError extends TransactionError {
8
14
  readonly diffs: ReturnType<Diff['toJSON']>[];
9
15
  readonly dirtyResources: UnknownResource[];
10
16
  constructor(message: string, diffs: Diff[], dirtyResources: UnknownResource[]);
11
17
  }
18
+ /**
19
+ * @group Errors/Transaction
20
+ */
12
21
  export declare class InputNotFoundTransactionError extends TransactionError {
13
22
  readonly action: string;
14
23
  readonly diff: ReturnType<Diff['toJSON']>;
15
24
  readonly key: string;
16
25
  constructor(message: string, action: IUnknownModelAction, diff: Diff, key: string);
17
26
  }
27
+ /**
28
+ * @group Errors/Transaction
29
+ */
18
30
  export declare class NoMatchingActionFoundTransactionError extends TransactionError {
19
31
  readonly diff: ReturnType<Diff['toJSON']>;
20
32
  constructor(message: string, diff: Diff);
21
33
  }
34
+ /**
35
+ * @group Errors/Transaction
36
+ */
22
37
  export declare class ResourceActionExceptionTransactionError extends TransactionError {
23
38
  readonly actionClassName: string;
24
39
  readonly diff: ReturnType<Diff['toJSON']>;
25
40
  constructor(message: string, originalError: Error, diff: Diff, actionClassName: string);
26
41
  }
42
+ /**
43
+ * @group Errors/Transaction
44
+ */
27
45
  export declare class ResourceActionTimeoutTransactionError extends TransactionError {
28
46
  readonly actionClassName: string;
29
47
  readonly diff: ReturnType<Diff['toJSON']>;
30
48
  constructor(message: string, diff: Diff, actionClassName: string);
31
49
  }
50
+ /**
51
+ * @group Errors/Transaction
52
+ */
32
53
  export declare class ValidationTransactionError extends TransactionError {
33
54
  errors: ReturnType<ValidationService['validate']>;
34
55
  constructor(message: string, errors: ReturnType<ValidationService['validate']>);
@@ -1,9 +1,15 @@
1
+ /**
2
+ * @group Errors/Transaction
3
+ */
1
4
  export class TransactionError extends Error {
2
5
  constructor(message) {
3
6
  super(message);
4
7
  Object.setPrototypeOf(this, TransactionError.prototype);
5
8
  }
6
9
  }
10
+ /**
11
+ * @group Errors/Transaction
12
+ */
7
13
  export class DiffsOnDirtyResourcesTransactionError extends TransactionError {
8
14
  constructor(message, diffs, dirtyResources) {
9
15
  super(message);
@@ -12,6 +18,9 @@ export class DiffsOnDirtyResourcesTransactionError extends TransactionError {
12
18
  Object.setPrototypeOf(this, DiffsOnDirtyResourcesTransactionError.prototype);
13
19
  }
14
20
  }
21
+ /**
22
+ * @group Errors/Transaction
23
+ */
15
24
  export class InputNotFoundTransactionError extends TransactionError {
16
25
  constructor(message, action, diff, key) {
17
26
  super(message);
@@ -21,6 +30,9 @@ export class InputNotFoundTransactionError extends TransactionError {
21
30
  Object.setPrototypeOf(this, InputNotFoundTransactionError.prototype);
22
31
  }
23
32
  }
33
+ /**
34
+ * @group Errors/Transaction
35
+ */
24
36
  export class NoMatchingActionFoundTransactionError extends TransactionError {
25
37
  constructor(message, diff) {
26
38
  super(message);
@@ -28,6 +40,9 @@ export class NoMatchingActionFoundTransactionError extends TransactionError {
28
40
  Object.setPrototypeOf(this, NoMatchingActionFoundTransactionError.prototype);
29
41
  }
30
42
  }
43
+ /**
44
+ * @group Errors/Transaction
45
+ */
31
46
  export class ResourceActionExceptionTransactionError extends TransactionError {
32
47
  constructor(message, originalError, diff, actionClassName) {
33
48
  super(message);
@@ -40,6 +55,9 @@ export class ResourceActionExceptionTransactionError extends TransactionError {
40
55
  }
41
56
  }
42
57
  }
58
+ /**
59
+ * @group Errors/Transaction
60
+ */
43
61
  export class ResourceActionTimeoutTransactionError extends TransactionError {
44
62
  constructor(message, diff, actionClassName) {
45
63
  super(message);
@@ -48,6 +66,9 @@ export class ResourceActionTimeoutTransactionError extends TransactionError {
48
66
  Object.setPrototypeOf(this, ResourceActionTimeoutTransactionError.prototype);
49
67
  }
50
68
  }
69
+ /**
70
+ * @group Errors/Transaction
71
+ */
51
72
  export class ValidationTransactionError extends TransactionError {
52
73
  constructor(message, errors) {
53
74
  super(message);
@@ -1 +1 @@
1
- {"version":3,"file":"transaction.error.js","sourceRoot":"","sources":["../../src/errors/transaction.error.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,gBAAiB,SAAQ,KAAK;IACzC,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;IAC1D,CAAC;CACF;AAED,MAAM,OAAO,qCAAsC,SAAQ,gBAAgB;IAIzE,YAAY,OAAe,EAAE,KAAa,EAAE,cAAiC;QAC3E,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;QAC1C,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CA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AAE,MAAM,CAAC,yBAAyB,CAAC,aAAa,CAAC,CAAC,CAAC;QAC/E,IAAI,KAAK,CAAC,iBAAiB,EAAE,CAAC;YAC5B,KAAK,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;QAClD,CAAC;IACH,CAAC;CACF;AAED;;GAEG;AACH,MAAM,OAAO,qCAAsC,SAAQ,gBAAgB;IAIzE,YAAY,OAAe,EAAE,IAAU,EAAE,eAAuB;QAC9D,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC;QAE1B,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,qCAAqC,CAAC,SAAS,CAAC,CAAC;IAC/E,CAAC;CACF;AAED;;GAEG;AACH,MAAM,OAAO,0BAA2B,SAAQ,gBAAgB;IAG9D,YAAY,OAAe,EAAE,MAAiD;QAC5E,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QAErB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,0BAA0B,CAAC,SAAS,CAAC,CAAC;IACpE,CAAC;CACF"}
@@ -3,7 +3,8 @@ import { Event } from './event.model.js';
3
3
  * The ActionEvent class is the superclass for all events within actions.
4
4
  * This can be used to emit log events within actions.
5
5
  *
6
- * @group Events
6
+ * @group Events/Action
7
+ *
7
8
  * @returns The Event instance.
8
9
  */
9
10
  export declare class ActionEvent extends Event<{
@@ -3,7 +3,8 @@ import { Event } from './event.model.js';
3
3
  * The ActionEvent class is the superclass for all events within actions.
4
4
  * This can be used to emit log events within actions.
5
5
  *
6
- * @group Events
6
+ * @group Events/Action
7
+ *
7
8
  * @returns The Event instance.
8
9
  */
9
10
  export class ActionEvent extends Event {
@@ -1 +1 @@
1
- {"version":3,"file":"action.event.js","sourceRoot":"","sources":["../../src/events/action.event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEzC;;;;;;GAMG;AACH,MAAM,OAAO,WAAY,SAAQ,KAA6D;CAAG"}
1
+ {"version":3,"file":"action.event.js","sourceRoot":"","sources":["../../src/events/action.event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEzC;;;;;;;GAOG;AACH,MAAM,OAAO,WAAY,SAAQ,KAA6D;CAAG"}
@@ -9,15 +9,17 @@ import type { EventService } from '../services/event/event.service.js';
9
9
  * const myEvent = new Event<{ value: string }>('event name', { value: 'my payload' });
10
10
  * EventService.getInstance().emit(myEvent);
11
11
  * ```
12
+ *
12
13
  * @group Events
14
+ *
13
15
  * @returns The Event instance.
14
16
  */
15
- export declare class Event<T> {
17
+ export declare class Event<T = undefined> {
16
18
  readonly header: {
17
19
  timestamp: number;
18
20
  };
19
- readonly name: string | undefined;
20
- readonly payload: T | undefined;
21
+ readonly name: string;
22
+ readonly payload: T;
21
23
  constructor(name?: string, payload?: T);
22
24
  /**
23
25
  * The `registrar()` method is explicitly called by the {@link EventSource} decorator for a method
@@ -8,7 +8,9 @@
8
8
  * const myEvent = new Event<{ value: string }>('event name', { value: 'my payload' });
9
9
  * EventService.getInstance().emit(myEvent);
10
10
  * ```
11
+ *
11
12
  * @group Events
13
+ *
12
14
  * @returns The Event instance.
13
15
  */
14
16
  export class Event {
@@ -16,7 +18,7 @@ export class Event {
16
18
  this.header = {
17
19
  timestamp: Date.now(),
18
20
  };
19
- this.name = name;
21
+ this.name = name || '';
20
22
  this.payload = payload;
21
23
  }
22
24
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"event.model.js","sourceRoot":"","sources":["../../src/events/event.model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,KAAK;IAShB,YAAY,IAAa,EAAE,OAAW;QACpC,IAAI,CAAC,MAAM,GAAG;YACZ,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;SACtB,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,SAAS,CAAC,GAAG,IAAwC;QAC1D,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACtB,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;QAChE,CAAC;QAED,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAC;IAC9E,CAAC;CACF"}
1
+ {"version":3,"file":"event.model.js","sourceRoot":"","sources":["../../src/events/event.model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,MAAM,OAAO,KAAK;IAShB,YAAY,IAAa,EAAE,OAAW;QACpC,IAAI,CAAC,MAAM,GAAG;YACZ,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;SACtB,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAY,CAAC;IAC9B,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,SAAS,CAAC,GAAG,IAAwC;QAC1D,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACtB,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;QAChE,CAAC;QAED,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAC;IAC9E,CAAC;CACF"}
@@ -2,7 +2,8 @@ import { HookEvent } from './hook.event.js';
2
2
  /**
3
3
  * The CommitHookEvent class is the superclass for all events emitting in relation to commit hooks.
4
4
  *
5
- * @group Events
5
+ * @group Events/Hooks/Commit
6
+ *
6
7
  * @returns The Event instance.
7
8
  */
8
9
  export declare class CommitHookEvent extends HookEvent {
@@ -10,7 +11,8 @@ export declare class CommitHookEvent extends HookEvent {
10
11
  /**
11
12
  * This hook event is emitted when a post-commit hook callback is done executing.
12
13
  *
13
- * @group Events
14
+ * @group Events/Hooks/Commit
15
+ *
14
16
  * @returns The Event instance.
15
17
  */
16
18
  export declare class PostCommitHookCallbackDoneEvent extends CommitHookEvent {
@@ -18,7 +20,8 @@ export declare class PostCommitHookCallbackDoneEvent extends CommitHookEvent {
18
20
  /**
19
21
  * This hook event is emitted when a pre-commit hook callback is done executing.
20
22
  *
21
- * @group Events
23
+ * @group Events/Hooks/Commit
24
+ *
22
25
  * @returns The Event instance.
23
26
  */
24
27
  export declare class PreCommitHookCallbackDoneEvent extends CommitHookEvent {