config-loader: fix API Report warnings
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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<void>;
|
||||
};
|
||||
|
||||
/** @public */
|
||||
export type LoadConfigOptionsRemote = {
|
||||
/**
|
||||
* A remote config reloading period, in seconds
|
||||
|
||||
Reference in New Issue
Block a user