@next-core/runtime 1.20.2 → 1.20.4
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/cjs/internal/Renderer.js +11 -4
- package/dist/cjs/internal/Renderer.js.map +1 -1
- package/dist/cjs/internal/Router.js +1 -11
- package/dist/cjs/internal/Router.js.map +1 -1
- package/dist/cjs/internal/secret_internals.js +3 -2
- package/dist/cjs/internal/secret_internals.js.map +1 -1
- package/dist/esm/internal/Renderer.js +12 -5
- package/dist/esm/internal/Renderer.js.map +1 -1
- package/dist/esm/internal/Router.js +1 -11
- package/dist/esm/internal/Router.js.map +1 -1
- package/dist/esm/internal/secret_internals.js +3 -2
- package/dist/esm/internal/secret_internals.js.map +1 -1
- package/dist/types/internal/secret_internals.d.ts +2 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BrickConf, CustomTemplate, RouteConf, Storyboard, UseSingleBrickConf } from "@next-core/types";
|
|
1
|
+
import type { BrickConf, CustomTemplate, RouteConf, Storyboard, UseSingleBrickConf, ContextConf } from "@next-core/types";
|
|
2
2
|
import { RendererContext } from "./RendererContext.js";
|
|
3
3
|
import type { DataStore } from "./data/DataStore.js";
|
|
4
4
|
import type { DataValueOption, PreviewOption, PreviewStoryboardPatch, RenderRoot } from "./interfaces.js";
|
|
@@ -24,6 +24,7 @@ export declare function updateTemplatePreviewSettings(appId: string, templateId:
|
|
|
24
24
|
export declare function updateStoryboardBySnippet(appId: string, snippetData: {
|
|
25
25
|
snippetId: string;
|
|
26
26
|
bricks?: BrickConf[];
|
|
27
|
+
context?: ContextConf[];
|
|
27
28
|
}): void;
|
|
28
29
|
export declare const updateSnippetPreviewSettings: typeof updateStoryboardBySnippet;
|
|
29
30
|
export declare function getContextValue(name: string, { tplStateStoreId }: DataValueOption): unknown;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-core/runtime",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.4",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-core/tree/v3/packages/runtime",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"repository": {
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"@next-core/build-next-libs": "^1.0.6",
|
|
66
66
|
"@next-core/test-next": "^1.0.8"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "c4c6fd7c4274d8418963e2006ccc790d06a65327"
|
|
69
69
|
}
|