t-comm
Version:
专业、稳定、纯粹的工具库
33 lines (32 loc) • 635 B
TypeScript
export interface ISecretInfo {
appID?: string;
appId?: string;
userID?: string;
userId?: string;
secretKey: string;
envName: string;
groupName: string;
}
export declare enum ValueType {
NUMBER = 1,
STRING = 2,
TEXT = 3,
JSON = 4,
XML = 5,
DATE = 18,
YAML = 20
}
export interface ModifyConfigParam {
keyValue: {
key: string;
value: string;
};
valueType: ValueType;
secretInfo: ISecretInfo;
}
export interface FetchRainbowConfigOptions {
sdk: any;
initOptions?: Record<string, any>;
isFetchGroup?: boolean;
tryJsonParse?: boolean;
}