Skip to content

ProviderTypeRegistry

Defined in: core/src/provider/provider.type-registry.ts:4

Registry of available ProviderTypes, keyed by id.

new ProviderTypeRegistry(): ProviderTypeRegistry;

ProviderTypeRegistry

get(id): Promise<
| ProviderType
| undefined>;

Defined in: core/src/provider/provider.type-registry.ts:16

Returns the provider type with the given id, or undefined if none matches.

Parameter Type
id string

Promise< | ProviderType | undefined>


list(): Promise<ProviderType[]>;

Defined in: core/src/provider/provider.type-registry.ts:13

Lists all registered provider types.

Promise<ProviderType[]>


register(providerType): Promise<void>;

Defined in: core/src/provider/provider.type-registry.ts:8

Registers a provider type, replacing any existing type with the same id.

Parameter Type
providerType ProviderType

Promise<void>