Skip to content

Variable: ProviderConfigFileSchema

Makaio Framework


Makaio Framework / contracts/config / ProviderConfigFileSchema

const ProviderConfigFileSchema: ZodObject<{ $schema: ZodLiteral<"makaio/provider-config/v1">; credentials: ZodOptional<ZodRecord<ZodString, $ZodBranded<ZodString, "CredentialRef", "out">>>; definitionId: ZodString; enabled: ZodOptional<ZodBoolean>; endpointOverrides: ZodOptional<ZodObject<{ anthropic: ZodOptional<ZodString>; openai: ZodOptional<ZodString>; }, $strict>>; isDefault: ZodOptional<ZodBoolean>; isSentinel: ZodOptional<ZodBoolean>; modelFilterMode: ZodOptional<ZodEnum<{ allowlist: "allowlist"; show-all: "show-all"; }>>; modelVisibility: ZodOptional<ZodRecord<ZodString, ZodEnum<{ disabled: "disabled"; enabled: "enabled"; visible: "visible"; }>>>; name: ZodOptional<ZodString>; }, $strict>

Defined in: ../../../packages/contracts/src/config/provider-config-file.ts:19

Schema for .makaio/provider-configs/<providerConfigId>.json.

The file stem is the canonical providerConfigId; the payload only stores the entity fields that belong to the provider config itself. Credential entries are ref-only; plaintext secrets must stay behind the credential service boundary.