@jay-framework/editor-protocol 0.10.0 → 0.12.0
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 +7 -11
- package/package.json +6 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { PluginManifest as PluginManifest$1, DynamicContractConfig } from '@jay-framework/compiler-shared';
|
|
2
|
+
|
|
1
3
|
interface BaseMessage<TResponse extends BaseResponse = BaseResponse> {
|
|
2
4
|
type: string;
|
|
3
5
|
}
|
|
@@ -71,23 +73,17 @@ interface ProjectComponent {
|
|
|
71
73
|
filePath: string;
|
|
72
74
|
contractPath?: string;
|
|
73
75
|
}
|
|
76
|
+
|
|
77
|
+
interface PluginManifest extends PluginManifest$1 {
|
|
78
|
+
}
|
|
79
|
+
interface DynamicContractDef extends DynamicContractConfig {
|
|
80
|
+
}
|
|
74
81
|
interface StaticContractDef {
|
|
75
82
|
name: string;
|
|
76
83
|
contract: string;
|
|
77
84
|
component: string;
|
|
78
85
|
description?: string;
|
|
79
86
|
}
|
|
80
|
-
interface DynamicContractDef {
|
|
81
|
-
prefix: string;
|
|
82
|
-
component: string;
|
|
83
|
-
generator: string;
|
|
84
|
-
}
|
|
85
|
-
interface PluginManifest {
|
|
86
|
-
name: string;
|
|
87
|
-
module?: string;
|
|
88
|
-
contracts?: StaticContractDef[];
|
|
89
|
-
dynamic_contracts?: DynamicContractDef;
|
|
90
|
-
}
|
|
91
87
|
interface Plugin {
|
|
92
88
|
manifest: PluginManifest;
|
|
93
89
|
location: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jay-framework/editor-protocol",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -23,9 +23,12 @@
|
|
|
23
23
|
"test": ":",
|
|
24
24
|
"test:watch": ":"
|
|
25
25
|
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@jay-framework/compiler-shared": "^0.12.0"
|
|
28
|
+
},
|
|
26
29
|
"devDependencies": {
|
|
27
|
-
"@jay-framework/dev-environment": "^0.
|
|
28
|
-
"@jay-framework/jay-cli": "^0.
|
|
30
|
+
"@jay-framework/dev-environment": "^0.12.0",
|
|
31
|
+
"@jay-framework/jay-cli": "^0.12.0",
|
|
29
32
|
"@types/node": "^22.15.21",
|
|
30
33
|
"rimraf": "^5.0.5",
|
|
31
34
|
"tsup": "^8.0.1",
|