diff --git a/docs/reference/classes/adapters_cluster_redis.default.md b/docs/reference/classes/adapters_cluster_redis.default.md index 4174ee032..7233da093 100644 --- a/docs/reference/classes/adapters_cluster_redis.default.md +++ b/docs/reference/classes/adapters_cluster_redis.default.md @@ -82,7 +82,7 @@ Instantiates a Glee Cluster adapter. #### Defined in -[src/lib/cluster.ts:46](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/cluster.ts#L46) +[src/lib/cluster.ts:46](https://github.com/asyncapi/glee/blob/a15e431/src/lib/cluster.ts#L46) ## Properties @@ -92,7 +92,7 @@ Instantiates a Glee Cluster adapter. #### Defined in -[src/adapters/cluster/redis/index.ts:9](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/cluster/redis/index.ts#L9) +[src/adapters/cluster/redis/index.ts:9](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/cluster/redis/index.ts#L9) ___ @@ -102,7 +102,7 @@ ___ #### Defined in -[src/adapters/cluster/redis/index.ts:10](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/cluster/redis/index.ts#L10) +[src/adapters/cluster/redis/index.ts:10](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/cluster/redis/index.ts#L10) ___ @@ -186,7 +186,7 @@ ClusterAdapter.glee #### Defined in -[src/lib/cluster.ts:100](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/cluster.ts#L100) +[src/lib/cluster.ts:100](https://github.com/asyncapi/glee/blob/a15e431/src/lib/cluster.ts#L100) ___ @@ -204,7 +204,7 @@ ClusterAdapter.instanceId #### Defined in -[src/lib/cluster.ts:112](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/cluster.ts#L112) +[src/lib/cluster.ts:112](https://github.com/asyncapi/glee/blob/a15e431/src/lib/cluster.ts#L112) ___ @@ -222,7 +222,7 @@ ClusterAdapter.serverName #### Defined in -[src/lib/cluster.ts:104](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/cluster.ts#L104) +[src/lib/cluster.ts:104](https://github.com/asyncapi/glee/blob/a15e431/src/lib/cluster.ts#L104) ___ @@ -240,7 +240,7 @@ ClusterAdapter.serverUrlExpanded #### Defined in -[src/lib/cluster.ts:108](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/cluster.ts#L108) +[src/lib/cluster.ts:108](https://github.com/asyncapi/glee/blob/a15e431/src/lib/cluster.ts#L108) ## Methods @@ -254,7 +254,7 @@ ClusterAdapter.serverUrlExpanded #### Defined in -[src/adapters/cluster/redis/index.ts:24](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/cluster/redis/index.ts#L24) +[src/adapters/cluster/redis/index.ts:24](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/cluster/redis/index.ts#L24) ___ @@ -274,7 +274,7 @@ ___ #### Defined in -[src/adapters/cluster/redis/index.ts:67](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/cluster/redis/index.ts#L67) +[src/adapters/cluster/redis/index.ts:67](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/cluster/redis/index.ts#L67) ___ @@ -325,7 +325,7 @@ Connects to the remote server. #### Defined in -[src/adapters/cluster/redis/index.ts:16](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/cluster/redis/index.ts#L16) +[src/adapters/cluster/redis/index.ts:16](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/cluster/redis/index.ts#L16) ___ @@ -353,7 +353,7 @@ The deserialized message. #### Defined in -[src/lib/cluster.ts:158](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/cluster.ts#L158) +[src/lib/cluster.ts:158](https://github.com/asyncapi/glee/blob/a15e431/src/lib/cluster.ts#L158) ___ @@ -565,7 +565,7 @@ ___ #### Defined in -[src/adapters/cluster/redis/index.ts:12](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/cluster/redis/index.ts#L12) +[src/adapters/cluster/redis/index.ts:12](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/cluster/redis/index.ts#L12) ___ @@ -1009,7 +1009,7 @@ Sends a message to the remote server. #### Defined in -[src/adapters/cluster/redis/index.ts:20](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/cluster/redis/index.ts#L20) +[src/adapters/cluster/redis/index.ts:20](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/cluster/redis/index.ts#L20) ___ @@ -1037,7 +1037,7 @@ The serialized message, #### Defined in -[src/lib/cluster.ts:138](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/cluster.ts#L138) +[src/lib/cluster.ts:138](https://github.com/asyncapi/glee/blob/a15e431/src/lib/cluster.ts#L138) ___ diff --git a/docs/reference/classes/adapters_http_client.default.md b/docs/reference/classes/adapters_http_client.default.md index fd97f2ad8..a0268e498 100644 --- a/docs/reference/classes/adapters_http_client.default.md +++ b/docs/reference/classes/adapters_http_client.default.md @@ -26,6 +26,7 @@ ### Accessors - [AsyncAPIServer](adapters_http_client.default.md#asyncapiserver) +- [channelAddresses](adapters_http_client.default.md#channeladdresses) - [channelNames](adapters_http_client.default.md#channelnames) - [connections](adapters_http_client.default.md#connections) - [glee](adapters_http_client.default.md#glee) @@ -77,8 +78,8 @@ Instantiates a Glee adapter. | :------ | :------ | :------ | | `glee` | [`default`](lib_glee.default.md) | A reference to the Glee app. | | `serverName` | `string` | The name of the AsyncAPI server to use for the connection. | -| `server` | `Server` | The AsyncAPI server to use for the connection. | -| `parsedAsyncAPI` | `AsyncAPIDocument` | The AsyncAPI document. | +| `server` | `ServerInterface` | The AsyncAPI server to use for the connection. | +| `parsedAsyncAPI` | `AsyncAPIDocumentInterface` | The AsyncAPI document. | #### Inherited from @@ -86,7 +87,7 @@ Instantiates a Glee adapter. #### Defined in -[src/lib/adapter.ts:41](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L41) +[src/lib/adapter.ts:42](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L42) ## Properties @@ -158,11 +159,11 @@ node_modules/@types/node/events.d.ts:327 ### AsyncAPIServer -• `get` **AsyncAPIServer**(): `Server` +• `get` **AsyncAPIServer**(): `ServerInterface` #### Returns -`Server` +`ServerInterface` #### Inherited from @@ -170,7 +171,25 @@ Adapter.AsyncAPIServer #### Defined in -[src/lib/adapter.ts:185](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L185) +[src/lib/adapter.ts:187](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L187) + +___ + +### channelAddresses + +• `get` **channelAddresses**(): `string`[] + +#### Returns + +`string`[] + +#### Inherited from + +Adapter.channelAddresses + +#### Defined in + +[src/lib/adapter.ts:199](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L199) ___ @@ -188,7 +207,7 @@ Adapter.channelNames #### Defined in -[src/lib/adapter.ts:193](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L193) +[src/lib/adapter.ts:195](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L195) ___ @@ -206,7 +225,7 @@ Adapter.connections #### Defined in -[src/lib/adapter.ts:197](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L197) +[src/lib/adapter.ts:203](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L203) ___ @@ -224,17 +243,17 @@ Adapter.glee #### Defined in -[src/lib/adapter.ts:177](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L177) +[src/lib/adapter.ts:179](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L179) ___ ### parsedAsyncAPI -• `get` **parsedAsyncAPI**(): `AsyncAPIDocument` +• `get` **parsedAsyncAPI**(): `AsyncAPIDocumentInterface` #### Returns -`AsyncAPIDocument` +`AsyncAPIDocumentInterface` #### Inherited from @@ -242,7 +261,7 @@ Adapter.parsedAsyncAPI #### Defined in -[src/lib/adapter.ts:189](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L189) +[src/lib/adapter.ts:191](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L191) ___ @@ -260,7 +279,7 @@ Adapter.serverName #### Defined in -[src/lib/adapter.ts:181](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L181) +[src/lib/adapter.ts:183](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L183) ___ @@ -278,7 +297,7 @@ Adapter.serverUrlExpanded #### Defined in -[src/lib/adapter.ts:201](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L201) +[src/lib/adapter.ts:207](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L207) ## Methods @@ -329,7 +348,7 @@ Connects to the remote server. #### Defined in -[src/adapters/http/client.ts:12](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/http/client.ts#L12) +[src/adapters/http/client.ts:12](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/http/client.ts#L12) ___ @@ -350,7 +369,7 @@ ___ #### Defined in -[src/adapters/http/client.ts:73](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/http/client.ts#L73) +[src/adapters/http/client.ts:73](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/http/client.ts#L73) ___ @@ -479,7 +498,7 @@ ___ #### Defined in -[src/lib/adapter.ts:214](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L214) +[src/lib/adapter.ts:220](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L220) ___ @@ -524,7 +543,7 @@ Returns a list of the channels a given adapter has to subscribe to. #### Defined in -[src/lib/adapter.ts:230](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L230) +[src/lib/adapter.ts:236](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L236) ___ @@ -606,7 +625,7 @@ ___ #### Defined in -[src/adapters/http/client.ts:9](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/http/client.ts#L9) +[src/adapters/http/client.ts:9](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/http/client.ts#L9) ___ @@ -1048,7 +1067,7 @@ ___ #### Defined in -[src/lib/adapter.ts:205](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L205) +[src/lib/adapter.ts:211](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L211) ___ @@ -1074,7 +1093,7 @@ Sends a message to the remote server. #### Defined in -[src/adapters/http/client.ts:22](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/http/client.ts#L22) +[src/adapters/http/client.ts:22](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/http/client.ts#L22) ___ diff --git a/docs/reference/classes/adapters_http_server.default.md b/docs/reference/classes/adapters_http_server.default.md index 6a6fb5228..fb142bf1e 100644 --- a/docs/reference/classes/adapters_http_server.default.md +++ b/docs/reference/classes/adapters_http_server.default.md @@ -27,6 +27,7 @@ ### Accessors - [AsyncAPIServer](adapters_http_server.default.md#asyncapiserver) +- [channelAddresses](adapters_http_server.default.md#channeladdresses) - [channelNames](adapters_http_server.default.md#channelnames) - [connections](adapters_http_server.default.md#connections) - [glee](adapters_http_server.default.md#glee) @@ -81,8 +82,8 @@ Instantiates a Glee adapter. | :------ | :------ | :------ | | `glee` | [`default`](lib_glee.default.md) | A reference to the Glee app. | | `serverName` | `string` | The name of the AsyncAPI server to use for the connection. | -| `server` | `Server` | The AsyncAPI server to use for the connection. | -| `parsedAsyncAPI` | `AsyncAPIDocument` | The AsyncAPI document. | +| `server` | `ServerInterface` | The AsyncAPI server to use for the connection. | +| `parsedAsyncAPI` | `AsyncAPIDocumentInterface` | The AsyncAPI document. | #### Inherited from @@ -90,7 +91,7 @@ Instantiates a Glee adapter. #### Defined in -[src/lib/adapter.ts:41](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L41) +[src/lib/adapter.ts:42](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L42) ## Properties @@ -100,7 +101,7 @@ Instantiates a Glee adapter. #### Defined in -[src/adapters/http/server.ts:10](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/http/server.ts#L10) +[src/adapters/http/server.ts:10](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/http/server.ts#L10) ___ @@ -172,11 +173,11 @@ node_modules/@types/node/events.d.ts:327 ### AsyncAPIServer -• `get` **AsyncAPIServer**(): `Server` +• `get` **AsyncAPIServer**(): `ServerInterface` #### Returns -`Server` +`ServerInterface` #### Inherited from @@ -184,7 +185,25 @@ Adapter.AsyncAPIServer #### Defined in -[src/lib/adapter.ts:185](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L185) +[src/lib/adapter.ts:187](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L187) + +___ + +### channelAddresses + +• `get` **channelAddresses**(): `string`[] + +#### Returns + +`string`[] + +#### Inherited from + +Adapter.channelAddresses + +#### Defined in + +[src/lib/adapter.ts:199](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L199) ___ @@ -202,7 +221,7 @@ Adapter.channelNames #### Defined in -[src/lib/adapter.ts:193](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L193) +[src/lib/adapter.ts:195](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L195) ___ @@ -220,7 +239,7 @@ Adapter.connections #### Defined in -[src/lib/adapter.ts:197](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L197) +[src/lib/adapter.ts:203](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L203) ___ @@ -238,17 +257,17 @@ Adapter.glee #### Defined in -[src/lib/adapter.ts:177](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L177) +[src/lib/adapter.ts:179](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L179) ___ ### parsedAsyncAPI -• `get` **parsedAsyncAPI**(): `AsyncAPIDocument` +• `get` **parsedAsyncAPI**(): `AsyncAPIDocumentInterface` #### Returns -`AsyncAPIDocument` +`AsyncAPIDocumentInterface` #### Inherited from @@ -256,7 +275,7 @@ Adapter.parsedAsyncAPI #### Defined in -[src/lib/adapter.ts:189](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L189) +[src/lib/adapter.ts:191](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L191) ___ @@ -274,7 +293,7 @@ Adapter.serverName #### Defined in -[src/lib/adapter.ts:181](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L181) +[src/lib/adapter.ts:183](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L183) ___ @@ -292,7 +311,7 @@ Adapter.serverUrlExpanded #### Defined in -[src/lib/adapter.ts:201](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L201) +[src/lib/adapter.ts:207](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L207) ## Methods @@ -317,7 +336,7 @@ Adapter.serverUrlExpanded #### Defined in -[src/adapters/http/server.ts:135](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/http/server.ts#L135) +[src/adapters/http/server.ts:135](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/http/server.ts#L135) ___ @@ -331,7 +350,7 @@ ___ #### Defined in -[src/adapters/http/server.ts:24](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/http/server.ts#L24) +[src/adapters/http/server.ts:24](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/http/server.ts#L24) ___ @@ -353,7 +372,7 @@ ___ #### Defined in -[src/adapters/http/server.ts:181](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/http/server.ts#L181) +[src/adapters/http/server.ts:181](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/http/server.ts#L181) ___ @@ -373,7 +392,7 @@ ___ #### Defined in -[src/adapters/http/server.ts:175](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/http/server.ts#L175) +[src/adapters/http/server.ts:175](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/http/server.ts#L175) ___ @@ -424,7 +443,7 @@ Connects to the remote server. #### Defined in -[src/adapters/http/server.ts:16](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/http/server.ts#L16) +[src/adapters/http/server.ts:16](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/http/server.ts#L16) ___ @@ -553,7 +572,7 @@ ___ #### Defined in -[src/lib/adapter.ts:214](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L214) +[src/lib/adapter.ts:220](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L220) ___ @@ -598,7 +617,7 @@ Returns a list of the channels a given adapter has to subscribe to. #### Defined in -[src/lib/adapter.ts:230](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L230) +[src/lib/adapter.ts:236](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L236) ___ @@ -680,7 +699,7 @@ ___ #### Defined in -[src/adapters/http/server.ts:12](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/http/server.ts#L12) +[src/adapters/http/server.ts:12](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/http/server.ts#L12) ___ @@ -1122,7 +1141,7 @@ ___ #### Defined in -[src/lib/adapter.ts:205](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L205) +[src/lib/adapter.ts:211](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L211) ___ @@ -1148,7 +1167,7 @@ Sends a message to the remote server. #### Defined in -[src/adapters/http/server.ts:20](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/http/server.ts#L20) +[src/adapters/http/server.ts:20](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/http/server.ts#L20) ___ diff --git a/docs/reference/classes/adapters_kafka.default.md b/docs/reference/classes/adapters_kafka.default.md index dfabb69ae..5d0bf4ab8 100644 --- a/docs/reference/classes/adapters_kafka.default.md +++ b/docs/reference/classes/adapters_kafka.default.md @@ -28,6 +28,7 @@ ### Accessors - [AsyncAPIServer](adapters_kafka.default.md#asyncapiserver) +- [channelAddresses](adapters_kafka.default.md#channeladdresses) - [channelNames](adapters_kafka.default.md#channelnames) - [connections](adapters_kafka.default.md#connections) - [glee](adapters_kafka.default.md#glee) @@ -79,8 +80,8 @@ Instantiates a Glee adapter. | :------ | :------ | :------ | | `glee` | [`default`](lib_glee.default.md) | A reference to the Glee app. | | `serverName` | `string` | The name of the AsyncAPI server to use for the connection. | -| `server` | `Server` | The AsyncAPI server to use for the connection. | -| `parsedAsyncAPI` | `AsyncAPIDocument` | The AsyncAPI document. | +| `server` | `ServerInterface` | The AsyncAPI server to use for the connection. | +| `parsedAsyncAPI` | `AsyncAPIDocumentInterface` | The AsyncAPI document. | #### Inherited from @@ -88,7 +89,7 @@ Instantiates a Glee adapter. #### Defined in -[src/lib/adapter.ts:41](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L41) +[src/lib/adapter.ts:42](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L42) ## Properties @@ -98,7 +99,7 @@ Instantiates a Glee adapter. #### Defined in -[src/adapters/kafka/index.ts:8](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/kafka/index.ts#L8) +[src/adapters/kafka/index.ts:8](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/kafka/index.ts#L8) ___ @@ -108,7 +109,7 @@ ___ #### Defined in -[src/adapters/kafka/index.ts:7](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/kafka/index.ts#L7) +[src/adapters/kafka/index.ts:7](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/kafka/index.ts#L7) ___ @@ -180,11 +181,11 @@ node_modules/@types/node/events.d.ts:327 ### AsyncAPIServer -• `get` **AsyncAPIServer**(): `Server` +• `get` **AsyncAPIServer**(): `ServerInterface` #### Returns -`Server` +`ServerInterface` #### Inherited from @@ -192,7 +193,25 @@ Adapter.AsyncAPIServer #### Defined in -[src/lib/adapter.ts:185](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L185) +[src/lib/adapter.ts:187](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L187) + +___ + +### channelAddresses + +• `get` **channelAddresses**(): `string`[] + +#### Returns + +`string`[] + +#### Inherited from + +Adapter.channelAddresses + +#### Defined in + +[src/lib/adapter.ts:199](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L199) ___ @@ -210,7 +229,7 @@ Adapter.channelNames #### Defined in -[src/lib/adapter.ts:193](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L193) +[src/lib/adapter.ts:195](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L195) ___ @@ -228,7 +247,7 @@ Adapter.connections #### Defined in -[src/lib/adapter.ts:197](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L197) +[src/lib/adapter.ts:203](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L203) ___ @@ -246,17 +265,17 @@ Adapter.glee #### Defined in -[src/lib/adapter.ts:177](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L177) +[src/lib/adapter.ts:179](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L179) ___ ### parsedAsyncAPI -• `get` **parsedAsyncAPI**(): `AsyncAPIDocument` +• `get` **parsedAsyncAPI**(): `AsyncAPIDocumentInterface` #### Returns -`AsyncAPIDocument` +`AsyncAPIDocumentInterface` #### Inherited from @@ -264,7 +283,7 @@ Adapter.parsedAsyncAPI #### Defined in -[src/lib/adapter.ts:189](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L189) +[src/lib/adapter.ts:191](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L191) ___ @@ -282,7 +301,7 @@ Adapter.serverName #### Defined in -[src/lib/adapter.ts:181](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L181) +[src/lib/adapter.ts:183](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L183) ___ @@ -300,7 +319,7 @@ Adapter.serverUrlExpanded #### Defined in -[src/lib/adapter.ts:201](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L201) +[src/lib/adapter.ts:207](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L207) ## Methods @@ -322,7 +341,7 @@ Adapter.serverUrlExpanded #### Defined in -[src/adapters/kafka/index.ts:95](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/kafka/index.ts#L95) +[src/adapters/kafka/index.ts:95](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/kafka/index.ts#L95) ___ @@ -373,7 +392,7 @@ Connects to the remote server. #### Defined in -[src/adapters/kafka/index.ts:13](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/kafka/index.ts#L13) +[src/adapters/kafka/index.ts:13](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/kafka/index.ts#L13) ___ @@ -502,7 +521,7 @@ ___ #### Defined in -[src/lib/adapter.ts:214](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L214) +[src/lib/adapter.ts:220](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L220) ___ @@ -547,7 +566,7 @@ Returns a list of the channels a given adapter has to subscribe to. #### Defined in -[src/lib/adapter.ts:230](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L230) +[src/lib/adapter.ts:236](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L236) ___ @@ -629,7 +648,7 @@ ___ #### Defined in -[src/adapters/kafka/index.ts:9](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/kafka/index.ts#L9) +[src/adapters/kafka/index.ts:9](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/kafka/index.ts#L9) ___ @@ -1071,7 +1090,7 @@ ___ #### Defined in -[src/lib/adapter.ts:205](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L205) +[src/lib/adapter.ts:211](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L211) ___ @@ -1097,7 +1116,7 @@ Sends a message to the remote server. #### Defined in -[src/adapters/kafka/index.ts:79](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/kafka/index.ts#L79) +[src/adapters/kafka/index.ts:79](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/kafka/index.ts#L79) ___ diff --git a/docs/reference/classes/adapters_mqtt.default.md b/docs/reference/classes/adapters_mqtt.default.md index 0763213d2..ac29750f0 100644 --- a/docs/reference/classes/adapters_mqtt.default.md +++ b/docs/reference/classes/adapters_mqtt.default.md @@ -28,6 +28,7 @@ ### Accessors - [AsyncAPIServer](adapters_mqtt.default.md#asyncapiserver) +- [channelAddresses](adapters_mqtt.default.md#channeladdresses) - [channelNames](adapters_mqtt.default.md#channelnames) - [connections](adapters_mqtt.default.md#connections) - [glee](adapters_mqtt.default.md#glee) @@ -87,8 +88,8 @@ Instantiates a Glee adapter. | :------ | :------ | :------ | | `glee` | [`default`](lib_glee.default.md) | A reference to the Glee app. | | `serverName` | `string` | The name of the AsyncAPI server to use for the connection. | -| `server` | `Server` | The AsyncAPI server to use for the connection. | -| `parsedAsyncAPI` | `AsyncAPIDocument` | The AsyncAPI document. | +| `server` | `ServerInterface` | The AsyncAPI server to use for the connection. | +| `parsedAsyncAPI` | `AsyncAPIDocumentInterface` | The AsyncAPI document. | #### Inherited from @@ -96,7 +97,7 @@ Instantiates a Glee adapter. #### Defined in -[src/lib/adapter.ts:41](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L41) +[src/lib/adapter.ts:42](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L42) ## Properties @@ -106,7 +107,7 @@ Instantiates a Glee adapter. #### Defined in -[src/adapters/mqtt/index.ts:29](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/mqtt/index.ts#L29) +[src/adapters/mqtt/index.ts:32](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/mqtt/index.ts#L32) ___ @@ -116,7 +117,7 @@ ___ #### Defined in -[src/adapters/mqtt/index.ts:30](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/mqtt/index.ts#L30) +[src/adapters/mqtt/index.ts:33](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/mqtt/index.ts#L33) ___ @@ -188,11 +189,11 @@ node_modules/@types/node/events.d.ts:327 ### AsyncAPIServer -• `get` **AsyncAPIServer**(): `Server` +• `get` **AsyncAPIServer**(): `ServerInterface` #### Returns -`Server` +`ServerInterface` #### Inherited from @@ -200,7 +201,25 @@ Adapter.AsyncAPIServer #### Defined in -[src/lib/adapter.ts:185](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L185) +[src/lib/adapter.ts:187](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L187) + +___ + +### channelAddresses + +• `get` **channelAddresses**(): `string`[] + +#### Returns + +`string`[] + +#### Inherited from + +Adapter.channelAddresses + +#### Defined in + +[src/lib/adapter.ts:199](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L199) ___ @@ -218,7 +237,7 @@ Adapter.channelNames #### Defined in -[src/lib/adapter.ts:193](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L193) +[src/lib/adapter.ts:195](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L195) ___ @@ -236,7 +255,7 @@ Adapter.connections #### Defined in -[src/lib/adapter.ts:197](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L197) +[src/lib/adapter.ts:203](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L203) ___ @@ -254,17 +273,17 @@ Adapter.glee #### Defined in -[src/lib/adapter.ts:177](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L177) +[src/lib/adapter.ts:179](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L179) ___ ### parsedAsyncAPI -• `get` **parsedAsyncAPI**(): `AsyncAPIDocument` +• `get` **parsedAsyncAPI**(): `AsyncAPIDocumentInterface` #### Returns -`AsyncAPIDocument` +`AsyncAPIDocumentInterface` #### Inherited from @@ -272,7 +291,7 @@ Adapter.parsedAsyncAPI #### Defined in -[src/lib/adapter.ts:189](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L189) +[src/lib/adapter.ts:191](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L191) ___ @@ -290,7 +309,7 @@ Adapter.serverName #### Defined in -[src/lib/adapter.ts:181](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L181) +[src/lib/adapter.ts:183](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L183) ___ @@ -308,7 +327,7 @@ Adapter.serverUrlExpanded #### Defined in -[src/lib/adapter.ts:201](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L201) +[src/lib/adapter.ts:207](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L207) ## Methods @@ -322,7 +341,7 @@ Adapter.serverUrlExpanded #### Defined in -[src/adapters/mqtt/index.ts:151](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/mqtt/index.ts#L151) +[src/adapters/mqtt/index.ts:163](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/mqtt/index.ts#L163) ___ @@ -342,7 +361,7 @@ ___ #### Defined in -[src/adapters/mqtt/index.ts:229](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/mqtt/index.ts#L229) +[src/adapters/mqtt/index.ts:240](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/mqtt/index.ts#L240) ___ @@ -365,7 +384,7 @@ ___ #### Defined in -[src/adapters/mqtt/index.ts:245](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/mqtt/index.ts#L245) +[src/adapters/mqtt/index.ts:256](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/mqtt/index.ts#L256) ___ @@ -385,7 +404,7 @@ ___ #### Defined in -[src/adapters/mqtt/index.ts:206](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/mqtt/index.ts#L206) +[src/adapters/mqtt/index.ts:218](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/mqtt/index.ts#L218) ___ @@ -430,7 +449,7 @@ ___ #### Defined in -[src/adapters/mqtt/index.ts:118](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/mqtt/index.ts#L118) +[src/adapters/mqtt/index.ts:130](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/mqtt/index.ts#L130) ___ @@ -450,7 +469,7 @@ Connects to the remote server. #### Defined in -[src/adapters/mqtt/index.ts:36](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/mqtt/index.ts#L36) +[src/adapters/mqtt/index.ts:39](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/mqtt/index.ts#L39) ___ @@ -579,7 +598,7 @@ ___ #### Defined in -[src/lib/adapter.ts:214](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L214) +[src/lib/adapter.ts:220](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L220) ___ @@ -618,12 +637,12 @@ ___ | Name | Type | | :------ | :------ | -| `X509SecurityReq` | `SecurityScheme` | -| `userAndPasswordSecurityReq` | `SecurityScheme` | +| `X509SecurityReq` | `any` | +| `userAndPasswordSecurityReq` | `any` | #### Defined in -[src/adapters/mqtt/index.ts:44](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/mqtt/index.ts#L44) +[src/adapters/mqtt/index.ts:47](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/mqtt/index.ts#L47) ___ @@ -643,7 +662,7 @@ Returns a list of the channels a given adapter has to subscribe to. #### Defined in -[src/lib/adapter.ts:230](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L230) +[src/lib/adapter.ts:236](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L236) ___ @@ -663,7 +682,7 @@ ___ #### Defined in -[src/adapters/mqtt/index.ts:64](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/mqtt/index.ts#L64) +[src/adapters/mqtt/index.ts:76](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/mqtt/index.ts#L76) ___ @@ -683,7 +702,7 @@ ___ #### Defined in -[src/adapters/mqtt/index.ts:95](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/mqtt/index.ts#L95) +[src/adapters/mqtt/index.ts:107](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/mqtt/index.ts#L107) ___ @@ -765,7 +784,7 @@ ___ #### Defined in -[src/adapters/mqtt/index.ts:32](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/mqtt/index.ts#L32) +[src/adapters/mqtt/index.ts:35](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/mqtt/index.ts#L35) ___ @@ -1207,7 +1226,7 @@ ___ #### Defined in -[src/lib/adapter.ts:205](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L205) +[src/lib/adapter.ts:211](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L211) ___ @@ -1233,7 +1252,7 @@ Sends a message to the remote server. #### Defined in -[src/adapters/mqtt/index.ts:40](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/mqtt/index.ts#L40) +[src/adapters/mqtt/index.ts:43](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/mqtt/index.ts#L43) ___ @@ -1288,7 +1307,7 @@ ___ #### Defined in -[src/adapters/mqtt/index.ts:128](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/mqtt/index.ts#L128) +[src/adapters/mqtt/index.ts:140](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/mqtt/index.ts#L140) ___ diff --git a/docs/reference/classes/adapters_socket_io.default.md b/docs/reference/classes/adapters_socket_io.default.md index 61c64d345..ae07d467f 100644 --- a/docs/reference/classes/adapters_socket_io.default.md +++ b/docs/reference/classes/adapters_socket_io.default.md @@ -27,6 +27,7 @@ ### Accessors - [AsyncAPIServer](adapters_socket_io.default.md#asyncapiserver) +- [channelAddresses](adapters_socket_io.default.md#channeladdresses) - [channelNames](adapters_socket_io.default.md#channelnames) - [connections](adapters_socket_io.default.md#connections) - [glee](adapters_socket_io.default.md#glee) @@ -80,8 +81,8 @@ Instantiates a Glee adapter. | :------ | :------ | :------ | | `glee` | [`default`](lib_glee.default.md) | A reference to the Glee app. | | `serverName` | `string` | The name of the AsyncAPI server to use for the connection. | -| `server` | `Server` | The AsyncAPI server to use for the connection. | -| `parsedAsyncAPI` | `AsyncAPIDocument` | The AsyncAPI document. | +| `server` | `ServerInterface` | The AsyncAPI server to use for the connection. | +| `parsedAsyncAPI` | `AsyncAPIDocumentInterface` | The AsyncAPI document. | #### Inherited from @@ -89,7 +90,7 @@ Instantiates a Glee adapter. #### Defined in -[src/lib/adapter.ts:41](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L41) +[src/lib/adapter.ts:42](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L42) ## Properties @@ -99,7 +100,7 @@ Instantiates a Glee adapter. #### Defined in -[src/adapters/socket.io/index.ts:6](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/socket.io/index.ts#L6) +[src/adapters/socket.io/index.ts:6](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/socket.io/index.ts#L6) ___ @@ -171,11 +172,11 @@ node_modules/@types/node/events.d.ts:327 ### AsyncAPIServer -• `get` **AsyncAPIServer**(): `Server` +• `get` **AsyncAPIServer**(): `ServerInterface` #### Returns -`Server` +`ServerInterface` #### Inherited from @@ -183,7 +184,25 @@ Adapter.AsyncAPIServer #### Defined in -[src/lib/adapter.ts:185](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L185) +[src/lib/adapter.ts:187](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L187) + +___ + +### channelAddresses + +• `get` **channelAddresses**(): `string`[] + +#### Returns + +`string`[] + +#### Inherited from + +Adapter.channelAddresses + +#### Defined in + +[src/lib/adapter.ts:199](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L199) ___ @@ -201,7 +220,7 @@ Adapter.channelNames #### Defined in -[src/lib/adapter.ts:193](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L193) +[src/lib/adapter.ts:195](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L195) ___ @@ -219,7 +238,7 @@ Adapter.connections #### Defined in -[src/lib/adapter.ts:197](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L197) +[src/lib/adapter.ts:203](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L203) ___ @@ -237,17 +256,17 @@ Adapter.glee #### Defined in -[src/lib/adapter.ts:177](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L177) +[src/lib/adapter.ts:179](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L179) ___ ### parsedAsyncAPI -• `get` **parsedAsyncAPI**(): `AsyncAPIDocument` +• `get` **parsedAsyncAPI**(): `AsyncAPIDocumentInterface` #### Returns -`AsyncAPIDocument` +`AsyncAPIDocumentInterface` #### Inherited from @@ -255,7 +274,7 @@ Adapter.parsedAsyncAPI #### Defined in -[src/lib/adapter.ts:189](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L189) +[src/lib/adapter.ts:191](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L191) ___ @@ -273,7 +292,7 @@ Adapter.serverName #### Defined in -[src/lib/adapter.ts:181](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L181) +[src/lib/adapter.ts:183](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L183) ___ @@ -291,7 +310,7 @@ Adapter.serverUrlExpanded #### Defined in -[src/lib/adapter.ts:201](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L201) +[src/lib/adapter.ts:207](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L207) ## Methods @@ -305,7 +324,7 @@ Adapter.serverUrlExpanded #### Defined in -[src/adapters/socket.io/index.ts:20](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/socket.io/index.ts#L20) +[src/adapters/socket.io/index.ts:20](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/socket.io/index.ts#L20) ___ @@ -326,7 +345,7 @@ ___ #### Defined in -[src/adapters/socket.io/index.ts:97](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/socket.io/index.ts#L97) +[src/adapters/socket.io/index.ts:97](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/socket.io/index.ts#L97) ___ @@ -346,7 +365,7 @@ ___ #### Defined in -[src/adapters/socket.io/index.ts:78](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/socket.io/index.ts#L78) +[src/adapters/socket.io/index.ts:78](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/socket.io/index.ts#L78) ___ @@ -397,7 +416,7 @@ Connects to the remote server. #### Defined in -[src/adapters/socket.io/index.ts:12](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/socket.io/index.ts#L12) +[src/adapters/socket.io/index.ts:12](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/socket.io/index.ts#L12) ___ @@ -526,7 +545,7 @@ ___ #### Defined in -[src/lib/adapter.ts:214](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L214) +[src/lib/adapter.ts:220](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L220) ___ @@ -571,7 +590,7 @@ Returns a list of the channels a given adapter has to subscribe to. #### Defined in -[src/lib/adapter.ts:230](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L230) +[src/lib/adapter.ts:236](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L236) ___ @@ -653,7 +672,7 @@ ___ #### Defined in -[src/adapters/socket.io/index.ts:8](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/socket.io/index.ts#L8) +[src/adapters/socket.io/index.ts:8](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/socket.io/index.ts#L8) ___ @@ -1095,7 +1114,7 @@ ___ #### Defined in -[src/lib/adapter.ts:205](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L205) +[src/lib/adapter.ts:211](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L211) ___ @@ -1121,7 +1140,7 @@ Sends a message to the remote server. #### Defined in -[src/adapters/socket.io/index.ts:16](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/socket.io/index.ts#L16) +[src/adapters/socket.io/index.ts:16](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/socket.io/index.ts#L16) ___ diff --git a/docs/reference/classes/adapters_ws_client.default.md b/docs/reference/classes/adapters_ws_client.default.md index b24893edf..68f658567 100644 --- a/docs/reference/classes/adapters_ws_client.default.md +++ b/docs/reference/classes/adapters_ws_client.default.md @@ -27,6 +27,7 @@ ### Accessors - [AsyncAPIServer](adapters_ws_client.default.md#asyncapiserver) +- [channelAddresses](adapters_ws_client.default.md#channeladdresses) - [channelNames](adapters_ws_client.default.md#channelnames) - [connections](adapters_ws_client.default.md#connections) - [glee](adapters_ws_client.default.md#glee) @@ -81,8 +82,8 @@ Instantiates a Glee adapter. | :------ | :------ | :------ | | `glee` | [`default`](lib_glee.default.md) | A reference to the Glee app. | | `serverName` | `string` | The name of the AsyncAPI server to use for the connection. | -| `server` | `Server` | The AsyncAPI server to use for the connection. | -| `parsedAsyncAPI` | `AsyncAPIDocument` | The AsyncAPI document. | +| `server` | `ServerInterface` | The AsyncAPI server to use for the connection. | +| `parsedAsyncAPI` | `AsyncAPIDocumentInterface` | The AsyncAPI document. | #### Inherited from @@ -90,7 +91,7 @@ Instantiates a Glee adapter. #### Defined in -[src/lib/adapter.ts:41](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L41) +[src/lib/adapter.ts:42](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L42) ## Properties @@ -100,7 +101,7 @@ Instantiates a Glee adapter. #### Defined in -[src/adapters/ws/client.ts:15](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/client.ts#L15) +[src/adapters/ws/client.ts:15](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/client.ts#L15) ___ @@ -172,11 +173,11 @@ node_modules/@types/node/events.d.ts:327 ### AsyncAPIServer -• `get` **AsyncAPIServer**(): `Server` +• `get` **AsyncAPIServer**(): `ServerInterface` #### Returns -`Server` +`ServerInterface` #### Inherited from @@ -184,7 +185,25 @@ Adapter.AsyncAPIServer #### Defined in -[src/lib/adapter.ts:185](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L185) +[src/lib/adapter.ts:187](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L187) + +___ + +### channelAddresses + +• `get` **channelAddresses**(): `string`[] + +#### Returns + +`string`[] + +#### Inherited from + +Adapter.channelAddresses + +#### Defined in + +[src/lib/adapter.ts:199](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L199) ___ @@ -202,7 +221,7 @@ Adapter.channelNames #### Defined in -[src/lib/adapter.ts:193](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L193) +[src/lib/adapter.ts:195](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L195) ___ @@ -220,7 +239,7 @@ Adapter.connections #### Defined in -[src/lib/adapter.ts:197](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L197) +[src/lib/adapter.ts:203](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L203) ___ @@ -238,17 +257,17 @@ Adapter.glee #### Defined in -[src/lib/adapter.ts:177](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L177) +[src/lib/adapter.ts:179](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L179) ___ ### parsedAsyncAPI -• `get` **parsedAsyncAPI**(): `AsyncAPIDocument` +• `get` **parsedAsyncAPI**(): `AsyncAPIDocumentInterface` #### Returns -`AsyncAPIDocument` +`AsyncAPIDocumentInterface` #### Inherited from @@ -256,7 +275,7 @@ Adapter.parsedAsyncAPI #### Defined in -[src/lib/adapter.ts:189](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L189) +[src/lib/adapter.ts:191](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L191) ___ @@ -274,7 +293,7 @@ Adapter.serverName #### Defined in -[src/lib/adapter.ts:181](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L181) +[src/lib/adapter.ts:183](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L183) ___ @@ -292,7 +311,7 @@ Adapter.serverUrlExpanded #### Defined in -[src/lib/adapter.ts:201](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L201) +[src/lib/adapter.ts:207](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L207) ## Methods @@ -306,7 +325,7 @@ Adapter.serverUrlExpanded #### Defined in -[src/adapters/ws/client.ts:29](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/client.ts#L29) +[src/adapters/ws/client.ts:29](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/client.ts#L29) ___ @@ -327,7 +346,7 @@ ___ #### Defined in -[src/adapters/ws/client.ts:112](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/client.ts#L112) +[src/adapters/ws/client.ts:111](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/client.ts#L111) ___ @@ -347,7 +366,7 @@ ___ #### Defined in -[src/adapters/ws/client.ts:99](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/client.ts#L99) +[src/adapters/ws/client.ts:98](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/client.ts#L98) ___ @@ -398,7 +417,7 @@ Connects to the remote server. #### Defined in -[src/adapters/ws/client.ts:21](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/client.ts#L21) +[src/adapters/ws/client.ts:21](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/client.ts#L21) ___ @@ -527,7 +546,7 @@ ___ #### Defined in -[src/lib/adapter.ts:214](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L214) +[src/lib/adapter.ts:220](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L220) ___ @@ -572,7 +591,7 @@ Returns a list of the channels a given adapter has to subscribe to. #### Defined in -[src/lib/adapter.ts:230](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L230) +[src/lib/adapter.ts:236](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L236) ___ @@ -586,7 +605,7 @@ ___ #### Defined in -[src/adapters/ws/client.ts:77](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/client.ts#L77) +[src/adapters/ws/client.ts:77](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/client.ts#L77) ___ @@ -668,7 +687,7 @@ ___ #### Defined in -[src/adapters/ws/client.ts:17](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/client.ts#L17) +[src/adapters/ws/client.ts:17](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/client.ts#L17) ___ @@ -1110,7 +1129,7 @@ ___ #### Defined in -[src/lib/adapter.ts:205](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L205) +[src/lib/adapter.ts:211](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L211) ___ @@ -1136,7 +1155,7 @@ Sends a message to the remote server. #### Defined in -[src/adapters/ws/client.ts:25](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/client.ts#L25) +[src/adapters/ws/client.ts:25](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/client.ts#L25) ___ diff --git a/docs/reference/classes/adapters_ws_server.default.md b/docs/reference/classes/adapters_ws_server.default.md index fa1c13ba6..cd2023f8c 100644 --- a/docs/reference/classes/adapters_ws_server.default.md +++ b/docs/reference/classes/adapters_ws_server.default.md @@ -26,6 +26,7 @@ ### Accessors - [AsyncAPIServer](adapters_ws_server.default.md#asyncapiserver) +- [channelAddresses](adapters_ws_server.default.md#channeladdresses) - [channelNames](adapters_ws_server.default.md#channelnames) - [connections](adapters_ws_server.default.md#connections) - [glee](adapters_ws_server.default.md#glee) @@ -90,8 +91,8 @@ Instantiates a Glee adapter. | :------ | :------ | :------ | | `glee` | [`default`](lib_glee.default.md) | A reference to the Glee app. | | `serverName` | `string` | The name of the AsyncAPI server to use for the connection. | -| `server` | `Server` | The AsyncAPI server to use for the connection. | -| `parsedAsyncAPI` | `AsyncAPIDocument` | The AsyncAPI document. | +| `server` | `ServerInterface` | The AsyncAPI server to use for the connection. | +| `parsedAsyncAPI` | `AsyncAPIDocumentInterface` | The AsyncAPI document. | #### Inherited from @@ -99,7 +100,7 @@ Instantiates a Glee adapter. #### Defined in -[src/lib/adapter.ts:41](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L41) +[src/lib/adapter.ts:42](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L42) ## Properties @@ -171,11 +172,11 @@ node_modules/@types/node/events.d.ts:327 ### AsyncAPIServer -• `get` **AsyncAPIServer**(): `Server` +• `get` **AsyncAPIServer**(): `ServerInterface` #### Returns -`Server` +`ServerInterface` #### Inherited from @@ -183,7 +184,25 @@ Adapter.AsyncAPIServer #### Defined in -[src/lib/adapter.ts:185](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L185) +[src/lib/adapter.ts:187](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L187) + +___ + +### channelAddresses + +• `get` **channelAddresses**(): `string`[] + +#### Returns + +`string`[] + +#### Inherited from + +Adapter.channelAddresses + +#### Defined in + +[src/lib/adapter.ts:199](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L199) ___ @@ -201,7 +220,7 @@ Adapter.channelNames #### Defined in -[src/lib/adapter.ts:193](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L193) +[src/lib/adapter.ts:195](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L195) ___ @@ -219,7 +238,7 @@ Adapter.connections #### Defined in -[src/lib/adapter.ts:197](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L197) +[src/lib/adapter.ts:203](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L203) ___ @@ -237,17 +256,17 @@ Adapter.glee #### Defined in -[src/lib/adapter.ts:177](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L177) +[src/lib/adapter.ts:179](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L179) ___ ### parsedAsyncAPI -• `get` **parsedAsyncAPI**(): `AsyncAPIDocument` +• `get` **parsedAsyncAPI**(): `AsyncAPIDocumentInterface` #### Returns -`AsyncAPIDocument` +`AsyncAPIDocumentInterface` #### Inherited from @@ -255,7 +274,7 @@ Adapter.parsedAsyncAPI #### Defined in -[src/lib/adapter.ts:189](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L189) +[src/lib/adapter.ts:191](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L191) ___ @@ -273,7 +292,7 @@ Adapter.serverName #### Defined in -[src/lib/adapter.ts:181](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L181) +[src/lib/adapter.ts:183](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L183) ___ @@ -291,7 +310,7 @@ Adapter.serverUrlExpanded #### Defined in -[src/lib/adapter.ts:201](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L201) +[src/lib/adapter.ts:207](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L207) ## Methods @@ -305,7 +324,7 @@ Adapter.serverUrlExpanded #### Defined in -[src/adapters/ws/server.ts:197](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/server.ts#L197) +[src/adapters/ws/server.ts:197](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/server.ts#L197) ___ @@ -326,7 +345,7 @@ ___ #### Defined in -[src/adapters/ws/server.ts:287](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/server.ts#L287) +[src/adapters/ws/server.ts:287](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/server.ts#L287) ___ @@ -346,7 +365,7 @@ ___ #### Defined in -[src/adapters/ws/server.ts:265](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/server.ts#L265) +[src/adapters/ws/server.ts:265](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/server.ts#L265) ___ @@ -398,7 +417,7 @@ ___ #### Defined in -[src/adapters/ws/server.ts:145](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/server.ts#L145) +[src/adapters/ws/server.ts:145](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/server.ts#L145) ___ @@ -418,7 +437,7 @@ ___ #### Defined in -[src/adapters/ws/server.ts:54](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/server.ts#L54) +[src/adapters/ws/server.ts:54](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/server.ts#L54) ___ @@ -438,7 +457,7 @@ ___ #### Defined in -[src/adapters/ws/server.ts:43](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/server.ts#L43) +[src/adapters/ws/server.ts:43](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/server.ts#L43) ___ @@ -458,7 +477,7 @@ Connects to the remote server. #### Defined in -[src/adapters/ws/server.ts:20](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/server.ts#L20) +[src/adapters/ws/server.ts:20](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/server.ts#L20) ___ @@ -546,7 +565,7 @@ ___ #### Defined in -[src/adapters/ws/server.ts:37](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/server.ts#L37) +[src/adapters/ws/server.ts:37](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/server.ts#L37) ___ @@ -567,7 +586,7 @@ ___ #### Defined in -[src/adapters/ws/server.ts:28](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/server.ts#L28) +[src/adapters/ws/server.ts:28](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/server.ts#L28) ___ @@ -629,7 +648,7 @@ ___ #### Defined in -[src/lib/adapter.ts:214](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L214) +[src/lib/adapter.ts:220](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L220) ___ @@ -674,7 +693,7 @@ Returns a list of the channels a given adapter has to subscribe to. #### Defined in -[src/lib/adapter.ts:230](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L230) +[src/lib/adapter.ts:236](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L236) ___ @@ -688,7 +707,7 @@ ___ #### Defined in -[src/adapters/ws/server.ts:127](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/server.ts#L127) +[src/adapters/ws/server.ts:127](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/server.ts#L127) ___ @@ -708,7 +727,7 @@ ___ #### Defined in -[src/adapters/ws/server.ts:59](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/server.ts#L59) +[src/adapters/ws/server.ts:59](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/server.ts#L59) ___ @@ -790,7 +809,7 @@ ___ #### Defined in -[src/adapters/ws/server.ts:16](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/server.ts#L16) +[src/adapters/ws/server.ts:16](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/server.ts#L16) ___ @@ -951,7 +970,7 @@ ___ #### Defined in -[src/adapters/ws/server.ts:78](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/server.ts#L78) +[src/adapters/ws/server.ts:78](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/server.ts#L78) ___ @@ -971,7 +990,7 @@ ___ #### Defined in -[src/adapters/ws/server.ts:109](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/server.ts#L109) +[src/adapters/ws/server.ts:109](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/server.ts#L109) ___ @@ -1274,7 +1293,7 @@ ___ #### Defined in -[src/lib/adapter.ts:205](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L205) +[src/lib/adapter.ts:211](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L211) ___ @@ -1300,7 +1319,7 @@ Sends a message to the remote server. #### Defined in -[src/adapters/ws/server.ts:24](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/server.ts#L24) +[src/adapters/ws/server.ts:24](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/server.ts#L24) ___ @@ -1357,7 +1376,7 @@ ___ #### Defined in -[src/adapters/ws/server.ts:186](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/server.ts#L186) +[src/adapters/ws/server.ts:186](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/server.ts#L186) ___ @@ -1391,7 +1410,7 @@ ___ #### Defined in -[src/adapters/ws/server.ts:176](https://github.com/asyncapi/glee/blob/c62dfe9/src/adapters/ws/server.ts#L176) +[src/adapters/ws/server.ts:176](https://github.com/asyncapi/glee/blob/a15e431/src/adapters/ws/server.ts#L176) ___ diff --git a/docs/reference/classes/errors_glee_error.default.md b/docs/reference/classes/errors_glee_error.default.md index 411c6875a..410caf633 100644 --- a/docs/reference/classes/errors_glee_error.default.md +++ b/docs/reference/classes/errors_glee_error.default.md @@ -53,7 +53,7 @@ Error.constructor #### Defined in -[src/errors/glee-error.ts:5](https://github.com/asyncapi/glee/blob/c62dfe9/src/errors/glee-error.ts#L5) +[src/errors/glee-error.ts:5](https://github.com/asyncapi/glee/blob/a15e431/src/errors/glee-error.ts#L5) ## Properties @@ -63,7 +63,7 @@ Error.constructor #### Defined in -[src/errors/glee-error.ts:3](https://github.com/asyncapi/glee/blob/c62dfe9/src/errors/glee-error.ts#L3) +[src/errors/glee-error.ts:3](https://github.com/asyncapi/glee/blob/a15e431/src/errors/glee-error.ts#L3) ___ @@ -73,7 +73,7 @@ ___ #### Defined in -[src/errors/glee-error.ts:2](https://github.com/asyncapi/glee/blob/c62dfe9/src/errors/glee-error.ts#L2) +[src/errors/glee-error.ts:2](https://github.com/asyncapi/glee/blob/a15e431/src/errors/glee-error.ts#L2) ___ @@ -178,7 +178,7 @@ node_modules/@types/node/globals.d.ts:13 #### Defined in -[src/errors/glee-error.ts:16](https://github.com/asyncapi/glee/blob/c62dfe9/src/errors/glee-error.ts#L16) +[src/errors/glee-error.ts:16](https://github.com/asyncapi/glee/blob/a15e431/src/errors/glee-error.ts#L16) ___ @@ -192,7 +192,7 @@ ___ #### Defined in -[src/errors/glee-error.ts:12](https://github.com/asyncapi/glee/blob/c62dfe9/src/errors/glee-error.ts#L12) +[src/errors/glee-error.ts:12](https://github.com/asyncapi/glee/blob/a15e431/src/errors/glee-error.ts#L12) ## Methods diff --git a/docs/reference/classes/lib_adapter.default.md b/docs/reference/classes/lib_adapter.default.md index 492b1320e..02089625f 100644 --- a/docs/reference/classes/lib_adapter.default.md +++ b/docs/reference/classes/lib_adapter.default.md @@ -33,6 +33,7 @@ ### Properties - [\_AsyncAPIServer](lib_adapter.default.md#_asyncapiserver) +- [\_channelAddresses](lib_adapter.default.md#_channeladdresses) - [\_channelNames](lib_adapter.default.md#_channelnames) - [\_connections](lib_adapter.default.md#_connections) - [\_glee](lib_adapter.default.md#_glee) @@ -47,6 +48,7 @@ ### Accessors - [AsyncAPIServer](lib_adapter.default.md#asyncapiserver) +- [channelAddresses](lib_adapter.default.md#channeladdresses) - [channelNames](lib_adapter.default.md#channelnames) - [connections](lib_adapter.default.md#connections) - [glee](lib_adapter.default.md#glee) @@ -96,8 +98,8 @@ Instantiates a Glee adapter. | :------ | :------ | :------ | | `glee` | [`default`](lib_glee.default.md) | A reference to the Glee app. | | `serverName` | `string` | The name of the AsyncAPI server to use for the connection. | -| `server` | `Server` | The AsyncAPI server to use for the connection. | -| `parsedAsyncAPI` | `AsyncAPIDocument` | The AsyncAPI document. | +| `server` | `ServerInterface` | The AsyncAPI server to use for the connection. | +| `parsedAsyncAPI` | `AsyncAPIDocumentInterface` | The AsyncAPI document. | #### Overrides @@ -105,17 +107,27 @@ EventEmitter.constructor #### Defined in -[src/lib/adapter.ts:41](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L41) +[src/lib/adapter.ts:42](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L42) ## Properties ### \_AsyncAPIServer -• `Private` **\_AsyncAPIServer**: `Server` +• `Private` **\_AsyncAPIServer**: `ServerInterface` #### Defined in -[src/lib/adapter.ts:27](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L27) +[src/lib/adapter.ts:27](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L27) + +___ + +### \_channelAddresses + +• `Private` **\_channelAddresses**: `string`[] + +#### Defined in + +[src/lib/adapter.ts:30](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L30) ___ @@ -125,7 +137,7 @@ ___ #### Defined in -[src/lib/adapter.ts:29](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L29) +[src/lib/adapter.ts:29](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L29) ___ @@ -135,7 +147,7 @@ ___ #### Defined in -[src/lib/adapter.ts:30](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L30) +[src/lib/adapter.ts:31](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L31) ___ @@ -145,17 +157,17 @@ ___ #### Defined in -[src/lib/adapter.ts:25](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L25) +[src/lib/adapter.ts:25](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L25) ___ ### \_parsedAsyncAPI -• `Private` **\_parsedAsyncAPI**: `AsyncAPIDocument` +• `Private` **\_parsedAsyncAPI**: `AsyncAPIDocumentInterface` #### Defined in -[src/lib/adapter.ts:28](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L28) +[src/lib/adapter.ts:28](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L28) ___ @@ -165,7 +177,7 @@ ___ #### Defined in -[src/lib/adapter.ts:26](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L26) +[src/lib/adapter.ts:26](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L26) ___ @@ -175,7 +187,7 @@ ___ #### Defined in -[src/lib/adapter.ts:31](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L31) +[src/lib/adapter.ts:32](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L32) ___ @@ -247,15 +259,29 @@ node_modules/@types/node/events.d.ts:327 ### AsyncAPIServer -• `get` **AsyncAPIServer**(): `Server` +• `get` **AsyncAPIServer**(): `ServerInterface` + +#### Returns + +`ServerInterface` + +#### Defined in + +[src/lib/adapter.ts:187](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L187) + +___ + +### channelAddresses + +• `get` **channelAddresses**(): `string`[] #### Returns -`Server` +`string`[] #### Defined in -[src/lib/adapter.ts:185](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L185) +[src/lib/adapter.ts:199](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L199) ___ @@ -269,7 +295,7 @@ ___ #### Defined in -[src/lib/adapter.ts:193](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L193) +[src/lib/adapter.ts:195](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L195) ___ @@ -283,7 +309,7 @@ ___ #### Defined in -[src/lib/adapter.ts:197](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L197) +[src/lib/adapter.ts:203](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L203) ___ @@ -297,21 +323,21 @@ ___ #### Defined in -[src/lib/adapter.ts:177](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L177) +[src/lib/adapter.ts:179](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L179) ___ ### parsedAsyncAPI -• `get` **parsedAsyncAPI**(): `AsyncAPIDocument` +• `get` **parsedAsyncAPI**(): `AsyncAPIDocumentInterface` #### Returns -`AsyncAPIDocument` +`AsyncAPIDocumentInterface` #### Defined in -[src/lib/adapter.ts:189](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L189) +[src/lib/adapter.ts:191](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L191) ___ @@ -325,7 +351,7 @@ ___ #### Defined in -[src/lib/adapter.ts:181](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L181) +[src/lib/adapter.ts:183](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L183) ___ @@ -339,7 +365,7 @@ ___ #### Defined in -[src/lib/adapter.ts:201](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L201) +[src/lib/adapter.ts:207](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L207) ## Methods @@ -386,7 +412,7 @@ Connects to the remote server. #### Defined in -[src/lib/adapter.ts:245](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L245) +[src/lib/adapter.ts:251](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L251) ___ @@ -511,7 +537,7 @@ ___ #### Defined in -[src/lib/adapter.ts:214](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L214) +[src/lib/adapter.ts:220](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L220) ___ @@ -552,7 +578,7 @@ Returns a list of the channels a given adapter has to subscribe to. #### Defined in -[src/lib/adapter.ts:230](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L230) +[src/lib/adapter.ts:236](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L236) ___ @@ -1058,7 +1084,7 @@ ___ #### Defined in -[src/lib/adapter.ts:205](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L205) +[src/lib/adapter.ts:211](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L211) ___ @@ -1080,7 +1106,7 @@ Sends a message to the remote server. #### Defined in -[src/lib/adapter.ts:255](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L255) +[src/lib/adapter.ts:261](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L261) ___ diff --git a/docs/reference/classes/lib_cluster.default.md b/docs/reference/classes/lib_cluster.default.md index fbaa4383a..bf7070de2 100644 --- a/docs/reference/classes/lib_cluster.default.md +++ b/docs/reference/classes/lib_cluster.default.md @@ -83,7 +83,7 @@ EventEmitter.constructor #### Defined in -[src/lib/cluster.ts:46](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/cluster.ts#L46) +[src/lib/cluster.ts:46](https://github.com/asyncapi/glee/blob/a15e431/src/lib/cluster.ts#L46) ## Properties @@ -93,7 +93,7 @@ EventEmitter.constructor #### Defined in -[src/lib/cluster.ts:36](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/cluster.ts#L36) +[src/lib/cluster.ts:36](https://github.com/asyncapi/glee/blob/a15e431/src/lib/cluster.ts#L36) ___ @@ -103,7 +103,7 @@ ___ #### Defined in -[src/lib/cluster.ts:39](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/cluster.ts#L39) +[src/lib/cluster.ts:39](https://github.com/asyncapi/glee/blob/a15e431/src/lib/cluster.ts#L39) ___ @@ -113,7 +113,7 @@ ___ #### Defined in -[src/lib/cluster.ts:37](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/cluster.ts#L37) +[src/lib/cluster.ts:37](https://github.com/asyncapi/glee/blob/a15e431/src/lib/cluster.ts#L37) ___ @@ -123,7 +123,7 @@ ___ #### Defined in -[src/lib/cluster.ts:38](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/cluster.ts#L38) +[src/lib/cluster.ts:38](https://github.com/asyncapi/glee/blob/a15e431/src/lib/cluster.ts#L38) ___ @@ -203,7 +203,7 @@ node_modules/@types/node/events.d.ts:327 #### Defined in -[src/lib/cluster.ts:100](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/cluster.ts#L100) +[src/lib/cluster.ts:100](https://github.com/asyncapi/glee/blob/a15e431/src/lib/cluster.ts#L100) ___ @@ -217,7 +217,7 @@ ___ #### Defined in -[src/lib/cluster.ts:112](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/cluster.ts#L112) +[src/lib/cluster.ts:112](https://github.com/asyncapi/glee/blob/a15e431/src/lib/cluster.ts#L112) ___ @@ -231,7 +231,7 @@ ___ #### Defined in -[src/lib/cluster.ts:104](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/cluster.ts#L104) +[src/lib/cluster.ts:104](https://github.com/asyncapi/glee/blob/a15e431/src/lib/cluster.ts#L104) ___ @@ -245,7 +245,7 @@ ___ #### Defined in -[src/lib/cluster.ts:108](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/cluster.ts#L108) +[src/lib/cluster.ts:108](https://github.com/asyncapi/glee/blob/a15e431/src/lib/cluster.ts#L108) ## Methods @@ -292,7 +292,7 @@ Connects to the remote server. #### Defined in -[src/lib/cluster.ts:119](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/cluster.ts#L119) +[src/lib/cluster.ts:119](https://github.com/asyncapi/glee/blob/a15e431/src/lib/cluster.ts#L119) ___ @@ -316,7 +316,7 @@ The deserialized message. #### Defined in -[src/lib/cluster.ts:158](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/cluster.ts#L158) +[src/lib/cluster.ts:158](https://github.com/asyncapi/glee/blob/a15e431/src/lib/cluster.ts#L158) ___ @@ -954,7 +954,7 @@ Sends a message to the remote server. #### Defined in -[src/lib/cluster.ts:128](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/cluster.ts#L128) +[src/lib/cluster.ts:128](https://github.com/asyncapi/glee/blob/a15e431/src/lib/cluster.ts#L128) ___ @@ -978,7 +978,7 @@ The serialized message, #### Defined in -[src/lib/cluster.ts:138](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/cluster.ts#L138) +[src/lib/cluster.ts:138](https://github.com/asyncapi/glee/blob/a15e431/src/lib/cluster.ts#L138) ___ diff --git a/docs/reference/classes/lib_connection.default.md b/docs/reference/classes/lib_connection.default.md index 714a9d278..99c2c809b 100644 --- a/docs/reference/classes/lib_connection.default.md +++ b/docs/reference/classes/lib_connection.default.md @@ -47,17 +47,17 @@ Instantiates a Glee connection. #### Defined in -[src/lib/connection.ts:28](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/connection.ts#L28) +[src/lib/connection.ts:28](https://github.com/asyncapi/glee/blob/a15e431/src/lib/connection.ts#L28) ## Properties ### \_AsyncAPIServer -• `Private` **\_AsyncAPIServer**: `Server` +• `Private` **\_AsyncAPIServer**: `ServerInterface` #### Defined in -[src/lib/connection.ts:15](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/connection.ts#L15) +[src/lib/connection.ts:15](https://github.com/asyncapi/glee/blob/a15e431/src/lib/connection.ts#L15) ___ @@ -67,17 +67,17 @@ ___ #### Defined in -[src/lib/connection.ts:13](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/connection.ts#L13) +[src/lib/connection.ts:13](https://github.com/asyncapi/glee/blob/a15e431/src/lib/connection.ts#L13) ___ ### \_parsedAsyncAPI -• `Private` **\_parsedAsyncAPI**: `AsyncAPIDocument` +• `Private` **\_parsedAsyncAPI**: `AsyncAPIDocumentInterface` #### Defined in -[src/lib/connection.ts:16](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/connection.ts#L16) +[src/lib/connection.ts:16](https://github.com/asyncapi/glee/blob/a15e431/src/lib/connection.ts#L16) ___ @@ -87,7 +87,7 @@ ___ #### Defined in -[src/lib/connection.ts:12](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/connection.ts#L12) +[src/lib/connection.ts:12](https://github.com/asyncapi/glee/blob/a15e431/src/lib/connection.ts#L12) ___ @@ -97,21 +97,21 @@ ___ #### Defined in -[src/lib/connection.ts:14](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/connection.ts#L14) +[src/lib/connection.ts:14](https://github.com/asyncapi/glee/blob/a15e431/src/lib/connection.ts#L14) ## Accessors ### AsyncAPIServer -• `get` **AsyncAPIServer**(): `Server` +• `get` **AsyncAPIServer**(): `ServerInterface` #### Returns -`Server` +`ServerInterface` #### Defined in -[src/lib/connection.ts:54](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/connection.ts#L54) +[src/lib/connection.ts:54](https://github.com/asyncapi/glee/blob/a15e431/src/lib/connection.ts#L54) ___ @@ -125,21 +125,21 @@ ___ #### Defined in -[src/lib/connection.ts:46](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/connection.ts#L46) +[src/lib/connection.ts:46](https://github.com/asyncapi/glee/blob/a15e431/src/lib/connection.ts#L46) ___ ### parsedAsyncAPI -• `get` **parsedAsyncAPI**(): `AsyncAPIDocument` +• `get` **parsedAsyncAPI**(): `AsyncAPIDocumentInterface` #### Returns -`AsyncAPIDocument` +`AsyncAPIDocumentInterface` #### Defined in -[src/lib/connection.ts:58](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/connection.ts#L58) +[src/lib/connection.ts:58](https://github.com/asyncapi/glee/blob/a15e431/src/lib/connection.ts#L58) ___ @@ -153,7 +153,7 @@ ___ #### Defined in -[src/lib/connection.ts:42](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/connection.ts#L42) +[src/lib/connection.ts:42](https://github.com/asyncapi/glee/blob/a15e431/src/lib/connection.ts#L42) ___ @@ -167,7 +167,7 @@ ___ #### Defined in -[src/lib/connection.ts:50](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/connection.ts#L50) +[src/lib/connection.ts:50](https://github.com/asyncapi/glee/blob/a15e431/src/lib/connection.ts#L50) ## Methods @@ -183,7 +183,7 @@ Returns the real connection object. #### Defined in -[src/lib/connection.ts:77](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/connection.ts#L77) +[src/lib/connection.ts:77](https://github.com/asyncapi/glee/blob/a15e431/src/lib/connection.ts#L77) ___ @@ -205,4 +205,4 @@ Checks whether a channel is associated with this connection. #### Defined in -[src/lib/connection.ts:68](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/connection.ts#L68) +[src/lib/connection.ts:68](https://github.com/asyncapi/glee/blob/a15e431/src/lib/connection.ts#L68) diff --git a/docs/reference/classes/lib_glee.default.md b/docs/reference/classes/lib_glee.default.md index 20c32e4fb..9aa7c2c7d 100644 --- a/docs/reference/classes/lib_glee.default.md +++ b/docs/reference/classes/lib_glee.default.md @@ -89,7 +89,7 @@ EventEmitter.constructor #### Defined in -[src/lib/glee.ts:45](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/glee.ts#L45) +[src/lib/glee.ts:45](https://github.com/asyncapi/glee/blob/a15e431/src/lib/glee.ts#L45) ## Properties @@ -99,7 +99,7 @@ EventEmitter.constructor #### Defined in -[src/lib/glee.ts:37](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/glee.ts#L37) +[src/lib/glee.ts:37](https://github.com/asyncapi/glee/blob/a15e431/src/lib/glee.ts#L37) ___ @@ -109,7 +109,7 @@ ___ #### Defined in -[src/lib/glee.ts:38](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/glee.ts#L38) +[src/lib/glee.ts:38](https://github.com/asyncapi/glee/blob/a15e431/src/lib/glee.ts#L38) ___ @@ -119,7 +119,7 @@ ___ #### Defined in -[src/lib/glee.ts:35](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/glee.ts#L35) +[src/lib/glee.ts:35](https://github.com/asyncapi/glee/blob/a15e431/src/lib/glee.ts#L35) ___ @@ -129,7 +129,7 @@ ___ #### Defined in -[src/lib/glee.ts:36](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/glee.ts#L36) +[src/lib/glee.ts:36](https://github.com/asyncapi/glee/blob/a15e431/src/lib/glee.ts#L36) ___ @@ -209,7 +209,7 @@ node_modules/@types/node/events.d.ts:327 #### Defined in -[src/lib/glee.ts:59](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/glee.ts#L59) +[src/lib/glee.ts:59](https://github.com/asyncapi/glee/blob/a15e431/src/lib/glee.ts#L59) ___ @@ -223,7 +223,7 @@ ___ #### Defined in -[src/lib/glee.ts:63](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/glee.ts#L63) +[src/lib/glee.ts:63](https://github.com/asyncapi/glee/blob/a15e431/src/lib/glee.ts#L63) ___ @@ -237,7 +237,7 @@ ___ #### Defined in -[src/lib/glee.ts:55](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/glee.ts#L55) +[src/lib/glee.ts:55](https://github.com/asyncapi/glee/blob/a15e431/src/lib/glee.ts#L55) ## Methods @@ -260,7 +260,7 @@ ___ #### Defined in -[src/lib/glee.ts:307](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/glee.ts#L307) +[src/lib/glee.ts:307](https://github.com/asyncapi/glee/blob/a15e431/src/lib/glee.ts#L307) ___ @@ -284,7 +284,7 @@ Starts executing the middlewares for the given error and message. #### Defined in -[src/lib/glee.ts:294](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/glee.ts#L294) +[src/lib/glee.ts:294](https://github.com/asyncapi/glee/blob/a15e431/src/lib/glee.ts#L294) ___ @@ -308,7 +308,7 @@ Starts executing the middlewares for the given message. #### Defined in -[src/lib/glee.ts:224](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/glee.ts#L224) +[src/lib/glee.ts:224](https://github.com/asyncapi/glee/blob/a15e431/src/lib/glee.ts#L224) ___ @@ -324,8 +324,8 @@ Adds a connection adapter. | :------ | :------ | | `Adapter` | typeof [`default`](lib_adapter.default.md) | | `«destructured»` | `Object` | -| › `parsedAsyncAPI` | `AsyncAPIDocument` | -| › `server` | `Server` | +| › `parsedAsyncAPI` | `AsyncAPIDocumentInterface` | +| › `server` | `ServerInterface` | | › `serverName` | `string` | #### Returns @@ -334,7 +334,7 @@ Adds a connection adapter. #### Defined in -[src/lib/glee.ts:75](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/glee.ts#L75) +[src/lib/glee.ts:75](https://github.com/asyncapi/glee/blob/a15e431/src/lib/glee.ts#L75) ___ @@ -381,7 +381,7 @@ Tells the adapters to connect. #### Defined in -[src/lib/glee.ts:143](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/glee.ts#L143) +[src/lib/glee.ts:143](https://github.com/asyncapi/glee/blob/a15e431/src/lib/glee.ts#L143) ___ @@ -534,7 +534,7 @@ Injects an error into the Glee inbound error middleware chain. #### Defined in -[src/lib/glee.ts:195](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/glee.ts#L195) +[src/lib/glee.ts:195](https://github.com/asyncapi/glee/blob/a15e431/src/lib/glee.ts#L195) ___ @@ -558,7 +558,7 @@ Injects a message into the Glee inbound middleware chain. #### Defined in -[src/lib/glee.ts:173](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/glee.ts#L173) +[src/lib/glee.ts:173](https://github.com/asyncapi/glee/blob/a15e431/src/lib/glee.ts#L173) ___ @@ -574,7 +574,7 @@ Alias for `connect`. #### Defined in -[src/lib/glee.ts:162](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/glee.ts#L162) +[src/lib/glee.ts:162](https://github.com/asyncapi/glee/blob/a15e431/src/lib/glee.ts#L162) ___ @@ -1082,7 +1082,7 @@ Send a message to the adapters. #### Defined in -[src/lib/glee.ts:130](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/glee.ts#L130) +[src/lib/glee.ts:130](https://github.com/asyncapi/glee/blob/a15e431/src/lib/glee.ts#L130) ___ @@ -1104,7 +1104,7 @@ Sets the cluster adapter to use. #### Defined in -[src/lib/glee.ts:91](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/glee.ts#L91) +[src/lib/glee.ts:91](https://github.com/asyncapi/glee/blob/a15e431/src/lib/glee.ts#L91) ___ @@ -1161,7 +1161,7 @@ Synchronizes the other instances in the cluster with the message. #### Defined in -[src/lib/glee.ts:208](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/glee.ts#L208) +[src/lib/glee.ts:208](https://github.com/asyncapi/glee/blob/a15e431/src/lib/glee.ts#L208) ___ @@ -1183,7 +1183,7 @@ Use a middleware for inbound messages. #### Defined in -[src/lib/glee.ts:102](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/glee.ts#L102) +[src/lib/glee.ts:102](https://github.com/asyncapi/glee/blob/a15e431/src/lib/glee.ts#L102) ▸ **use**(`channel`, `...middlewares`): `void` @@ -1200,7 +1200,7 @@ Use a middleware for inbound messages. #### Defined in -[src/lib/glee.ts:103](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/glee.ts#L103) +[src/lib/glee.ts:103](https://github.com/asyncapi/glee/blob/a15e431/src/lib/glee.ts#L103) ___ @@ -1222,7 +1222,7 @@ Use a middleware for outbound messages. #### Defined in -[src/lib/glee.ts:116](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/glee.ts#L116) +[src/lib/glee.ts:116](https://github.com/asyncapi/glee/blob/a15e431/src/lib/glee.ts#L116) ▸ **useOutbound**(`channel`, `...middlewares`): `void` @@ -1239,7 +1239,7 @@ Use a middleware for outbound messages. #### Defined in -[src/lib/glee.ts:117](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/glee.ts#L117) +[src/lib/glee.ts:117](https://github.com/asyncapi/glee/blob/a15e431/src/lib/glee.ts#L117) ___ diff --git a/docs/reference/classes/lib_message.default.md b/docs/reference/classes/lib_message.default.md index 7b77cf9ff..a789349bf 100644 --- a/docs/reference/classes/lib_message.default.md +++ b/docs/reference/classes/lib_message.default.md @@ -97,7 +97,7 @@ EventEmitter.constructor #### Defined in -[src/lib/message.ts:51](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L51) +[src/lib/message.ts:51](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L51) ## Properties @@ -107,7 +107,7 @@ EventEmitter.constructor #### Defined in -[src/lib/message.ts:31](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L31) +[src/lib/message.ts:31](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L31) ___ @@ -117,7 +117,7 @@ ___ #### Defined in -[src/lib/message.ts:28](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L28) +[src/lib/message.ts:28](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L28) ___ @@ -127,7 +127,7 @@ ___ #### Defined in -[src/lib/message.ts:34](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L34) +[src/lib/message.ts:34](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L34) ___ @@ -137,7 +137,7 @@ ___ #### Defined in -[src/lib/message.ts:30](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L30) +[src/lib/message.ts:30](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L30) ___ @@ -151,7 +151,7 @@ ___ #### Defined in -[src/lib/message.ts:27](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L27) +[src/lib/message.ts:27](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L27) ___ @@ -161,7 +161,7 @@ ___ #### Defined in -[src/lib/message.ts:32](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L32) +[src/lib/message.ts:32](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L32) ___ @@ -171,7 +171,7 @@ ___ #### Defined in -[src/lib/message.ts:33](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L33) +[src/lib/message.ts:33](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L33) ___ @@ -185,7 +185,7 @@ ___ #### Defined in -[src/lib/message.ts:35](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L35) +[src/lib/message.ts:35](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L35) ___ @@ -195,7 +195,7 @@ ___ #### Defined in -[src/lib/message.ts:26](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L26) +[src/lib/message.ts:26](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L26) ___ @@ -205,7 +205,7 @@ ___ #### Defined in -[src/lib/message.ts:36](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L36) +[src/lib/message.ts:36](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L36) ___ @@ -215,7 +215,7 @@ ___ #### Defined in -[src/lib/message.ts:29](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L29) +[src/lib/message.ts:29](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L29) ___ @@ -295,7 +295,7 @@ node_modules/@types/node/events.d.ts:327 #### Defined in -[src/lib/message.ts:113](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L113) +[src/lib/message.ts:113](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L113) ___ @@ -309,7 +309,7 @@ ___ #### Defined in -[src/lib/message.ts:89](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L89) +[src/lib/message.ts:89](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L89) • `set` **channel**(`value`): `void` @@ -325,7 +325,7 @@ ___ #### Defined in -[src/lib/message.ts:93](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L93) +[src/lib/message.ts:93](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L93) ___ @@ -339,7 +339,7 @@ ___ #### Defined in -[src/lib/message.ts:125](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L125) +[src/lib/message.ts:125](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L125) • `set` **cluster**(`value`): `void` @@ -355,7 +355,7 @@ ___ #### Defined in -[src/lib/message.ts:129](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L129) +[src/lib/message.ts:129](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L129) ___ @@ -369,7 +369,7 @@ ___ #### Defined in -[src/lib/message.ts:105](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L105) +[src/lib/message.ts:105](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L105) • `set` **connection**(`value`): `void` @@ -385,7 +385,7 @@ ___ #### Defined in -[src/lib/message.ts:109](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L109) +[src/lib/message.ts:109](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L109) ___ @@ -399,7 +399,7 @@ ___ #### Defined in -[src/lib/message.ts:81](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L81) +[src/lib/message.ts:81](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L81) • `set` **headers**(`value`): `void` @@ -415,7 +415,7 @@ ___ #### Defined in -[src/lib/message.ts:85](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L85) +[src/lib/message.ts:85](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L85) ___ @@ -429,7 +429,7 @@ ___ #### Defined in -[src/lib/message.ts:117](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L117) +[src/lib/message.ts:117](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L117) • `set` **params**(`value`): `void` @@ -445,7 +445,7 @@ ___ #### Defined in -[src/lib/message.ts:121](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L121) +[src/lib/message.ts:121](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L121) ___ @@ -459,7 +459,7 @@ ___ #### Defined in -[src/lib/message.ts:73](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L73) +[src/lib/message.ts:73](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L73) • `set` **payload**(`value`): `void` @@ -475,7 +475,7 @@ ___ #### Defined in -[src/lib/message.ts:77](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L77) +[src/lib/message.ts:77](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L77) ___ @@ -489,7 +489,7 @@ ___ #### Defined in -[src/lib/message.ts:133](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L133) +[src/lib/message.ts:133](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L133) • `set` **query**(`value`): `void` @@ -505,7 +505,7 @@ ___ #### Defined in -[src/lib/message.ts:137](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L137) +[src/lib/message.ts:137](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L137) ___ @@ -519,7 +519,7 @@ ___ #### Defined in -[src/lib/message.ts:97](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L97) +[src/lib/message.ts:97](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L97) • `set` **serverName**(`value`): `void` @@ -535,7 +535,7 @@ ___ #### Defined in -[src/lib/message.ts:101](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L101) +[src/lib/message.ts:101](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L101) ## Methods @@ -712,7 +712,7 @@ Checks if it's an inbound message. #### Defined in -[src/lib/message.ts:194](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L194) +[src/lib/message.ts:194](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L194) ___ @@ -728,7 +728,7 @@ Checks if it's an outbound message. #### Defined in -[src/lib/message.ts:201](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L201) +[src/lib/message.ts:201](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L201) ___ @@ -812,7 +812,7 @@ Indicates failure in processing the message #### Defined in -[src/lib/message.ts:222](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L222) +[src/lib/message.ts:222](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L222) ___ @@ -828,7 +828,7 @@ Indicates successfully processed the message #### Defined in -[src/lib/message.ts:215](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L215) +[src/lib/message.ts:215](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L215) ___ @@ -1268,7 +1268,7 @@ Sends the message back to the server/broker. #### Defined in -[src/lib/message.ts:149](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L149) +[src/lib/message.ts:149](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L149) ___ @@ -1284,7 +1284,7 @@ Tells Glee to send the message. #### Defined in -[src/lib/message.ts:208](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L208) +[src/lib/message.ts:208](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L208) ___ @@ -1300,7 +1300,7 @@ Makes the message suitable only for the inbound pipeline. #### Defined in -[src/lib/message.ts:178](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L178) +[src/lib/message.ts:178](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L178) ___ @@ -1351,7 +1351,7 @@ Makes the message suitable only for the outbound pipeline. #### Defined in -[src/lib/message.ts:186](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/message.ts#L186) +[src/lib/message.ts:186](https://github.com/asyncapi/glee/blob/a15e431/src/lib/message.ts#L186) ___ diff --git a/docs/reference/classes/lib_router.default.md b/docs/reference/classes/lib_router.default.md index 78a7a341d..b59e5a601 100644 --- a/docs/reference/classes/lib_router.default.md +++ b/docs/reference/classes/lib_router.default.md @@ -42,7 +42,7 @@ Instantiates a GleeRouter. #### Defined in -[src/lib/router.ts:27](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/router.ts#L27) +[src/lib/router.ts:27](https://github.com/asyncapi/glee/blob/a15e431/src/lib/router.ts#L27) ## Properties @@ -52,7 +52,7 @@ Instantiates a GleeRouter. #### Defined in -[src/lib/router.ts:21](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/router.ts#L21) +[src/lib/router.ts:21](https://github.com/asyncapi/glee/blob/a15e431/src/lib/router.ts#L21) ___ @@ -62,7 +62,7 @@ ___ #### Defined in -[src/lib/router.ts:19](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/router.ts#L19) +[src/lib/router.ts:19](https://github.com/asyncapi/glee/blob/a15e431/src/lib/router.ts#L19) ___ @@ -72,7 +72,7 @@ ___ #### Defined in -[src/lib/router.ts:22](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/router.ts#L22) +[src/lib/router.ts:22](https://github.com/asyncapi/glee/blob/a15e431/src/lib/router.ts#L22) ___ @@ -82,7 +82,7 @@ ___ #### Defined in -[src/lib/router.ts:20](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/router.ts#L20) +[src/lib/router.ts:20](https://github.com/asyncapi/glee/blob/a15e431/src/lib/router.ts#L20) ## Methods @@ -106,7 +106,7 @@ Adds a normalized middleware to a target collection. #### Defined in -[src/lib/router.ts:140](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/router.ts#L140) +[src/lib/router.ts:140](https://github.com/asyncapi/glee/blob/a15e431/src/lib/router.ts#L140) ___ @@ -129,7 +129,7 @@ Adds a normalized middleware to the inbound error middlewares collection. #### Defined in -[src/lib/router.ts:186](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/router.ts#L186) +[src/lib/router.ts:186](https://github.com/asyncapi/glee/blob/a15e431/src/lib/router.ts#L186) ___ @@ -152,7 +152,7 @@ Adds a normalized middleware to the inbound middlewares collection. #### Defined in -[src/lib/router.ts:163](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/router.ts#L163) +[src/lib/router.ts:163](https://github.com/asyncapi/glee/blob/a15e431/src/lib/router.ts#L163) ___ @@ -175,7 +175,7 @@ Adds a normalized middleware to the outbound error middlewares collection. #### Defined in -[src/lib/router.ts:199](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/router.ts#L199) +[src/lib/router.ts:199](https://github.com/asyncapi/glee/blob/a15e431/src/lib/router.ts#L199) ___ @@ -198,7 +198,7 @@ Adds a normalized middleware to the outbound middlewares collection. #### Defined in -[src/lib/router.ts:173](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/router.ts#L173) +[src/lib/router.ts:173](https://github.com/asyncapi/glee/blob/a15e431/src/lib/router.ts#L173) ___ @@ -214,7 +214,7 @@ Returns all the inbound error middlewares. #### Defined in -[src/lib/router.ts:120](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/router.ts#L120) +[src/lib/router.ts:120](https://github.com/asyncapi/glee/blob/a15e431/src/lib/router.ts#L120) ___ @@ -230,7 +230,7 @@ Returns all the inbound middlewares. #### Defined in -[src/lib/router.ts:104](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/router.ts#L104) +[src/lib/router.ts:104](https://github.com/asyncapi/glee/blob/a15e431/src/lib/router.ts#L104) ___ @@ -246,7 +246,7 @@ Returns all the outbound error middlewares. #### Defined in -[src/lib/router.ts:128](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/router.ts#L128) +[src/lib/router.ts:128](https://github.com/asyncapi/glee/blob/a15e431/src/lib/router.ts#L128) ___ @@ -262,7 +262,7 @@ Returns all the outbound middlewares. #### Defined in -[src/lib/router.ts:112](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/router.ts#L112) +[src/lib/router.ts:112](https://github.com/asyncapi/glee/blob/a15e431/src/lib/router.ts#L112) ___ @@ -283,7 +283,7 @@ ___ #### Defined in -[src/lib/router.ts:83](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/router.ts#L83) +[src/lib/router.ts:83](https://github.com/asyncapi/glee/blob/a15e431/src/lib/router.ts#L83) ___ @@ -306,7 +306,7 @@ this function will make use of inbound and outbound middlewares. #### Defined in -[src/lib/router.ts:41](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/router.ts#L41) +[src/lib/router.ts:41](https://github.com/asyncapi/glee/blob/a15e431/src/lib/router.ts#L41) ▸ **use**(`channel`, `...middlewares`): `void` @@ -323,7 +323,7 @@ this function will make use of inbound and outbound middlewares. #### Defined in -[src/lib/router.ts:42](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/router.ts#L42) +[src/lib/router.ts:42](https://github.com/asyncapi/glee/blob/a15e431/src/lib/router.ts#L42) ___ @@ -345,7 +345,7 @@ Use a middleware for outbound messages. #### Defined in -[src/lib/router.ts:65](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/router.ts#L65) +[src/lib/router.ts:65](https://github.com/asyncapi/glee/blob/a15e431/src/lib/router.ts#L65) ▸ **useOutbound**(`channel`, `...middlewares`): `void` @@ -362,4 +362,4 @@ Use a middleware for outbound messages. #### Defined in -[src/lib/router.ts:66](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/router.ts#L66) +[src/lib/router.ts:66](https://github.com/asyncapi/glee/blob/a15e431/src/lib/router.ts#L66) diff --git a/docs/reference/classes/lib_wsHttpAuth.default.md b/docs/reference/classes/lib_wsHttpAuth.default.md index 5b740477f..85ead9605 100644 --- a/docs/reference/classes/lib_wsHttpAuth.default.md +++ b/docs/reference/classes/lib_wsHttpAuth.default.md @@ -72,8 +72,8 @@ Instantiates authentication. | Name | Type | | :------ | :------ | -| `AsyncAPIServer` | `Server` | -| `parsedAsyncAPI` | `AsyncAPIDocument` | +| `AsyncAPIServer` | `ServerInterface` | +| `parsedAsyncAPI` | `AsyncAPIDocumentInterface` | | `serverName` | `string` | | `authConfig?` | `any` | @@ -83,17 +83,17 @@ EventEmitter.constructor #### Defined in -[src/lib/wsHttpAuth.ts:17](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/wsHttpAuth.ts#L17) +[src/lib/wsHttpAuth.ts:17](https://github.com/asyncapi/glee/blob/a15e431/src/lib/wsHttpAuth.ts#L17) ## Properties ### AsyncAPIServer -• `Private` **AsyncAPIServer**: `Server` +• `Private` **AsyncAPIServer**: `ServerInterface` #### Defined in -[src/lib/wsHttpAuth.ts:10](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/wsHttpAuth.ts#L10) +[src/lib/wsHttpAuth.ts:10](https://github.com/asyncapi/glee/blob/a15e431/src/lib/wsHttpAuth.ts#L10) ___ @@ -103,7 +103,7 @@ ___ #### Defined in -[src/lib/wsHttpAuth.ts:12](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/wsHttpAuth.ts#L12) +[src/lib/wsHttpAuth.ts:12](https://github.com/asyncapi/glee/blob/a15e431/src/lib/wsHttpAuth.ts#L12) ___ @@ -113,17 +113,17 @@ ___ #### Defined in -[src/lib/wsHttpAuth.ts:11](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/wsHttpAuth.ts#L11) +[src/lib/wsHttpAuth.ts:11](https://github.com/asyncapi/glee/blob/a15e431/src/lib/wsHttpAuth.ts#L11) ___ ### parsedAsyncAPI -• `Private` **parsedAsyncAPI**: `AsyncAPIDocument` +• `Private` **parsedAsyncAPI**: `AsyncAPIDocumentInterface` #### Defined in -[src/lib/wsHttpAuth.ts:8](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/wsHttpAuth.ts#L8) +[src/lib/wsHttpAuth.ts:8](https://github.com/asyncapi/glee/blob/a15e431/src/lib/wsHttpAuth.ts#L8) ___ @@ -133,7 +133,7 @@ ___ #### Defined in -[src/lib/wsHttpAuth.ts:7](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/wsHttpAuth.ts#L7) +[src/lib/wsHttpAuth.ts:7](https://github.com/asyncapi/glee/blob/a15e431/src/lib/wsHttpAuth.ts#L7) ___ @@ -143,7 +143,7 @@ ___ #### Defined in -[src/lib/wsHttpAuth.ts:9](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/wsHttpAuth.ts#L9) +[src/lib/wsHttpAuth.ts:9](https://github.com/asyncapi/glee/blob/a15e431/src/lib/wsHttpAuth.ts#L9) ___ @@ -254,7 +254,7 @@ ___ #### Defined in -[src/lib/wsHttpAuth.ts:168](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/wsHttpAuth.ts#L168) +[src/lib/wsHttpAuth.ts:168](https://github.com/asyncapi/glee/blob/a15e431/src/lib/wsHttpAuth.ts#L168) ___ @@ -268,7 +268,7 @@ ___ #### Defined in -[src/lib/wsHttpAuth.ts:31](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/wsHttpAuth.ts#L31) +[src/lib/wsHttpAuth.ts:31](https://github.com/asyncapi/glee/blob/a15e431/src/lib/wsHttpAuth.ts#L31) ___ @@ -394,7 +394,7 @@ ___ #### Defined in -[src/lib/wsHttpAuth.ts:71](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/wsHttpAuth.ts#L71) +[src/lib/wsHttpAuth.ts:71](https://github.com/asyncapi/glee/blob/a15e431/src/lib/wsHttpAuth.ts#L71) ___ @@ -414,7 +414,7 @@ ___ #### Defined in -[src/lib/wsHttpAuth.ts:58](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/wsHttpAuth.ts#L58) +[src/lib/wsHttpAuth.ts:58](https://github.com/asyncapi/glee/blob/a15e431/src/lib/wsHttpAuth.ts#L58) ___ @@ -460,7 +460,7 @@ ___ #### Defined in -[src/lib/wsHttpAuth.ts:126](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/wsHttpAuth.ts#L126) +[src/lib/wsHttpAuth.ts:126](https://github.com/asyncapi/glee/blob/a15e431/src/lib/wsHttpAuth.ts#L126) ___ @@ -488,7 +488,7 @@ ___ #### Defined in -[src/lib/wsHttpAuth.ts:113](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/wsHttpAuth.ts#L113) +[src/lib/wsHttpAuth.ts:113](https://github.com/asyncapi/glee/blob/a15e431/src/lib/wsHttpAuth.ts#L113) ___ @@ -799,7 +799,7 @@ ___ #### Defined in -[src/lib/wsHttpAuth.ts:161](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/wsHttpAuth.ts#L161) +[src/lib/wsHttpAuth.ts:161](https://github.com/asyncapi/glee/blob/a15e431/src/lib/wsHttpAuth.ts#L161) ___ @@ -1052,7 +1052,7 @@ ___ #### Defined in -[src/lib/wsHttpAuth.ts:97](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/wsHttpAuth.ts#L97) +[src/lib/wsHttpAuth.ts:97](https://github.com/asyncapi/glee/blob/a15e431/src/lib/wsHttpAuth.ts#L97) ___ diff --git a/docs/reference/interfaces/lib.HttpAuthConfig.md b/docs/reference/interfaces/lib.HttpAuthConfig.md index f352346f0..d21bd26b3 100644 --- a/docs/reference/interfaces/lib.HttpAuthConfig.md +++ b/docs/reference/interfaces/lib.HttpAuthConfig.md @@ -20,7 +20,7 @@ #### Defined in -[src/lib/index.d.ts:35](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L35) +[src/lib/index.d.ts:35](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L35) ___ @@ -30,7 +30,7 @@ ___ #### Defined in -[src/lib/index.d.ts:33](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L33) +[src/lib/index.d.ts:33](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L33) ___ @@ -40,4 +40,4 @@ ___ #### Defined in -[src/lib/index.d.ts:34](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L34) +[src/lib/index.d.ts:34](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L34) diff --git a/docs/reference/interfaces/lib.KafkaAuthConfig.md b/docs/reference/interfaces/lib.KafkaAuthConfig.md index 5261524cc..16e7cb3dd 100644 --- a/docs/reference/interfaces/lib.KafkaAuthConfig.md +++ b/docs/reference/interfaces/lib.KafkaAuthConfig.md @@ -23,7 +23,7 @@ #### Defined in -[src/lib/index.d.ts:54](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L54) +[src/lib/index.d.ts:54](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L54) ___ @@ -33,7 +33,7 @@ ___ #### Defined in -[src/lib/index.d.ts:55](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L55) +[src/lib/index.d.ts:55](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L55) ___ @@ -43,7 +43,7 @@ ___ #### Defined in -[src/lib/index.d.ts:53](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L53) +[src/lib/index.d.ts:53](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L53) ___ @@ -53,7 +53,7 @@ ___ #### Defined in -[src/lib/index.d.ts:58](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L58) +[src/lib/index.d.ts:58](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L58) ___ @@ -63,7 +63,7 @@ ___ #### Defined in -[src/lib/index.d.ts:56](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L56) +[src/lib/index.d.ts:56](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L56) ___ @@ -73,4 +73,4 @@ ___ #### Defined in -[src/lib/index.d.ts:57](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L57) +[src/lib/index.d.ts:57](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L57) diff --git a/docs/reference/interfaces/lib.MqttAuthConfig.md b/docs/reference/interfaces/lib.MqttAuthConfig.md index adc0fb71d..2d7da0803 100644 --- a/docs/reference/interfaces/lib.MqttAuthConfig.md +++ b/docs/reference/interfaces/lib.MqttAuthConfig.md @@ -21,7 +21,7 @@ #### Defined in -[src/lib/index.d.ts:20](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L20) +[src/lib/index.d.ts:20](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L20) ___ @@ -31,7 +31,7 @@ ___ #### Defined in -[src/lib/index.d.ts:23](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L23) +[src/lib/index.d.ts:23](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L23) ___ @@ -41,7 +41,7 @@ ___ #### Defined in -[src/lib/index.d.ts:22](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L22) +[src/lib/index.d.ts:22](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L22) ___ @@ -51,4 +51,4 @@ ___ #### Defined in -[src/lib/index.d.ts:21](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L21) +[src/lib/index.d.ts:21](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L21) diff --git a/docs/reference/interfaces/lib.WsAuthConfig.md b/docs/reference/interfaces/lib.WsAuthConfig.md index f8552b6aa..0302861b7 100644 --- a/docs/reference/interfaces/lib.WsAuthConfig.md +++ b/docs/reference/interfaces/lib.WsAuthConfig.md @@ -20,7 +20,7 @@ #### Defined in -[src/lib/index.d.ts:29](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L29) +[src/lib/index.d.ts:29](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L29) ___ @@ -30,7 +30,7 @@ ___ #### Defined in -[src/lib/index.d.ts:27](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L27) +[src/lib/index.d.ts:27](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L27) ___ @@ -40,4 +40,4 @@ ___ #### Defined in -[src/lib/index.d.ts:28](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L28) +[src/lib/index.d.ts:28](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L28) diff --git a/docs/reference/modules/docs.md b/docs/reference/modules/docs.md index 38985ee7c..cf642919a 100644 --- a/docs/reference/modules/docs.md +++ b/docs/reference/modules/docs.md @@ -20,4 +20,4 @@ #### Defined in -[src/docs.ts:5](https://github.com/asyncapi/glee/blob/c62dfe9/src/docs.ts#L5) +[src/docs.ts:5](https://github.com/asyncapi/glee/blob/a15e431/src/docs.ts#L5) diff --git a/docs/reference/modules/index.md b/docs/reference/modules/index.md index 0133aeef2..70361f99f 100644 --- a/docs/reference/modules/index.md +++ b/docs/reference/modules/index.md @@ -20,4 +20,4 @@ #### Defined in -[src/index.ts:37](https://github.com/asyncapi/glee/blob/c62dfe9/src/index.ts#L37) +[src/index.ts:37](https://github.com/asyncapi/glee/blob/a15e431/src/index.ts#L37) diff --git a/docs/reference/modules/lib.md b/docs/reference/modules/lib.md index 50affba07..a01ffb514 100644 --- a/docs/reference/modules/lib.md +++ b/docs/reference/modules/lib.md @@ -80,7 +80,7 @@ #### Defined in -[src/lib/index.d.ts:11](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L11) +[src/lib/index.d.ts:11](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L11) ___ @@ -101,7 +101,7 @@ ___ #### Defined in -[src/lib/index.d.ts:38](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L38) +[src/lib/index.d.ts:38](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L38) ___ @@ -120,7 +120,7 @@ ___ #### Defined in -[src/lib/index.d.ts:98](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L98) +[src/lib/index.d.ts:98](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L98) ___ @@ -144,7 +144,7 @@ ___ #### Defined in -[src/lib/index.d.ts:153](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L153) +[src/lib/index.d.ts:153](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L153) ___ @@ -164,7 +164,7 @@ ___ #### Defined in -[src/lib/index.d.ts:130](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L130) +[src/lib/index.d.ts:130](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L130) ___ @@ -182,7 +182,7 @@ ___ #### Defined in -[src/lib/index.d.ts:61](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L61) +[src/lib/index.d.ts:61](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L61) ___ @@ -203,7 +203,7 @@ ___ #### Defined in -[src/lib/index.d.ts:105](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L105) +[src/lib/index.d.ts:105](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L105) ___ @@ -227,7 +227,7 @@ ___ #### Defined in -[src/lib/index.d.ts:149](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L149) +[src/lib/index.d.ts:149](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L149) ___ @@ -249,7 +249,7 @@ ___ #### Defined in -[src/lib/index.d.ts:120](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L120) +[src/lib/index.d.ts:120](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L120) ___ @@ -267,7 +267,7 @@ ___ #### Defined in -[src/lib/index.d.ts:114](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L114) +[src/lib/index.d.ts:114](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L114) ___ @@ -277,7 +277,7 @@ ___ #### Defined in -[src/lib/index.d.ts:147](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L147) +[src/lib/index.d.ts:147](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L147) ___ @@ -287,7 +287,7 @@ ___ #### Defined in -[src/lib/index.d.ts:146](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L146) +[src/lib/index.d.ts:146](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L146) ___ @@ -307,7 +307,7 @@ ___ #### Defined in -[src/lib/index.d.ts:138](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L138) +[src/lib/index.d.ts:138](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L138) ___ @@ -329,7 +329,7 @@ ___ #### Defined in -[src/lib/index.d.ts:79](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L79) +[src/lib/index.d.ts:79](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L79) ___ @@ -339,7 +339,7 @@ ___ #### Defined in -[src/lib/index.d.ts:8](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L8) +[src/lib/index.d.ts:8](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L8) ___ @@ -355,7 +355,7 @@ ___ #### Defined in -[src/lib/index.d.ts:94](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L94) +[src/lib/index.d.ts:94](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L94) ___ @@ -371,7 +371,7 @@ ___ #### Defined in -[src/lib/index.d.ts:90](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L90) +[src/lib/index.d.ts:90](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L90) ___ @@ -381,7 +381,7 @@ ___ #### Defined in -[src/lib/index.d.ts:9](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L9) +[src/lib/index.d.ts:9](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L9) ___ @@ -391,7 +391,7 @@ ___ #### Defined in -[src/lib/index.d.ts:7](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L7) +[src/lib/index.d.ts:7](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L7) ___ @@ -413,7 +413,7 @@ ___ #### Defined in -[src/lib/index.d.ts:67](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L67) +[src/lib/index.d.ts:67](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L67) ___ @@ -423,4 +423,4 @@ ___ #### Defined in -[src/lib/index.d.ts:50](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/index.d.ts#L50) +[src/lib/index.d.ts:50](https://github.com/asyncapi/glee/blob/a15e431/src/lib/index.d.ts#L50) diff --git a/docs/reference/modules/lib_adapter.md b/docs/reference/modules/lib_adapter.md index 15e077d14..722d249c7 100644 --- a/docs/reference/modules/lib_adapter.md +++ b/docs/reference/modules/lib_adapter.md @@ -30,7 +30,7 @@ #### Defined in -[src/lib/adapter.ts:17](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L17) +[src/lib/adapter.ts:17](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L17) ___ @@ -48,4 +48,4 @@ ___ #### Defined in -[src/lib/adapter.ts:11](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/adapter.ts#L11) +[src/lib/adapter.ts:11](https://github.com/asyncapi/glee/blob/a15e431/src/lib/adapter.ts#L11) diff --git a/docs/reference/modules/lib_asyncapiFile.md b/docs/reference/modules/lib_asyncapiFile.md index 50674cc57..622f26a90 100644 --- a/docs/reference/modules/lib_asyncapiFile.md +++ b/docs/reference/modules/lib_asyncapiFile.md @@ -6,10 +6,53 @@ ### Functions +- [getChannelAddress](lib_asyncapiFile.md#getchanneladdress) +- [getChannelNames](lib_asyncapiFile.md#getchannelnames) - [getParsedAsyncAPI](lib_asyncapiFile.md#getparsedasyncapi) ## Functions +### getChannelAddress + +▸ **getChannelAddress**(`parsedAsyncAPI`, `channelName`): `string` + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `parsedAsyncAPI` | `AsyncAPIDocumentInterface` | +| `channelName` | `string` | + +#### Returns + +`string` + +#### Defined in + +[src/lib/asyncapiFile.ts:18](https://github.com/asyncapi/glee/blob/a15e431/src/lib/asyncapiFile.ts#L18) + +___ + +### getChannelNames + +▸ **getChannelNames**(`parsedAsyncAPI`): `string`[] + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `parsedAsyncAPI` | `AsyncAPIDocumentInterface` | + +#### Returns + +`string`[] + +#### Defined in + +[src/lib/asyncapiFile.ts:14](https://github.com/asyncapi/glee/blob/a15e431/src/lib/asyncapiFile.ts#L14) + +___ + ### getParsedAsyncAPI ▸ **getParsedAsyncAPI**(): `Promise`<`AsyncAPIDocument`\> @@ -20,4 +63,4 @@ #### Defined in -[src/lib/asyncapiFile.ts:5](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/asyncapiFile.ts#L5) +[src/lib/asyncapiFile.ts:5](https://github.com/asyncapi/glee/blob/a15e431/src/lib/asyncapiFile.ts#L5) diff --git a/docs/reference/modules/lib_cluster.md b/docs/reference/modules/lib_cluster.md index 5f9b909c3..fa85c90b8 100644 --- a/docs/reference/modules/lib_cluster.md +++ b/docs/reference/modules/lib_cluster.md @@ -27,4 +27,4 @@ #### Defined in -[src/lib/cluster.ts:9](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/cluster.ts#L9) +[src/lib/cluster.ts:9](https://github.com/asyncapi/glee/blob/a15e431/src/lib/cluster.ts#L9) diff --git a/docs/reference/modules/lib_compiler.md b/docs/reference/modules/lib_compiler.md index 53590dfa0..bf19883ed 100644 --- a/docs/reference/modules/lib_compiler.md +++ b/docs/reference/modules/lib_compiler.md @@ -26,4 +26,4 @@ #### Defined in -[src/lib/compiler.ts:23](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/compiler.ts#L23) +[src/lib/compiler.ts:23](https://github.com/asyncapi/glee/blob/a15e431/src/lib/compiler.ts#L23) diff --git a/docs/reference/modules/lib_configs.md b/docs/reference/modules/lib_configs.md index 6235d239a..836010099 100644 --- a/docs/reference/modules/lib_configs.md +++ b/docs/reference/modules/lib_configs.md @@ -29,7 +29,7 @@ #### Defined in -[src/lib/configs.ts:112](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/configs.ts#L112) +[src/lib/configs.ts:112](https://github.com/asyncapi/glee/blob/a15e431/src/lib/configs.ts#L112) ___ @@ -43,7 +43,7 @@ ___ #### Defined in -[src/lib/configs.ts:130](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/configs.ts#L130) +[src/lib/configs.ts:130](https://github.com/asyncapi/glee/blob/a15e431/src/lib/configs.ts#L130) ___ @@ -63,7 +63,7 @@ ___ #### Defined in -[src/lib/configs.ts:23](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/configs.ts#L23) +[src/lib/configs.ts:23](https://github.com/asyncapi/glee/blob/a15e431/src/lib/configs.ts#L23) ___ @@ -79,4 +79,4 @@ Loads the configuration from glee project. #### Defined in -[src/lib/configs.ts:81](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/configs.ts#L81) +[src/lib/configs.ts:81](https://github.com/asyncapi/glee/blob/a15e431/src/lib/configs.ts#L81) diff --git a/docs/reference/modules/lib_docs.md b/docs/reference/modules/lib_docs.md index 6bde1a9c6..825d9e58b 100644 --- a/docs/reference/modules/lib_docs.md +++ b/docs/reference/modules/lib_docs.md @@ -28,4 +28,4 @@ #### Defined in -[src/lib/docs.ts:5](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/docs.ts#L5) +[src/lib/docs.ts:5](https://github.com/asyncapi/glee/blob/a15e431/src/lib/docs.ts#L5) diff --git a/docs/reference/modules/lib_experimentalFlags.md b/docs/reference/modules/lib_experimentalFlags.md index 43a6f9434..dceca0770 100644 --- a/docs/reference/modules/lib_experimentalFlags.md +++ b/docs/reference/modules/lib_experimentalFlags.md @@ -16,4 +16,4 @@ #### Defined in -[src/lib/experimentalFlags.ts:3](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/experimentalFlags.ts#L3) +[src/lib/experimentalFlags.ts:3](https://github.com/asyncapi/glee/blob/a15e431/src/lib/experimentalFlags.ts#L3) diff --git a/docs/reference/modules/lib_functions.md b/docs/reference/modules/lib_functions.md index bab501805..554b8c45e 100644 --- a/docs/reference/modules/lib_functions.md +++ b/docs/reference/modules/lib_functions.md @@ -21,7 +21,7 @@ #### Defined in -[src/lib/functions.ts:53](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/functions.ts#L53) +[src/lib/functions.ts:53](https://github.com/asyncapi/glee/blob/a15e431/src/lib/functions.ts#L53) ## Functions @@ -41,7 +41,7 @@ #### Defined in -[src/lib/functions.ts:55](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/functions.ts#L55) +[src/lib/functions.ts:55](https://github.com/asyncapi/glee/blob/a15e431/src/lib/functions.ts#L55) ___ @@ -64,4 +64,4 @@ ___ #### Defined in -[src/lib/functions.ts:84](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/functions.ts#L84) +[src/lib/functions.ts:84](https://github.com/asyncapi/glee/blob/a15e431/src/lib/functions.ts#L84) diff --git a/docs/reference/modules/lib_lifecycleEvents.md b/docs/reference/modules/lib_lifecycleEvents.md index 0569b82e8..9c1874867 100644 --- a/docs/reference/modules/lib_lifecycleEvents.md +++ b/docs/reference/modules/lib_lifecycleEvents.md @@ -21,7 +21,7 @@ #### Defined in -[src/lib/lifecycleEvents.ts:18](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/lifecycleEvents.ts#L18) +[src/lib/lifecycleEvents.ts:18](https://github.com/asyncapi/glee/blob/a15e431/src/lib/lifecycleEvents.ts#L18) ## Functions @@ -41,7 +41,7 @@ #### Defined in -[src/lib/lifecycleEvents.ts:20](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/lifecycleEvents.ts#L20) +[src/lib/lifecycleEvents.ts:20](https://github.com/asyncapi/glee/blob/a15e431/src/lib/lifecycleEvents.ts#L20) ___ @@ -62,4 +62,4 @@ ___ #### Defined in -[src/lib/lifecycleEvents.ts:60](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/lifecycleEvents.ts#L60) +[src/lib/lifecycleEvents.ts:60](https://github.com/asyncapi/glee/blob/a15e431/src/lib/lifecycleEvents.ts#L60) diff --git a/docs/reference/modules/lib_logger.md b/docs/reference/modules/lib_logger.md index 28b311b87..633a4123a 100644 --- a/docs/reference/modules/lib_logger.md +++ b/docs/reference/modules/lib_logger.md @@ -89,7 +89,7 @@ ___ #### Defined in -[src/lib/logger.ts:43](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/logger.ts#L43) +[src/lib/logger.ts:43](https://github.com/asyncapi/glee/blob/a15e431/src/lib/logger.ts#L43) ___ @@ -110,7 +110,7 @@ ___ #### Defined in -[src/lib/logger.ts:206](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/logger.ts#L206) +[src/lib/logger.ts:206](https://github.com/asyncapi/glee/blob/a15e431/src/lib/logger.ts#L206) ___ @@ -131,7 +131,7 @@ ___ #### Defined in -[src/lib/logger.ts:195](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/logger.ts#L195) +[src/lib/logger.ts:195](https://github.com/asyncapi/glee/blob/a15e431/src/lib/logger.ts#L195) ___ @@ -151,7 +151,7 @@ ___ #### Defined in -[src/lib/logger.ts:170](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/logger.ts#L170) +[src/lib/logger.ts:170](https://github.com/asyncapi/glee/blob/a15e431/src/lib/logger.ts#L170) ___ @@ -172,7 +172,7 @@ ___ #### Defined in -[src/lib/logger.ts:139](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/logger.ts#L139) +[src/lib/logger.ts:139](https://github.com/asyncapi/glee/blob/a15e431/src/lib/logger.ts#L139) ___ @@ -194,7 +194,7 @@ ___ #### Defined in -[src/lib/logger.ts:158](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/logger.ts#L158) +[src/lib/logger.ts:158](https://github.com/asyncapi/glee/blob/a15e431/src/lib/logger.ts#L158) ___ @@ -216,7 +216,7 @@ ___ #### Defined in -[src/lib/logger.ts:116](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/logger.ts#L116) +[src/lib/logger.ts:116](https://github.com/asyncapi/glee/blob/a15e431/src/lib/logger.ts#L116) ___ @@ -236,7 +236,7 @@ ___ #### Defined in -[src/lib/logger.ts:180](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/logger.ts#L180) +[src/lib/logger.ts:180](https://github.com/asyncapi/glee/blob/a15e431/src/lib/logger.ts#L180) ___ @@ -260,7 +260,7 @@ ___ #### Defined in -[src/lib/logger.ts:232](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/logger.ts#L232) +[src/lib/logger.ts:232](https://github.com/asyncapi/glee/blob/a15e431/src/lib/logger.ts#L232) ___ @@ -280,7 +280,7 @@ ___ #### Defined in -[src/lib/logger.ts:228](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/logger.ts#L228) +[src/lib/logger.ts:228](https://github.com/asyncapi/glee/blob/a15e431/src/lib/logger.ts#L228) ___ @@ -301,7 +301,7 @@ ___ #### Defined in -[src/lib/logger.ts:148](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/logger.ts#L148) +[src/lib/logger.ts:148](https://github.com/asyncapi/glee/blob/a15e431/src/lib/logger.ts#L148) ___ @@ -321,4 +321,4 @@ ___ #### Defined in -[src/lib/logger.ts:49](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/logger.ts#L49) +[src/lib/logger.ts:49](https://github.com/asyncapi/glee/blob/a15e431/src/lib/logger.ts#L49) diff --git a/docs/reference/modules/lib_router.md b/docs/reference/modules/lib_router.md index 22ada296b..f1dea8cef 100644 --- a/docs/reference/modules/lib_router.md +++ b/docs/reference/modules/lib_router.md @@ -30,7 +30,7 @@ #### Defined in -[src/lib/router.ts:8](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/router.ts#L8) +[src/lib/router.ts:8](https://github.com/asyncapi/glee/blob/a15e431/src/lib/router.ts#L8) ___ @@ -47,7 +47,7 @@ ___ #### Defined in -[src/lib/router.ts:3](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/router.ts#L3) +[src/lib/router.ts:3](https://github.com/asyncapi/glee/blob/a15e431/src/lib/router.ts#L3) ___ @@ -57,7 +57,7 @@ ___ #### Defined in -[src/lib/router.ts:14](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/router.ts#L14) +[src/lib/router.ts:14](https://github.com/asyncapi/glee/blob/a15e431/src/lib/router.ts#L14) ___ @@ -67,4 +67,4 @@ ___ #### Defined in -[src/lib/router.ts:13](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/router.ts#L13) +[src/lib/router.ts:13](https://github.com/asyncapi/glee/blob/a15e431/src/lib/router.ts#L13) diff --git a/docs/reference/modules/lib_servers.md b/docs/reference/modules/lib_servers.md index 6adc738d9..ed8dc0610 100644 --- a/docs/reference/modules/lib_servers.md +++ b/docs/reference/modules/lib_servers.md @@ -20,4 +20,4 @@ #### Defined in -[src/lib/servers.ts:3](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/servers.ts#L3) +[src/lib/servers.ts:3](https://github.com/asyncapi/glee/blob/a15e431/src/lib/servers.ts#L3) diff --git a/docs/reference/modules/lib_userAuth.md b/docs/reference/modules/lib_userAuth.md index 863c43213..858b5903e 100644 --- a/docs/reference/modules/lib_userAuth.md +++ b/docs/reference/modules/lib_userAuth.md @@ -22,7 +22,7 @@ #### Defined in -[src/lib/userAuth.ts:13](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/userAuth.ts#L13) +[src/lib/userAuth.ts:13](https://github.com/asyncapi/glee/blob/a15e431/src/lib/userAuth.ts#L13) ## Functions @@ -42,7 +42,7 @@ #### Defined in -[src/lib/userAuth.ts:76](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/userAuth.ts#L76) +[src/lib/userAuth.ts:76](https://github.com/asyncapi/glee/blob/a15e431/src/lib/userAuth.ts#L76) ___ @@ -62,7 +62,7 @@ ___ #### Defined in -[src/lib/userAuth.ts:15](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/userAuth.ts#L15) +[src/lib/userAuth.ts:15](https://github.com/asyncapi/glee/blob/a15e431/src/lib/userAuth.ts#L15) ___ @@ -82,4 +82,4 @@ ___ #### Defined in -[src/lib/userAuth.ts:47](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/userAuth.ts#L47) +[src/lib/userAuth.ts:47](https://github.com/asyncapi/glee/blob/a15e431/src/lib/userAuth.ts#L47) diff --git a/docs/reference/modules/lib_util.md b/docs/reference/modules/lib_util.md index e12516446..a47afca13 100644 --- a/docs/reference/modules/lib_util.md +++ b/docs/reference/modules/lib_util.md @@ -33,7 +33,7 @@ #### Defined in -[src/lib/util.ts:118](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/util.ts#L118) +[src/lib/util.ts:118](https://github.com/asyncapi/glee/blob/a15e431/src/lib/util.ts#L118) ___ @@ -55,7 +55,7 @@ Duplicates a GleeMessage. #### Defined in -[src/lib/util.ts:52](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/util.ts#L52) +[src/lib/util.ts:52](https://github.com/asyncapi/glee/blob/a15e431/src/lib/util.ts#L52) ___ @@ -78,7 +78,7 @@ Determines if a path matches a channel, and returns the matching params and its #### Defined in -[src/lib/util.ts:22](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/util.ts#L22) +[src/lib/util.ts:22](https://github.com/asyncapi/glee/blob/a15e431/src/lib/util.ts#L22) ___ @@ -99,7 +99,7 @@ ___ #### Defined in -[src/lib/util.ts:122](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/util.ts#L122) +[src/lib/util.ts:122](https://github.com/asyncapi/glee/blob/a15e431/src/lib/util.ts#L122) ___ @@ -111,7 +111,7 @@ ___ | Name | Type | | :------ | :------ | -| `parsedAsyncAPI` | `AsyncAPIDocument` | +| `parsedAsyncAPI` | `AsyncAPIDocumentInterface` | | `serverName` | `string` | #### Returns @@ -120,7 +120,7 @@ ___ #### Defined in -[src/lib/util.ts:137](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/util.ts#L137) +[src/lib/util.ts:137](https://github.com/asyncapi/glee/blob/a15e431/src/lib/util.ts#L137) ___ @@ -143,7 +143,7 @@ Determines if a path matches a channel. #### Defined in -[src/lib/util.ts:81](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/util.ts#L81) +[src/lib/util.ts:81](https://github.com/asyncapi/glee/blob/a15e431/src/lib/util.ts#L81) ___ @@ -163,7 +163,7 @@ ___ #### Defined in -[src/lib/util.ts:148](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/util.ts#L148) +[src/lib/util.ts:148](https://github.com/asyncapi/glee/blob/a15e431/src/lib/util.ts#L148) ___ @@ -188,4 +188,4 @@ Object #### Defined in -[src/lib/util.ts:93](https://github.com/asyncapi/glee/blob/c62dfe9/src/lib/util.ts#L93) +[src/lib/util.ts:93](https://github.com/asyncapi/glee/blob/a15e431/src/lib/util.ts#L93) diff --git a/docs/reference/modules/middlewares.md b/docs/reference/modules/middlewares.md index d564ea42f..48f3d0fe1 100644 --- a/docs/reference/modules/middlewares.md +++ b/docs/reference/modules/middlewares.md @@ -34,7 +34,7 @@ #### Defined in -[src/middlewares/index.d.ts:7](https://github.com/asyncapi/glee/blob/c62dfe9/src/middlewares/index.d.ts#L7) +[src/middlewares/index.d.ts:7](https://github.com/asyncapi/glee/blob/a15e431/src/middlewares/index.d.ts#L7) ___ @@ -59,7 +59,7 @@ ___ #### Defined in -[src/middlewares/index.d.ts:3](https://github.com/asyncapi/glee/blob/c62dfe9/src/middlewares/index.d.ts#L3) +[src/middlewares/index.d.ts:3](https://github.com/asyncapi/glee/blob/a15e431/src/middlewares/index.d.ts#L3) ___ @@ -84,4 +84,4 @@ ___ #### Defined in -[src/middlewares/index.d.ts:12](https://github.com/asyncapi/glee/blob/c62dfe9/src/middlewares/index.d.ts#L12) +[src/middlewares/index.d.ts:12](https://github.com/asyncapi/glee/blob/a15e431/src/middlewares/index.d.ts#L12) diff --git a/docs/reference/modules/middlewares_buffer2string.md b/docs/reference/modules/middlewares_buffer2string.md index b60580591..f27d56ebd 100644 --- a/docs/reference/modules/middlewares_buffer2string.md +++ b/docs/reference/modules/middlewares_buffer2string.md @@ -27,4 +27,4 @@ #### Defined in -[src/middlewares/buffer2string.ts:4](https://github.com/asyncapi/glee/blob/c62dfe9/src/middlewares/buffer2string.ts#L4) +[src/middlewares/buffer2string.ts:4](https://github.com/asyncapi/glee/blob/a15e431/src/middlewares/buffer2string.ts#L4) diff --git a/docs/reference/modules/middlewares_errorLogger.md b/docs/reference/modules/middlewares_errorLogger.md index 19c7fe139..5f2885cea 100644 --- a/docs/reference/modules/middlewares_errorLogger.md +++ b/docs/reference/modules/middlewares_errorLogger.md @@ -28,4 +28,4 @@ #### Defined in -[src/middlewares/errorLogger.ts:6](https://github.com/asyncapi/glee/blob/c62dfe9/src/middlewares/errorLogger.ts#L6) +[src/middlewares/errorLogger.ts:6](https://github.com/asyncapi/glee/blob/a15e431/src/middlewares/errorLogger.ts#L6) diff --git a/docs/reference/modules/middlewares_existsInAsyncAPI.md b/docs/reference/modules/middlewares_existsInAsyncAPI.md index 91ffca157..be972631a 100644 --- a/docs/reference/modules/middlewares_existsInAsyncAPI.md +++ b/docs/reference/modules/middlewares_existsInAsyncAPI.md @@ -18,7 +18,7 @@ | Name | Type | | :------ | :------ | -| `asyncapi` | `AsyncAPIDocument` | +| `asyncapi` | `AsyncAPIDocumentInterface` | #### Returns @@ -39,4 +39,4 @@ #### Defined in -[src/middlewares/existsInAsyncAPI.ts:5](https://github.com/asyncapi/glee/blob/c62dfe9/src/middlewares/existsInAsyncAPI.ts#L5) +[src/middlewares/existsInAsyncAPI.ts:5](https://github.com/asyncapi/glee/blob/a15e431/src/middlewares/existsInAsyncAPI.ts#L5) diff --git a/docs/reference/modules/middlewares_json2string.md b/docs/reference/modules/middlewares_json2string.md index ebd52c3e1..2c8086ec8 100644 --- a/docs/reference/modules/middlewares_json2string.md +++ b/docs/reference/modules/middlewares_json2string.md @@ -27,4 +27,4 @@ #### Defined in -[src/middlewares/json2string.ts:4](https://github.com/asyncapi/glee/blob/c62dfe9/src/middlewares/json2string.ts#L4) +[src/middlewares/json2string.ts:4](https://github.com/asyncapi/glee/blob/a15e431/src/middlewares/json2string.ts#L4) diff --git a/docs/reference/modules/middlewares_logger.md b/docs/reference/modules/middlewares_logger.md index 597de6772..84efef439 100644 --- a/docs/reference/modules/middlewares_logger.md +++ b/docs/reference/modules/middlewares_logger.md @@ -27,4 +27,4 @@ #### Defined in -[src/middlewares/logger.ts:5](https://github.com/asyncapi/glee/blob/c62dfe9/src/middlewares/logger.ts#L5) +[src/middlewares/logger.ts:5](https://github.com/asyncapi/glee/blob/a15e431/src/middlewares/logger.ts#L5) diff --git a/docs/reference/modules/middlewares_string2json.md b/docs/reference/modules/middlewares_string2json.md index 2174589d5..50e9f5e54 100644 --- a/docs/reference/modules/middlewares_string2json.md +++ b/docs/reference/modules/middlewares_string2json.md @@ -27,4 +27,4 @@ #### Defined in -[src/middlewares/string2json.ts:4](https://github.com/asyncapi/glee/blob/c62dfe9/src/middlewares/string2json.ts#L4) +[src/middlewares/string2json.ts:4](https://github.com/asyncapi/glee/blob/a15e431/src/middlewares/string2json.ts#L4) diff --git a/docs/reference/modules/middlewares_validate.md b/docs/reference/modules/middlewares_validate.md index 63465a089..4df779617 100644 --- a/docs/reference/modules/middlewares_validate.md +++ b/docs/reference/modules/middlewares_validate.md @@ -39,4 +39,4 @@ #### Defined in -[src/middlewares/validate.ts:7](https://github.com/asyncapi/glee/blob/c62dfe9/src/middlewares/validate.ts#L7) +[src/middlewares/validate.ts:7](https://github.com/asyncapi/glee/blob/a15e431/src/middlewares/validate.ts#L7) diff --git a/docs/reference/modules/middlewares_validateConnection.md b/docs/reference/modules/middlewares_validateConnection.md index 2f90c3128..c03a599c6 100644 --- a/docs/reference/modules/middlewares_validateConnection.md +++ b/docs/reference/modules/middlewares_validateConnection.md @@ -27,4 +27,4 @@ #### Defined in -[src/middlewares/validateConnection.ts:4](https://github.com/asyncapi/glee/blob/c62dfe9/src/middlewares/validateConnection.ts#L4) +[src/middlewares/validateConnection.ts:4](https://github.com/asyncapi/glee/blob/a15e431/src/middlewares/validateConnection.ts#L4) diff --git a/docs/reference/modules/registerAdapters.md b/docs/reference/modules/registerAdapters.md index 6913ef229..e7b77a9dc 100644 --- a/docs/reference/modules/registerAdapters.md +++ b/docs/reference/modules/registerAdapters.md @@ -19,7 +19,7 @@ | Name | Type | | :------ | :------ | | `app` | [`default`](../classes/lib_glee.default.md) | -| `parsedAsyncAPI` | `AsyncAPIDocument` | +| `parsedAsyncAPI` | `AsyncAPIDocumentInterface` | | `config` | [`GleeConfig`](lib.md#gleeconfig) | #### Returns @@ -28,4 +28,4 @@ #### Defined in -[src/registerAdapters.ts:14](https://github.com/asyncapi/glee/blob/c62dfe9/src/registerAdapters.ts#L14) +[src/registerAdapters.ts:14](https://github.com/asyncapi/glee/blob/a15e431/src/registerAdapters.ts#L14) diff --git a/package-lock.json b/package-lock.json index 7eb0ce63a..034e93fb5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@asyncapi/glee", - "version": "0.26.10", + "version": "0.27.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@asyncapi/glee", - "version": "0.26.10", + "version": "0.27.0", "license": "Apache-2.0", "dependencies": { "@asyncapi/generator": "^1.13.1", diff --git a/package.json b/package.json index a2aad6741..652a0a6b6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@asyncapi/glee", - "version": "0.26.11", + "version": "0.27.0", "description": "The AsyncAPI framework", "exports": "./dist/moduleIndex.js", "type": "module",