@olonjs/core 1.0.114 → 1.0.116
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 -2
- package/dist/olonjs-core.js +1387 -1383
- package/dist/olonjs-core.umd.cjs +29 -29
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -181,12 +181,13 @@ export declare interface ConfigContextValue {
|
|
|
181
181
|
registry: Registry;
|
|
182
182
|
schemas: Schemas;
|
|
183
183
|
tenantId?: string;
|
|
184
|
+
basePath?: string;
|
|
184
185
|
assets?: AssetsConfig;
|
|
185
186
|
overlayDisabledSectionTypes?: string[];
|
|
186
187
|
}
|
|
187
188
|
|
|
188
189
|
export declare const ConfigProvider: default_2.FC<{
|
|
189
|
-
config: Pick<JsonPagesConfig, 'registry' | 'schemas' | 'tenantId' | 'assets' | 'overlayDisabledSectionTypes'>;
|
|
190
|
+
config: Pick<JsonPagesConfig, 'registry' | 'schemas' | 'tenantId' | 'basePath' | 'assets' | 'overlayDisabledSectionTypes'>;
|
|
190
191
|
children: default_2.ReactNode;
|
|
191
192
|
}>;
|
|
192
193
|
|
|
@@ -568,7 +569,7 @@ export declare function registerWebMcpTool(tool: WebMcpTool): () => void;
|
|
|
568
569
|
|
|
569
570
|
declare type Registry = JsonPagesConfig['registry'];
|
|
570
571
|
|
|
571
|
-
export declare const resolveAssetUrl: (path: string, tenantId?: string) => string;
|
|
572
|
+
export declare const resolveAssetUrl: (path: string, tenantId?: string, basePath?: string) => string;
|
|
572
573
|
|
|
573
574
|
export declare function resolveHeaderMenuItems(headerData: unknown, fallbackMain: MenuItem[]): MenuItem[];
|
|
574
575
|
|