@next-core/brick-types 2.60.0 → 2.60.3
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/CHANGELOG.md +33 -0
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/types/preview.d.ts +0 -68
- package/dist/types/preview.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,39 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.60.3](https://github.com/easyops-cn/next-core/compare/@next-core/brick-types@2.60.2...@next-core/brick-types@2.60.3) (2022-03-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* remove preview types from brick-types ([cb72e52](https://github.com/easyops-cn/next-core/commit/cb72e52a61cd05876f282a09e153e103401cdfbf))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [2.60.2](https://github.com/easyops-cn/next-core/compare/@next-core/brick-types@2.60.1...@next-core/brick-types@2.60.2) (2022-03-28)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **preview:** add types for context menu on brick ([5d1f468](https://github.com/easyops-cn/next-core/commit/5d1f46870a91355cc971f0cf2170e914e93df282))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## [2.60.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-types@2.60.0...@next-core/brick-types@2.60.1) (2022-03-15)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* add several preview message types ([9cc1f0a](https://github.com/easyops-cn/next-core/commit/9cc1f0a739f2b2612876d05c4d2e88d2424b7818))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
6
39
|
# [2.60.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-types@2.59.0...@next-core/brick-types@2.60.0) (2022-02-28)
|
|
7
40
|
|
|
8
41
|
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-core/brick-types",
|
|
3
|
-
"version": "2.60.
|
|
3
|
+
"version": "2.60.3",
|
|
4
4
|
"description": "Pure types for kernel",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-core/tree/master/packages/brick-types",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"history": "*",
|
|
42
42
|
"path-to-regexp": "*"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "da78a5d153b53a0966a917ba78fe801837fb78ef"
|
|
45
45
|
}
|
package/dist/types/preview.d.ts
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/** @internal */
|
|
2
|
-
export interface PreviewHelperBrick {
|
|
3
|
-
start(previewFromOrigin: string): void;
|
|
4
|
-
}
|
|
5
|
-
/** @internal */
|
|
6
|
-
export interface PreviewBaseMessage {
|
|
7
|
-
sender: "builder" | "preview-container" | "previewer";
|
|
8
|
-
type: string;
|
|
9
|
-
forwardedFor?: "builder" | "previewer";
|
|
10
|
-
}
|
|
11
|
-
/** @internal */
|
|
12
|
-
export interface PreviewMessageBuilderHoverOnBrick extends PreviewBaseMessage {
|
|
13
|
-
sender: "builder";
|
|
14
|
-
type: "hover-on-brick";
|
|
15
|
-
iid: string;
|
|
16
|
-
}
|
|
17
|
-
/** @internal */
|
|
18
|
-
export declare type PreviewMessageToPreviewer = PreviewMessageContainerBuilderHoverOnBrick | PreviewMessageContainerToggleInspecting;
|
|
19
|
-
/** @internal */
|
|
20
|
-
export declare type PreviewMessageFromContainer = PreviewMessageContainerBuilderHoverOnBrick | PreviewMessageContainerPreviewerHoverOnBrick | PreviewMessageContainerPreviewerSelectBrick;
|
|
21
|
-
/** @internal */
|
|
22
|
-
export declare type PreviewMessageToContainer = PreviewMessageBuilderHoverOnBrick | PreviewMessagePreviewerHoverOnBrick | PreviewMessagePreviewerSelectBrick | PreviewMessagePreviewerPreviewStarted;
|
|
23
|
-
/** @internal */
|
|
24
|
-
export declare type PreviewerMessageToBuilder = PreviewMessageContainerPreviewerHoverOnBrick | PreviewMessageContainerPreviewerSelectBrick;
|
|
25
|
-
/** @internal */
|
|
26
|
-
export interface PreviewMessagePreviewerPreviewStarted extends PreviewBaseMessage {
|
|
27
|
-
sender: "previewer";
|
|
28
|
-
type: "preview-started";
|
|
29
|
-
}
|
|
30
|
-
/** @internal */
|
|
31
|
-
export interface PreviewMessagePreviewerHoverOnBrick extends PreviewBaseMessage {
|
|
32
|
-
sender: "previewer";
|
|
33
|
-
type: "hover-on-brick";
|
|
34
|
-
iidList: string[];
|
|
35
|
-
}
|
|
36
|
-
/** @internal */
|
|
37
|
-
export interface PreviewMessagePreviewerSelectBrick extends PreviewBaseMessage {
|
|
38
|
-
sender: "previewer";
|
|
39
|
-
type: "select-brick";
|
|
40
|
-
iidList: string[];
|
|
41
|
-
}
|
|
42
|
-
/** @internal */
|
|
43
|
-
export interface PreviewMessageContainerStartPreview extends PreviewBaseMessage {
|
|
44
|
-
sender: "preview-container";
|
|
45
|
-
type: "start-preview";
|
|
46
|
-
}
|
|
47
|
-
/** @internal */
|
|
48
|
-
export interface PreviewMessageContainerToggleInspecting extends PreviewBaseMessage {
|
|
49
|
-
sender: "preview-container";
|
|
50
|
-
type: "toggle-inspecting";
|
|
51
|
-
enabled: boolean;
|
|
52
|
-
}
|
|
53
|
-
/** @internal */
|
|
54
|
-
export interface PreviewMessageContainerBuilderHoverOnBrick extends Omit<PreviewMessageBuilderHoverOnBrick, "sender"> {
|
|
55
|
-
sender: "preview-container";
|
|
56
|
-
forwardedFor: "builder";
|
|
57
|
-
}
|
|
58
|
-
/** @internal */
|
|
59
|
-
export interface PreviewMessageContainerPreviewerHoverOnBrick extends Omit<PreviewMessagePreviewerHoverOnBrick, "sender"> {
|
|
60
|
-
sender: "preview-container";
|
|
61
|
-
forwardedFor: "previewer";
|
|
62
|
-
}
|
|
63
|
-
/** @internal */
|
|
64
|
-
export interface PreviewMessageContainerPreviewerSelectBrick extends Omit<PreviewMessagePreviewerSelectBrick, "sender"> {
|
|
65
|
-
sender: "preview-container";
|
|
66
|
-
forwardedFor: "previewer";
|
|
67
|
-
}
|
|
68
|
-
//# sourceMappingURL=preview.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"preview.d.ts","sourceRoot":"","sources":["../../src/preview.ts"],"names":[],"mappings":"AAAA,gBAAgB;AAChB,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;CACxC;AAED,gBAAgB;AAChB,MAAM,WAAW,kBAAkB;IACj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