fix: align gateway and zalouser typing imports

This commit is contained in:
Peter Steinberger
2026-03-02 22:29:18 +00:00
parent 11adaa15a8
commit 5d3032b293
2 changed files with 6 additions and 2 deletions

View File

@@ -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 = {

View File

@@ -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";