mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:00:43 +00:00
refactor: trim startup channel type exports
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { type EnvMap, resolveAutoNodeExtraCaCerts } from "./node-extra-ca-certs.js";
|
||||
|
||||
export type NodeStartupTlsEnvironment = {
|
||||
type NodeStartupTlsEnvironment = {
|
||||
NODE_EXTRA_CA_CERTS?: string;
|
||||
NODE_USE_SYSTEM_CA?: string;
|
||||
};
|
||||
|
||||
@@ -27,7 +27,7 @@ type ChannelPresenceOptions = {
|
||||
|
||||
export type ChannelPresenceSignalSource = "config" | "env" | "persisted-auth";
|
||||
|
||||
export type ChannelPresenceSignal = {
|
||||
type ChannelPresenceSignal = {
|
||||
channelId: string;
|
||||
source: ChannelPresenceSignalSource;
|
||||
};
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
type AsyncTick = () => Promise<void> | void;
|
||||
|
||||
export type TypingKeepaliveLoop = {
|
||||
type TypingKeepaliveLoop = {
|
||||
tick: () => Promise<void>;
|
||||
start: () => void;
|
||||
stop: () => void;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export type TypingStartGuard = {
|
||||
type TypingStartGuard = {
|
||||
run: (start: () => Promise<void> | void) => Promise<"started" | "skipped" | "failed" | "tripped">;
|
||||
reset: () => void;
|
||||
isTripped: () => boolean;
|
||||
|
||||
Reference in New Issue
Block a user