mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-01 04:11:03 +00:00
fix(mattermost): add dmChannelRetry to MattermostAccountConfig type
Add missing dmChannelRetry field to TypeScript type definition in types.ts to match the Zod schema in config-schema.ts. Fixes type checking error when accessing account.config.dmChannelRetry.
This commit is contained in:
committed by
Muhammed Mukhthar CM
parent
4e6080d476
commit
b63c1379d1
@@ -90,6 +90,17 @@ export type MattermostAccountConfig = {
|
||||
*/
|
||||
allowedSourceIps?: string[];
|
||||
};
|
||||
/** Retry configuration for DM channel creation */
|
||||
dmChannelRetry?: {
|
||||
/** Maximum number of retry attempts (default: 3) */
|
||||
maxRetries?: number;
|
||||
/** Initial delay in milliseconds before first retry (default: 1000) */
|
||||
initialDelayMs?: number;
|
||||
/** Maximum delay in milliseconds between retries (default: 10000) */
|
||||
maxDelayMs?: number;
|
||||
/** Timeout for each individual request in milliseconds (default: 30000) */
|
||||
timeoutMs?: number;
|
||||
};
|
||||
};
|
||||
|
||||
export type MattermostConfig = {
|
||||
|
||||
Reference in New Issue
Block a user