mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-02 10:20:23 +00:00
chore: fix code formatting
This commit is contained in:
@@ -49,7 +49,11 @@ export type PluginRuntime = {
|
||||
channel: {
|
||||
text: {
|
||||
chunkMarkdownText(text: string, limit: number): string[];
|
||||
resolveTextChunkLimit(cfg: OpenClawConfig, channel: string, accountId?: string): number;
|
||||
resolveTextChunkLimit(
|
||||
cfg: OpenClawConfig,
|
||||
channel: string,
|
||||
accountId?: string,
|
||||
): number;
|
||||
hasControlCommand(text: string, cfg: OpenClawConfig): boolean;
|
||||
};
|
||||
reply: {
|
||||
@@ -76,7 +80,11 @@ export type PluginRuntime = {
|
||||
}): { sessionKey: string; accountId: string };
|
||||
};
|
||||
pairing: {
|
||||
buildPairingReply(params: { channel: string; idLine: string; code: string }): string;
|
||||
buildPairingReply(params: {
|
||||
channel: string;
|
||||
idLine: string;
|
||||
code: string;
|
||||
}): string;
|
||||
readAllowFromStore(channel: string): Promise<string[]>;
|
||||
upsertPairingRequest(params: {
|
||||
channel: string;
|
||||
@@ -85,7 +93,9 @@ export type PluginRuntime = {
|
||||
}): Promise<{ code: string; created: boolean }>;
|
||||
};
|
||||
media: {
|
||||
fetchRemoteMedia(params: { url: string }): Promise<{ buffer: Buffer; contentType?: string }>;
|
||||
fetchRemoteMedia(params: {
|
||||
url: string;
|
||||
}): Promise<{ buffer: Buffer; contentType?: string }>;
|
||||
saveMediaBuffer(
|
||||
buffer: Uint8Array,
|
||||
contentType: string | undefined,
|
||||
|
||||
Reference in New Issue
Block a user