@clairejs/server 3.17.8 → 3.17.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getObjectMetadata } from "@clairejs/core";
|
|
2
2
|
import { Transactionable } from "../../common/Transactionable";
|
|
3
3
|
const isEndpoint = (metadata) => {
|
|
4
|
-
return !!metadata.method
|
|
4
|
+
return !!metadata.method;
|
|
5
5
|
};
|
|
6
6
|
export class AbstractHttpController extends Transactionable {
|
|
7
7
|
databaseAdapter;
|
|
@@ -288,7 +288,8 @@ export class AbstractServerSocketManager {
|
|
|
288
288
|
...getChannelNameMetadata,
|
|
289
289
|
id: `${SocketMethod.MESSAGE}:${controller.getChannelName()}`,
|
|
290
290
|
readOnly: false,
|
|
291
|
-
controller
|
|
291
|
+
controller,
|
|
292
|
+
apiGroup: controllerMetadata?.permissionGroup,
|
|
292
293
|
name: controller.onMessage.name,
|
|
293
294
|
method: SocketMethod.MESSAGE,
|
|
294
295
|
mount: controller.getChannelName(),
|