Skip to main content

uploadFiles

@combeenation/custom-code-utils


Function: uploadFiles()

uploadFiles<T>(files): Promise<CfgnFileUploadResult<T>>

Upload one or more files into the current configuration

Type Parameters

T

T extends string

Parameters

files

Cbn.UploadMgr.CfgnFiles<T>

The key represents the name, which can be used in Hive with configuration.GetFile("")

Returns

Promise<CfgnFileUploadResult<T>>

An object with the same keys as the input. The values contain according result information.