@unlayer/types 1.469.0 → 1.471.0
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/editor/features.d.ts +28 -0
- package/package.json +1 -1
|
@@ -24,6 +24,27 @@ export type AIImageModel = `${AIImageProvider}/${string}` | (string & {});
|
|
|
24
24
|
|
|
25
25
|
export type AIImageFallbackModels = boolean | AIImageModel[];
|
|
26
26
|
|
|
27
|
+
export interface AIBrand {
|
|
28
|
+
companyName?: string;
|
|
29
|
+
productDescription?: string;
|
|
30
|
+
targetAudience?: string;
|
|
31
|
+
colors?: {
|
|
32
|
+
primary?: string;
|
|
33
|
+
secondary?: string;
|
|
34
|
+
accent?: string;
|
|
35
|
+
};
|
|
36
|
+
fonts?: {
|
|
37
|
+
heading?: string;
|
|
38
|
+
body?: string;
|
|
39
|
+
};
|
|
40
|
+
logos?: {
|
|
41
|
+
primary?: string;
|
|
42
|
+
secondary?: string;
|
|
43
|
+
};
|
|
44
|
+
voice?: string;
|
|
45
|
+
guidelines?: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
27
48
|
export interface TextEditorCustomButton {
|
|
28
49
|
name: string;
|
|
29
50
|
icon: string;
|
|
@@ -188,6 +209,13 @@ export interface Features {
|
|
|
188
209
|
* other error that requires user/input/configuration changes.
|
|
189
210
|
*/
|
|
190
211
|
fallbackModels?: AIFallbackModels;
|
|
212
|
+
/**
|
|
213
|
+
* Brand context applied to every AI Assistant text and design
|
|
214
|
+
* generation. Invalid colors are ignored. Company and font names
|
|
215
|
+
* are capped at 200 characters; other text fields at 2,000. Set to
|
|
216
|
+
* `null` to explicitly disable the saved project Brand Context.
|
|
217
|
+
*/
|
|
218
|
+
brand?: AIBrand | null;
|
|
191
219
|
/**
|
|
192
220
|
* Disable full-template, page, and body generation in the AI
|
|
193
221
|
* Assistant when set to `false` — usually for cost or latency
|