mirror of https://github.com/openclaw/openclaw.git
refactor: expose dm policy test seams
This commit is contained in:
parent
a79ef1591a
commit
4d630b7e92
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue