跳到內容

Config

本頁內容尚未翻譯。

const Config: withDecodingDefault<Struct<{
cache: optionalKey<Struct<{
discover: optionalKey<Struct<{
cacheScope: withDecodingDefaultKey<Literal<...>, never>;
ttl: Union<readonly [..., ...]>;
}>>;
prompts: optionalKey<Struct<{
cacheScope: withDecodingDefaultKey<Literal<...>, never>;
ttl: Union<readonly [..., ...]>;
}>>;
resources: optionalKey<Struct<{
cacheScope: withDecodingDefaultKey<Literal<...>, never>;
ttl: Union<readonly [..., ...]>;
}>>;
resourceTemplates: optionalKey<Struct<{
cacheScope: withDecodingDefaultKey<Literal<...>, never>;
ttl: Union<readonly [..., ...]>;
}>>;
tools: optionalKey<Struct<{
cacheScope: withDecodingDefaultKey<Literal<...>, never>;
ttl: Union<readonly [..., ...]>;
}>>;
}>>;
description: optionalKey<String>;
icons: optionalKey<$Array<typeof Icon>>;
instructions: optionalKey<String>;
name: withDecodingDefaultKey<String, never>;
protocols: withDecodingDefaultKey<NonEmptyArray<Literals<readonly ["2026-07-28", "2025-11-25", "2025-06-18", "2025-03-26", "2024-11-05"]>>, never>;
version: withDecodingDefaultKey<String, never>;
websiteUrl: optionalKey<String>;
}>, never>;

Defined in: Config.ts:19