Skip to content

Interface: IAdapterConfigRepository

Makaio Framework


Makaio Framework / services-core/adapter-subsystem / IAdapterConfigRepository

Defined in: ../../../packages/services/core/src/adapter-subsystem/types.ts:22

Repository interface injected into the adapter subsystem service.

deleteAdapterFile(name): Promise<boolean>

Defined in: ../../../packages/services/core/src/adapter-subsystem/types.ts:59

Delete an adapter file by canonical name.

string

Canonical adapter name

Promise<boolean>

true when a file was removed


deleteProviderConfig(id): Promise<boolean>

Defined in: ../../../packages/services/core/src/adapter-subsystem/types.ts:45

Delete a provider config file by canonical ID.

string

Canonical provider config ID

Promise<boolean>

true when a file was removed


loadAdapterConfigs(): Promise<AdapterFileConfigSet>

Defined in: ../../../packages/services/core/src/adapter-subsystem/types.ts:26

Load all adapter files from the canonical config store.

Promise<AdapterFileConfigSet>


loadProviderConfigs(): Promise<ProviderConfigFileSet>

Defined in: ../../../packages/services/core/src/adapter-subsystem/types.ts:31

Load all provider config files from the canonical config store.

Promise<ProviderConfigFileSet>


writeAdapterFile(name, config): Promise<void>

Defined in: ../../../packages/services/core/src/adapter-subsystem/types.ts:52

Persist an adapter file at the given canonical name.

string

Canonical adapter name

File payload to persist

"makaio/adapter-config/v1" = ...

object[] = ...

string = ...

string = ...

string = ...

boolean = ...

object[] = ...

string = ...

string = ...

string[] = ...

Record<string, unknown> = ...

Promise<void>


writeProviderConfig(id, config): Promise<void>

Defined in: ../../../packages/services/core/src/adapter-subsystem/types.ts:38

Persist a provider config file at the given canonical ID.

string

Canonical provider config ID

File payload to persist

"makaio/provider-config/v1" = ...

Record<string, string & $brand<"CredentialRef">> = ...

string = ...

boolean = ...

{ anthropic?: string; openai?: string; } = ...

string = ...

string = ...

boolean = ...

boolean = ...

"allowlist" | "show-all" = ...

Record<string, "enabled" | "disabled" | "visible"> = ...

string = ...

Promise<void>