@artstesh/postboy 3.2.0 → 3.3.0

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 (76) hide show
  1. package/lib/index.d.ts +1 -0
  2. package/lib/index.d.ts.map +1 -1
  3. package/lib/index.js +1 -0
  4. package/lib/index.js.map +1 -1
  5. package/lib/messages/add-middleware.executor.d.ts +19 -0
  6. package/lib/messages/add-middleware.executor.d.ts.map +1 -0
  7. package/lib/messages/add-middleware.executor.js +24 -0
  8. package/lib/messages/add-middleware.executor.js.map +1 -0
  9. package/lib/messages/add-namespace.executor.d.ts +19 -0
  10. package/lib/messages/add-namespace.executor.d.ts.map +1 -0
  11. package/lib/messages/add-namespace.executor.js +24 -0
  12. package/lib/messages/add-namespace.executor.js.map +1 -0
  13. package/lib/messages/connect-executor.executor.d.ts +25 -0
  14. package/lib/messages/connect-executor.executor.d.ts.map +1 -0
  15. package/lib/messages/connect-executor.executor.js +30 -0
  16. package/lib/messages/connect-executor.executor.js.map +1 -0
  17. package/lib/messages/connect-handler.executor.d.ts +25 -0
  18. package/lib/messages/connect-handler.executor.d.ts.map +1 -0
  19. package/lib/messages/connect-handler.executor.js +30 -0
  20. package/lib/messages/connect-handler.executor.js.map +1 -0
  21. package/lib/messages/connect-message.executor.d.ts +28 -0
  22. package/lib/messages/connect-message.executor.d.ts.map +1 -0
  23. package/lib/messages/connect-message.executor.js +31 -0
  24. package/lib/messages/connect-message.executor.js.map +1 -0
  25. package/lib/messages/connect.message.executor.d.ts +28 -0
  26. package/lib/messages/connect.message.executor.d.ts.map +1 -0
  27. package/lib/messages/connect.message.executor.js +31 -0
  28. package/lib/messages/connect.message.executor.js.map +1 -0
  29. package/lib/messages/disconnect-message.executor.d.ts +19 -0
  30. package/lib/messages/disconnect-message.executor.d.ts.map +1 -0
  31. package/lib/messages/disconnect-message.executor.js +25 -0
  32. package/lib/messages/disconnect-message.executor.js.map +1 -0
  33. package/lib/messages/eliminate-namespace.executor.d.ts +16 -0
  34. package/lib/messages/eliminate-namespace.executor.d.ts.map +1 -0
  35. package/lib/messages/eliminate-namespace.executor.js +22 -0
  36. package/lib/messages/eliminate-namespace.executor.js.map +1 -0
  37. package/lib/messages/index.d.ts +11 -0
  38. package/lib/messages/index.d.ts.map +1 -0
  39. package/lib/messages/index.js +24 -0
  40. package/lib/messages/index.js.map +1 -0
  41. package/lib/messages/lock-message.executor.d.ts +22 -0
  42. package/lib/messages/lock-message.executor.d.ts.map +1 -0
  43. package/lib/messages/lock-message.executor.js +26 -0
  44. package/lib/messages/lock-message.executor.js.map +1 -0
  45. package/lib/messages/remove-middleware.executor.d.ts +17 -0
  46. package/lib/messages/remove-middleware.executor.d.ts.map +1 -0
  47. package/lib/messages/remove-middleware.executor.js +22 -0
  48. package/lib/messages/remove-middleware.executor.js.map +1 -0
  49. package/lib/messages/unlock-message.executor.d.ts +21 -0
  50. package/lib/messages/unlock-message.executor.d.ts.map +1 -0
  51. package/lib/messages/unlock-message.executor.js +25 -0
  52. package/lib/messages/unlock-message.executor.js.map +1 -0
  53. package/lib/models/postboy-subscription.d.ts +1 -1
  54. package/lib/models/postboy-subscription.d.ts.map +1 -1
  55. package/lib/models/postboy-subscription.js +1 -1
  56. package/lib/models/postboy-subscription.js.map +1 -1
  57. package/lib/postboy-abstract.registrator.d.ts.map +1 -1
  58. package/lib/postboy-abstract.registrator.js +11 -5
  59. package/lib/postboy-abstract.registrator.js.map +1 -1
  60. package/lib/postboy.service.d.ts +14 -5
  61. package/lib/postboy.service.d.ts.map +1 -1
  62. package/lib/postboy.service.js +57 -27
  63. package/lib/postboy.service.js.map +1 -1
  64. package/lib/services/postboy-context.service.d.ts +1 -0
  65. package/lib/services/postboy-context.service.d.ts.map +1 -1
  66. package/lib/services/postboy-context.service.js +3 -0
  67. package/lib/services/postboy-context.service.js.map +1 -1
  68. package/lib/services/postboy-dependency.resolver.d.ts +1 -5
  69. package/lib/services/postboy-dependency.resolver.d.ts.map +1 -1
  70. package/lib/services/postboy-dependency.resolver.js +1 -4
  71. package/lib/services/postboy-dependency.resolver.js.map +1 -1
  72. package/lib/services/postboy-namespace.store.d.ts +5 -6
  73. package/lib/services/postboy-namespace.store.d.ts.map +1 -1
  74. package/lib/services/postboy-namespace.store.js +7 -7
  75. package/lib/services/postboy-namespace.store.js.map +1 -1
  76. package/package.json +2 -1
package/lib/index.d.ts CHANGED
@@ -9,4 +9,5 @@ export * from './models/postboy-middleware';
9
9
  export * from './models/postboy.message';
10
10
  export * from './services/postboy-middleware.service';
11
11
  export * from './services/postboy-message.store';
12
+ export * from './messages/index';
12
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uCAAuC,CAAC;AACtD,cAAc,kCAAkC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,mBAAmB,CAAC;AAClC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uCAAuC,CAAC;AACtD,cAAc,kCAAkC,CAAC;AACjD,cAAc,kBAAkB,CAAC"}
package/lib/index.js CHANGED
@@ -28,4 +28,5 @@ __exportStar(require("./models/postboy-middleware"), exports);
28
28
  __exportStar(require("./models/postboy.message"), exports);
29
29
  __exportStar(require("./services/postboy-middleware.service"), exports);
30
30
  __exportStar(require("./services/postboy-message.store"), exports);
31
+ __exportStar(require("./messages/index"), exports);
31
32
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,oDAAkC;AAClC,gEAA8C;AAC9C,iEAA+C;AAC/C,mEAAiD;AACjD,oEAAkD;AAClD,qEAAmD;AACnD,4DAA0C;AAC1C,8DAA4C;AAC5C,2DAAyC;AACzC,wEAAsD;AACtD,mEAAiD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,oDAAkC;AAClC,gEAA8C;AAC9C,iEAA+C;AAC/C,mEAAiD;AACjD,oEAAkD;AAClD,qEAAmD;AACnD,4DAA0C;AAC1C,8DAA4C;AAC5C,2DAAyC;AACzC,wEAAsD;AACtD,mEAAiD;AACjD,mDAAiC"}
@@ -0,0 +1,19 @@
1
+ import { PostboyMiddleware } from '../models/postboy-middleware';
2
+ import { PostboyExecutor } from '../models/postboy-executor';
3
+ /**
4
+ * Represents a {@link PostboyMiddleware} addition operation for Postboy.
5
+ * This class extends the functionality of the PostboyExecutor to add middleware to the processing chain.
6
+ *
7
+ * The middleware to be added is provided during instantiation.
8
+ */
9
+ export declare class AddMiddleware extends PostboyExecutor<void> {
10
+ middleware: PostboyMiddleware;
11
+ static readonly ID = "0a8cfe0a-6193-4082-8440-d0793367b21d";
12
+ /**
13
+ * Initializes a new instance of the class with the specified middleware.
14
+ *
15
+ * @param {PostboyMiddleware} middleware - The {@link PostboyMiddleware} to be used for processing.
16
+ */
17
+ constructor(middleware: PostboyMiddleware);
18
+ }
19
+ //# sourceMappingURL=add-middleware.executor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-middleware.executor.d.ts","sourceRoot":"","sources":["../../src/messages/add-middleware.executor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE7D;;;;;GAKG;AACH,qBAAa,aAAc,SAAQ,eAAe,CAAC,IAAI,CAAC;IAQnC,UAAU,EAAE,iBAAiB;IAPhD,MAAM,CAAC,QAAQ,CAAC,EAAE,0CAA0C;IAE5D;;;;OAIG;gBACgB,UAAU,EAAE,iBAAiB;CAGjD"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddMiddleware = void 0;
4
+ const postboy_executor_1 = require("../models/postboy-executor");
5
+ /**
6
+ * Represents a {@link PostboyMiddleware} addition operation for Postboy.
7
+ * This class extends the functionality of the PostboyExecutor to add middleware to the processing chain.
8
+ *
9
+ * The middleware to be added is provided during instantiation.
10
+ */
11
+ class AddMiddleware extends postboy_executor_1.PostboyExecutor {
12
+ /**
13
+ * Initializes a new instance of the class with the specified middleware.
14
+ *
15
+ * @param {PostboyMiddleware} middleware - The {@link PostboyMiddleware} to be used for processing.
16
+ */
17
+ constructor(middleware) {
18
+ super();
19
+ this.middleware = middleware;
20
+ }
21
+ }
22
+ exports.AddMiddleware = AddMiddleware;
23
+ AddMiddleware.ID = '0a8cfe0a-6193-4082-8440-d0793367b21d';
24
+ //# sourceMappingURL=add-middleware.executor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-middleware.executor.js","sourceRoot":"","sources":["../../src/messages/add-middleware.executor.ts"],"names":[],"mappings":";;;AACA,iEAA6D;AAE7D;;;;;GAKG;AACH,MAAa,aAAc,SAAQ,kCAAqB;IAGtD;;;;OAIG;IACH,YAAmB,UAA6B;QAC9C,KAAK,EAAE,CAAC;QADS,eAAU,GAAV,UAAU,CAAmB;IAEhD,CAAC;;AAVH,sCAWC;AAViB,gBAAE,GAAG,sCAAsC,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { PostboyAbstractRegistrator } from '../postboy-abstract.registrator';
2
+ import { PostboyExecutor } from '../models/postboy-executor';
3
+ /**
4
+ * AddNamespace is a class that extends the PostboyExecutor with a specific implementation
5
+ * for adding namespaces to a PostboyService instance.
6
+ *
7
+ * This class is identified uniquely by its static ID property for tracking and referencing purposes.
8
+ */
9
+ export declare class AddNamespace extends PostboyExecutor<PostboyAbstractRegistrator> {
10
+ space: string;
11
+ static readonly ID = "6d1a6f7d-6b6e-4c4d-8af8-9cc9a32e850c";
12
+ /**
13
+ * Creates an instance of the class with the specified space identifier.
14
+ *
15
+ * @param {string} space - The identifier for the space.
16
+ */
17
+ constructor(space: string);
18
+ }
19
+ //# sourceMappingURL=add-namespace.executor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-namespace.executor.d.ts","sourceRoot":"","sources":["../../src/messages/add-namespace.executor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAK7D;;;;;GAKG;AACH,qBAAa,YAAa,SAAQ,eAAe,CAAC,0BAA0B,CAAC;IAQxD,KAAK,EAAE,MAAM;IAPhC,MAAM,CAAC,QAAQ,CAAC,EAAE,0CAA0C;IAE5D;;;;OAIG;gBACgB,KAAK,EAAE,MAAM;CAGjC"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddNamespace = void 0;
4
+ const postboy_executor_1 = require("../models/postboy-executor");
5
+ /**
6
+ * AddNamespace is a class that extends the PostboyExecutor with a specific implementation
7
+ * for adding namespaces to a PostboyService instance.
8
+ *
9
+ * This class is identified uniquely by its static ID property for tracking and referencing purposes.
10
+ */
11
+ class AddNamespace extends postboy_executor_1.PostboyExecutor {
12
+ /**
13
+ * Creates an instance of the class with the specified space identifier.
14
+ *
15
+ * @param {string} space - The identifier for the space.
16
+ */
17
+ constructor(space) {
18
+ super();
19
+ this.space = space;
20
+ }
21
+ }
22
+ exports.AddNamespace = AddNamespace;
23
+ AddNamespace.ID = '6d1a6f7d-6b6e-4c4d-8af8-9cc9a32e850c';
24
+ //# sourceMappingURL=add-namespace.executor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-namespace.executor.js","sourceRoot":"","sources":["../../src/messages/add-namespace.executor.ts"],"names":[],"mappings":";;;AACA,iEAA6D;AAK7D;;;;;GAKG;AACH,MAAa,YAAa,SAAQ,kCAA2C;IAG3E;;;;OAIG;IACH,YAAmB,KAAa;QAC9B,KAAK,EAAE,CAAC;QADS,UAAK,GAAL,KAAK,CAAQ;IAEhC,CAAC;;AAVH,oCAWC;AAViB,eAAE,GAAG,sCAAsC,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { PostboyExecutor } from '../models/postboy-executor';
2
+ import { MessageType } from '../postboy-abstract.registrator';
3
+ /**
4
+ * Registers an executor that connects to a specific type of message handler.
5
+ * This class extends the functionality of `PostboyExecutor` and is designed to manage
6
+ * the execution of a handler defined by a specific message type and an execution function.
7
+ *
8
+ * @template E The type of the executor extending {@link PostboyExecutor}.
9
+ * @template T The return type of the execution function.
10
+ *
11
+ * @extends {PostboyExecutor<void>}
12
+ */
13
+ export declare class ConnectExecutor<E extends PostboyExecutor<T>, T> extends PostboyExecutor<void> {
14
+ type: MessageType<E>;
15
+ exec: (e: E) => T;
16
+ static readonly ID = "cb80e8ad-b68c-4b2d-8c44-617ea6017cb3";
17
+ /**
18
+ * Constructs an instance of the class with the specified type and execution function.
19
+ *
20
+ * @param {MessageType<E>} type - The type of the message.
21
+ * @param {(e: E) => T} exec - The function to be executed with the input of type E that returns a value of type T.
22
+ */
23
+ constructor(type: MessageType<E>, exec: (e: E) => T);
24
+ }
25
+ //# sourceMappingURL=connect-executor.executor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connect-executor.executor.d.ts","sourceRoot":"","sources":["../../src/messages/connect-executor.executor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAE9D;;;;;;;;;GASG;AACH,qBAAa,eAAe,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC,CAAE,SAAQ,eAAe,CAAC,IAAI,CAAC;IAUhF,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC;IACpB,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC;IAV1B,MAAM,CAAC,QAAQ,CAAC,EAAE,0CAA0C;IAE5D;;;;;OAKG;gBAEM,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,EACpB,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC;CAI3B"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConnectExecutor = void 0;
4
+ const postboy_executor_1 = require("../models/postboy-executor");
5
+ /**
6
+ * Registers an executor that connects to a specific type of message handler.
7
+ * This class extends the functionality of `PostboyExecutor` and is designed to manage
8
+ * the execution of a handler defined by a specific message type and an execution function.
9
+ *
10
+ * @template E The type of the executor extending {@link PostboyExecutor}.
11
+ * @template T The return type of the execution function.
12
+ *
13
+ * @extends {PostboyExecutor<void>}
14
+ */
15
+ class ConnectExecutor extends postboy_executor_1.PostboyExecutor {
16
+ /**
17
+ * Constructs an instance of the class with the specified type and execution function.
18
+ *
19
+ * @param {MessageType<E>} type - The type of the message.
20
+ * @param {(e: E) => T} exec - The function to be executed with the input of type E that returns a value of type T.
21
+ */
22
+ constructor(type, exec) {
23
+ super();
24
+ this.type = type;
25
+ this.exec = exec;
26
+ }
27
+ }
28
+ exports.ConnectExecutor = ConnectExecutor;
29
+ ConnectExecutor.ID = 'cb80e8ad-b68c-4b2d-8c44-617ea6017cb3';
30
+ //# sourceMappingURL=connect-executor.executor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connect-executor.executor.js","sourceRoot":"","sources":["../../src/messages/connect-executor.executor.ts"],"names":[],"mappings":";;;AAAA,iEAA6D;AAG7D;;;;;;;;;GASG;AACH,MAAa,eAAiD,SAAQ,kCAAqB;IAGzF;;;;;OAKG;IACH,YACS,IAAoB,EACpB,IAAiB;QAExB,KAAK,EAAE,CAAC;QAHD,SAAI,GAAJ,IAAI,CAAgB;QACpB,SAAI,GAAJ,IAAI,CAAa;IAG1B,CAAC;;AAdH,0CAeC;AAdiB,kBAAE,GAAG,sCAAsC,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { PostboyExecutor } from '../models/postboy-executor';
2
+ import { PostboyExecutionHandler } from '../models/postboy-execution.handler';
3
+ /**
4
+ * Represents a connection handler that extends the PostboyExecutor class.
5
+ *
6
+ * This class encapsulates logic associated with executing a handler in a structured way.
7
+ * It is generic and operates on the provided executor and handler types.
8
+ *
9
+ * Type Parameters:
10
+ * E - Represents an extension of the PostboyExecutor class with a specific type parameter R.
11
+ * R - Represents the type of the result that the executor is expected to operate on.
12
+ */
13
+ export declare class ConnectHandler<E extends PostboyExecutor<R>, R> extends PostboyExecutor<void> {
14
+ executor: new (...args: any[]) => E;
15
+ handler: PostboyExecutionHandler<R, E>;
16
+ static readonly ID = "bf618cea-6f32-417c-9548-8eafe937378b";
17
+ /**
18
+ * Constructs an instance of the class.
19
+ *
20
+ * @param {new (...args: any[]) => E} executor - A constructor function for the executor object.
21
+ * @param {PostboyExecutionHandler<R, E>} handler - A handler that processes the execution logic.
22
+ */
23
+ constructor(executor: new (...args: any[]) => E, handler: PostboyExecutionHandler<R, E>);
24
+ }
25
+ //# sourceMappingURL=connect-handler.executor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connect-handler.executor.d.ts","sourceRoot":"","sources":["../../src/messages/connect-handler.executor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAE9E;;;;;;;;;GASG;AACH,qBAAa,cAAc,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC,CAAE,SAAQ,eAAe,CAAC,IAAI,CAAC;IAU/E,QAAQ,EAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC;IACnC,OAAO,EAAE,uBAAuB,CAAC,CAAC,EAAE,CAAC,CAAC;IAV/C,MAAM,CAAC,QAAQ,CAAC,EAAE,0CAA0C;IAE5D;;;;;OAKG;gBAEM,QAAQ,EAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EACnC,OAAO,EAAE,uBAAuB,CAAC,CAAC,EAAE,CAAC,CAAC;CAIhD"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConnectHandler = void 0;
4
+ const postboy_executor_1 = require("../models/postboy-executor");
5
+ /**
6
+ * Represents a connection handler that extends the PostboyExecutor class.
7
+ *
8
+ * This class encapsulates logic associated with executing a handler in a structured way.
9
+ * It is generic and operates on the provided executor and handler types.
10
+ *
11
+ * Type Parameters:
12
+ * E - Represents an extension of the PostboyExecutor class with a specific type parameter R.
13
+ * R - Represents the type of the result that the executor is expected to operate on.
14
+ */
15
+ class ConnectHandler extends postboy_executor_1.PostboyExecutor {
16
+ /**
17
+ * Constructs an instance of the class.
18
+ *
19
+ * @param {new (...args: any[]) => E} executor - A constructor function for the executor object.
20
+ * @param {PostboyExecutionHandler<R, E>} handler - A handler that processes the execution logic.
21
+ */
22
+ constructor(executor, handler) {
23
+ super();
24
+ this.executor = executor;
25
+ this.handler = handler;
26
+ }
27
+ }
28
+ exports.ConnectHandler = ConnectHandler;
29
+ ConnectHandler.ID = 'bf618cea-6f32-417c-9548-8eafe937378b';
30
+ //# sourceMappingURL=connect-handler.executor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connect-handler.executor.js","sourceRoot":"","sources":["../../src/messages/connect-handler.executor.ts"],"names":[],"mappings":";;;AAAA,iEAA6D;AAG7D;;;;;;;;;GASG;AACH,MAAa,cAAgD,SAAQ,kCAAqB;IAGxF;;;;;OAKG;IACH,YACS,QAAmC,EACnC,OAAsC;QAE7C,KAAK,EAAE,CAAC;QAHD,aAAQ,GAAR,QAAQ,CAA2B;QACnC,YAAO,GAAP,OAAO,CAA+B;IAG/C,CAAC;;AAdH,wCAeC;AAdiB,iBAAE,GAAG,sCAAsC,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { PostboyExecutor } from '../models/postboy-executor';
2
+ import { PostboyGenericMessage } from '../models/postboy-generic-message';
3
+ import { MessageType } from '../postboy-abstract.registrator';
4
+ import { Observable, Subject } from 'rxjs';
5
+ /**
6
+ * Represents a message that facilitates connection functionality
7
+ * within the application's messaging system.
8
+ *
9
+ * @template T - A type that extends {@link PostboyGenericMessage}, representing
10
+ * the structure of the message being handled.
11
+ *
12
+ * @extends PostboyExecutor<void>
13
+ */
14
+ export declare class ConnectMessage<T extends PostboyGenericMessage> extends PostboyExecutor<void> {
15
+ type: MessageType<T>;
16
+ sub: Subject<T>;
17
+ pipe?: ((s: Subject<T>) => Observable<T>) | undefined;
18
+ static readonly ID = "aa03a192-bdc7-402d-9f2f-bf3748229ea2";
19
+ /**
20
+ * Constructs a new instance of the class.
21
+ *
22
+ * @param {MessageType<T>} type - The type of the message.
23
+ * @param {Subject<T>} sub - The subject to be used for message handling.
24
+ * @param {(s: Subject<T>) => Observable<T>} [pipe] - An optional function to transform the subject.
25
+ */
26
+ constructor(type: MessageType<T>, sub: Subject<T>, pipe?: ((s: Subject<T>) => Observable<T>) | undefined);
27
+ }
28
+ //# sourceMappingURL=connect-message.executor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connect-message.executor.d.ts","sourceRoot":"","sources":["../../src/messages/connect-message.executor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE3C;;;;;;;;GAQG;AACH,qBAAa,cAAc,CAAC,CAAC,SAAS,qBAAqB,CAAE,SAAQ,eAAe,CAAC,IAAI,CAAC;IAW/E,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC;IACpB,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC;IACf,IAAI,CAAC,GAAE,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC;IAZhD,MAAM,CAAC,QAAQ,CAAC,EAAE,0CAA0C;IAE5D;;;;;;OAMG;gBAEM,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,EACpB,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,EACf,IAAI,CAAC,GAAE,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC,aAAA;CAIjD"}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConnectMessage = void 0;
4
+ const postboy_executor_1 = require("../models/postboy-executor");
5
+ /**
6
+ * Represents a message that facilitates connection functionality
7
+ * within the application's messaging system.
8
+ *
9
+ * @template T - A type that extends {@link PostboyGenericMessage}, representing
10
+ * the structure of the message being handled.
11
+ *
12
+ * @extends PostboyExecutor<void>
13
+ */
14
+ class ConnectMessage extends postboy_executor_1.PostboyExecutor {
15
+ /**
16
+ * Constructs a new instance of the class.
17
+ *
18
+ * @param {MessageType<T>} type - The type of the message.
19
+ * @param {Subject<T>} sub - The subject to be used for message handling.
20
+ * @param {(s: Subject<T>) => Observable<T>} [pipe] - An optional function to transform the subject.
21
+ */
22
+ constructor(type, sub, pipe) {
23
+ super();
24
+ this.type = type;
25
+ this.sub = sub;
26
+ this.pipe = pipe;
27
+ }
28
+ }
29
+ exports.ConnectMessage = ConnectMessage;
30
+ ConnectMessage.ID = 'aa03a192-bdc7-402d-9f2f-bf3748229ea2';
31
+ //# sourceMappingURL=connect-message.executor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connect-message.executor.js","sourceRoot":"","sources":["../../src/messages/connect-message.executor.ts"],"names":[],"mappings":";;;AAAA,iEAA6D;AAK7D;;;;;;;;GAQG;AACH,MAAa,cAAgD,SAAQ,kCAAqB;IAGxF;;;;;;OAMG;IACH,YACS,IAAoB,EACpB,GAAe,EACf,IAAuC;QAE9C,KAAK,EAAE,CAAC;QAJD,SAAI,GAAJ,IAAI,CAAgB;QACpB,QAAG,GAAH,GAAG,CAAY;QACf,SAAI,GAAJ,IAAI,CAAmC;IAGhD,CAAC;;AAhBH,wCAiBC;AAhBiB,iBAAE,GAAG,sCAAsC,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { PostboyExecutor } from "../models/postboy-executor";
2
+ import { PostboyGenericMessage } from "../models/postboy-generic-message";
3
+ import { MessageType } from "../postboy-abstract.registrator";
4
+ import { Observable, Subject } from "rxjs";
5
+ /**
6
+ * Represents a message that facilitates connection functionality
7
+ * within the application's messaging system.
8
+ *
9
+ * @template T - A type that extends {@link PostboyGenericMessage}, representing
10
+ * the structure of the message being handled.
11
+ *
12
+ * @extends PostboyExecutor<void>
13
+ */
14
+ export declare class ConnectMessage<T extends PostboyGenericMessage> extends PostboyExecutor<void> {
15
+ type: MessageType<T>;
16
+ sub: Subject<T>;
17
+ pipe?: ((s: Subject<T>) => Observable<T>) | undefined;
18
+ static readonly ID = "aa03a192-bdc7-402d-9f2f-bf3748229ea2";
19
+ /**
20
+ * Constructs a new instance of the class.
21
+ *
22
+ * @param {MessageType<T>} type - The type of the message.
23
+ * @param {Subject<T>} sub - The subject to be used for message handling.
24
+ * @param {(s: Subject<T>) => Observable<T>} [pipe] - An optional function to transform the subject.
25
+ */
26
+ constructor(type: MessageType<T>, sub: Subject<T>, pipe?: ((s: Subject<T>) => Observable<T>) | undefined);
27
+ }
28
+ //# sourceMappingURL=connect.message.executor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connect.message.executor.d.ts","sourceRoot":"","sources":["../../src/messages/connect.message.executor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAC,qBAAqB,EAAC,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAC,WAAW,EAAC,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAC,UAAU,EAAE,OAAO,EAAC,MAAM,MAAM,CAAC;AAEzC;;;;;;;;GAQG;AACH,qBAAa,cAAc,CAAC,CAAC,SAAS,qBAAqB,CAAE,SAAQ,eAAe,CAAC,IAAI,CAAC;IAW/E,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC;IACpB,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC;IACf,IAAI,CAAC,GAAE,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC;IAZhD,MAAM,CAAC,QAAQ,CAAC,EAAE,0CAA0C;IAE5D;;;;;;OAMG;gBAEM,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,EACpB,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,EACf,IAAI,CAAC,GAAE,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC,aAAA;CAIjD"}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConnectMessage = void 0;
4
+ const postboy_executor_1 = require("../models/postboy-executor");
5
+ /**
6
+ * Represents a message that facilitates connection functionality
7
+ * within the application's messaging system.
8
+ *
9
+ * @template T - A type that extends {@link PostboyGenericMessage}, representing
10
+ * the structure of the message being handled.
11
+ *
12
+ * @extends PostboyExecutor<void>
13
+ */
14
+ class ConnectMessage extends postboy_executor_1.PostboyExecutor {
15
+ /**
16
+ * Constructs a new instance of the class.
17
+ *
18
+ * @param {MessageType<T>} type - The type of the message.
19
+ * @param {Subject<T>} sub - The subject to be used for message handling.
20
+ * @param {(s: Subject<T>) => Observable<T>} [pipe] - An optional function to transform the subject.
21
+ */
22
+ constructor(type, sub, pipe) {
23
+ super();
24
+ this.type = type;
25
+ this.sub = sub;
26
+ this.pipe = pipe;
27
+ }
28
+ }
29
+ exports.ConnectMessage = ConnectMessage;
30
+ ConnectMessage.ID = 'aa03a192-bdc7-402d-9f2f-bf3748229ea2';
31
+ //# sourceMappingURL=connect.message.executor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connect.message.executor.js","sourceRoot":"","sources":["../../src/messages/connect.message.executor.ts"],"names":[],"mappings":";;;AAAA,iEAA2D;AAK3D;;;;;;;;GAQG;AACH,MAAa,cAAgD,SAAQ,kCAAqB;IAGxF;;;;;;OAMG;IACH,YACS,IAAoB,EACpB,GAAe,EACf,IAAuC;QAE9C,KAAK,EAAE,CAAC;QAJD,SAAI,GAAJ,IAAI,CAAgB;QACpB,QAAG,GAAH,GAAG,CAAY;QACf,SAAI,GAAJ,IAAI,CAAmC;IAGhD,CAAC;;AAhBH,wCAiBC;AAhBiB,iBAAE,GAAG,sCAAsC,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { PostboyExecutor } from '../models/postboy-executor';
2
+ /**
3
+ * Represents a message signaling a disconnection event. This class is used
4
+ * within the framework to manage and process disconnection notifications.
5
+ * Extends the {@link PostboyExecutor} base class.
6
+ *
7
+ * @extends {PostboyExecutor<void>}
8
+ */
9
+ export declare class DisconnectMessage extends PostboyExecutor<void> {
10
+ messageId: string;
11
+ static readonly ID = "94579e43-5bc9-4517-bcda-b595bcda1ae7";
12
+ /**
13
+ * Creates an instance of the class with the specified message identifier.
14
+ *
15
+ * @param {string} messageId - The unique identifier for the message.
16
+ */
17
+ constructor(messageId: string);
18
+ }
19
+ //# sourceMappingURL=disconnect-message.executor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"disconnect-message.executor.d.ts","sourceRoot":"","sources":["../../src/messages/disconnect-message.executor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE7D;;;;;;GAMG;AACH,qBAAa,iBAAkB,SAAQ,eAAe,CAAC,IAAI,CAAC;IAQvC,SAAS,EAAE,MAAM;IAPpC,MAAM,CAAC,QAAQ,CAAC,EAAE,0CAA0C;IAE5D;;;;OAIG;gBACgB,SAAS,EAAE,MAAM;CAGrC"}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DisconnectMessage = void 0;
4
+ const postboy_executor_1 = require("../models/postboy-executor");
5
+ /**
6
+ * Represents a message signaling a disconnection event. This class is used
7
+ * within the framework to manage and process disconnection notifications.
8
+ * Extends the {@link PostboyExecutor} base class.
9
+ *
10
+ * @extends {PostboyExecutor<void>}
11
+ */
12
+ class DisconnectMessage extends postboy_executor_1.PostboyExecutor {
13
+ /**
14
+ * Creates an instance of the class with the specified message identifier.
15
+ *
16
+ * @param {string} messageId - The unique identifier for the message.
17
+ */
18
+ constructor(messageId) {
19
+ super();
20
+ this.messageId = messageId;
21
+ }
22
+ }
23
+ exports.DisconnectMessage = DisconnectMessage;
24
+ DisconnectMessage.ID = '94579e43-5bc9-4517-bcda-b595bcda1ae7';
25
+ //# sourceMappingURL=disconnect-message.executor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"disconnect-message.executor.js","sourceRoot":"","sources":["../../src/messages/disconnect-message.executor.ts"],"names":[],"mappings":";;;AAAA,iEAA6D;AAE7D;;;;;;GAMG;AACH,MAAa,iBAAkB,SAAQ,kCAAqB;IAG1D;;;;OAIG;IACH,YAAmB,SAAiB;QAClC,KAAK,EAAE,CAAC;QADS,cAAS,GAAT,SAAS,CAAQ;IAEpC,CAAC;;AAVH,8CAWC;AAViB,oBAAE,GAAG,sCAAsC,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { PostboyExecutor } from '../models/postboy-executor';
2
+ /**
3
+ * Represents an executor that eliminates a specific namespace.
4
+ * This class extends the PostboyExecutor with a void return type.
5
+ */
6
+ export declare class EliminateNamespace extends PostboyExecutor<void> {
7
+ space: string;
8
+ static readonly ID = "03bb03bb-53e0-4b74-9aad-64d5c54a8972";
9
+ /**
10
+ * Creates an instance of the class with the specified space value.
11
+ *
12
+ * @param {string} space - The string value representing the space configuration.
13
+ */
14
+ constructor(space: string);
15
+ }
16
+ //# sourceMappingURL=eliminate-namespace.executor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eliminate-namespace.executor.d.ts","sourceRoot":"","sources":["../../src/messages/eliminate-namespace.executor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE7D;;;GAGG;AACH,qBAAa,kBAAmB,SAAQ,eAAe,CAAC,IAAI,CAAC;IAQxC,KAAK,EAAE,MAAM;IAPhC,MAAM,CAAC,QAAQ,CAAC,EAAE,0CAA0C;IAE5D;;;;OAIG;gBACgB,KAAK,EAAE,MAAM;CAGjC"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EliminateNamespace = void 0;
4
+ const postboy_executor_1 = require("../models/postboy-executor");
5
+ /**
6
+ * Represents an executor that eliminates a specific namespace.
7
+ * This class extends the PostboyExecutor with a void return type.
8
+ */
9
+ class EliminateNamespace extends postboy_executor_1.PostboyExecutor {
10
+ /**
11
+ * Creates an instance of the class with the specified space value.
12
+ *
13
+ * @param {string} space - The string value representing the space configuration.
14
+ */
15
+ constructor(space) {
16
+ super();
17
+ this.space = space;
18
+ }
19
+ }
20
+ exports.EliminateNamespace = EliminateNamespace;
21
+ EliminateNamespace.ID = '03bb03bb-53e0-4b74-9aad-64d5c54a8972';
22
+ //# sourceMappingURL=eliminate-namespace.executor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eliminate-namespace.executor.js","sourceRoot":"","sources":["../../src/messages/eliminate-namespace.executor.ts"],"names":[],"mappings":";;;AAAA,iEAA6D;AAE7D;;;GAGG;AACH,MAAa,kBAAmB,SAAQ,kCAAqB;IAG3D;;;;OAIG;IACH,YAAmB,KAAa;QAC9B,KAAK,EAAE,CAAC;QADS,UAAK,GAAL,KAAK,CAAQ;IAEhC,CAAC;;AAVH,gDAWC;AAViB,qBAAE,GAAG,sCAAsC,CAAC"}
@@ -0,0 +1,11 @@
1
+ export { AddMiddleware } from './add-middleware.executor';
2
+ export { RemoveMiddleware } from './remove-middleware.executor';
3
+ export { LockMessage } from './lock-message.executor';
4
+ export { UnlockMessage } from './unlock-message.executor';
5
+ export { AddNamespace } from './add-namespace.executor';
6
+ export { EliminateNamespace } from './eliminate-namespace.executor';
7
+ export { ConnectHandler } from './connect-handler.executor';
8
+ export { ConnectExecutor } from './connect-executor.executor';
9
+ export { DisconnectMessage } from './disconnect-message.executor';
10
+ export { ConnectMessage } from './connect-message.executor';
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/messages/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConnectMessage = exports.DisconnectMessage = exports.ConnectExecutor = exports.ConnectHandler = exports.EliminateNamespace = exports.AddNamespace = exports.UnlockMessage = exports.LockMessage = exports.RemoveMiddleware = exports.AddMiddleware = void 0;
4
+ var add_middleware_executor_1 = require("./add-middleware.executor");
5
+ Object.defineProperty(exports, "AddMiddleware", { enumerable: true, get: function () { return add_middleware_executor_1.AddMiddleware; } });
6
+ var remove_middleware_executor_1 = require("./remove-middleware.executor");
7
+ Object.defineProperty(exports, "RemoveMiddleware", { enumerable: true, get: function () { return remove_middleware_executor_1.RemoveMiddleware; } });
8
+ var lock_message_executor_1 = require("./lock-message.executor");
9
+ Object.defineProperty(exports, "LockMessage", { enumerable: true, get: function () { return lock_message_executor_1.LockMessage; } });
10
+ var unlock_message_executor_1 = require("./unlock-message.executor");
11
+ Object.defineProperty(exports, "UnlockMessage", { enumerable: true, get: function () { return unlock_message_executor_1.UnlockMessage; } });
12
+ var add_namespace_executor_1 = require("./add-namespace.executor");
13
+ Object.defineProperty(exports, "AddNamespace", { enumerable: true, get: function () { return add_namespace_executor_1.AddNamespace; } });
14
+ var eliminate_namespace_executor_1 = require("./eliminate-namespace.executor");
15
+ Object.defineProperty(exports, "EliminateNamespace", { enumerable: true, get: function () { return eliminate_namespace_executor_1.EliminateNamespace; } });
16
+ var connect_handler_executor_1 = require("./connect-handler.executor");
17
+ Object.defineProperty(exports, "ConnectHandler", { enumerable: true, get: function () { return connect_handler_executor_1.ConnectHandler; } });
18
+ var connect_executor_executor_1 = require("./connect-executor.executor");
19
+ Object.defineProperty(exports, "ConnectExecutor", { enumerable: true, get: function () { return connect_executor_executor_1.ConnectExecutor; } });
20
+ var disconnect_message_executor_1 = require("./disconnect-message.executor");
21
+ Object.defineProperty(exports, "DisconnectMessage", { enumerable: true, get: function () { return disconnect_message_executor_1.DisconnectMessage; } });
22
+ var connect_message_executor_1 = require("./connect-message.executor");
23
+ Object.defineProperty(exports, "ConnectMessage", { enumerable: true, get: function () { return connect_message_executor_1.ConnectMessage; } });
24
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/messages/index.ts"],"names":[],"mappings":";;;AAAA,qEAA0D;AAAjD,wHAAA,aAAa,OAAA;AACtB,2EAAgE;AAAvD,8HAAA,gBAAgB,OAAA;AACzB,iEAAsD;AAA7C,oHAAA,WAAW,OAAA;AACpB,qEAA0D;AAAjD,wHAAA,aAAa,OAAA;AACtB,mEAAwD;AAA/C,sHAAA,YAAY,OAAA;AACrB,+EAAoE;AAA3D,kIAAA,kBAAkB,OAAA;AAC3B,uEAA4D;AAAnD,0HAAA,cAAc,OAAA;AACvB,yEAA8D;AAArD,4HAAA,eAAe,OAAA;AACxB,6EAAkE;AAAzD,gIAAA,iBAAiB,OAAA;AAC1B,uEAA4D;AAAnD,0HAAA,cAAc,OAAA"}
@@ -0,0 +1,22 @@
1
+ import { PostboyGenericMessage } from '../models/postboy-generic-message';
2
+ import { MessageType } from '../postboy-abstract.registrator';
3
+ import { PostboyExecutor } from '../models/postboy-executor';
4
+ /**
5
+ * Locks a specific message type to prevent firing of them.
6
+ *
7
+ * This class is used to handle operations associated with locking mechanisms
8
+ * for a specified message type.
9
+ *
10
+ * @template T - A type that extends {@link PostboyGenericMessage}.
11
+ */
12
+ export declare class LockMessage<T extends PostboyGenericMessage> extends PostboyExecutor<void> {
13
+ type: MessageType<T>;
14
+ static readonly ID = "477df3e2-1f99-4476-9a3b-afd1fa426436";
15
+ /**
16
+ * Constructs an instance of the class with the specified message type.
17
+ *
18
+ * @param {MessageType<T>} type - The type of the message to be used for the instance.
19
+ */
20
+ constructor(type: MessageType<T>);
21
+ }
22
+ //# sourceMappingURL=lock-message.executor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lock-message.executor.d.ts","sourceRoot":"","sources":["../../src/messages/lock-message.executor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE7D;;;;;;;GAOG;AACH,qBAAa,WAAW,CAAC,CAAC,SAAS,qBAAqB,CAAE,SAAQ,eAAe,CAAC,IAAI,CAAC;IAQlE,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC;IAPvC,MAAM,CAAC,QAAQ,CAAC,EAAE,0CAA0C;IAE5D;;;;OAIG;gBACgB,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC;CAGxC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LockMessage = void 0;
4
+ const postboy_executor_1 = require("../models/postboy-executor");
5
+ /**
6
+ * Locks a specific message type to prevent firing of them.
7
+ *
8
+ * This class is used to handle operations associated with locking mechanisms
9
+ * for a specified message type.
10
+ *
11
+ * @template T - A type that extends {@link PostboyGenericMessage}.
12
+ */
13
+ class LockMessage extends postboy_executor_1.PostboyExecutor {
14
+ /**
15
+ * Constructs an instance of the class with the specified message type.
16
+ *
17
+ * @param {MessageType<T>} type - The type of the message to be used for the instance.
18
+ */
19
+ constructor(type) {
20
+ super();
21
+ this.type = type;
22
+ }
23
+ }
24
+ exports.LockMessage = LockMessage;
25
+ LockMessage.ID = '477df3e2-1f99-4476-9a3b-afd1fa426436';
26
+ //# sourceMappingURL=lock-message.executor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lock-message.executor.js","sourceRoot":"","sources":["../../src/messages/lock-message.executor.ts"],"names":[],"mappings":";;;AAEA,iEAA6D;AAE7D;;;;;;;GAOG;AACH,MAAa,WAA6C,SAAQ,kCAAqB;IAGrF;;;;OAIG;IACH,YAAmB,IAAoB;QACrC,KAAK,EAAE,CAAC;QADS,SAAI,GAAJ,IAAI,CAAgB;IAEvC,CAAC;;AAVH,kCAWC;AAViB,cAAE,GAAG,sCAAsC,CAAC"}