@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.
- package/dist/types/src/entry.d.ts +2 -2
- package/dist/types/types/IVueTopolOptions.d.ts +1 -7
- package/package.json +1 -1
- package/dist/types/types/API/API.d.ts +0 -21
- package/dist/types/types/AuthHeaderConfig/IAuthHeaderConfig.d.ts +0 -3
- package/dist/types/types/ContentBlock/IContentBlockOptions.d.ts +0 -5
- package/dist/types/types/Font/IFont.d.ts +0 -5
- package/dist/types/types/MergeTag/IMergeTag.d.ts +0 -5
- package/dist/types/types/MergeTag/IMergeTagGroup.d.ts +0 -5
- package/dist/types/types/Notification/INotification.d.ts +0 -7
- package/dist/types/types/SavedBlock/ISavedBlock.d.ts +0 -5
- package/dist/types/types/Theme/ITheme.d.ts +0 -33
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type IVueTopolOptions from '../types/IVueTopolOptions';
|
|
2
|
-
import type INotification from '
|
|
3
|
-
import type ISavedBlock from '
|
|
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 "
|
|
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
|
@@ -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,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
|
-
}
|