mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-10 09:33:58 +00:00
14 lines
523 B
TypeScript
14 lines
523 B
TypeScript
// Msteams plugin module implements runtime behavior.
|
|
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
|
|
import type { PluginRuntime } from "openclaw/plugin-sdk/runtime-store";
|
|
|
|
const {
|
|
setRuntime: setMSTeamsRuntime,
|
|
getRuntime: getMSTeamsRuntime,
|
|
tryGetRuntime: getOptionalMSTeamsRuntime,
|
|
} = createPluginRuntimeStore<PluginRuntime>({
|
|
pluginId: "msteams",
|
|
errorMessage: "MSTeams runtime not initialized",
|
|
});
|
|
export { getMSTeamsRuntime, getOptionalMSTeamsRuntime, setMSTeamsRuntime };
|