@emailmaker/filemanager 0.10.22 → 0.10.23
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/file-manager.esm.js +2 -2
- package/file-manager.esm.js.map +1 -1
- package/file-manager.js +1 -1
- package/package.json +1 -1
- package/types.d.ts +2 -1
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode, RefObject } from 'react';
|
|
2
2
|
import { FormInstance } from 'antd/es/form';
|
|
3
|
-
import { MY_FILES, GIF, STOCK_IMAGES, AI, EDITOR } from './constants';
|
|
3
|
+
import { MY_FILES, GIF, STOCK_IMAGES, AI, EDITOR, IMAGE_EXTENSIONS } from './constants';
|
|
4
4
|
import type { InputRef } from 'antd';
|
|
5
5
|
import type { Notify, NotifyEvent } from 'notification';
|
|
6
6
|
export * from 'notification';
|
|
@@ -393,6 +393,7 @@ export interface Config {
|
|
|
393
393
|
rememberLastFolder?: boolean;
|
|
394
394
|
multiSelect?: boolean;
|
|
395
395
|
defaultFolderName?: string;
|
|
396
|
+
availableImageExtensions?: Array<(typeof IMAGE_EXTENSIONS)[number]>;
|
|
396
397
|
}
|
|
397
398
|
export type LibraryMenuKey = typeof MY_FILES | typeof GIF | typeof STOCK_IMAGES | typeof AI | typeof EDITOR;
|
|
398
399
|
export interface GifItem {
|