CfgnFileUploadResult<T>: {
    success: false;
    urls?: never;
} | {
    success: true;
    urls: { [ fileName in T]: string };
}

urls contains a map of the uploaded files, where the key represents the name and the value the url.
It's recommended to check for the success flag beforehand.

Type Parameters

  • T extends string

Generated using TypeDoc