@abtnode/types 1.16.43-beta-20250422-042711-c40bec75 → 1.16.43-beta-20250424-125523-08a65a5c
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 +35 -3
- package/lib/type_pb.d.ts +21 -0
- package/package.json +2 -2
package/lib/rpc_pb.d.ts
CHANGED
|
@@ -526,9 +526,6 @@ export type TRequestVerifyAccessKey = {
|
|
|
526
526
|
resourceId: string;
|
|
527
527
|
componentDid: string;
|
|
528
528
|
};
|
|
529
|
-
export type TResponseVerifyAccessKey = {
|
|
530
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
|
531
|
-
};
|
|
532
529
|
export type TRequestCreateWebHook = {
|
|
533
530
|
type: enum_pb.SenderTypeMap[keyof enum_pb.SenderTypeMap];
|
|
534
531
|
title: string;
|
|
@@ -1331,3 +1328,38 @@ export type TResponseBlockletInfo = {
|
|
|
1331
1328
|
passport?: TBlockletPassport;
|
|
1332
1329
|
backup?: type_pb.TBackup;
|
|
1333
1330
|
};
|
|
1331
|
+
export type TRequestAddUploadEndpoint = {
|
|
1332
|
+
teamDid: string;
|
|
1333
|
+
url: string;
|
|
1334
|
+
scope: string;
|
|
1335
|
+
};
|
|
1336
|
+
export type TRequestDeleteUploadEndpoint = {
|
|
1337
|
+
teamDid: string;
|
|
1338
|
+
did: string;
|
|
1339
|
+
scope: string;
|
|
1340
|
+
projectId: string;
|
|
1341
|
+
};
|
|
1342
|
+
export type TRequestConnectToEndpoint = {
|
|
1343
|
+
did: string;
|
|
1344
|
+
endpointId: string;
|
|
1345
|
+
projectId: string;
|
|
1346
|
+
};
|
|
1347
|
+
export type TResponseConnectToEndpoint = {
|
|
1348
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
|
1349
|
+
url: string;
|
|
1350
|
+
};
|
|
1351
|
+
export type TRequestDisconnectFromEndpoint = {
|
|
1352
|
+
did: string;
|
|
1353
|
+
endpointId: string;
|
|
1354
|
+
projectId: string;
|
|
1355
|
+
};
|
|
1356
|
+
export type TRequestPublishToEndpoint = {
|
|
1357
|
+
did: string;
|
|
1358
|
+
endpointId: string;
|
|
1359
|
+
projectId: string;
|
|
1360
|
+
releaseId: string;
|
|
1361
|
+
};
|
|
1362
|
+
export type TResponsePublishToEndpoint = {
|
|
1363
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
|
1364
|
+
url: string;
|
|
1365
|
+
};
|
package/lib/type_pb.d.ts
CHANGED
|
@@ -385,6 +385,15 @@ export type TSimpleBlockletState = {
|
|
|
385
385
|
mountPoint: string;
|
|
386
386
|
deletedAt: number;
|
|
387
387
|
};
|
|
388
|
+
export type TConnectEndpoint = {
|
|
389
|
+
id: string;
|
|
390
|
+
scope: string;
|
|
391
|
+
url: string;
|
|
392
|
+
endpoint: string;
|
|
393
|
+
pb_protected: boolean;
|
|
394
|
+
appName: string;
|
|
395
|
+
appDescription: string;
|
|
396
|
+
};
|
|
388
397
|
export type TBlockletSettings = {
|
|
389
398
|
initialized: boolean;
|
|
390
399
|
enablePassportIssuance: boolean;
|
|
@@ -404,6 +413,7 @@ export type TBlockletSettings = {
|
|
|
404
413
|
autoBackup?: TAutoBackup;
|
|
405
414
|
invite?: TInviteSettings;
|
|
406
415
|
theme?: Record<string, any>;
|
|
416
|
+
endpointList: TConnectEndpoint[];
|
|
407
417
|
};
|
|
408
418
|
export type TBlockletMetaService = {
|
|
409
419
|
name: string;
|
|
@@ -1190,6 +1200,16 @@ export type TNodeRuntimeConfig = {
|
|
|
1190
1200
|
daemonMaxMemoryLimit: number;
|
|
1191
1201
|
proxyMaxMemoryLimit: number;
|
|
1192
1202
|
};
|
|
1203
|
+
export type TConnectedEndpoint = {
|
|
1204
|
+
endpointId: string;
|
|
1205
|
+
accessKeyId: string;
|
|
1206
|
+
accessKeySecret: string;
|
|
1207
|
+
expireId: string;
|
|
1208
|
+
developerDid: string;
|
|
1209
|
+
developerName: string;
|
|
1210
|
+
developerEmail: string;
|
|
1211
|
+
createdBy: string;
|
|
1212
|
+
};
|
|
1193
1213
|
export type TProject = {
|
|
1194
1214
|
id: string;
|
|
1195
1215
|
type: enum_pb.PublishTypeMap[keyof enum_pb.PublishTypeMap];
|
|
@@ -1210,6 +1230,7 @@ export type TProject = {
|
|
|
1210
1230
|
createdBy: string;
|
|
1211
1231
|
autoUpload: boolean;
|
|
1212
1232
|
possibleSameStore: boolean;
|
|
1233
|
+
connectedEndpoints: TConnectedEndpoint[];
|
|
1213
1234
|
};
|
|
1214
1235
|
export type TRelease = {
|
|
1215
1236
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abtnode/types",
|
|
3
|
-
"version": "1.16.43-beta-
|
|
3
|
+
"version": "1.16.43-beta-20250424-125523-08a65a5c",
|
|
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": "499de9f28770298a819122ba16a7f2b3cc78c7ee"
|
|
40
40
|
}
|