t-comm
Version:
专业、稳定、纯粹的工具库
38 lines (37 loc) • 905 B
TypeScript
export declare function pushCopyFilesInSyncCos({ fileList, cos, workspace, }: {
fileList: Array<{
key: string;
path: string;
relativePath: string;
url: string;
}>;
cos: {
domainDir: string;
cdnPrefix: string;
copyList: Array<{
source: string;
copyTargetPrefix?: string;
}>;
};
workspace: string;
}): void;
export declare function pushMainlandCosFilesInSyncCos({ fileList, cos, mainLandCdnInfo, toPushMainlandFiles, }: {
fileList: Array<{
key: string;
path: string;
relativePath: string;
}>;
cos: {
domainDir: string;
};
mainLandCdnInfo: {
cdnPrefix: string;
domainDir: string;
};
toPushMainlandFiles: Array<{
key: string;
path: string;
relativePath: string;
url: string;
}>;
}): void;