DefaultAssetNamingStrategy
The default strategy normalizes the file names to remove unwanted characters and in the case of conflicts, increments a counter suffix.
- Implements:
AssetNamingStrategy
generateSourceFileName
method
(ctx: RequestContext, originalFileName: string, conflictFileName?: string) => stringgeneratePreviewFileName
method
(ctx: RequestContext, sourceFileName: string, conflictFileName?: string) => stringWas this chapter helpful?