Skip to content

Commit f0f24d4

Browse files
committed
export: expose newAdvice function and Advice type
Expose the newAdvice function and Advice type from the advice module to allow for their usage in other parts of the application. This change makes it easier to access and utilize these components.
1 parent 0356131 commit f0f24d4

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎web/core/lib/main.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ export { CustomEditorCommands } from '@/editor/action/custom-editor-commands.ts'
1313
export { Sidebar } from '@/editor/components/sidebar.tsx';
1414
export { AdviceManager } from '@/editor/extensions/advice/advice-manager';
1515
export { AdviceView } from '@/editor/extensions/advice/advice-view';
16+
export { newAdvice } from '@/editor/extensions/advice/advice';
17+
export type { Advice } from '@/editor/extensions/advice/advice';
1618
export { Settings } from '@/editor/components/settings';
1719
export { AiActionExecutor } from '@/editor/action/AiActionExecutor.ts';
1820
export { OutputForm } from '@/editor/defs/custom-action.type';

‎web/core/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@studio-b3/web-core",
3-
"version": "0.8.5",
3+
"version": "0.8.6",
44
"type": "module",
55
"main": "dist/main.js",
66
"types": "dist-types/main.d.ts",

0 commit comments

Comments
 (0)