verteilen-core 1.2.13 → 1.2.14
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/server/detail.d.ts +0 -1
- package/dist/server/detail.js +4 -6
- package/package.json +1 -1
- package/src/server/detail.ts +4 -10
package/dist/server/detail.d.ts
CHANGED
|
@@ -39,7 +39,6 @@ export declare class ServerDetail {
|
|
|
39
39
|
feedback: PluginFeedback;
|
|
40
40
|
message: Messager;
|
|
41
41
|
messager_log: Function;
|
|
42
|
-
t: Translate;
|
|
43
42
|
updatehandle: any;
|
|
44
43
|
re: Array<any>;
|
|
45
44
|
constructor(loader: RecordIOBase | undefined, backend: BackendAction, feedback: PluginFeedback, message: Messager, messager_log: Function, t: Translate);
|
package/dist/server/detail.js
CHANGED
|
@@ -15,7 +15,6 @@ class ServerDetail {
|
|
|
15
15
|
feedback;
|
|
16
16
|
message;
|
|
17
17
|
messager_log;
|
|
18
|
-
t;
|
|
19
18
|
updatehandle;
|
|
20
19
|
re = [];
|
|
21
20
|
constructor(loader, backend, feedback, message, messager_log, t) {
|
|
@@ -24,7 +23,6 @@ class ServerDetail {
|
|
|
24
23
|
this.feedback = feedback;
|
|
25
24
|
this.message = message;
|
|
26
25
|
this.messager_log = messager_log;
|
|
27
|
-
this.t = t;
|
|
28
26
|
const n = {
|
|
29
27
|
shellReply: this.shellReply,
|
|
30
28
|
folderReply: this.folderReply
|
|
@@ -61,9 +59,9 @@ class ServerDetail {
|
|
|
61
59
|
}
|
|
62
60
|
NewConnection = (x) => {
|
|
63
61
|
const p = {
|
|
64
|
-
title:
|
|
62
|
+
title: "New Connection Established",
|
|
65
63
|
type: 'success',
|
|
66
|
-
message: `${
|
|
64
|
+
message: `${x.websocket.url} \n${x.uuid}`
|
|
67
65
|
};
|
|
68
66
|
if (this.feedback.electron) {
|
|
69
67
|
this.feedback.electron('makeToast', p);
|
|
@@ -77,9 +75,9 @@ class ServerDetail {
|
|
|
77
75
|
};
|
|
78
76
|
DisConnection = (x) => {
|
|
79
77
|
const p = {
|
|
80
|
-
title:
|
|
78
|
+
title: "Network Disconnected",
|
|
81
79
|
type: 'error',
|
|
82
|
-
message: `${
|
|
80
|
+
message: `${x.websocket.url} \n${x.uuid}`
|
|
83
81
|
};
|
|
84
82
|
if (this.feedback.electron) {
|
|
85
83
|
this.feedback.electron('makeToast', p);
|
package/package.json
CHANGED
package/src/server/detail.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { v6 as uuidv6 } from 'uuid'
|
|
2
2
|
import {
|
|
3
3
|
BusAnalysis,
|
|
4
|
-
DATA_FOLDER,
|
|
5
4
|
Execute_ExecuteManager,
|
|
6
5
|
Execute_SocketManager,
|
|
7
6
|
ExecutePair,
|
|
@@ -75,10 +74,6 @@ export class ServerDetail {
|
|
|
75
74
|
feedback: PluginFeedback
|
|
76
75
|
message:Messager
|
|
77
76
|
messager_log:Function
|
|
78
|
-
/**
|
|
79
|
-
* i18n language translate function
|
|
80
|
-
*/
|
|
81
|
-
t:Translate
|
|
82
77
|
updatehandle: any
|
|
83
78
|
/**
|
|
84
79
|
* **A simple message queue**\
|
|
@@ -99,7 +94,6 @@ export class ServerDetail {
|
|
|
99
94
|
this.feedback = feedback
|
|
100
95
|
this.message = message
|
|
101
96
|
this.messager_log = messager_log
|
|
102
|
-
this.t = t
|
|
103
97
|
const n:NodeProxy = {
|
|
104
98
|
shellReply: this.shellReply,
|
|
105
99
|
folderReply: this.folderReply
|
|
@@ -140,9 +134,9 @@ export class ServerDetail {
|
|
|
140
134
|
|
|
141
135
|
NewConnection = (x:WebsocketPack) => {
|
|
142
136
|
const p = {
|
|
143
|
-
title:
|
|
137
|
+
title: "New Connection Established",
|
|
144
138
|
type: 'success',
|
|
145
|
-
message: `${
|
|
139
|
+
message: `${x.websocket.url} \n${x.uuid}`
|
|
146
140
|
}
|
|
147
141
|
if(this.feedback.electron){
|
|
148
142
|
this.feedback.electron('makeToast', p)
|
|
@@ -157,9 +151,9 @@ export class ServerDetail {
|
|
|
157
151
|
|
|
158
152
|
DisConnection = (x:WebsocketPack) => {
|
|
159
153
|
const p = {
|
|
160
|
-
title:
|
|
154
|
+
title: "Network Disconnected",
|
|
161
155
|
type: 'error',
|
|
162
|
-
message: `${
|
|
156
|
+
message: `${x.websocket.url} \n${x.uuid}`
|
|
163
157
|
}
|
|
164
158
|
if(this.feedback.electron){
|
|
165
159
|
this.feedback.electron('makeToast', p)
|