chore: define API definitions

Signed-off-by: Marc Rooding <marc@mrooding.me>
This commit is contained in:
Marc Rooding
2023-11-06 17:01:09 +01:00
parent 961bdee542
commit 4913addc65
@@ -226,6 +226,13 @@ export function readMicrosoftGraphConfig(
return providers;
}
/**
* Parses all configured providers.
*
* @param config - The root of the msgraph config hierarchy
*
* @public
*/
export function readProviderConfigs(
config: Config,
): MicrosoftGraphProviderConfig[] {
@@ -248,6 +255,14 @@ export function readProviderConfigs(
});
}
/**
* Parses a single configured provider by id.
*
* @param id - the id of the provider to parse
* @param config - The root of the msgraph config hierarchy
*
* @public
*/
export function readProviderConfig(
id: string,
config: Config,