mirror of
https://github.com/moltbot/moltbot.git
synced 2026-03-07 22:44:16 +00:00
fix: align gateway and zalouser typing imports
This commit is contained in:
@@ -64,7 +64,10 @@ const activeListeners = new Map<string, ActiveZaloListener>();
|
||||
const groupContextCache = new Map<string, { value: ZaloGroupContext; expiresAt: number }>();
|
||||
|
||||
type ApiTypingCapability = {
|
||||
sendTypingEvent: (threadId: string, type?: ThreadType) => Promise<unknown>;
|
||||
sendTypingEvent: (
|
||||
threadId: string,
|
||||
type?: (typeof ThreadType)[keyof typeof ThreadType],
|
||||
) => Promise<unknown>;
|
||||
};
|
||||
|
||||
type StoredZaloCredentials = {
|
||||
|
||||
@@ -17,7 +17,8 @@ import {
|
||||
import { setCommandLaneConcurrency, getTotalQueueSize } from "../process/command-queue.js";
|
||||
import { CommandLane } from "../process/lanes.js";
|
||||
import type { ChannelHealthMonitor } from "./channel-health-monitor.js";
|
||||
import type { ChannelKind, GatewayReloadPlan } from "./config-reload.js";
|
||||
import type { ChannelKind } from "./config-reload-plan.js";
|
||||
import type { GatewayReloadPlan } from "./config-reload.js";
|
||||
import { resolveHooksConfig } from "./hooks.js";
|
||||
import { startBrowserControlServerIfEnabled } from "./server-browser.js";
|
||||
import { buildGatewayCronService, type GatewayCronState } from "./server-cron.js";
|
||||
|
||||
Reference in New Issue
Block a user