@topol.io/editor-vue 0.0.0-beta.8 → 0.0.0-beta.9

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.
@@ -1,6 +1,6 @@
1
1
  import type IVueTopolOptions from '../types/IVueTopolOptions';
2
- import type INotification from '../types/Notification/INotification';
3
- import type ISavedBlock from '../types/SavedBlock/ISavedBlock';
2
+ import type { INotification } from '@topol.io/editor';
3
+ import type { ISavedBlock } from '@topol.io/editor';
4
4
  export { default as TopolEditor } from './TopolEditor.vue';
5
5
  export { default as TopolPlugin } from '@topol.io/editor';
6
6
  export { IVueTopolOptions as ITopolOptions };
@@ -1,10 +1,4 @@
1
- import { IAPI } from "./API/API";
2
- import ISavedBlock from "./SavedBlock/ISavedBlock";
3
- import IMergeTagGroup from "./MergeTag/IMergeTagGroup";
4
- import IContentBlockOptions from "./ContentBlock/IContentBlockOptions";
5
- import ITheme from "./Theme/ITheme";
6
- import IAuthHeaderConfig from "./AuthHeaderConfig/IAuthHeaderConfig";
7
- import IFont from "./Font/IFont";
1
+ import { ISavedBlock, IMergeTagGroup, IContentBlockOptions, ITheme, IAuthHeaderConfig, IFont, IAPI } from "@topol.io/editor";
8
2
  export default interface IVueOptions {
9
3
  authorize: {
10
4
  apiKey: string;
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "author": "Topol.io",
15
15
  "homepage": "https://topol.io",
16
16
  "license": "Apache-2.0",
17
- "version": "0.0.0-beta.8",
17
+ "version": "0.0.0-beta.9",
18
18
  "files": [
19
19
  "dist"
20
20
  ],
@@ -1,21 +0,0 @@
1
- export interface IAPI {
2
- GET_AUTOSAVE: string;
3
- AUTOSAVES: string;
4
- LOAD: string;
5
- SAVE: string | null;
6
- AUTOSAVE: string;
7
- PREVIEW: string;
8
- FEEDS: string;
9
- PRODUCTS: string;
10
- IMAGE_UPLOAD: string;
11
- FOLDERS: string;
12
- IMAGE_EDITOR_UPLOAD: string | null;
13
- TEST_EMAIL: string;
14
- }
15
- export interface ILockedAPI {
16
- GIPHY_API_KEY: string;
17
- GIPHY_SEARCH: string;
18
- AUTHORIZE: string;
19
- GCS_SIGNED_URL: string;
20
- SAVE_SERVER: string;
21
- }
@@ -1,3 +0,0 @@
1
- export default interface AuthHeaderConfig {
2
- [key: string]: string;
3
- }
@@ -1,5 +0,0 @@
1
- export default interface IContentBlockOptions {
2
- disabled?: boolean;
3
- disabledText?: string;
4
- hidden?: boolean;
5
- }
@@ -1,5 +0,0 @@
1
- export default interface IFont {
2
- label: string;
3
- style: string;
4
- url?: string;
5
- }
@@ -1,5 +0,0 @@
1
- export default interface IMergeTag {
2
- value: string;
3
- text: string;
4
- label: string;
5
- }
@@ -1,5 +0,0 @@
1
- import IMergeTag from "./IMergeTag";
2
- export default interface IMergeTagGroup {
3
- name: string;
4
- items: Array<IMergeTag | IMergeTagGroup>;
5
- }
@@ -1,7 +0,0 @@
1
- export default interface INotification {
2
- title: string;
3
- text: string;
4
- expectSideEffect?: boolean;
5
- persistent?: boolean;
6
- type: "info" | "error" | "success";
7
- }
@@ -1,5 +0,0 @@
1
- export default interface ISavedBlock {
2
- id: number;
3
- name: string;
4
- definition: Array<Object>;
5
- }
@@ -1,33 +0,0 @@
1
- export default interface ITheme {
2
- preset: "light" | "dark";
3
- borderRadius?: {
4
- small?: string;
5
- large?: string;
6
- };
7
- colors: {
8
- "900"?: string;
9
- "800"?: string;
10
- "700"?: string;
11
- "600"?: string;
12
- "500"?: string;
13
- "450"?: string;
14
- "400"?: string;
15
- "350"?: string;
16
- "300"?: string;
17
- "200"?: string;
18
- "150"?: string;
19
- "100"?: string;
20
- white?: string;
21
- primary?: string;
22
- "primary-light"?: string;
23
- "primary-dark"?: string;
24
- secondary?: string;
25
- "secondary-light"?: string;
26
- error?: string;
27
- "error-light"?: string;
28
- success?: string;
29
- "success-light"?: string;
30
- active?: string;
31
- "active-light"?: string;
32
- };
33
- }