openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
22 lines • 980 B
TypeScript
import { Type } from "typebox";
//#region packages/gateway-protocol/src/schema/control-ui-link-reader.d.ts
declare const ControlUiLinkReaderDescriptorSchema: Type.TObject<{
pluginId: Type.TString;
id: Type.TString;
label: Type.TString;
/** Existing Control UI icon name; unknown names use the generic link icon. */
icon: Type.TOptional<Type.TString>;
linkReader: Type.TObject<{
/** Exact lowercase DNS hostnames; no schemes, ports, or wildcards. */
hosts: Type.TArray<Type.TString>;
/** Anchored pathname regular expression authored by the installed trusted plugin. */
pathPattern: Type.TString;
/** Same-plugin gateway method requiring operator.read. */
detailMethod: Type.TString;
previewMethod: Type.TOptional<Type.TString>;
/** Optional same-plugin read method resolving inline images without browser CORS. */
imageMethod: Type.TOptional<Type.TString>;
}>;
}>;
//#endregion
export { ControlUiLinkReaderDescriptorSchema as t };