@emailmaker/filemanager 0.10.22 → 0.10.24

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emailmaker/filemanager",
3
- "version": "0.10.22",
3
+ "version": "0.10.24",
4
4
  "main": "./file-manager.js",
5
5
  "module": "./file-manager.esm.js",
6
6
  "types": "./index.d.ts",
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 {