@worktile/theia 14.2.16 → 14.2.17

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.
@@ -4,6 +4,7 @@ import { InjectionToken } from '@angular/core';
4
4
  import { SafeUrl } from '@angular/platform-browser';
5
5
  import { Alignment, LayoutTypes } from '../constants';
6
6
  import { ToolbarItem } from './toolbar';
7
+ import { CustomElementKinds } from '../custom-types';
7
8
  export interface ImageEntry {
8
9
  file?: File;
9
10
  name?: string;
@@ -24,3 +25,7 @@ export interface TheImageUploaderService {
24
25
  getUploadingItems$: () => Observable<FileUploadingItem[]>;
25
26
  }
26
27
  export declare const THE_UPLOAD_SERVICE_TOKEN: InjectionToken<TheImageUploaderService>;
28
+ export interface ImagePluginOptions {
29
+ allowParentTypes?: CustomElementKinds[];
30
+ imageTypes?: string[];
31
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worktile/theia",
3
- "version": "14.2.16",
3
+ "version": "14.2.17",
4
4
  "description": "theia editor",
5
5
  "author": "YanDong <nanianqiumo@foxmail.com>",
6
6
  "homepage": "https://github.com/atinc/theia#readme",
@@ -1,7 +1,3 @@
1
- import { CustomElementKinds } from '../../custom-types';
2
- export interface ImagePluginOptions {
3
- allowParentTypes?: CustomElementKinds[];
4
- imageTypes?: string[];
5
- }
1
+ import { ImagePluginOptions } from '../../interfaces';
6
2
  export declare const withImage: <T extends import("../../interfaces").TheEditor>(editor: T) => T;
7
3
  export declare const createImagePlugin: <T = {}>(override?: Partial<import("../../interfaces").ThePlugin<T, ImagePluginOptions>>, overrideByKey?: import("../../interfaces").OverrideByKey) => import("../../interfaces").ThePlugin<T, ImagePluginOptions>;