@hastehaul/common 1.0.13 → 1.0.15

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 (68) hide show
  1. package/build/connections-wrappers/nats-wrapper.d.ts +19 -0
  2. package/build/connections-wrappers/nats-wrapper.js +19 -0
  3. package/build/errors/bad-request-error.d.ts +24 -2
  4. package/build/errors/bad-request-error.js +22 -0
  5. package/build/errors/custom-error.d.ts +24 -0
  6. package/build/errors/custom-error.js +11 -0
  7. package/build/errors/database-error.d.ts +24 -2
  8. package/build/errors/database-error.js +23 -1
  9. package/build/errors/index.d.ts +25 -0
  10. package/build/errors/index.js +26 -0
  11. package/build/errors/not-found-error.d.ts +24 -2
  12. package/build/errors/not-found-error.js +22 -0
  13. package/build/errors/system-error.d.ts +25 -2
  14. package/build/errors/system-error.js +24 -1
  15. package/build/events/base/base-consumer.d.ts +57 -0
  16. package/build/events/base/base-consumer.js +33 -0
  17. package/build/events/base/base-publisher.d.ts +19 -0
  18. package/build/events/base/base-publisher.js +13 -0
  19. package/build/events/base/base-stream.d.ts +21 -0
  20. package/build/events/base/base-stream.js +12 -0
  21. package/build/events/base/index.d.ts +21 -0
  22. package/build/events/base/index.js +38 -0
  23. package/build/events/common/enums/durable-names/index.d.ts +5 -0
  24. package/build/events/common/enums/durable-names/order-dname.d.ts +12 -0
  25. package/build/events/common/enums/durable-names/order-dname.js +12 -0
  26. package/build/events/common/enums/durable-names/payment-dname.d.ts +9 -0
  27. package/build/events/common/enums/durable-names/payment-dname.js +9 -0
  28. package/build/events/common/enums/index.d.ts +15 -0
  29. package/build/events/common/enums/index.js +16 -0
  30. package/build/events/common/enums/streams/index.d.ts +5 -0
  31. package/build/events/common/enums/streams/order-stream.d.ts +6 -0
  32. package/build/events/common/enums/streams/order-stream.js +6 -0
  33. package/build/events/common/enums/streams/payment-stream.d.ts +6 -0
  34. package/build/events/common/enums/streams/payment-stream.js +6 -0
  35. package/build/events/common/enums/subjects/index.d.ts +5 -0
  36. package/build/events/common/enums/subjects/main-subjects.d.ts +29 -0
  37. package/build/events/common/enums/subjects/main-subjects.js +11 -0
  38. package/build/events/common/enums/subjects/order-subjects.d.ts +12 -0
  39. package/build/events/common/enums/subjects/order-subjects.js +12 -0
  40. package/build/events/common/enums/subjects/payment-subjects.d.ts +9 -0
  41. package/build/events/common/enums/subjects/payment-subjects.js +9 -0
  42. package/build/events/common/index.d.ts +14 -0
  43. package/build/events/common/index.js +31 -0
  44. package/build/events/common/interfaces/index.d.ts +13 -0
  45. package/build/events/common/interfaces/index.js +33 -0
  46. package/build/events/common/interfaces/order-events-interfaces/index.d.ts +18 -0
  47. package/build/events/common/interfaces/order-events-interfaces/index.js +35 -0
  48. package/build/events/common/interfaces/order-events-interfaces/order-cancelled-event.d.ts +36 -0
  49. package/build/events/common/interfaces/order-events-interfaces/order-completed-event.d.ts +36 -0
  50. package/build/events/common/interfaces/order-events-interfaces/order-requested-event.d.ts +36 -0
  51. package/build/events/common/interfaces/payment-event-interfaces/index.d.ts +0 -0
  52. package/build/events/common/interfaces/payment-event-interfaces/index.js +3 -0
  53. package/build/events/common/interfaces/stream-interfaces/index.d.ts +1 -0
  54. package/build/events/common/interfaces/stream-interfaces/index.js +18 -0
  55. package/build/events/common/interfaces/stream-interfaces/order-stream-interface.d.ts +17 -0
  56. package/build/events/index.d.ts +14 -0
  57. package/build/events/index.js +31 -0
  58. package/build/index.d.ts +1 -0
  59. package/build/index.js +1 -0
  60. package/build/utils/base_classes/index.d.ts +18 -0
  61. package/build/utils/base_classes/index.js +19 -0
  62. package/build/utils/base_classes/listeners/base-namespace.d.ts +15 -0
  63. package/build/utils/base_classes/listeners/base-namespace.js +7 -0
  64. package/build/utils/enums.d.ts +1 -1
  65. package/build/utils/enums.js +1 -1
  66. package/build/utils/index.d.ts +18 -0
  67. package/build/utils/index.js +19 -0
  68. package/package.json +1 -1
@@ -1,15 +1,51 @@
1
1
  import { OrderDurableName } from '../../enums/durable-names/order-dname';
2
2
  import { OrderStream } from '../../enums/streams/order-stream';
3
3
  import { OrderSubjects } from '../../enums/subjects/order-subjects';
4
+ /**
5
+ * Interface representing the "Order Cancelled" event.
6
+ *
7
+ * The "OrderCancelledEvent" interface defines the structure of an event related to the cancellation of an order.
8
+ * Events of this type are used to communicate order cancellation details across the application.
9
+ */
4
10
  export interface OrderCancelledEvent {
11
+ /**
12
+ * The subject of the event, specifying that it represents an "Order Cancelled" event.
13
+ */
5
14
  subject: OrderSubjects.OrderCancelled;
15
+ /**
16
+ * The durable name associated with the consumer handling the "Order Cancelled" event.
17
+ * This property is optional and may be used to identify the consumer processing the event in a durable manner.
18
+ */
6
19
  durableName?: OrderDurableName.OrderCancelledDurablename;
20
+ /**
21
+ * The stream to which the event belongs, specifying that it is an "Order" stream.
22
+ * Events of different types may be grouped into different streams based on their common characteristics.
23
+ */
7
24
  stream: OrderStream.Order;
25
+ /**
26
+ * The data payload of the "Order Cancelled" event.
27
+ * The data payload contains specific details related to the order cancellation, such as order ID, version, status, user ID, and trip ID.
28
+ */
8
29
  data: {
30
+ /**
31
+ * The unique identifier of the order associated with the cancellation event.
32
+ */
9
33
  id: string;
34
+ /**
35
+ * The version number of the order at the time of the cancellation event.
36
+ */
10
37
  version: number;
38
+ /**
39
+ * The status of the order after the cancellation event (e.g., "cancelled").
40
+ */
11
41
  status: string;
42
+ /**
43
+ * The unique identifier of the user who initiated the order cancellation.
44
+ */
12
45
  userid: string;
46
+ /**
47
+ * The unique identifier of the trip associated with the cancelled order.
48
+ */
13
49
  tripid: string;
14
50
  };
15
51
  }
@@ -1,15 +1,51 @@
1
1
  import { OrderDurableName } from '../../enums/durable-names/order-dname';
2
2
  import { OrderStream } from '../../enums/streams/order-stream';
3
3
  import { OrderSubjects } from '../../enums/subjects/order-subjects';
4
+ /**
5
+ * Interface representing the "Order Completed" event.
6
+ *
7
+ * The "OrderCompletedEvent" interface defines the structure of an event related to the completion of an order.
8
+ * Events of this type are used to communicate order completion details across the application.
9
+ */
4
10
  export interface OrderCompletedEvent {
11
+ /**
12
+ * The subject of the event, specifying that it represents an "Order Completed" event.
13
+ */
5
14
  subject: OrderSubjects.OrderCompleted;
15
+ /**
16
+ * The durable name associated with the consumer handling the "Order Completed" event.
17
+ * This property is optional and may be used to identify the consumer processing the event in a durable manner.
18
+ */
6
19
  durableName?: OrderDurableName.OrderCompletedDurablename;
20
+ /**
21
+ * The stream to which the event belongs, specifying that it is an "Order" stream.
22
+ * Events of different types may be grouped into different streams based on their common characteristics.
23
+ */
7
24
  stream: OrderStream.Order;
25
+ /**
26
+ * The data payload of the "Order Completed" event.
27
+ * The data payload contains specific details related to the order completion, such as order ID, version, status, user ID, and trip ID.
28
+ */
8
29
  data: {
30
+ /**
31
+ * The unique identifier of the order associated with the completion event.
32
+ */
9
33
  id: string;
34
+ /**
35
+ * The version number of the order at the time of the completion event.
36
+ */
10
37
  version: number;
38
+ /**
39
+ * The status of the order after the completion event (e.g., "completed").
40
+ */
11
41
  status: string;
42
+ /**
43
+ * The unique identifier of the user who initiated the order completion.
44
+ */
12
45
  userid: string;
46
+ /**
47
+ * The unique identifier of the trip associated with the completed order.
48
+ */
13
49
  tripid: string;
14
50
  };
15
51
  }
@@ -1,15 +1,51 @@
1
1
  import { OrderDurableName } from '../../enums/durable-names/order-dname';
2
2
  import { OrderStream } from '../../enums/streams/order-stream';
3
3
  import { OrderSubjects } from '../../enums/subjects/order-subjects';
4
+ /**
5
+ * Interface representing the "Order Requested" event.
6
+ *
7
+ * The "OrderRequestedEvent" interface defines the structure of an event related to the request for an order.
8
+ * Events of this type are used to communicate order request details across the application.
9
+ */
4
10
  export interface OrderRequestedEvent {
11
+ /**
12
+ * The subject of the event, specifying that it represents an "Order Requested" event.
13
+ */
5
14
  subject: OrderSubjects.OrderRequested;
15
+ /**
16
+ * The durable name associated with the consumer handling the "Order Requested" event.
17
+ * This property is optional and may be used to identify the consumer processing the event in a durable manner.
18
+ */
6
19
  durableName?: OrderDurableName.OrderRequestDurablename;
20
+ /**
21
+ * The stream to which the event belongs, specifying that it is an "Order" stream.
22
+ * Events of different types may be grouped into different streams based on their common characteristics.
23
+ */
7
24
  stream: OrderStream.Order;
25
+ /**
26
+ * The data payload of the "Order Requested" event.
27
+ * The data payload contains specific details related to the order request, such as order ID, version, status, user ID, and trip ID.
28
+ */
8
29
  data: {
30
+ /**
31
+ * The unique identifier of the order associated with the request event.
32
+ */
9
33
  id: string;
34
+ /**
35
+ * The version number of the order at the time of the request event.
36
+ */
10
37
  version: number;
38
+ /**
39
+ * The status of the order after the request event (e.g., "requested").
40
+ */
11
41
  status: string;
42
+ /**
43
+ * The unique identifier of the user who initiated the order request.
44
+ */
12
45
  userid: string;
46
+ /**
47
+ * The unique identifier of the trip associated with the requested order.
48
+ */
13
49
  tripid: string;
14
50
  };
15
51
  }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // export * from "./payment-created-event"
3
+ // export * from "./payment-failed-event"
@@ -0,0 +1 @@
1
+ export * from "./order-stream-interface";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ // Import and re-export the contents of the "order-stream-interface.ts" file.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ __exportStar(require("./order-stream-interface"), exports);
@@ -1,6 +1,23 @@
1
1
  import { OrderStream } from '../../enums/streams/order-stream';
2
2
  import { MainSubjects } from '../../enums/subjects/main-subjects';
3
+ /**
4
+ * Interface representing an event associated with the "Order" stream.
5
+ *
6
+ * The "OrderStreamEvent" interface defines the structure of an event related to the "Order" stream.
7
+ * Events of this type are used to communicate specific details related to the "Order" stream.
8
+ */
3
9
  export interface OrderStreamEvent {
10
+ /**
11
+ * The subject of the event, specifying that it is associated with the "Order" stream.
12
+ *
13
+ * In this case, the subject is derived from the "MainSubjects.ORDER" enum value, indicating that this event is related to orders.
14
+ */
4
15
  subject: MainSubjects.ORDER;
16
+ /**
17
+ * The stream to which the event belongs, specifying that it is an "Order" stream.
18
+ *
19
+ * Events of different types may be grouped into different streams based on their common characteristics.
20
+ * In this case, the stream is of type "OrderStream.Order", indicating that it is an event related to the "Order" stream.
21
+ */
5
22
  stream: OrderStream.Order;
6
23
  }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Re-exports all the contents from the "base" module.
3
+ *
4
+ * The "base" module contains base classes and utilities that provide foundational functionality for various parts of the application.
5
+ * This includes base classes for consumers, publishers, streams, etc., that can be extended to implement specific functionality.
6
+ */
7
+ export * from "./base";
8
+ /**
9
+ * Re-exports all the contents from the "common" module.
10
+ *
11
+ * The "common" module contains shared utilities, helper functions, enums, and interfaces that are commonly used across the application.
12
+ * These shared resources provide a common set of functionalities to be used by different components or modules within the application.
13
+ */
14
+ export * from "./common";
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ // Import and re-export multiple modules related to "base" and "common" functionalities.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ /**
19
+ * Re-exports all the contents from the "base" module.
20
+ *
21
+ * The "base" module contains base classes and utilities that provide foundational functionality for various parts of the application.
22
+ * This includes base classes for consumers, publishers, streams, etc., that can be extended to implement specific functionality.
23
+ */
24
+ __exportStar(require("./base"), exports);
25
+ /**
26
+ * Re-exports all the contents from the "common" module.
27
+ *
28
+ * The "common" module contains shared utilities, helper functions, enums, and interfaces that are commonly used across the application.
29
+ * These shared resources provide a common set of functionalities to be used by different components or modules within the application.
30
+ */
31
+ __exportStar(require("./common"), exports);
package/build/index.d.ts CHANGED
@@ -2,3 +2,4 @@ export * from "./connections-wrappers";
2
2
  export * from "./errors";
3
3
  export * from "./middlewares";
4
4
  export * from "./utils";
5
+ export * from "./events";
package/build/index.js CHANGED
@@ -18,3 +18,4 @@ __exportStar(require("./connections-wrappers"), exports);
18
18
  __exportStar(require("./errors"), exports);
19
19
  __exportStar(require("./middlewares"), exports);
20
20
  __exportStar(require("./utils"), exports);
21
+ __exportStar(require("./events"), exports);
@@ -1,3 +1,21 @@
1
+ /**
2
+ * Re-exports all the contents from the "base-producers" module.
3
+ *
4
+ * The "base-producers" module contains base classes and utilities for implementing job producers in the application.
5
+ * Job producers are responsible for generating and queuing jobs to be processed by job workers.
6
+ */
1
7
  export * from "./jobs/base-producers";
8
+ /**
9
+ * Re-exports all the contents from the "base-worker" module.
10
+ *
11
+ * The "base-worker" module contains base classes and utilities for implementing job workers in the application.
12
+ * Job workers are responsible for processing jobs generated by job producers and executing the required tasks.
13
+ */
2
14
  export * from "./jobs/base-worker";
15
+ /**
16
+ * Re-exports all the contents from the "base-namespace" module.
17
+ *
18
+ * The "base-namespace" module contains base classes and utilities for implementing custom namespaces in the application.
19
+ * Custom namespaces provide separate channels for communication between connected clients and the server, allowing for organized event handling within separate contexts.
20
+ */
3
21
  export * from "./listeners/base-namespace";
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ // Import and re-export multiple modules related to jobs and listeners.
2
3
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
4
  if (k2 === undefined) k2 = k;
4
5
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -14,6 +15,24 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
15
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
16
  };
16
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ /**
19
+ * Re-exports all the contents from the "base-producers" module.
20
+ *
21
+ * The "base-producers" module contains base classes and utilities for implementing job producers in the application.
22
+ * Job producers are responsible for generating and queuing jobs to be processed by job workers.
23
+ */
17
24
  __exportStar(require("./jobs/base-producers"), exports);
25
+ /**
26
+ * Re-exports all the contents from the "base-worker" module.
27
+ *
28
+ * The "base-worker" module contains base classes and utilities for implementing job workers in the application.
29
+ * Job workers are responsible for processing jobs generated by job producers and executing the required tasks.
30
+ */
18
31
  __exportStar(require("./jobs/base-worker"), exports);
32
+ /**
33
+ * Re-exports all the contents from the "base-namespace" module.
34
+ *
35
+ * The "base-namespace" module contains base classes and utilities for implementing custom namespaces in the application.
36
+ * Custom namespaces provide separate channels for communication between connected clients and the server, allowing for organized event handling within separate contexts.
37
+ */
19
38
  __exportStar(require("./listeners/base-namespace"), exports);
@@ -1,4 +1,19 @@
1
1
  import { Server } from 'socket.io';
2
+ /**
3
+ * Abstract class representing a Socket.IO namespace.
4
+ *
5
+ * The "IoNamespace" class serves as a base class for implementing custom Socket.IO namespaces in the application.
6
+ * A Socket.IO namespace provides a separate channel for communication between connected clients and the server.
7
+ * Custom namespaces allow developers to organize events and logic within separate contexts.
8
+ */
2
9
  export declare abstract class IoNamespace {
10
+ /**
11
+ * Abstract method to be implemented by subclasses.
12
+ *
13
+ * The "connect" method is used to establish a connection between the Socket.IO namespace and the server.
14
+ * Subclasses should override this method to define the specific logic and event handling for the namespace.
15
+ *
16
+ * @param io The Socket.IO server instance to which the namespace is connected.
17
+ */
3
18
  abstract connect(io: Server): void;
4
19
  }
@@ -1,6 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IoNamespace = void 0;
4
+ /**
5
+ * Abstract class representing a Socket.IO namespace.
6
+ *
7
+ * The "IoNamespace" class serves as a base class for implementing custom Socket.IO namespaces in the application.
8
+ * A Socket.IO namespace provides a separate channel for communication between connected clients and the server.
9
+ * Custom namespaces allow developers to organize events and logic within separate contexts.
10
+ */
4
11
  class IoNamespace {
5
12
  }
6
13
  exports.IoNamespace = IoNamespace;
@@ -61,7 +61,7 @@ export declare enum StatusCodes {
61
61
  TOO_MANY_REQUEST = 429,
62
62
  REQUEST_HEADER_FIELDS_TOO_LARGE = 431,
63
63
  UNAVAILABLE_FOR_LEGAL_REASONS = 451,
64
- INTERNALE_SERVER_ERROR = 500,
64
+ INTERNAL_SERVER_ERROR = 500,
65
65
  NOT_IMPLEMENTED = 501,
66
66
  BAD_GATEWAY = 502,
67
67
  SERVICE_UNAVAILABLE = 503,
@@ -67,7 +67,7 @@ var StatusCodes;
67
67
  StatusCodes[StatusCodes["TOO_MANY_REQUEST"] = 429] = "TOO_MANY_REQUEST";
68
68
  StatusCodes[StatusCodes["REQUEST_HEADER_FIELDS_TOO_LARGE"] = 431] = "REQUEST_HEADER_FIELDS_TOO_LARGE";
69
69
  StatusCodes[StatusCodes["UNAVAILABLE_FOR_LEGAL_REASONS"] = 451] = "UNAVAILABLE_FOR_LEGAL_REASONS";
70
- StatusCodes[StatusCodes["INTERNALE_SERVER_ERROR"] = 500] = "INTERNALE_SERVER_ERROR";
70
+ StatusCodes[StatusCodes["INTERNAL_SERVER_ERROR"] = 500] = "INTERNAL_SERVER_ERROR";
71
71
  StatusCodes[StatusCodes["NOT_IMPLEMENTED"] = 501] = "NOT_IMPLEMENTED";
72
72
  StatusCodes[StatusCodes["BAD_GATEWAY"] = 502] = "BAD_GATEWAY";
73
73
  StatusCodes[StatusCodes["SERVICE_UNAVAILABLE"] = 503] = "SERVICE_UNAVAILABLE";
@@ -1,3 +1,21 @@
1
+ /**
2
+ * Re-exports all the enums from the "enums" module.
3
+ *
4
+ * The "enums" module contains various enumerations used in the application.
5
+ * Enumerations are used to define named constant values, such as status codes, subject names, or stream names.
6
+ */
1
7
  export * from "./enums";
8
+ /**
9
+ * Re-exports all the base classes from the "base_classes" module.
10
+ *
11
+ * The "base_classes" module contains base classes and utilities that provide foundational functionality for different parts of the application.
12
+ * This includes base classes for consumers, publishers, streams, etc., which can be extended to implement specific functionality.
13
+ */
2
14
  export * from "./base_classes";
15
+ /**
16
+ * Re-exports all the functions related to reading directories from the "read-dir" module.
17
+ *
18
+ * The "read-dir" module contains utility functions to read and access files and directories in the application.
19
+ * These functions are used for dynamic loading, configuration, and other file-related operations.
20
+ */
3
21
  export * from "./read-dir";
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ // Import and re-export multiple modules for enums, base classes, and read-dir functionality.
2
3
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
4
  if (k2 === undefined) k2 = k;
4
5
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -14,6 +15,24 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
15
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
16
  };
16
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ /**
19
+ * Re-exports all the enums from the "enums" module.
20
+ *
21
+ * The "enums" module contains various enumerations used in the application.
22
+ * Enumerations are used to define named constant values, such as status codes, subject names, or stream names.
23
+ */
17
24
  __exportStar(require("./enums"), exports);
25
+ /**
26
+ * Re-exports all the base classes from the "base_classes" module.
27
+ *
28
+ * The "base_classes" module contains base classes and utilities that provide foundational functionality for different parts of the application.
29
+ * This includes base classes for consumers, publishers, streams, etc., which can be extended to implement specific functionality.
30
+ */
18
31
  __exportStar(require("./base_classes"), exports);
32
+ /**
33
+ * Re-exports all the functions related to reading directories from the "read-dir" module.
34
+ *
35
+ * The "read-dir" module contains utility functions to read and access files and directories in the application.
36
+ * These functions are used for dynamic loading, configuration, and other file-related operations.
37
+ */
19
38
  __exportStar(require("./read-dir"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hastehaul/common",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",