gantri-components 2.158.1 → 2.158.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/file-uploader/helpers/transform-file-name/__tests__/transform-file-name.test.d.ts +1 -0
- package/dist/components/file-uploader/helpers/transform-file-name/transform-file-name.d.ts +6 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { TransformFileName } from '../../file-uploader.types';
|
|
2
2
|
export declare const applyUuidDefault: (fileName: string) => string;
|
|
3
|
+
export declare const removeSpecialCharacters: (fileName: string) => string;
|
|
4
|
+
/**
|
|
5
|
+
* Converts whitespace or underscores in the file name to hyphens. Also removes any special characters from the file name.
|
|
6
|
+
*
|
|
7
|
+
* https://support.cloudinary.com/hc/en-us/articles/115001317409-Permitted-naming-conventions
|
|
8
|
+
*/
|
|
3
9
|
export declare const removeWhitespaceDefault: (fileName: string) => string;
|
|
4
10
|
export declare const transformFileNameDefault: TransformFileName;
|