We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6e861f commit cc6d322Copy full SHA for cc6d322
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@codebolt/codeboltjs",
3
- "version": "1.1.69",
+ "version": "1.1.70",
4
"description": "",
5
"keywords": [],
6
"author": "",
src/modules/project.ts
@@ -50,5 +50,19 @@ const cbproject = {
50
"type": "runProject"
51
}));
52
},
53
+ getEditorFileStatus:()=>{
54
+ return new Promise((resolve, reject) => {
55
+ cbws.getWebsocket.send(JSON.stringify({
56
+ "type": "settingEvent",
57
+ "action": "getEditorFileStatus",
58
+ }));
59
+ cbws.getWebsocket.on('message', (data: string) => {
60
+ const response = JSON.parse(data);
61
+ if (response.type === "getEditorFileStatusResponse") {
62
+ resolve(response);
63
+ }
64
+ });
65
66
67
};
68
export default cbproject
0 commit comments