mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-29 02:41:07 +00:00
refactor: expose dm policy test seams
This commit is contained in:
@@ -1 +1,2 @@
|
||||
export { bluebubblesPlugin } from "./src/channel.js";
|
||||
export { isAllowedBlueBubblesSender } from "./src/targets.js";
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
export { mattermostPlugin } from "./src/channel.js";
|
||||
export { isMattermostSenderAllowed } from "./src/mattermost/monitor-auth.js";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { isAllowedBlueBubblesSender } from "../../extensions/bluebubbles/src/targets.js";
|
||||
import { isMattermostSenderAllowed } from "../../extensions/mattermost/src/mattermost/monitor-auth.js";
|
||||
import { isSignalSenderAllowed, type SignalSender } from "../../extensions/signal/src/identity.js";
|
||||
import { isAllowedBlueBubblesSender } from "../../extensions/bluebubbles/api.js";
|
||||
import { isMattermostSenderAllowed } from "../../extensions/mattermost/api.js";
|
||||
import { isSignalSenderAllowed, type SignalSender } from "../../extensions/signal/api.js";
|
||||
import { DM_GROUP_ACCESS_REASON, resolveDmGroupAccessWithLists } from "./dm-policy-shared.js";
|
||||
|
||||
type ChannelSmokeCase = {
|
||||
|
||||
Reference in New Issue
Block a user