@linked-helper/framework.build-tools.aws-artifacts
Version:
LH framework build tools: upload artifacts
39 lines (38 loc) • 1.05 kB
TypeScript
import IPlatform from '../IPlatform';
import _IFiles from './IFiles';
import _parse from './parse';
import _parsePackageJSON from './parsePackageJSON';
export interface IConfig {
credentials: IConfig.ICredentials;
region: string;
bucket: string;
prefix: string;
root: string;
files: IConfig.IFiles;
platform: IPlatform | 'all';
}
export declare namespace IConfig {
interface ICredentials {
accessKeyId: string;
secretAccessKey: string;
sessionToken?: string;
}
namespace ICredentials {
type IPartial = Partial<ICredentials>;
}
interface IPartial {
credentials?: ICredentials.IPartial;
region?: string;
bucket?: string;
prefix?: string;
root?: string;
files?: {
[K in IPlatform | 'all']?: string[];
};
platform?: IConfig['platform'];
}
export import IFiles = _IFiles;
export import parse = _parse;
export import parsePackageJSON = _parsePackageJSON;
}
export default IConfig;