@mediaclip/designer-api 14.0.0-beta.26190 → 14.0.0-beta.26191
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/designer-api.d.ts +22 -24
- package/index.js +0 -0
- package/package.json +3 -1
package/designer-api.d.ts
CHANGED
|
@@ -94,16 +94,15 @@ export class PhotoSelection extends RemoteObject {
|
|
|
94
94
|
name:string;
|
|
95
95
|
photos:string[];
|
|
96
96
|
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
97
|
+
export type StepNames =
|
|
98
|
+
| 'PRODUCT_SELECTION'
|
|
99
|
+
| 'EDITION'
|
|
100
|
+
| 'THEME_SELECTION'
|
|
101
|
+
| 'ALTERNATIVE_PRODUCTS'
|
|
102
|
+
| 'CUSTOMIZE'
|
|
103
|
+
| 'FORM'
|
|
104
|
+
| 'CONTACTS'
|
|
105
|
+
;
|
|
107
106
|
|
|
108
107
|
export class State extends RemoteObject {
|
|
109
108
|
generatedStep:StepNames;
|
|
@@ -146,15 +145,14 @@ export class SaveResultCommandContainer extends SaveResult implements ICommandCo
|
|
|
146
145
|
command:ICommand;
|
|
147
146
|
}
|
|
148
147
|
|
|
149
|
-
export
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
}
|
|
148
|
+
export type SaveTrigger =
|
|
149
|
+
| 'undefined'
|
|
150
|
+
| 'user'
|
|
151
|
+
| 'stepchange'
|
|
152
|
+
| 'auto'
|
|
153
|
+
| 'addtocart'
|
|
154
|
+
| 'hook'
|
|
155
|
+
| 'redirect';
|
|
158
156
|
|
|
159
157
|
export interface INode {
|
|
160
158
|
}
|
|
@@ -324,11 +322,11 @@ export interface IDesignerEvents {
|
|
|
324
322
|
onUploadPhotos:(url:string) => boolean;
|
|
325
323
|
}
|
|
326
324
|
|
|
327
|
-
export
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
325
|
+
export type ColorTheme =
|
|
326
|
+
| 'auto'
|
|
327
|
+
| 'light'
|
|
328
|
+
| 'dark'
|
|
329
|
+
;
|
|
332
330
|
|
|
333
331
|
export interface IMediaclipConfig {
|
|
334
332
|
allowedDomains?:string[];
|
package/index.js
ADDED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mediaclip/designer-api",
|
|
3
|
-
"version": "14.0.0-beta.
|
|
3
|
+
"version": "14.0.0-beta.26191",
|
|
4
4
|
"description": "Mediaclip Designer Javascript API Typings",
|
|
5
5
|
"types": "designer-api.d.ts",
|
|
6
|
+
"main": "index.js",
|
|
6
7
|
"keywords": [],
|
|
7
8
|
"author": "Mediaclip inc.",
|
|
8
9
|
"license": "GPL-3.0-or-later",
|
|
9
10
|
"files": [
|
|
10
11
|
"designer-api.d.ts",
|
|
12
|
+
"index.js",
|
|
11
13
|
"README.md"
|
|
12
14
|
]
|
|
13
15
|
}
|