exodeui 6.0.24 → 6.0.26
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/ExodeSEO.d.ts +13 -0
- package/dist/ExodeUICanvas.d.ts +3 -1
- package/dist/__tests__/seo.test.d.ts +1 -0
- package/dist/index.js +19 -19
- package/dist/index.mjs +2687 -2618
- package/dist/types.d.ts +14 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -495,6 +495,7 @@ export interface ShapeObject {
|
|
|
495
495
|
clipContent?: boolean;
|
|
496
496
|
autoLayout?: AutoLayoutConfig;
|
|
497
497
|
layoutProps?: LayoutProps;
|
|
498
|
+
altText?: string;
|
|
498
499
|
}
|
|
499
500
|
export interface Keyframe {
|
|
500
501
|
time: number;
|
|
@@ -607,6 +608,18 @@ export interface StateMachine {
|
|
|
607
608
|
layers: Layer[];
|
|
608
609
|
logicNodes?: LogicNode[];
|
|
609
610
|
}
|
|
611
|
+
export interface SEOConfig {
|
|
612
|
+
title?: string;
|
|
613
|
+
description?: string;
|
|
614
|
+
keywords?: string[];
|
|
615
|
+
ogImage?: string;
|
|
616
|
+
jsonLd?: any;
|
|
617
|
+
/**
|
|
618
|
+
* By default, we extract all text objects for semantic HTML.
|
|
619
|
+
* Set this to false to only use explicitly provided metadata.
|
|
620
|
+
*/
|
|
621
|
+
enableSmartExtraction?: boolean;
|
|
622
|
+
}
|
|
610
623
|
export interface Artboard {
|
|
611
624
|
id?: string;
|
|
612
625
|
name: string;
|
|
@@ -635,6 +648,7 @@ export interface Artboard {
|
|
|
635
648
|
};
|
|
636
649
|
autoLayout?: AutoLayoutConfig;
|
|
637
650
|
layoutProps?: LayoutProps;
|
|
651
|
+
seo?: SEOConfig;
|
|
638
652
|
}
|
|
639
653
|
export type Fit = 'Cover' | 'Contain' | 'Fill' | 'FitWidth' | 'FitHeight' | 'None' | 'ScaleDown';
|
|
640
654
|
export type Alignment = 'Center' | 'TopLeft' | 'TopCenter' | 'TopRight' | 'CenterLeft' | 'CenterRight' | 'BottomLeft' | 'BottomCenter' | 'BottomRight';
|