src / providers / ISyncableProviderInstance.ts
/**
* Interface representing a provider instance capable of receiving snapshot API key configuration updates.
* Uniquely identified by its `configIdentity` (e.g. 'web.exa', 'image.serpapi').
*/
export interface ISyncableProviderInstance {
/**
* Unique configuration identity string for this provider instance (e.g. 'web.exa', 'image.serpapi').
*/
readonly configIdentity: string;
/**
* Primary provider name string (e.g. 'exa', 'serpapi').
*/
readonly providerName: string;
/**
* Provider category / capability domain (e.g. 'web', 'image').
*/
readonly category: string;
/**
* Snapshot replacement method to update the in-memory API key list for this instance.
* @param keys Fresh snapshot array of API key strings.
*/
setKeys(keys: string[]): void;
}
src / providers / ISyncableProviderInstance.ts
/**
* Interface representing a provider instance capable of receiving snapshot API key configuration updates.
* Uniquely identified by its `configIdentity` (e.g. 'web.exa', 'image.serpapi').
*/
export interface ISyncableProviderInstance {
/**
* Unique configuration identity string for this provider instance (e.g. 'web.exa', 'image.serpapi').
*/
readonly configIdentity: string;
/**
* Primary provider name string (e.g. 'exa', 'serpapi').
*/
readonly providerName: string;
/**
* Provider category / capability domain (e.g. 'web', 'image').
*/
readonly category: string;
/**
* Snapshot replacement method to update the in-memory API key list for this instance.
* @param keys Fresh snapshot array of API key strings.
*/
setKeys(keys: string[]): void;
}