@firmer/mesh 0.0.7 → 0.0.9
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/mesh.js +7576 -6497
- package/dist/mesh.umd.cjs +8 -8
- package/dist/psi/builtin.d.ts +10 -11
- package/dist/psi/cache.d.ts +15 -5
- package/dist/psi/cipher.d.ts +27 -24
- package/dist/psi/cluster.d.ts +2 -0
- package/dist/psi/commerce.d.ts +4 -0
- package/dist/psi/cryptor.d.ts +5 -0
- package/dist/psi/daler.d.ts +42 -20
- package/dist/psi/datahouse.d.ts +13 -8
- package/dist/psi/devops.d.ts +25 -8
- package/dist/psi/endpoint.d.ts +2 -2
- package/dist/psi/firewall.d.ts +8 -4
- package/dist/psi/kms.d.ts +40 -6
- package/dist/psi/kv.d.ts +6 -1
- package/dist/psi/licenser.d.ts +5 -0
- package/dist/psi/locker.d.ts +4 -0
- package/dist/psi/network.d.ts +16 -5
- package/dist/psi/pipeline.d.ts +7 -9
- package/dist/psi/publisher.d.ts +4 -2
- package/dist/psi/registry.d.ts +14 -5
- package/dist/psi/subscriber.d.ts +1 -3
- package/dist/psi/tokenizer.d.ts +7 -2
- package/dist/psi/vm.d.ts +6 -0
- package/dist/tool/addrs.d.ts +2 -0
- package/dist/tool/tool.d.ts +4 -2
- package/dist/types/builtin.d.ts +28 -0
- package/dist/types/cipher.d.ts +27 -0
- package/dist/types/daler.d.ts +97 -8
- package/dist/types/devops.d.ts +36 -22
- package/dist/types/document.d.ts +11 -0
- package/dist/types/entity.d.ts +15 -0
- package/dist/types/environ.d.ts +15 -0
- package/dist/types/event.d.ts +16 -0
- package/dist/types/firewall.d.ts +30 -1
- package/dist/types/keys.d.ts +92 -0
- package/dist/types/license.d.ts +26 -0
- package/dist/types/oauth2.d.ts +36 -0
- package/dist/types/payload.d.ts +6 -0
- package/dist/types/principal.d.ts +8 -0
- package/dist/types/registration.d.ts +97 -0
- package/dist/types/route.d.ts +52 -0
- package/dist/types/savepoint.d.ts +10 -0
- package/dist/types/schema.d.ts +48 -0
- package/dist/types/script.d.ts +14 -0
- package/dist/types/status.d.ts +3 -0
- package/dist/types/transport.d.ts +18 -0
- package/dist/types/version.d.ts +2 -0
- package/dist/types/workflow.d.ts +43 -0
- package/package.json +7 -7
package/dist/types/script.d.ts
CHANGED
|
@@ -1,58 +1,72 @@
|
|
|
1
1
|
import { Mani } from './builtin';
|
|
2
2
|
export declare class Script extends Mani {
|
|
3
3
|
/**
|
|
4
|
+
* Script code
|
|
4
5
|
* Script code
|
|
5
6
|
*/
|
|
6
7
|
code: string;
|
|
7
8
|
/**
|
|
9
|
+
* Script name
|
|
8
10
|
* Script name
|
|
9
11
|
*/
|
|
10
12
|
name: string;
|
|
11
13
|
/**
|
|
14
|
+
* Script kind, EXPRESSION/VALUE/SCRIPT/PROJECT. PROJECT is .tar format
|
|
12
15
|
* Script kind, EXPRESSION/VALUE/SCRIPT/PROJECT. PROJECT is .tar format
|
|
13
16
|
*/
|
|
14
17
|
kind: string;
|
|
15
18
|
/**
|
|
19
|
+
* Script lang
|
|
16
20
|
* Script lang
|
|
17
21
|
*/
|
|
18
22
|
lang: string;
|
|
19
23
|
/**
|
|
24
|
+
* 标记 1内置
|
|
20
25
|
* 标记 1内置
|
|
21
26
|
*/
|
|
22
27
|
flags: number;
|
|
23
28
|
/**
|
|
29
|
+
* Script author
|
|
24
30
|
* Script author
|
|
25
31
|
*/
|
|
26
32
|
author: string;
|
|
27
33
|
/**
|
|
34
|
+
* Script version
|
|
28
35
|
* Script version
|
|
29
36
|
*/
|
|
30
37
|
version: string;
|
|
31
38
|
/**
|
|
39
|
+
* Script runtime, FE/RE
|
|
32
40
|
* Script runtime, FE/RE
|
|
33
41
|
*/
|
|
34
42
|
runtime: string;
|
|
35
43
|
/**
|
|
44
|
+
* Script memo
|
|
36
45
|
* Script memo
|
|
37
46
|
*/
|
|
38
47
|
memo: string;
|
|
39
48
|
/**
|
|
49
|
+
* Script icon
|
|
40
50
|
* Script icon
|
|
41
51
|
*/
|
|
42
52
|
icon: string;
|
|
43
53
|
/**
|
|
54
|
+
* Script doc
|
|
44
55
|
* Script doc
|
|
45
56
|
*/
|
|
46
57
|
doc: string;
|
|
47
58
|
/**
|
|
59
|
+
* Script in development
|
|
48
60
|
* Script in development
|
|
49
61
|
*/
|
|
50
62
|
dev: Uint8Array;
|
|
51
63
|
/**
|
|
64
|
+
* Script in runtime
|
|
52
65
|
* Script in runtime
|
|
53
66
|
*/
|
|
54
67
|
run: Uint8Array;
|
|
55
68
|
/**
|
|
69
|
+
* Script raw JSON
|
|
56
70
|
* Script raw JSON
|
|
57
71
|
*/
|
|
58
72
|
raw: Record<string, string>;
|
package/dist/types/status.d.ts
CHANGED
|
@@ -1,39 +1,57 @@
|
|
|
1
1
|
export declare class Payload {
|
|
2
2
|
/**
|
|
3
|
+
* packet index
|
|
4
|
+
* Packet idx
|
|
3
5
|
* Packet idx
|
|
4
6
|
*/
|
|
5
7
|
index: number;
|
|
6
8
|
/**
|
|
9
|
+
* package flag
|
|
10
|
+
* Packet flag in TCPHeader
|
|
7
11
|
* Packet flag in TCPHeader
|
|
8
12
|
*/
|
|
9
13
|
flag: number;
|
|
10
14
|
/**
|
|
15
|
+
* packet body
|
|
16
|
+
* Packet body
|
|
11
17
|
* Packet body
|
|
12
18
|
*/
|
|
13
19
|
body: Uint8Array;
|
|
14
20
|
}
|
|
15
21
|
export declare class Packet extends Payload {
|
|
16
22
|
/**
|
|
23
|
+
* one by one with connection
|
|
24
|
+
* Packet bucket
|
|
17
25
|
* Packet bucket
|
|
18
26
|
*/
|
|
19
27
|
bucket: string;
|
|
20
28
|
/**
|
|
29
|
+
* packet src instId
|
|
30
|
+
* Packet source
|
|
21
31
|
* Packet source
|
|
22
32
|
*/
|
|
23
33
|
src: string;
|
|
24
34
|
/**
|
|
35
|
+
* packet ref instId
|
|
36
|
+
* Packet reference
|
|
25
37
|
* Packet reference
|
|
26
38
|
*/
|
|
27
39
|
rid: string;
|
|
28
40
|
/**
|
|
41
|
+
* packet dst instId
|
|
42
|
+
* Packet destination
|
|
29
43
|
* Packet destination
|
|
30
44
|
*/
|
|
31
45
|
dst: string;
|
|
32
46
|
/**
|
|
47
|
+
* packet tls sni
|
|
48
|
+
* Packet SNI
|
|
33
49
|
* Packet SNI
|
|
34
50
|
*/
|
|
35
51
|
sni: string;
|
|
36
52
|
/**
|
|
53
|
+
* packet addr
|
|
54
|
+
* Packet net address
|
|
37
55
|
* Packet net address
|
|
38
56
|
*/
|
|
39
57
|
addr: string;
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export declare class Versions {
|
|
2
2
|
/**
|
|
3
|
+
* Platform version. main.sub.feature.bugfix like 1.5.0.0
|
|
3
4
|
* Platform version. main.sub.feature.bugfix like 1.5.0.0
|
|
4
5
|
*/
|
|
5
6
|
version: string;
|
|
6
7
|
/**
|
|
8
|
+
* Network modules info.
|
|
7
9
|
* Network modules info.
|
|
8
10
|
*/
|
|
9
11
|
infos: Record<string, string>;
|
package/dist/types/workflow.d.ts
CHANGED
|
@@ -1,189 +1,232 @@
|
|
|
1
1
|
export declare class Worker {
|
|
2
2
|
/**
|
|
3
|
+
* Worker identity
|
|
3
4
|
* Worker identity
|
|
4
5
|
*/
|
|
5
6
|
no: string;
|
|
6
7
|
/**
|
|
8
|
+
* Worker name
|
|
7
9
|
* Worker name
|
|
8
10
|
*/
|
|
9
11
|
name: string;
|
|
10
12
|
/**
|
|
13
|
+
* Worker alias
|
|
11
14
|
* Worker alias
|
|
12
15
|
*/
|
|
13
16
|
alias: string;
|
|
14
17
|
}
|
|
15
18
|
export declare class WorkIntent {
|
|
16
19
|
/**
|
|
20
|
+
* Business code
|
|
17
21
|
* Business code
|
|
18
22
|
*/
|
|
19
23
|
bno: string;
|
|
20
24
|
/**
|
|
25
|
+
* Workflow chart code
|
|
21
26
|
* Workflow chart code
|
|
22
27
|
*/
|
|
23
28
|
cno: string;
|
|
24
29
|
/**
|
|
30
|
+
* Workflow context
|
|
25
31
|
* Workflow context
|
|
26
32
|
*/
|
|
27
33
|
context: Record<string, string>;
|
|
28
34
|
/**
|
|
35
|
+
* Workflow applier
|
|
29
36
|
* Workflow applier
|
|
30
37
|
*/
|
|
31
38
|
applier: Worker;
|
|
32
39
|
}
|
|
33
40
|
export declare class WorkVertex {
|
|
34
41
|
/**
|
|
42
|
+
* Workflow name
|
|
35
43
|
* Workflow name
|
|
36
44
|
*/
|
|
37
45
|
name: string;
|
|
38
46
|
/**
|
|
47
|
+
* Workflow alias
|
|
39
48
|
* Workflow alias
|
|
40
49
|
*/
|
|
41
50
|
alias: string;
|
|
42
51
|
/**
|
|
52
|
+
* Workflow vertex attributes
|
|
43
53
|
* Workflow vertex attributes
|
|
44
54
|
*/
|
|
45
55
|
attrs: Record<string, string>;
|
|
46
56
|
/**
|
|
57
|
+
* Workflow vertex kind
|
|
47
58
|
* Workflow vertex kind
|
|
48
59
|
*/
|
|
49
60
|
kind: number;
|
|
50
61
|
/**
|
|
62
|
+
* Workflow review group code
|
|
51
63
|
* Workflow review group code
|
|
52
64
|
*/
|
|
53
65
|
group: string;
|
|
54
66
|
}
|
|
55
67
|
export declare class WorkSide {
|
|
56
68
|
/**
|
|
69
|
+
* Workflow side src name
|
|
57
70
|
* Workflow side src name
|
|
58
71
|
*/
|
|
59
72
|
src: string;
|
|
60
73
|
/**
|
|
74
|
+
* Workflow side dst name
|
|
61
75
|
* Workflow side dst name
|
|
62
76
|
*/
|
|
63
77
|
dst: string;
|
|
64
78
|
/**
|
|
79
|
+
* Workflow side condition
|
|
65
80
|
* Workflow side condition
|
|
66
81
|
*/
|
|
67
82
|
condition: string;
|
|
68
83
|
}
|
|
69
84
|
export declare class WorkChart {
|
|
70
85
|
/**
|
|
86
|
+
* Workflow chart code
|
|
71
87
|
* Workflow chart code
|
|
72
88
|
*/
|
|
73
89
|
cno: string;
|
|
74
90
|
/**
|
|
91
|
+
* Workflow name
|
|
75
92
|
* Workflow name
|
|
76
93
|
*/
|
|
77
94
|
name: string;
|
|
78
95
|
/**
|
|
96
|
+
* Workflow vertices
|
|
79
97
|
* Workflow vertices
|
|
80
98
|
*/
|
|
81
99
|
vertices: WorkVertex[];
|
|
82
100
|
/**
|
|
101
|
+
* Workflow sides
|
|
83
102
|
* Workflow sides
|
|
84
103
|
*/
|
|
85
104
|
sides: WorkSide[];
|
|
86
105
|
/**
|
|
106
|
+
* Workflow status
|
|
87
107
|
* Workflow status
|
|
88
108
|
*/
|
|
89
109
|
status: number;
|
|
90
110
|
/**
|
|
111
|
+
* Workflow maintainer
|
|
91
112
|
* Workflow maintainer
|
|
92
113
|
*/
|
|
93
114
|
maintainer: Worker;
|
|
94
115
|
}
|
|
95
116
|
export declare class WorkTask {
|
|
96
117
|
/**
|
|
118
|
+
* Workflow vertex
|
|
97
119
|
* Workflow vertex
|
|
98
120
|
*/
|
|
99
121
|
vertex: WorkVertex;
|
|
100
122
|
/**
|
|
123
|
+
* Workflow vertex reviewers
|
|
101
124
|
* Workflow vertex reviewers
|
|
102
125
|
*/
|
|
103
126
|
reviewers: Worker[];
|
|
104
127
|
/**
|
|
128
|
+
* Workflow vertex status
|
|
105
129
|
* Workflow vertex status
|
|
106
130
|
*/
|
|
107
131
|
status: number;
|
|
108
132
|
/**
|
|
133
|
+
* Workflow context
|
|
109
134
|
* Workflow context
|
|
110
135
|
*/
|
|
111
136
|
context: Record<string, string>;
|
|
112
137
|
}
|
|
113
138
|
export declare class WorkRoutine {
|
|
114
139
|
/**
|
|
140
|
+
* Workflow routine code
|
|
115
141
|
* Workflow routine code
|
|
116
142
|
*/
|
|
117
143
|
rno: string;
|
|
118
144
|
/**
|
|
145
|
+
* Business code
|
|
119
146
|
* Business code
|
|
120
147
|
*/
|
|
121
148
|
bno: string;
|
|
122
149
|
/**
|
|
150
|
+
* Workflow context
|
|
123
151
|
* Workflow context
|
|
124
152
|
*/
|
|
125
153
|
context: Record<string, string>;
|
|
126
154
|
/**
|
|
155
|
+
* Workflow status
|
|
127
156
|
* Workflow status
|
|
128
157
|
*/
|
|
129
158
|
status: number;
|
|
130
159
|
/**
|
|
160
|
+
* Workflow chart
|
|
131
161
|
* Workflow chart
|
|
132
162
|
*/
|
|
133
163
|
chart: WorkChart;
|
|
134
164
|
/**
|
|
165
|
+
* Workflow tasks
|
|
135
166
|
* Workflow tasks
|
|
136
167
|
*/
|
|
137
168
|
tasks: WorkTask[];
|
|
138
169
|
}
|
|
139
170
|
export declare class WorkGroup {
|
|
140
171
|
/**
|
|
172
|
+
* Work group identity
|
|
141
173
|
* Work group identity
|
|
142
174
|
*/
|
|
143
175
|
no: string;
|
|
144
176
|
/**
|
|
177
|
+
* Work group name
|
|
145
178
|
* Work group name
|
|
146
179
|
*/
|
|
147
180
|
name: string;
|
|
148
181
|
/**
|
|
182
|
+
* Workflow group status
|
|
149
183
|
* Workflow group status
|
|
150
184
|
*/
|
|
151
185
|
status: number;
|
|
152
186
|
/**
|
|
187
|
+
* Work group workers
|
|
153
188
|
* Work group workers
|
|
154
189
|
*/
|
|
155
190
|
workers: Worker[];
|
|
156
191
|
}
|
|
157
192
|
export declare class WorkContext {
|
|
158
193
|
/**
|
|
194
|
+
* Workflow routine code
|
|
159
195
|
* Workflow routine code
|
|
160
196
|
*/
|
|
161
197
|
rno: string;
|
|
162
198
|
/**
|
|
199
|
+
* Business code
|
|
163
200
|
* Business code
|
|
164
201
|
*/
|
|
165
202
|
bno: string;
|
|
166
203
|
/**
|
|
204
|
+
* Workflow chart code
|
|
167
205
|
* Workflow chart code
|
|
168
206
|
*/
|
|
169
207
|
cno: string;
|
|
170
208
|
/**
|
|
209
|
+
* Workflow context
|
|
171
210
|
* Workflow context
|
|
172
211
|
*/
|
|
173
212
|
context: Record<string, string>;
|
|
174
213
|
/**
|
|
214
|
+
* Workflow vertex
|
|
175
215
|
* Workflow vertex
|
|
176
216
|
*/
|
|
177
217
|
vertex: WorkVertex;
|
|
178
218
|
/**
|
|
219
|
+
* Workflow task
|
|
179
220
|
* Workflow task
|
|
180
221
|
*/
|
|
181
222
|
task: WorkTask;
|
|
182
223
|
/**
|
|
224
|
+
* Workflow applier
|
|
183
225
|
* Workflow applier
|
|
184
226
|
*/
|
|
185
227
|
applier: Worker;
|
|
186
228
|
/**
|
|
229
|
+
* Workflow reviewer
|
|
187
230
|
* Workflow reviewer
|
|
188
231
|
*/
|
|
189
232
|
reviewer: Worker;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firmer/mesh",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "Mesh: A lightweight, distributed, relational network architecture for MPC",
|
|
5
5
|
"homepage": "mesh",
|
|
6
6
|
"repository": "git.firmer.tech/firmer/mesh",
|
|
@@ -34,23 +34,23 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@grpc/grpc-js": "^1.14.3",
|
|
36
36
|
"@grpc/proto-loader": "^0.8.0",
|
|
37
|
-
"@types/node": "^25.0
|
|
37
|
+
"@types/node": "^25.2.0",
|
|
38
38
|
"async": "^3.2.6",
|
|
39
|
-
"axios": "^1.13.
|
|
39
|
+
"axios": "^1.13.4",
|
|
40
40
|
"buffer": "^6.0.3",
|
|
41
41
|
"google-protobuf": "^4.0.1",
|
|
42
42
|
"grpc-web": "^2.0.2",
|
|
43
|
-
"lodash": "^4.17.
|
|
43
|
+
"lodash": "^4.17.23",
|
|
44
44
|
"moment": "^2.30.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@firmer/tsc": "0.0.1",
|
|
48
|
-
"@types/react": "^19.2.
|
|
48
|
+
"@types/react": "^19.2.10",
|
|
49
49
|
"reflect-metadata": "^0.2.2",
|
|
50
50
|
"typescript": "^5.9.3",
|
|
51
|
-
"vite": "^7.3.
|
|
51
|
+
"vite": "^7.3.1",
|
|
52
52
|
"vite-plugin-dts": "^4.5.4",
|
|
53
|
-
"vitest": "^4.0.
|
|
53
|
+
"vitest": "^4.0.18"
|
|
54
54
|
},
|
|
55
55
|
"packageManager": "yarn@4.9.2"
|
|
56
56
|
}
|