Browse Source

Cleanup

pull/5649/head
Artur Arseniev 3 years ago
parent
commit
10fabeb630
  1. 15
      src/index.ts

15
src/index.ts

@ -1,10 +1,9 @@
import { isElement, isFunction, isString } from 'underscore';
import $ from './utils/cash-dom';
import { isElement } from 'underscore';
import Editor from './editor';
import polyfills from './utils/polyfills';
import { getGlobal } from './utils/mixins';
import PluginManager, { Plugin, getPlugin, logPluginWarn } from './plugin_manager';
import { EditorConfig } from './editor/config/config';
import PluginManager, { Plugin, getPlugin, logPluginWarn } from './plugin_manager';
import $ from './utils/cash-dom';
import polyfills from './utils/polyfills';
interface InitEditorConfig extends EditorConfig {
grapesjs?: typeof GrapesJS;
@ -92,13 +91,12 @@ const GrapesJS = {
};
// Exports for TS
export type { default as Editor } from './editor';
export type { default as Asset } from './asset_manager/model/Asset';
export type { default as Assets } from './asset_manager/model/Assets';
export type { default as Block } from './block_manager/model/Block';
export type { default as Blocks } from './block_manager/model/Blocks';
export type { default as Category } from './block_manager/model/Category';
export type { default as Categories } from './block_manager/model/Categories';
export type { default as Category } from './block_manager/model/Category';
export type { default as Canvas } from './canvas/model/Canvas';
export type { default as Frame } from './canvas/model/Frame';
export type { default as Frames } from './canvas/model/Frames';
@ -110,6 +108,7 @@ export type { default as ComponentManager } from './dom_components';
export type { default as Component } from './dom_components/model/Component';
export type { default as Components } from './dom_components/model/Components';
export type { default as ComponentView } from './dom_components/view/ComponentView';
export type { default as Editor } from './editor';
export type { default as Modal } from './modal_dialog/model/Modal';
export type { default as Page } from './pages/model/Page';
export type { default as Pages } from './pages/model/Pages';
@ -120,8 +119,8 @@ export type { default as Panels } from './panels/model/Panels';
export type { default as Selector } from './selector_manager/model/Selector';
export type { default as Selectors } from './selector_manager/model/Selectors';
export type { default as State } from './selector_manager/model/State';
export type { default as Property } from './style_manager/model/Property';
export type { default as Properties } from './style_manager/model/Properties';
export type { default as Property } from './style_manager/model/Property';
export type { default as Trait } from './trait_manager/model/Trait';
export type { default as Traits } from './trait_manager/model/Traits';

Loading…
Cancel
Save