@olonjs/core 1.0.111 → 1.0.113
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 +11 -23
- package/dist/olonjs-core.js +3735 -3626
- package/dist/olonjs-core.umd.cjs +48 -48
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -171,6 +171,8 @@ declare interface BuildSiteManifestInput {
|
|
|
171
171
|
|
|
172
172
|
export declare function buildThemeVariableMap(theme: ThemeConfig): Record<string, string>;
|
|
173
173
|
|
|
174
|
+
export declare function buildWebMcpSaveToolName(): string;
|
|
175
|
+
|
|
174
176
|
export declare function buildWebMcpToolName(): string;
|
|
175
177
|
|
|
176
178
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
@@ -244,6 +246,8 @@ export declare namespace contract {
|
|
|
244
246
|
}
|
|
245
247
|
}
|
|
246
248
|
|
|
249
|
+
export declare function createWebMcpSaveToolInputSchema(): Record<string, unknown>;
|
|
250
|
+
|
|
247
251
|
export declare function createWebMcpToolInputSchema(): Record<string, unknown>;
|
|
248
252
|
|
|
249
253
|
export declare const DefaultNotFound: default_2.FC;
|
|
@@ -398,7 +402,8 @@ export declare interface LibraryImageEntry {
|
|
|
398
402
|
}
|
|
399
403
|
|
|
400
404
|
export declare interface MenuConfig {
|
|
401
|
-
main
|
|
405
|
+
main?: MenuItem[];
|
|
406
|
+
[key: string]: MenuItem[] | undefined;
|
|
402
407
|
}
|
|
403
408
|
|
|
404
409
|
export declare interface MenuItem {
|
|
@@ -677,7 +682,7 @@ export declare function shouldRenderSiteGlobalHeader(page: PageConfig, site: Sit
|
|
|
677
682
|
export declare interface SiteConfig {
|
|
678
683
|
identity: SiteIdentity;
|
|
679
684
|
header?: Section;
|
|
680
|
-
footer
|
|
685
|
+
footer: Section;
|
|
681
686
|
pages: SitePageEntry[];
|
|
682
687
|
}
|
|
683
688
|
|
|
@@ -731,9 +736,7 @@ export declare interface StudioRouteProps {
|
|
|
731
736
|
pageRegistry: Record<string, PageConfig>;
|
|
732
737
|
schemas: JsonPagesConfig['schemas'];
|
|
733
738
|
siteConfig: SiteConfig;
|
|
734
|
-
menuConfig:
|
|
735
|
-
main: MenuItem[];
|
|
736
|
-
};
|
|
739
|
+
menuConfig: MenuConfig;
|
|
737
740
|
themeConfig: JsonPagesConfig['themeConfig'];
|
|
738
741
|
refDocuments?: JsonPagesConfig['refDocuments'];
|
|
739
742
|
tenantCss: string;
|
|
@@ -772,22 +775,10 @@ export declare function syncHeadLink(rel: string, href: string): void;
|
|
|
772
775
|
export declare function syncWebMcpJsonLd(title: string, description: string, url: string): void;
|
|
773
776
|
|
|
774
777
|
export declare interface ThemeBorderRadius {
|
|
775
|
-
sm: string;
|
|
776
|
-
md: string;
|
|
777
|
-
lg: string;
|
|
778
778
|
[key: string]: string;
|
|
779
779
|
}
|
|
780
780
|
|
|
781
781
|
export declare interface ThemeColors {
|
|
782
|
-
primary: string;
|
|
783
|
-
secondary: string;
|
|
784
|
-
accent: string;
|
|
785
|
-
background: string;
|
|
786
|
-
surface: string;
|
|
787
|
-
surfaceAlt: string;
|
|
788
|
-
text: string;
|
|
789
|
-
textMuted: string;
|
|
790
|
-
border: string;
|
|
791
782
|
[key: string]: string;
|
|
792
783
|
}
|
|
793
784
|
|
|
@@ -802,9 +793,6 @@ export declare interface ThemeCssConfig {
|
|
|
802
793
|
}
|
|
803
794
|
|
|
804
795
|
export declare interface ThemeFontFamily {
|
|
805
|
-
primary: string;
|
|
806
|
-
mono: string;
|
|
807
|
-
display?: string;
|
|
808
796
|
[key: string]: string | undefined;
|
|
809
797
|
}
|
|
810
798
|
|
|
@@ -846,9 +834,7 @@ export declare const VisitorRoute: default_2.FC<VisitorRouteProps>;
|
|
|
846
834
|
export declare interface VisitorRouteProps {
|
|
847
835
|
pageRegistry: Record<string, PageConfig>;
|
|
848
836
|
siteConfig: SiteConfig;
|
|
849
|
-
menuConfig:
|
|
850
|
-
main: MenuItem[];
|
|
851
|
-
};
|
|
837
|
+
menuConfig: MenuConfig;
|
|
852
838
|
themeConfig: JsonPagesConfig['themeConfig'];
|
|
853
839
|
refDocuments?: JsonPagesConfig['refDocuments'];
|
|
854
840
|
tenantCss: string;
|
|
@@ -860,7 +846,9 @@ export declare namespace webmcp {
|
|
|
860
846
|
export {
|
|
861
847
|
applyValueAtSelectionPath,
|
|
862
848
|
buildWebMcpToolName,
|
|
849
|
+
buildWebMcpSaveToolName,
|
|
863
850
|
createWebMcpToolInputSchema,
|
|
851
|
+
createWebMcpSaveToolInputSchema,
|
|
864
852
|
ensureWebMcpRuntime,
|
|
865
853
|
parseWebMcpMutationArgs,
|
|
866
854
|
registerWebMcpTool,
|