@olonjs/core 1.0.97 → 1.0.98
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/index.d.ts +3 -4
- package/dist/olonjs-core.js +1200 -1208
- package/dist/olonjs-core.umd.cjs +41 -41
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -119,7 +119,7 @@ export declare interface BaseWidgetProps<T = unknown> {
|
|
|
119
119
|
options?: string[];
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
export declare function buildWebMcpToolName(
|
|
122
|
+
export declare function buildWebMcpToolName(): string;
|
|
123
123
|
|
|
124
124
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
125
125
|
|
|
@@ -139,7 +139,7 @@ export declare const ConfigProvider: default_2.FC<{
|
|
|
139
139
|
children: default_2.ReactNode;
|
|
140
140
|
}>;
|
|
141
141
|
|
|
142
|
-
export declare function createWebMcpToolInputSchema(
|
|
142
|
+
export declare function createWebMcpToolInputSchema(): Record<string, unknown>;
|
|
143
143
|
|
|
144
144
|
export declare const DefaultNotFound: default_2.FC;
|
|
145
145
|
|
|
@@ -276,8 +276,6 @@ export declare interface PageRendererProps {
|
|
|
276
276
|
selectedId?: string | null;
|
|
277
277
|
}
|
|
278
278
|
|
|
279
|
-
export declare function parseWebMcpToolName(toolName: string): string | null;
|
|
280
|
-
|
|
281
279
|
/** Persistence API exposed by the tenant app to Studio actions. */
|
|
282
280
|
export declare interface PersistenceConfig {
|
|
283
281
|
/**
|
|
@@ -556,6 +554,7 @@ export declare interface WebMcpConfig {
|
|
|
556
554
|
export declare interface WebMcpMutationArgs {
|
|
557
555
|
slug?: string;
|
|
558
556
|
sectionId: string;
|
|
557
|
+
sectionType?: string;
|
|
559
558
|
scope?: 'global' | 'local';
|
|
560
559
|
data?: Record<string, unknown>;
|
|
561
560
|
itemPath?: SelectionPath;
|