Type Alias GetVariantSettingsFn

GetVariantSettingsFn: (opt: GetVariantSettingsOptions) => VariantSetting[]

Given info about the file to upload, returns the settings to the available variants for the file.

This function is invoked when MediaManager.insert is called, after retrieving the HTTP header of the file URL.

Each VariantSetting in the list will map to one file on GCS.

Type declaration