@blocklet/server-js 1.17.7-beta-20251225-073259-cb6ecf68 → 1.17.7-beta-20251227-001958-ea2ba3f5
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/browser.d.ts +24 -10
- package/dist/bundle.js +1 -1
- package/dist/report.html +2 -2
- package/dist/schema/graphql.json +89 -23
- package/dist/types.js +54 -19
- package/dist/types.js.map +1 -1
- package/docs/QUERIES.md +1932 -487
- package/lib/node.d.ts +24 -10
- package/lib/schema/graphql.json +89 -23
- package/lib/types.js +54 -19
- package/lib/types.js.map +1 -1
- package/package.json +4 -4
package/lib/node.d.ts
CHANGED
|
@@ -262,7 +262,10 @@ declare class ABTNodeClient {
|
|
|
262
262
|
configNavigations(
|
|
263
263
|
params: PartialDeep<ABTNodeClient.ConfigNavigationsParams>
|
|
264
264
|
): Promise<ABTNodeClient.ResponseBlocklet>;
|
|
265
|
-
|
|
265
|
+
configAuthentication(
|
|
266
|
+
params: PartialDeep<ABTNodeClient.ConfigAuthenticationParams>
|
|
267
|
+
): Promise<ABTNodeClient.ResponseBlocklet>;
|
|
268
|
+
configDidConnect(params: PartialDeep<ABTNodeClient.ConfigDidConnectParams>): Promise<ABTNodeClient.ResponseBlocklet>;
|
|
266
269
|
configNotification(
|
|
267
270
|
params: PartialDeep<ABTNodeClient.ConfigNotificationParams>
|
|
268
271
|
): Promise<ABTNodeClient.ResponseBlocklet>;
|
|
@@ -1260,11 +1263,21 @@ declare namespace ABTNodeClient {
|
|
|
1260
1263
|
componentDids: string[];
|
|
1261
1264
|
}
|
|
1262
1265
|
|
|
1266
|
+
interface RequestConfigAuthenticationInput {
|
|
1267
|
+
did: string;
|
|
1268
|
+
authentication: string;
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1263
1271
|
interface RequestConfigBlockletInput {
|
|
1264
1272
|
did: string[];
|
|
1265
1273
|
configs: ABTNodeClient.ConfigEntryInput[];
|
|
1266
1274
|
}
|
|
1267
1275
|
|
|
1276
|
+
interface RequestConfigDidConnectInput {
|
|
1277
|
+
did: string;
|
|
1278
|
+
didConnect: string;
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1268
1281
|
interface RequestConfigNavigationsInput {
|
|
1269
1282
|
did: string;
|
|
1270
1283
|
navigations: ABTNodeClient.ConfigNavigationInput[];
|
|
@@ -1275,11 +1288,6 @@ declare namespace ABTNodeClient {
|
|
|
1275
1288
|
notification: string;
|
|
1276
1289
|
}
|
|
1277
1290
|
|
|
1278
|
-
interface RequestConfigOAuthInput {
|
|
1279
|
-
did: string;
|
|
1280
|
-
oauth: string;
|
|
1281
|
-
}
|
|
1282
|
-
|
|
1283
1291
|
interface RequestConfigPassportIssuanceInput {
|
|
1284
1292
|
teamDid: string;
|
|
1285
1293
|
enable: boolean;
|
|
@@ -2997,7 +3005,7 @@ declare namespace ABTNodeClient {
|
|
|
2997
3005
|
publicToStore: boolean;
|
|
2998
3006
|
storeList: ABTNodeClient.BlockletStore[];
|
|
2999
3007
|
navigations: ABTNodeClient.ConfigNavigation[];
|
|
3000
|
-
|
|
3008
|
+
authentication: Record<string, any>;
|
|
3001
3009
|
trustedFactories: ABTNodeClient.TrustedFactory[];
|
|
3002
3010
|
notification: Record<string, any>;
|
|
3003
3011
|
session: ABTNodeClient.SessionConfig;
|
|
@@ -3011,6 +3019,7 @@ declare namespace ABTNodeClient {
|
|
|
3011
3019
|
enableSessionHardening: boolean;
|
|
3012
3020
|
aigne: ABTNodeClient.AigneConfig;
|
|
3013
3021
|
org: ABTNodeClient.OrgSettings;
|
|
3022
|
+
didConnect: Record<string, any>;
|
|
3014
3023
|
}
|
|
3015
3024
|
|
|
3016
3025
|
interface BlockletState {
|
|
@@ -3460,7 +3469,8 @@ declare namespace ABTNodeClient {
|
|
|
3460
3469
|
configBlocklet: ABTNodeClient.ResponseBlocklet;
|
|
3461
3470
|
configPublicToStore: ABTNodeClient.ResponseBlocklet;
|
|
3462
3471
|
configNavigations: ABTNodeClient.ResponseBlocklet;
|
|
3463
|
-
|
|
3472
|
+
configAuthentication: ABTNodeClient.ResponseBlocklet;
|
|
3473
|
+
configDidConnect: ABTNodeClient.ResponseBlocklet;
|
|
3464
3474
|
configNotification: ABTNodeClient.ResponseBlocklet;
|
|
3465
3475
|
configVault: ABTNodeClient.ResponseConfigVault;
|
|
3466
3476
|
sendEmail: ABTNodeClient.GeneralResponse;
|
|
@@ -5512,8 +5522,12 @@ declare namespace ABTNodeClient {
|
|
|
5512
5522
|
input: ABTNodeClient.RequestConfigNavigationsInput;
|
|
5513
5523
|
}
|
|
5514
5524
|
|
|
5515
|
-
interface
|
|
5516
|
-
input: ABTNodeClient.
|
|
5525
|
+
interface ConfigAuthenticationParams {
|
|
5526
|
+
input: ABTNodeClient.RequestConfigAuthenticationInput;
|
|
5527
|
+
}
|
|
5528
|
+
|
|
5529
|
+
interface ConfigDidConnectParams {
|
|
5530
|
+
input: ABTNodeClient.RequestConfigDidConnectInput;
|
|
5517
5531
|
}
|
|
5518
5532
|
|
|
5519
5533
|
interface ConfigNotificationParams {
|
package/lib/schema/graphql.json
CHANGED
|
@@ -4480,6 +4480,37 @@
|
|
|
4480
4480
|
"enumValues": null,
|
|
4481
4481
|
"possibleTypes": null
|
|
4482
4482
|
},
|
|
4483
|
+
{
|
|
4484
|
+
"kind": "INPUT_OBJECT",
|
|
4485
|
+
"name": "RequestConfigAuthenticationInput",
|
|
4486
|
+
"description": null,
|
|
4487
|
+
"fields": null,
|
|
4488
|
+
"inputFields": [
|
|
4489
|
+
{
|
|
4490
|
+
"name": "did",
|
|
4491
|
+
"description": null,
|
|
4492
|
+
"type": {
|
|
4493
|
+
"kind": "SCALAR",
|
|
4494
|
+
"name": "String",
|
|
4495
|
+
"ofType": null
|
|
4496
|
+
},
|
|
4497
|
+
"defaultValue": null
|
|
4498
|
+
},
|
|
4499
|
+
{
|
|
4500
|
+
"name": "authentication",
|
|
4501
|
+
"description": null,
|
|
4502
|
+
"type": {
|
|
4503
|
+
"kind": "SCALAR",
|
|
4504
|
+
"name": "String",
|
|
4505
|
+
"ofType": null
|
|
4506
|
+
},
|
|
4507
|
+
"defaultValue": null
|
|
4508
|
+
}
|
|
4509
|
+
],
|
|
4510
|
+
"interfaces": null,
|
|
4511
|
+
"enumValues": null,
|
|
4512
|
+
"possibleTypes": null
|
|
4513
|
+
},
|
|
4483
4514
|
{
|
|
4484
4515
|
"kind": "INPUT_OBJECT",
|
|
4485
4516
|
"name": "RequestConfigBlockletInput",
|
|
@@ -4529,7 +4560,7 @@
|
|
|
4529
4560
|
},
|
|
4530
4561
|
{
|
|
4531
4562
|
"kind": "INPUT_OBJECT",
|
|
4532
|
-
"name": "
|
|
4563
|
+
"name": "RequestConfigDidConnectInput",
|
|
4533
4564
|
"description": null,
|
|
4534
4565
|
"fields": null,
|
|
4535
4566
|
"inputFields": [
|
|
@@ -4544,20 +4575,12 @@
|
|
|
4544
4575
|
"defaultValue": null
|
|
4545
4576
|
},
|
|
4546
4577
|
{
|
|
4547
|
-
"name": "
|
|
4578
|
+
"name": "didConnect",
|
|
4548
4579
|
"description": null,
|
|
4549
4580
|
"type": {
|
|
4550
|
-
"kind": "
|
|
4551
|
-
"name":
|
|
4552
|
-
"ofType":
|
|
4553
|
-
"kind": "NON_NULL",
|
|
4554
|
-
"name": null,
|
|
4555
|
-
"ofType": {
|
|
4556
|
-
"kind": "INPUT_OBJECT",
|
|
4557
|
-
"name": "ConfigNavigationInput",
|
|
4558
|
-
"ofType": null
|
|
4559
|
-
}
|
|
4560
|
-
}
|
|
4581
|
+
"kind": "SCALAR",
|
|
4582
|
+
"name": "String",
|
|
4583
|
+
"ofType": null
|
|
4561
4584
|
},
|
|
4562
4585
|
"defaultValue": null
|
|
4563
4586
|
}
|
|
@@ -4568,7 +4591,7 @@
|
|
|
4568
4591
|
},
|
|
4569
4592
|
{
|
|
4570
4593
|
"kind": "INPUT_OBJECT",
|
|
4571
|
-
"name": "
|
|
4594
|
+
"name": "RequestConfigNavigationsInput",
|
|
4572
4595
|
"description": null,
|
|
4573
4596
|
"fields": null,
|
|
4574
4597
|
"inputFields": [
|
|
@@ -4583,12 +4606,20 @@
|
|
|
4583
4606
|
"defaultValue": null
|
|
4584
4607
|
},
|
|
4585
4608
|
{
|
|
4586
|
-
"name": "
|
|
4609
|
+
"name": "navigations",
|
|
4587
4610
|
"description": null,
|
|
4588
4611
|
"type": {
|
|
4589
|
-
"kind": "
|
|
4590
|
-
"name":
|
|
4591
|
-
"ofType":
|
|
4612
|
+
"kind": "LIST",
|
|
4613
|
+
"name": null,
|
|
4614
|
+
"ofType": {
|
|
4615
|
+
"kind": "NON_NULL",
|
|
4616
|
+
"name": null,
|
|
4617
|
+
"ofType": {
|
|
4618
|
+
"kind": "INPUT_OBJECT",
|
|
4619
|
+
"name": "ConfigNavigationInput",
|
|
4620
|
+
"ofType": null
|
|
4621
|
+
}
|
|
4622
|
+
}
|
|
4592
4623
|
},
|
|
4593
4624
|
"defaultValue": null
|
|
4594
4625
|
}
|
|
@@ -4599,7 +4630,7 @@
|
|
|
4599
4630
|
},
|
|
4600
4631
|
{
|
|
4601
4632
|
"kind": "INPUT_OBJECT",
|
|
4602
|
-
"name": "
|
|
4633
|
+
"name": "RequestConfigNotificationInput",
|
|
4603
4634
|
"description": null,
|
|
4604
4635
|
"fields": null,
|
|
4605
4636
|
"inputFields": [
|
|
@@ -4614,7 +4645,7 @@
|
|
|
4614
4645
|
"defaultValue": null
|
|
4615
4646
|
},
|
|
4616
4647
|
{
|
|
4617
|
-
"name": "
|
|
4648
|
+
"name": "notification",
|
|
4618
4649
|
"description": null,
|
|
4619
4650
|
"type": {
|
|
4620
4651
|
"kind": "SCALAR",
|
|
@@ -18386,7 +18417,7 @@
|
|
|
18386
18417
|
"deprecationReason": null
|
|
18387
18418
|
},
|
|
18388
18419
|
{
|
|
18389
|
-
"name": "
|
|
18420
|
+
"name": "authentication",
|
|
18390
18421
|
"description": null,
|
|
18391
18422
|
"args": [],
|
|
18392
18423
|
"type": {
|
|
@@ -18568,6 +18599,18 @@
|
|
|
18568
18599
|
},
|
|
18569
18600
|
"isDeprecated": false,
|
|
18570
18601
|
"deprecationReason": null
|
|
18602
|
+
},
|
|
18603
|
+
{
|
|
18604
|
+
"name": "didConnect",
|
|
18605
|
+
"description": null,
|
|
18606
|
+
"args": [],
|
|
18607
|
+
"type": {
|
|
18608
|
+
"kind": "SCALAR",
|
|
18609
|
+
"name": "Any",
|
|
18610
|
+
"ofType": null
|
|
18611
|
+
},
|
|
18612
|
+
"isDeprecated": false,
|
|
18613
|
+
"deprecationReason": null
|
|
18571
18614
|
}
|
|
18572
18615
|
],
|
|
18573
18616
|
"inputFields": null,
|
|
@@ -36960,7 +37003,30 @@
|
|
|
36960
37003
|
"deprecationReason": null
|
|
36961
37004
|
},
|
|
36962
37005
|
{
|
|
36963
|
-
"name": "
|
|
37006
|
+
"name": "configAuthentication",
|
|
37007
|
+
"description": null,
|
|
37008
|
+
"args": [
|
|
37009
|
+
{
|
|
37010
|
+
"name": "input",
|
|
37011
|
+
"description": null,
|
|
37012
|
+
"type": {
|
|
37013
|
+
"kind": "INPUT_OBJECT",
|
|
37014
|
+
"name": "RequestConfigAuthenticationInput",
|
|
37015
|
+
"ofType": null
|
|
37016
|
+
},
|
|
37017
|
+
"defaultValue": null
|
|
37018
|
+
}
|
|
37019
|
+
],
|
|
37020
|
+
"type": {
|
|
37021
|
+
"kind": "OBJECT",
|
|
37022
|
+
"name": "ResponseBlocklet",
|
|
37023
|
+
"ofType": null
|
|
37024
|
+
},
|
|
37025
|
+
"isDeprecated": false,
|
|
37026
|
+
"deprecationReason": null
|
|
37027
|
+
},
|
|
37028
|
+
{
|
|
37029
|
+
"name": "configDidConnect",
|
|
36964
37030
|
"description": null,
|
|
36965
37031
|
"args": [
|
|
36966
37032
|
{
|
|
@@ -36968,7 +37034,7 @@
|
|
|
36968
37034
|
"description": null,
|
|
36969
37035
|
"type": {
|
|
36970
37036
|
"kind": "INPUT_OBJECT",
|
|
36971
|
-
"name": "
|
|
37037
|
+
"name": "RequestConfigDidConnectInput",
|
|
36972
37038
|
"ofType": null
|
|
36973
37039
|
},
|
|
36974
37040
|
"defaultValue": null
|
package/lib/types.js
CHANGED
|
@@ -129,7 +129,8 @@
|
|
|
129
129
|
* // configBlocklet,
|
|
130
130
|
* // configPublicToStore,
|
|
131
131
|
* // configNavigations,
|
|
132
|
-
* //
|
|
132
|
+
* // configAuthentication,
|
|
133
|
+
* // configDidConnect,
|
|
133
134
|
* // configNotification,
|
|
134
135
|
* // configVault,
|
|
135
136
|
* // sendEmail,
|
|
@@ -1172,6 +1173,15 @@
|
|
|
1172
1173
|
* @property {Array<...ABTNodeClient.null>} componentDids
|
|
1173
1174
|
*/
|
|
1174
1175
|
|
|
1176
|
+
/**
|
|
1177
|
+
* Structure of ABTNodeClient.RequestConfigAuthenticationInput
|
|
1178
|
+
*
|
|
1179
|
+
* @memberof ABTNodeClient
|
|
1180
|
+
* @typedef {object} ABTNodeClient.RequestConfigAuthenticationInput
|
|
1181
|
+
* @property {string} did
|
|
1182
|
+
* @property {string} authentication
|
|
1183
|
+
*/
|
|
1184
|
+
|
|
1175
1185
|
/**
|
|
1176
1186
|
* Structure of ABTNodeClient.RequestConfigBlockletInput
|
|
1177
1187
|
*
|
|
@@ -1182,30 +1192,30 @@
|
|
|
1182
1192
|
*/
|
|
1183
1193
|
|
|
1184
1194
|
/**
|
|
1185
|
-
* Structure of ABTNodeClient.
|
|
1195
|
+
* Structure of ABTNodeClient.RequestConfigDidConnectInput
|
|
1186
1196
|
*
|
|
1187
1197
|
* @memberof ABTNodeClient
|
|
1188
|
-
* @typedef {object} ABTNodeClient.
|
|
1198
|
+
* @typedef {object} ABTNodeClient.RequestConfigDidConnectInput
|
|
1189
1199
|
* @property {string} did
|
|
1190
|
-
* @property {
|
|
1200
|
+
* @property {string} didConnect
|
|
1191
1201
|
*/
|
|
1192
1202
|
|
|
1193
1203
|
/**
|
|
1194
|
-
* Structure of ABTNodeClient.
|
|
1204
|
+
* Structure of ABTNodeClient.RequestConfigNavigationsInput
|
|
1195
1205
|
*
|
|
1196
1206
|
* @memberof ABTNodeClient
|
|
1197
|
-
* @typedef {object} ABTNodeClient.
|
|
1207
|
+
* @typedef {object} ABTNodeClient.RequestConfigNavigationsInput
|
|
1198
1208
|
* @property {string} did
|
|
1199
|
-
* @property {
|
|
1209
|
+
* @property {Array<...ABTNodeClient.null>} navigations
|
|
1200
1210
|
*/
|
|
1201
1211
|
|
|
1202
1212
|
/**
|
|
1203
|
-
* Structure of ABTNodeClient.
|
|
1213
|
+
* Structure of ABTNodeClient.RequestConfigNotificationInput
|
|
1204
1214
|
*
|
|
1205
1215
|
* @memberof ABTNodeClient
|
|
1206
|
-
* @typedef {object} ABTNodeClient.
|
|
1216
|
+
* @typedef {object} ABTNodeClient.RequestConfigNotificationInput
|
|
1207
1217
|
* @property {string} did
|
|
1208
|
-
* @property {string}
|
|
1218
|
+
* @property {string} notification
|
|
1209
1219
|
*/
|
|
1210
1220
|
|
|
1211
1221
|
/**
|
|
@@ -3881,7 +3891,7 @@
|
|
|
3881
3891
|
* @property {boolean} publicToStore
|
|
3882
3892
|
* @property {Array<...ABTNodeClient.null>} storeList
|
|
3883
3893
|
* @property {Array<...ABTNodeClient.null>} navigations
|
|
3884
|
-
* @property {any}
|
|
3894
|
+
* @property {any} authentication
|
|
3885
3895
|
* @property {Array<...ABTNodeClient.null>} trustedFactories
|
|
3886
3896
|
* @property {any} notification
|
|
3887
3897
|
* @property {...ABTNodeClient.SessionConfig} session
|
|
@@ -3895,6 +3905,7 @@
|
|
|
3895
3905
|
* @property {boolean} enableSessionHardening
|
|
3896
3906
|
* @property {...ABTNodeClient.AigneConfig} aigne
|
|
3897
3907
|
* @property {...ABTNodeClient.OrgSettings} org
|
|
3908
|
+
* @property {any} didConnect
|
|
3898
3909
|
*/
|
|
3899
3910
|
|
|
3900
3911
|
/**
|
|
@@ -4524,7 +4535,8 @@
|
|
|
4524
4535
|
* @property {...ABTNodeClient.ResponseBlocklet} configBlocklet
|
|
4525
4536
|
* @property {...ABTNodeClient.ResponseBlocklet} configPublicToStore
|
|
4526
4537
|
* @property {...ABTNodeClient.ResponseBlocklet} configNavigations
|
|
4527
|
-
* @property {...ABTNodeClient.ResponseBlocklet}
|
|
4538
|
+
* @property {...ABTNodeClient.ResponseBlocklet} configAuthentication
|
|
4539
|
+
* @property {...ABTNodeClient.ResponseBlocklet} configDidConnect
|
|
4528
4540
|
* @property {...ABTNodeClient.ResponseBlocklet} configNotification
|
|
4529
4541
|
* @property {...ABTNodeClient.ResponseConfigVault} configVault
|
|
4530
4542
|
* @property {...ABTNodeClient.GeneralResponse} sendEmail
|
|
@@ -8716,16 +8728,29 @@
|
|
|
8716
8728
|
*/
|
|
8717
8729
|
|
|
8718
8730
|
/**
|
|
8719
|
-
* Structure of ABTNodeClient.
|
|
8731
|
+
* Structure of ABTNodeClient.ConfigAuthenticationParams
|
|
8720
8732
|
*
|
|
8721
|
-
* Checkout the following snippet for the format of
|
|
8733
|
+
* Checkout the following snippet for the format of ConfigAuthenticationParams:
|
|
8722
8734
|
* ```json
|
|
8723
8735
|
{}
|
|
8724
8736
|
* ```
|
|
8725
8737
|
*
|
|
8726
8738
|
* @memberof ABTNodeClient
|
|
8727
|
-
* @typedef {object} ABTNodeClient.
|
|
8728
|
-
* @property {...ABTNodeClient.
|
|
8739
|
+
* @typedef {object} ABTNodeClient.ConfigAuthenticationParams
|
|
8740
|
+
* @property {...ABTNodeClient.RequestConfigAuthenticationInput} input
|
|
8741
|
+
*/
|
|
8742
|
+
|
|
8743
|
+
/**
|
|
8744
|
+
* Structure of ABTNodeClient.ConfigDidConnectParams
|
|
8745
|
+
*
|
|
8746
|
+
* Checkout the following snippet for the format of ConfigDidConnectParams:
|
|
8747
|
+
* ```json
|
|
8748
|
+
{}
|
|
8749
|
+
* ```
|
|
8750
|
+
*
|
|
8751
|
+
* @memberof ABTNodeClient
|
|
8752
|
+
* @typedef {object} ABTNodeClient.ConfigDidConnectParams
|
|
8753
|
+
* @property {...ABTNodeClient.RequestConfigDidConnectInput} input
|
|
8729
8754
|
*/
|
|
8730
8755
|
|
|
8731
8756
|
/**
|
|
@@ -11469,10 +11494,20 @@
|
|
|
11469
11494
|
*/
|
|
11470
11495
|
|
|
11471
11496
|
/**
|
|
11472
|
-
*
|
|
11497
|
+
* configAuthentication
|
|
11498
|
+
*
|
|
11499
|
+
* @name ABTNodeClient#configAuthentication
|
|
11500
|
+
* @param {ABTNodeClient.ConfigAuthenticationParams} params
|
|
11501
|
+
* @function
|
|
11502
|
+
* @memberof ABTNodeClient
|
|
11503
|
+
* @returns {Promise<ABTNodeClient.ResponseBlocklet>} Checkout {@link ABTNodeClient.ResponseBlocklet} for resolved data format
|
|
11504
|
+
*/
|
|
11505
|
+
|
|
11506
|
+
/**
|
|
11507
|
+
* configDidConnect
|
|
11473
11508
|
*
|
|
11474
|
-
* @name ABTNodeClient#
|
|
11475
|
-
* @param {ABTNodeClient.
|
|
11509
|
+
* @name ABTNodeClient#configDidConnect
|
|
11510
|
+
* @param {ABTNodeClient.ConfigDidConnectParams} params
|
|
11476
11511
|
* @function
|
|
11477
11512
|
* @memberof ABTNodeClient
|
|
11478
11513
|
* @returns {Promise<ABTNodeClient.ResponseBlocklet>} Checkout {@link ABTNodeClient.ResponseBlocklet} for resolved data format
|