@firmer/mesh 0.0.5 → 0.0.7
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/cause/errors.d.ts +5 -1
- package/dist/codec/json.d.ts +2 -2
- package/dist/http/consumer.d.ts +4 -2
- package/dist/index.d.ts +13 -5
- package/dist/mesh.js +7199 -6026
- package/dist/mesh.umd.cjs +8 -8
- package/dist/mpc/hook.d.ts +11 -11
- package/dist/mpc/mesh.d.ts +4 -0
- package/dist/mpc/reference.d.ts +1 -0
- package/dist/mpc/urn.d.ts +3 -1
- package/dist/psi/devops.d.ts +32 -0
- package/dist/psi/firewall.d.ts +20 -0
- package/dist/psi/index.d.ts +3 -1
- package/dist/psi/network.d.ts +4 -0
- package/dist/psi/tokenizer.d.ts +10 -6
- package/dist/psi/vm.d.ts +28 -0
- package/dist/types/devops.d.ts +100 -0
- package/dist/types/environ.d.ts +4 -0
- package/dist/types/firewall.d.ts +98 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/oauth2.d.ts +28 -10
- package/dist/types/schema.d.ts +158 -0
- package/dist/types/script.d.ts +42 -9
- package/package.json +8 -8
- package/dist/psi/evaluator.d.ts +0 -20
package/dist/cause/errors.d.ts
CHANGED
package/dist/codec/json.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Type } from '../macro';
|
|
2
2
|
import { Codec } from './codec';
|
|
3
3
|
export declare class JSONCodec extends Codec {
|
|
4
|
-
private encoder;
|
|
5
|
-
private decoder;
|
|
4
|
+
private readonly encoder;
|
|
5
|
+
private readonly decoder;
|
|
6
6
|
decode<T>(buffer: Uint8Array, type: Type<T>): T;
|
|
7
7
|
decorateAny(type: Type<any>, dict: any): any;
|
|
8
8
|
encode(value: any): Uint8Array;
|
package/dist/http/consumer.d.ts
CHANGED
|
@@ -3,8 +3,10 @@ import { Context } from '../psi';
|
|
|
3
3
|
import { Reference } from '../types';
|
|
4
4
|
import { AxiosInstance } from 'axios';
|
|
5
5
|
export declare class HTTPConsumer extends Consumer {
|
|
6
|
-
private
|
|
7
|
-
|
|
6
|
+
private readonly timeout;
|
|
7
|
+
private readonly cs;
|
|
8
|
+
getAddr(ctx: Context): string;
|
|
9
|
+
getClient(uri: string): Promise<AxiosInstance>;
|
|
8
10
|
start(): void;
|
|
9
11
|
close(): void;
|
|
10
12
|
consume(ctx: Context, address: string, urn: string, execution: Execution<Reference>, inbound: Uint8Array): Promise<Uint8Array>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Builtin, Cache, CipherEconomy, CipherProvider, Cluster, Commercialize, Cryptor, Daler, DataHouse, Endpoint,
|
|
1
|
+
import { Builtin, Cache, CipherEconomy, CipherProvider, Cluster, Commercialize, Cryptor, Daler, DataHouse, Devops, Endpoint, Firewalld, Graph, KMS, KV, Licenser, Locker, Network, Pipeline, Publisher, Registry, Savepoint, Scheduler, Sequence, Subscriber, Tokenizer, AuthProvider, Transporter, FileSystem, VM, Workflow } from './psi';
|
|
2
2
|
export * from './psi';
|
|
3
3
|
export * from './types';
|
|
4
4
|
export * from './asm';
|
|
@@ -39,14 +39,18 @@ interface MeshServices {
|
|
|
39
39
|
* DataHouse
|
|
40
40
|
*/
|
|
41
41
|
dataHouse: DataHouse;
|
|
42
|
+
/**
|
|
43
|
+
* Devops
|
|
44
|
+
*/
|
|
45
|
+
devops: Devops;
|
|
42
46
|
/**
|
|
43
47
|
* Endpoint
|
|
44
48
|
*/
|
|
45
49
|
endpoint: Endpoint;
|
|
46
50
|
/**
|
|
47
|
-
*
|
|
51
|
+
* Firewalld
|
|
48
52
|
*/
|
|
49
|
-
|
|
53
|
+
firewalld: Firewalld;
|
|
50
54
|
/**
|
|
51
55
|
* Graph
|
|
52
56
|
*/
|
|
@@ -104,9 +108,9 @@ interface MeshServices {
|
|
|
104
108
|
*/
|
|
105
109
|
tokenizer: Tokenizer;
|
|
106
110
|
/**
|
|
107
|
-
*
|
|
111
|
+
* AuthProvider
|
|
108
112
|
*/
|
|
109
|
-
|
|
113
|
+
authProvider: AuthProvider;
|
|
110
114
|
/**
|
|
111
115
|
* Transporter
|
|
112
116
|
*/
|
|
@@ -115,6 +119,10 @@ interface MeshServices {
|
|
|
115
119
|
* FileSystem
|
|
116
120
|
*/
|
|
117
121
|
fileSystem: FileSystem;
|
|
122
|
+
/**
|
|
123
|
+
* VM
|
|
124
|
+
*/
|
|
125
|
+
vm: VM;
|
|
118
126
|
/**
|
|
119
127
|
* Workflow
|
|
120
128
|
*/
|