@omnia/fx-models 8.0.488-dev → 8.0.490-dev
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/LayoutDefinition.d.ts +15 -1
- package/package.json +1 -1
package/LayoutDefinition.d.ts
CHANGED
@@ -103,8 +103,22 @@ export interface ILayoutCanvasSettingsPanelDefinition {
|
|
103
103
|
};
|
104
104
|
done: () => ILayoutCanvasSettingsPanel;
|
105
105
|
}
|
106
|
+
export interface ILayoutCanvasJourneyMenuDefinitionBuilder<T> {
|
107
|
+
/**
|
108
|
+
*@param weight This influence the order of the items, be nice, use ordering with gap -100, 0, 100, 200
|
109
|
+
So other extensions etc can inject between
|
110
|
+
*/
|
111
|
+
add: (journey: ILayoutCanvasJourneyDefinition) => ILayoutCanvasJourneyMenuDefinitionBuilder<T>;
|
112
|
+
remove: (journey: guid) => ILayoutCanvasTabDefinitionBuilder<T>;
|
113
|
+
update: (journey: guid) => ILayoutCanvasJourneyMenuItemDefinitionBuilder<T>;
|
114
|
+
done: () => T;
|
115
|
+
}
|
116
|
+
export interface ILayoutCanvasJourneyMenuItemDefinitionBuilder<T> {
|
117
|
+
slots: (slots: ILayoutCanvasJourneyMenuItemDefinitionSlots) => Omit<ILayoutCanvasJourneyMenuItemDefinitionBuilder<T>, "slots">;
|
118
|
+
done: () => T;
|
119
|
+
}
|
106
120
|
export interface ILayoutCanvasJourneySettingsPanelDefinition extends Omit<ILayoutCanvasSettingsPanelDefinition, "tabs"> {
|
107
|
-
journeyMenuItems: () =>
|
121
|
+
journeyMenuItems: () => ILayoutCanvasJourneyMenuDefinitionBuilder<ILayoutCanvasSettingsPanelDefinition>;
|
108
122
|
}
|
109
123
|
export interface ILayoutCanvasExpansionItemDefinition extends ILayoutCanvasItemDefinition<ILayoutCanvasExpansionItemInstance> {
|
110
124
|
slots: ILayoutCanvasExpansionItemDefinitionSlots;
|