mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 19:20:22 +00:00
22 lines
653 B
TypeScript
22 lines
653 B
TypeScript
import { resolveRelativeBundledPluginPublicModuleId } from "../../../src/test-utils/bundled-plugin-public-surface.js";
|
|
|
|
type IMessageContractSurface = typeof import("@openclaw/imessage/contract-api.js");
|
|
|
|
const {
|
|
DEFAULT_IMESSAGE_ATTACHMENT_ROOTS,
|
|
resolveIMessageAttachmentRoots,
|
|
resolveIMessageRemoteAttachmentRoots,
|
|
} = (await import(
|
|
resolveRelativeBundledPluginPublicModuleId({
|
|
fromModuleUrl: import.meta.url,
|
|
pluginId: "imessage",
|
|
artifactBasename: "contract-api.js",
|
|
})
|
|
)) as IMessageContractSurface;
|
|
|
|
export {
|
|
DEFAULT_IMESSAGE_ATTACHMENT_ROOTS,
|
|
resolveIMessageAttachmentRoots,
|
|
resolveIMessageRemoteAttachmentRoots,
|
|
};
|