@olonjs/core 1.0.113 → 1.0.114

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 CHANGED
@@ -320,6 +320,7 @@ export declare const isTransientAssetUrl: (path: string) => boolean;
320
320
 
321
321
  export declare interface JsonPagesConfig {
322
322
  tenantId: string;
323
+ basePath?: string;
323
324
  registry: Record<string, default_2.ComponentType<unknown>>;
324
325
  schemas: Record<string, {
325
326
  parse: (v: unknown) => unknown;
@@ -415,6 +416,8 @@ export declare interface MenuItem {
415
416
  children?: MenuItem[];
416
417
  }
417
418
 
419
+ export declare function normalizeBasePath(value?: string): string;
420
+
418
421
  export declare function normalizeSlugSegments(value: string): string;
419
422
 
420
423
  declare interface OlonJsPageContract {
@@ -617,7 +620,9 @@ export declare namespace runtime {
617
620
  resolveAssetUrl,
618
621
  useDocumentMeta,
619
622
  buildThemeVariableMap,
620
- themeManager
623
+ themeManager,
624
+ normalizeBasePath,
625
+ withBasePath
621
626
  }
622
627
  }
623
628
 
@@ -908,4 +913,6 @@ declare interface WebMcpToolContract {
908
913
 
909
914
  export declare type WidgetType = keyof typeof InputWidgets;
910
915
 
916
+ export declare function withBasePath(pathname: string, basePath?: string): string;
917
+
911
918
  export { }