mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:30:42 +00:00
refactor: trim auto reply type exports
This commit is contained in:
@@ -13,7 +13,7 @@ import {
|
||||
normalizeOptionalString,
|
||||
} from "../shared/string-coerce.js";
|
||||
|
||||
export type AgentEnvelopeParams = {
|
||||
type AgentEnvelopeParams = {
|
||||
channel: string;
|
||||
from?: string;
|
||||
timestamp?: number | Date;
|
||||
|
||||
@@ -2,7 +2,7 @@ import { normalizeOptionalLowercaseString } from "../shared/string-coerce.js";
|
||||
import { normalizeCommandBody } from "./commands-registry.js";
|
||||
import { stripInboundMetadata } from "./reply/strip-inbound-meta.js";
|
||||
|
||||
export type SendPolicyOverride = "allow" | "deny";
|
||||
type SendPolicyOverride = "allow" | "deny";
|
||||
|
||||
function normalizeSendPolicyOverride(raw?: string | null): SendPolicyOverride | undefined {
|
||||
const value = normalizeOptionalLowercaseString(raw);
|
||||
|
||||
Reference in New Issue
Block a user