[fix] white config

This commit is contained in:
zhhe committed 2026-11-16 14:43:41 +08:00
1 parent 9607c6c3ce
commit d26e7e5f09
6 files changed
+71 -64

No files matched your search

+1 -5
View File
@@ -9,9 +9,5 @@ export interface MailGatewayApi {
testConnection(patch: MailboxPatch): Promise<RemoteResult<ConnectionTestResult>>;
status(): Promise<RemoteResult<MailStatus>>;
}
/**
* 直接调用已挂载贡献的方法描述符,不经过 `ctx.remote['mail-gateway']`。
* 命名空间访问器要求调用方声明 `inject: ['remote.mail-gateway']`,而该服务只在
* `$mount` 之后才存在,声明它会形成等待依赖的死锁。
*/
/** 调用方必须已声明 `inject: ['remote.mail-gateway']`,见 client/index.ts 的子插件。 */
export declare function createApi(ctx: Context): MailGatewayApi;