diff --git a/packages/config-loader/api-report.md b/packages/config-loader/api-report.md index 269159aab4..106c744d7b 100644 --- a/packages/config-loader/api-report.md +++ b/packages/config-loader/api-report.md @@ -23,8 +23,6 @@ export type ConfigSchemaProcessingOptions = { withFilteredKeys?: boolean; }; -// Warning: (ae-missing-release-tag) "ConfigTarget" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// // @public (undocumented) export type ConfigTarget = | { @@ -51,15 +49,11 @@ export type LoadConfigOptions = { watch?: LoadConfigOptionsWatch; }; -// Warning: (ae-missing-release-tag) "LoadConfigOptionsRemote" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// // @public (undocumented) export type LoadConfigOptionsRemote = { reloadIntervalSeconds: number; }; -// Warning: (ae-missing-release-tag) "LoadConfigOptionsWatch" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// // @public (undocumented) export type LoadConfigOptionsWatch = { onChange: (configs: AppConfig[]) => void; diff --git a/packages/config-loader/src/loader.ts b/packages/config-loader/src/loader.ts index e16a49df89..03a6805da0 100644 --- a/packages/config-loader/src/loader.ts +++ b/packages/config-loader/src/loader.ts @@ -29,8 +29,10 @@ import { } from './lib'; import fetch from 'node-fetch'; +/** @public */ export type ConfigTarget = { path: string } | { url: string }; +/** @public */ export type LoadConfigOptionsWatch = { /** * A listener that is called when a config file is changed. @@ -43,6 +45,7 @@ export type LoadConfigOptionsWatch = { stopSignal?: Promise; }; +/** @public */ export type LoadConfigOptionsRemote = { /** * A remote config reloading period, in seconds