UNPKG

t-comm

Version:

专业、稳定、纯粹的工具库

25 lines (24 loc) 734 B
import { RainbowKeyValueType } from './helper/value-type'; import type { ILocalConfig, IRemoteConfig, ISecretInfo } from './types'; export declare function fetchLatestRainbowData({ secretInfo, appName, }: { secretInfo: ISecretInfo; appName: string; }): Promise<{ config: Array<IRemoteConfig>; originConfig: ILocalConfig; equal: boolean; }>; export declare function fetchLatestOneRainbowData({ secretInfo, appName, key, valueType, }: { secretInfo: { appId: string; groupName: string; envName: string; }; appName: string; key: string; valueType?: RainbowKeyValueType; }): Promise<{ config: Array<IRemoteConfig>; originConfig: ILocalConfig; equal: boolean; }>;