@abtnode/types 1.16.34-beta-20241127-121930-0923dfae → 1.16.34-beta-20241204-140321-4d75ca21
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/lib/rpc_pb.d.ts +11 -5
- package/lib/type_pb.d.ts +17 -1
- package/package.json +2 -2
package/lib/rpc_pb.d.ts
CHANGED
@@ -479,6 +479,11 @@ export type TResponseRestartServer = {
|
|
479
479
|
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
480
480
|
sessionId: string;
|
481
481
|
};
|
482
|
+
export type TRequestRestartAllContainers = {};
|
483
|
+
export type TResponseRestartAllContainers = {
|
484
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
485
|
+
sessionId: string;
|
486
|
+
};
|
482
487
|
export type TRequestGetSession = {
|
483
488
|
id: string;
|
484
489
|
};
|
@@ -718,14 +723,9 @@ export type TResponseGetAuditLogs = {
|
|
718
723
|
list: type_pb.TAuditLog[];
|
719
724
|
paging?: type_pb.TPaging;
|
720
725
|
};
|
721
|
-
export type TRequestGateway = {
|
722
|
-
requestLimit?: type_pb.TRequestLimit;
|
723
|
-
cacheEnabled: boolean;
|
724
|
-
};
|
725
726
|
export type TResponseGateway = {
|
726
727
|
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
727
728
|
gateway?: type_pb.TGateway;
|
728
|
-
cacheEnabled: boolean;
|
729
729
|
};
|
730
730
|
export type TRequestBlockletRuntimeHistory = {
|
731
731
|
did: string;
|
@@ -871,6 +871,9 @@ export type TRequestUpdateProject = {
|
|
871
871
|
blockletIntroduction: string;
|
872
872
|
autoUpload: boolean;
|
873
873
|
possibleSameStore: boolean;
|
874
|
+
blockletSupport: string;
|
875
|
+
blockletCommunity: string;
|
876
|
+
blockletHomepage: string;
|
874
877
|
};
|
875
878
|
export type TRequestRelease = {
|
876
879
|
did: string;
|
@@ -907,6 +910,9 @@ export type TRequestCreateRelease = {
|
|
907
910
|
blockletComponents: string[];
|
908
911
|
uploadedResource: string;
|
909
912
|
blockletResourceType: string;
|
913
|
+
blockletSupport: string;
|
914
|
+
blockletCommunity: string;
|
915
|
+
blockletHomepage: string;
|
910
916
|
};
|
911
917
|
export type TResponseRelease = {
|
912
918
|
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
package/lib/type_pb.d.ts
CHANGED
@@ -53,6 +53,8 @@ export type TNodeRouting = {
|
|
53
53
|
adminPath: string;
|
54
54
|
requestLimit?: TRequestLimit;
|
55
55
|
cacheEnabled: boolean;
|
56
|
+
blockPolicy?: TBlockPolicy;
|
57
|
+
proxyPolicy?: TProxyPolicy;
|
56
58
|
};
|
57
59
|
export type TNodeInfo = {
|
58
60
|
name: string;
|
@@ -836,10 +838,21 @@ export type TAuditLog = {
|
|
836
838
|
export type TRequestLimit = {
|
837
839
|
enabled: boolean;
|
838
840
|
rate: number;
|
839
|
-
|
841
|
+
};
|
842
|
+
export type TBlockPolicy = {
|
843
|
+
enabled: boolean;
|
844
|
+
blacklist: string[];
|
845
|
+
};
|
846
|
+
export type TProxyPolicy = {
|
847
|
+
enabled: boolean;
|
848
|
+
trustRecursive: boolean;
|
849
|
+
trustedProxies: string[];
|
850
|
+
realIpHeader: string;
|
840
851
|
};
|
841
852
|
export type TGateway = {
|
842
853
|
requestLimit?: TRequestLimit;
|
854
|
+
blockPolicy?: TBlockPolicy;
|
855
|
+
proxyPolicy?: TProxyPolicy;
|
843
856
|
cacheEnabled: boolean;
|
844
857
|
};
|
845
858
|
export type TDelegationState = {
|
@@ -1012,6 +1025,9 @@ export type TRelease = {
|
|
1012
1025
|
publishedStoreIds: string[];
|
1013
1026
|
uploadedResource: string;
|
1014
1027
|
blockletResourceType: string;
|
1028
|
+
blockletSupport: string;
|
1029
|
+
blockletCommunity: string;
|
1030
|
+
blockletHomepage: string;
|
1015
1031
|
};
|
1016
1032
|
export type TBlockletResource = {
|
1017
1033
|
exportApi: string;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@abtnode/types",
|
3
|
-
"version": "1.16.34-beta-
|
3
|
+
"version": "1.16.34-beta-20241204-140321-4d75ca21",
|
4
4
|
"description": "Typescript definitions generated from protobuf",
|
5
5
|
"keywords": [
|
6
6
|
"abtnode",
|
@@ -36,5 +36,5 @@
|
|
36
36
|
"bugs": {
|
37
37
|
"url": "https://github.com/ArcBlock/abt-node/issues"
|
38
38
|
},
|
39
|
-
"gitHead": "
|
39
|
+
"gitHead": "85435dd99298c727eb7bb6c361f9dee6ef11cf08"
|
40
40
|
}
|