@fugood/bricks-project 2.21.0-beta.14.test1 → 2.21.0-beta.14.test10

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.
@@ -1,6 +1,12 @@
1
- import { SwitchCondInnerStateCurrentCanvas, SwitchCondData, SwitchDef } from './switch'
2
- import { Data, DataLink } from './data'
3
- import { Generator, EventAction, ActionWithDataParams, ActionWithParams, Action } from './common'
1
+ import type { SwitchCondInnerStateCurrentCanvas, SwitchCondData, SwitchDef } from './switch'
2
+ import type { Data, DataLink } from './data'
3
+ import type {
4
+ Generator,
5
+ EventAction,
6
+ ActionWithDataParams,
7
+ ActionWithParams,
8
+ Action,
9
+ } from './common'
4
10
 
5
11
  /* Start the tick */
6
12
  export type GeneratorTickAction_ = Action & {
@@ -246,7 +252,7 @@ export type GeneratorFileActionReadContent = ActionWithParams & {
246
252
  params?: Array<{
247
253
  input: 'encoding'
248
254
  value?: 'utf8' | 'base64' | DataLink
249
- mapping?: boolean
255
+ mapping?: string
250
256
  }>
251
257
  }
252
258
 
@@ -262,17 +268,17 @@ export type GeneratorFileActionAppendContent = ActionWithParams & {
262
268
  | {
263
269
  input: 'content'
264
270
  value?: string | DataLink
265
- mapping?: boolean
271
+ mapping?: string
266
272
  }
267
273
  | {
268
274
  input: 'encoding'
269
275
  value?: 'utf8' | 'base64' | DataLink
270
- mapping?: boolean
276
+ mapping?: string
271
277
  }
272
278
  | {
273
279
  input: 'contentList'
274
280
  value?: Array<any> | DataLink
275
- mapping?: boolean
281
+ mapping?: string
276
282
  }
277
283
  >
278
284
  }
@@ -284,22 +290,22 @@ export type GeneratorFileActionWriteContent = ActionWithParams & {
284
290
  | {
285
291
  input: 'content'
286
292
  value?: string | DataLink
287
- mapping?: boolean
293
+ mapping?: string
288
294
  }
289
295
  | {
290
296
  input: 'encoding'
291
297
  value?: 'utf8' | 'base64' | DataLink
292
- mapping?: boolean
298
+ mapping?: string
293
299
  }
294
300
  | {
295
301
  input: 'position'
296
302
  value?: number | DataLink
297
- mapping?: boolean
303
+ mapping?: string
298
304
  }
299
305
  | {
300
306
  input: 'contentList'
301
307
  value?: Array<any> | DataLink
302
- mapping?: boolean
308
+ mapping?: string
303
309
  }
304
310
  >
305
311
  }
@@ -311,17 +317,17 @@ export type GeneratorFileActionStartUpload = ActionWithParams & {
311
317
  | {
312
318
  input: 'withAll'
313
319
  value?: boolean | DataLink
314
- mapping?: boolean
320
+ mapping?: string
315
321
  }
316
322
  | {
317
323
  input: 'withId'
318
324
  value?: string | DataLink
319
- mapping?: boolean
325
+ mapping?: string
320
326
  }
321
327
  | {
322
328
  input: 'withIndex'
323
329
  value?: number | DataLink
324
- mapping?: boolean
330
+ mapping?: string
325
331
  }
326
332
  >
327
333
  }
@@ -333,17 +339,17 @@ export type GeneratorFileActionStopUpload = ActionWithParams & {
333
339
  | {
334
340
  input: 'withAll'
335
341
  value?: boolean | DataLink
336
- mapping?: boolean
342
+ mapping?: string
337
343
  }
338
344
  | {
339
345
  input: 'withId'
340
346
  value?: string | DataLink
341
- mapping?: boolean
347
+ mapping?: string
342
348
  }
343
349
  | {
344
350
  input: 'withIndex'
345
351
  value?: number | DataLink
346
- mapping?: boolean
352
+ mapping?: string
347
353
  }
348
354
  >
349
355
  }
@@ -355,17 +361,17 @@ export type GeneratorFileActionStartDownload = ActionWithParams & {
355
361
  | {
356
362
  input: 'withAll'
357
363
  value?: boolean | DataLink
358
- mapping?: boolean
364
+ mapping?: string
359
365
  }
360
366
  | {
361
367
  input: 'withId'
362
368
  value?: string | DataLink
363
- mapping?: boolean
369
+ mapping?: string
364
370
  }
365
371
  | {
366
372
  input: 'withIndex'
367
373
  value?: number | DataLink
368
- mapping?: boolean
374
+ mapping?: string
369
375
  }
370
376
  >
371
377
  }
@@ -377,17 +383,17 @@ export type GeneratorFileActionStopDownload = ActionWithParams & {
377
383
  | {
378
384
  input: 'withAll'
379
385
  value?: boolean | DataLink
380
- mapping?: boolean
386
+ mapping?: string
381
387
  }
382
388
  | {
383
389
  input: 'withId'
384
390
  value?: string | DataLink
385
- mapping?: boolean
391
+ mapping?: string
386
392
  }
387
393
  | {
388
394
  input: 'withIndex'
389
395
  value?: number | DataLink
390
- mapping?: boolean
396
+ mapping?: string
391
397
  }
392
398
  >
393
399
  }
@@ -906,12 +912,12 @@ export type GeneratorDataBankActionUpdateProperty = ActionWithParams & {
906
912
  | {
907
913
  input: 'propertyId'
908
914
  value?: string | DataLink
909
- mapping?: boolean
915
+ mapping?: string
910
916
  }
911
917
  | {
912
918
  input: 'propertyValue'
913
919
  value?: any
914
- mapping?: boolean
920
+ mapping?: string
915
921
  }
916
922
  >
917
923
  }
@@ -922,7 +928,7 @@ export type GeneratorDataBankActionRemoveProperty = ActionWithParams & {
922
928
  params?: Array<{
923
929
  input: 'propertyId'
924
930
  value?: string | DataLink
925
- mapping?: boolean
931
+ mapping?: string
926
932
  }>
927
933
  }
928
934
 
@@ -1041,17 +1047,17 @@ export type GeneratorGraphQLActionRunQuery = ActionWithParams & {
1041
1047
  | {
1042
1048
  input: 'type'
1043
1049
  value?: 'query' | 'mutation' | 'subscription' | DataLink
1044
- mapping?: boolean
1050
+ mapping?: string
1045
1051
  }
1046
1052
  | {
1047
1053
  input: 'query'
1048
1054
  value?: string | DataLink
1049
- mapping?: boolean
1055
+ mapping?: string
1050
1056
  }
1051
1057
  | {
1052
1058
  input: 'variables'
1053
1059
  value?: {} | DataLink
1054
- mapping?: boolean
1060
+ mapping?: string
1055
1061
  }
1056
1062
  >
1057
1063
  }
@@ -1511,22 +1517,22 @@ export type GeneratorWebSocketActionEmit = ActionWithParams & {
1511
1517
  | {
1512
1518
  input: 'eventName'
1513
1519
  value?: string | DataLink
1514
- mapping?: boolean
1520
+ mapping?: string
1515
1521
  }
1516
1522
  | {
1517
1523
  input: 'arguments'
1518
1524
  value?: Array<any> | DataLink
1519
- mapping?: boolean
1525
+ mapping?: string
1520
1526
  }
1521
1527
  | {
1522
1528
  input: 'acknowledgementType'
1523
1529
  value?: 'text' | 'json' | DataLink
1524
- mapping?: boolean
1530
+ mapping?: string
1525
1531
  }
1526
1532
  | {
1527
1533
  input: 'withAcknowledgement'
1528
1534
  value?: boolean | DataLink
1529
- mapping?: boolean
1535
+ mapping?: string
1530
1536
  }
1531
1537
  >
1532
1538
  }
@@ -1537,7 +1543,7 @@ export type GeneratorWebSocketActionSend = ActionWithParams & {
1537
1543
  params?: Array<{
1538
1544
  input: 'value'
1539
1545
  value?: string | DataLink
1540
- mapping?: boolean
1546
+ mapping?: string
1541
1547
  }>
1542
1548
  }
1543
1549
 
@@ -2029,22 +2035,22 @@ export type GeneratorMQTTActionPublish = ActionWithParams & {
2029
2035
  | {
2030
2036
  input: 'topic'
2031
2037
  value?: string | DataLink
2032
- mapping?: boolean
2038
+ mapping?: string
2033
2039
  }
2034
2040
  | {
2035
2041
  input: 'payload'
2036
2042
  value?: any
2037
- mapping?: boolean
2043
+ mapping?: string
2038
2044
  }
2039
2045
  | {
2040
2046
  input: 'qos'
2041
2047
  value?: '0' | '1' | '2' | DataLink
2042
- mapping?: boolean
2048
+ mapping?: string
2043
2049
  }
2044
2050
  | {
2045
2051
  input: 'retain'
2046
2052
  value?: boolean | DataLink
2047
- mapping?: boolean
2053
+ mapping?: string
2048
2054
  }
2049
2055
  >
2050
2056
  }
@@ -2173,17 +2179,17 @@ export type GeneratorMQTTBrokerActionPublish = ActionWithParams & {
2173
2179
  | {
2174
2180
  input: 'topic'
2175
2181
  value?: string | DataLink
2176
- mapping?: boolean
2182
+ mapping?: string
2177
2183
  }
2178
2184
  | {
2179
2185
  input: 'payload'
2180
2186
  value?: string | DataLink
2181
- mapping?: boolean
2187
+ mapping?: string
2182
2188
  }
2183
2189
  | {
2184
2190
  input: 'messageId'
2185
2191
  value?: number | DataLink
2186
- mapping?: boolean
2192
+ mapping?: string
2187
2193
  }
2188
2194
  >
2189
2195
  }
@@ -2341,7 +2347,7 @@ export type GeneratorBleCentralActionConnect = ActionWithParams & {
2341
2347
  params?: Array<{
2342
2348
  input: 'deviceId'
2343
2349
  value?: string | DataLink
2344
- mapping?: boolean
2350
+ mapping?: string
2345
2351
  }>
2346
2352
  }
2347
2353
 
@@ -2352,17 +2358,17 @@ export type GeneratorBleCentralActionReadCharacteristic = ActionWithParams & {
2352
2358
  | {
2353
2359
  input: 'deviceId'
2354
2360
  value?: string | DataLink
2355
- mapping?: boolean
2361
+ mapping?: string
2356
2362
  }
2357
2363
  | {
2358
2364
  input: 'serviceId'
2359
2365
  value?: string | DataLink
2360
- mapping?: boolean
2366
+ mapping?: string
2361
2367
  }
2362
2368
  | {
2363
2369
  input: 'characteristicId'
2364
2370
  value?: string | DataLink
2365
- mapping?: boolean
2371
+ mapping?: string
2366
2372
  }
2367
2373
  >
2368
2374
  }
@@ -2374,17 +2380,17 @@ export type GeneratorBleCentralActionMonitorCharacteristic = ActionWithParams &
2374
2380
  | {
2375
2381
  input: 'deviceId'
2376
2382
  value?: string | DataLink
2377
- mapping?: boolean
2383
+ mapping?: string
2378
2384
  }
2379
2385
  | {
2380
2386
  input: 'serviceId'
2381
2387
  value?: string | DataLink
2382
- mapping?: boolean
2388
+ mapping?: string
2383
2389
  }
2384
2390
  | {
2385
2391
  input: 'characteristicId'
2386
2392
  value?: string | DataLink
2387
- mapping?: boolean
2393
+ mapping?: string
2388
2394
  }
2389
2395
  >
2390
2396
  }
@@ -2396,17 +2402,17 @@ export type GeneratorBleCentralActionCancelMonitorCharacteristic = ActionWithPar
2396
2402
  | {
2397
2403
  input: 'deviceId'
2398
2404
  value?: string | DataLink
2399
- mapping?: boolean
2405
+ mapping?: string
2400
2406
  }
2401
2407
  | {
2402
2408
  input: 'serviceId'
2403
2409
  value?: string | DataLink
2404
- mapping?: boolean
2410
+ mapping?: string
2405
2411
  }
2406
2412
  | {
2407
2413
  input: 'characteristicId'
2408
2414
  value?: string | DataLink
2409
- mapping?: boolean
2415
+ mapping?: string
2410
2416
  }
2411
2417
  >
2412
2418
  }
@@ -2418,27 +2424,27 @@ export type GeneratorBleCentralActionWriteCharacteristic = ActionWithParams & {
2418
2424
  | {
2419
2425
  input: 'deviceId'
2420
2426
  value?: string | DataLink
2421
- mapping?: boolean
2427
+ mapping?: string
2422
2428
  }
2423
2429
  | {
2424
2430
  input: 'serviceId'
2425
2431
  value?: string | DataLink
2426
- mapping?: boolean
2432
+ mapping?: string
2427
2433
  }
2428
2434
  | {
2429
2435
  input: 'characteristicId'
2430
2436
  value?: string | DataLink
2431
- mapping?: boolean
2437
+ mapping?: string
2432
2438
  }
2433
2439
  | {
2434
2440
  input: 'dataHex'
2435
2441
  value?: string | DataLink
2436
- mapping?: boolean
2442
+ mapping?: string
2437
2443
  }
2438
2444
  | {
2439
2445
  input: 'writeWithoutResponse'
2440
2446
  value?: boolean | DataLink
2441
- mapping?: boolean
2447
+ mapping?: string
2442
2448
  }
2443
2449
  >
2444
2450
  }
@@ -2449,7 +2455,7 @@ export type GeneratorBleCentralActionDisconnect = ActionWithParams & {
2449
2455
  params?: Array<{
2450
2456
  input: 'deviceId'
2451
2457
  value?: string | DataLink
2452
- mapping?: boolean
2458
+ mapping?: string
2453
2459
  }>
2454
2460
  }
2455
2461
 
@@ -2634,12 +2640,12 @@ export type GeneratorSerialPortActionGeneratorSerialSendString = ActionWithParam
2634
2640
  | {
2635
2641
  input: 'generatorSerialStringValue'
2636
2642
  value?: string | DataLink
2637
- mapping?: boolean
2643
+ mapping?: string
2638
2644
  }
2639
2645
  | {
2640
2646
  input: 'generatorSerialStringEncoding'
2641
2647
  value?: string | DataLink
2642
- mapping?: boolean
2648
+ mapping?: string
2643
2649
  }
2644
2650
  >
2645
2651
  }
@@ -2650,7 +2656,7 @@ export type GeneratorSerialPortActionGeneratorSerialSendHex = ActionWithParams &
2650
2656
  params?: Array<{
2651
2657
  input: 'generatorSerialHexValue'
2652
2658
  value?: string | DataLink
2653
- mapping?: boolean
2659
+ mapping?: string
2654
2660
  }>
2655
2661
  }
2656
2662
 
@@ -2779,7 +2785,7 @@ export type GeneratorTCPActionSend = ActionWithParams & {
2779
2785
  params?: Array<{
2780
2786
  input: 'sendData'
2781
2787
  value?: string | DataLink
2782
- mapping?: boolean
2788
+ mapping?: string
2783
2789
  }>
2784
2790
  }
2785
2791
 
@@ -2789,7 +2795,7 @@ export type GeneratorTCPActionEnd = ActionWithParams & {
2789
2795
  params?: Array<{
2790
2796
  input: 'endWithData'
2791
2797
  value?: string | DataLink
2792
- mapping?: boolean
2798
+ mapping?: string
2793
2799
  }>
2794
2800
  }
2795
2801
 
@@ -2908,12 +2914,12 @@ export type GeneratorTCPServerActionSend = ActionWithParams & {
2908
2914
  | {
2909
2915
  input: 'remote'
2910
2916
  value?: string | DataLink
2911
- mapping?: boolean
2917
+ mapping?: string
2912
2918
  }
2913
2919
  | {
2914
2920
  input: 'sendData'
2915
2921
  value?: string | DataLink
2916
- mapping?: boolean
2922
+ mapping?: string
2917
2923
  }
2918
2924
  >
2919
2925
  }
@@ -2925,12 +2931,12 @@ export type GeneratorTCPServerActionEnd = ActionWithParams & {
2925
2931
  | {
2926
2932
  input: 'remote'
2927
2933
  value?: string | DataLink
2928
- mapping?: boolean
2934
+ mapping?: string
2929
2935
  }
2930
2936
  | {
2931
2937
  input: 'generatorTcpClientEndWithData'
2932
2938
  value?: string | DataLink
2933
- mapping?: boolean
2939
+ mapping?: string
2934
2940
  }
2935
2941
  >
2936
2942
  }
@@ -3084,17 +3090,17 @@ export type GeneratorUDPActionSend = ActionWithParams & {
3084
3090
  | {
3085
3091
  input: 'targetHost'
3086
3092
  value?: string | DataLink
3087
- mapping?: boolean
3093
+ mapping?: string
3088
3094
  }
3089
3095
  | {
3090
3096
  input: 'targetPort'
3091
3097
  value?: number | DataLink
3092
- mapping?: boolean
3098
+ mapping?: string
3093
3099
  }
3094
3100
  | {
3095
3101
  input: 'sendData'
3096
3102
  value?: string | DataLink
3097
- mapping?: boolean
3103
+ mapping?: string
3098
3104
  }
3099
3105
  >
3100
3106
  }
@@ -3391,7 +3397,7 @@ export type GeneratorWebRTCActionProcessInputSignal = ActionWithParams & {
3391
3397
  params?: Array<{
3392
3398
  input: 'inputSignal'
3393
3399
  value?: any
3394
- mapping?: boolean
3400
+ mapping?: string
3395
3401
  }>
3396
3402
  }
3397
3403
 
@@ -3406,7 +3412,7 @@ export type GeneratorWebRTCActionChannelSend = ActionWithParams & {
3406
3412
  params?: Array<{
3407
3413
  input: 'textMessage'
3408
3414
  value?: string | DataLink
3409
- mapping?: boolean
3415
+ mapping?: string
3410
3416
  }>
3411
3417
  }
3412
3418
 
@@ -3868,22 +3874,22 @@ export type GeneratorBlePeripheralActionNotify = ActionWithParams & {
3868
3874
  | {
3869
3875
  input: 'serviceId'
3870
3876
  value?: string | DataLink
3871
- mapping?: boolean
3877
+ mapping?: string
3872
3878
  }
3873
3879
  | {
3874
3880
  input: 'charId'
3875
3881
  value?: string | DataLink
3876
- mapping?: boolean
3882
+ mapping?: string
3877
3883
  }
3878
3884
  | {
3879
3885
  input: 'value'
3880
3886
  value?: string | DataLink
3881
- mapping?: boolean
3887
+ mapping?: string
3882
3888
  }
3883
3889
  | {
3884
3890
  input: 'encoding'
3885
3891
  value?: 'utf8' | 'hex' | 'base64' | DataLink
3886
- mapping?: boolean
3892
+ mapping?: string
3887
3893
  }
3888
3894
  >
3889
3895
  }
@@ -4501,37 +4507,37 @@ export type GeneratorIntentActionSendIntent = ActionWithParams & {
4501
4507
  | {
4502
4508
  input: 'action'
4503
4509
  value?: string | DataLink
4504
- mapping?: boolean
4510
+ mapping?: string
4505
4511
  }
4506
4512
  | {
4507
4513
  input: 'data'
4508
4514
  value?: string | DataLink
4509
- mapping?: boolean
4515
+ mapping?: string
4510
4516
  }
4511
4517
  | {
4512
4518
  input: 'type'
4513
4519
  value?: string | DataLink
4514
- mapping?: boolean
4520
+ mapping?: string
4515
4521
  }
4516
4522
  | {
4517
4523
  input: 'extra'
4518
4524
  value?: {} | DataLink
4519
- mapping?: boolean
4525
+ mapping?: string
4520
4526
  }
4521
4527
  | {
4522
4528
  input: 'className'
4523
4529
  value?: string | DataLink
4524
- mapping?: boolean
4530
+ mapping?: string
4525
4531
  }
4526
4532
  | {
4527
4533
  input: 'packageName'
4528
4534
  value?: string | DataLink
4529
- mapping?: boolean
4535
+ mapping?: string
4530
4536
  }
4531
4537
  | {
4532
4538
  input: 'category'
4533
4539
  value?: string | DataLink
4534
- mapping?: boolean
4540
+ mapping?: string
4535
4541
  }
4536
4542
  >
4537
4543
  }
@@ -4634,12 +4640,12 @@ export type GeneratorTapPayT2PActionBind = ActionWithParams & {
4634
4640
  | {
4635
4641
  input: 'bindId'
4636
4642
  value?: number | DataLink
4637
- mapping?: boolean
4643
+ mapping?: string
4638
4644
  }
4639
4645
  | {
4640
4646
  input: 'bindDescription'
4641
4647
  value?: string | DataLink
4642
- mapping?: boolean
4648
+ mapping?: string
4643
4649
  }
4644
4650
  >
4645
4651
  }
@@ -4661,17 +4667,17 @@ export type GeneratorTapPayT2PActionReadCardAndAuthorization = ActionWithParams
4661
4667
  | {
4662
4668
  input: 'amount'
4663
4669
  value?: number | DataLink
4664
- mapping?: boolean
4670
+ mapping?: string
4665
4671
  }
4666
4672
  | {
4667
4673
  input: 'orderNumber'
4668
4674
  value?: string | DataLink
4669
- mapping?: boolean
4675
+ mapping?: string
4670
4676
  }
4671
4677
  | {
4672
4678
  input: 'bankTransactionId'
4673
4679
  value?: string | DataLink
4674
- mapping?: boolean
4680
+ mapping?: string
4675
4681
  }
4676
4682
  >
4677
4683
  }
@@ -4683,17 +4689,17 @@ export type GeneratorTapPayT2PActionGetReceipt = ActionWithParams & {
4683
4689
  | {
4684
4690
  input: 'receiptIdentifier'
4685
4691
  value?: string | DataLink
4686
- mapping?: boolean
4692
+ mapping?: string
4687
4693
  }
4688
4694
  | {
4689
4695
  input: 'type'
4690
4696
  value?: 'html' | 'pkpass' | DataLink
4691
- mapping?: boolean
4697
+ mapping?: string
4692
4698
  }
4693
4699
  | {
4694
4700
  input: 'email'
4695
4701
  value?: string | DataLink
4696
- mapping?: boolean
4702
+ mapping?: string
4697
4703
  }
4698
4704
  >
4699
4705
  }
@@ -4924,17 +4930,17 @@ export type GeneratorThermalPrinterActionPrint = ActionWithParams & {
4924
4930
  | {
4925
4931
  input: 'options'
4926
4932
  value?: {} | DataLink
4927
- mapping?: boolean
4933
+ mapping?: string
4928
4934
  }
4929
4935
  | {
4930
4936
  input: 'payload'
4931
4937
  value?: Array<any> | DataLink
4932
- mapping?: boolean
4938
+ mapping?: string
4933
4939
  }
4934
4940
  | {
4935
4941
  input: 'rawCommands'
4936
4942
  value?: string | DataLink
4937
- mapping?: boolean
4943
+ mapping?: string
4938
4944
  }
4939
4945
  >
4940
4946
  }
@@ -5089,7 +5095,7 @@ export type GeneratorTTSActionGenerate = ActionWithParams & {
5089
5095
  params?: Array<{
5090
5096
  input: 'text'
5091
5097
  value?: string | DataLink
5092
- mapping?: boolean
5098
+ mapping?: string
5093
5099
  }>
5094
5100
  }
5095
5101
 
@@ -5253,12 +5259,12 @@ export type GeneratorOnnxLLMActionInfer = ActionWithParams & {
5253
5259
  | {
5254
5260
  input: 'prompt'
5255
5261
  value?: string | DataLink
5256
- mapping?: boolean
5262
+ mapping?: string
5257
5263
  }
5258
5264
  | {
5259
5265
  input: 'chat'
5260
5266
  value?: Array<any> | DataLink
5261
- mapping?: boolean
5267
+ mapping?: string
5262
5268
  }
5263
5269
  >
5264
5270
  }
@@ -5462,7 +5468,7 @@ export type GeneratorOnnxSTTActionInfer = ActionWithParams & {
5462
5468
  params?: Array<{
5463
5469
  input: 'audioUri'
5464
5470
  value?: string | DataLink
5465
- mapping?: boolean
5471
+ mapping?: string
5466
5472
  }>
5467
5473
  }
5468
5474
 
@@ -5708,27 +5714,27 @@ export type GeneratorSpeechInferenceActionTranscribeFile = ActionWithParams & {
5708
5714
  | {
5709
5715
  input: 'prompt'
5710
5716
  value?: string | DataLink
5711
- mapping?: boolean
5717
+ mapping?: string
5712
5718
  }
5713
5719
  | {
5714
5720
  input: 'beamSize'
5715
5721
  value?: number | DataLink
5716
- mapping?: boolean
5722
+ mapping?: string
5717
5723
  }
5718
5724
  | {
5719
5725
  input: 'language'
5720
5726
  value?: string | DataLink
5721
- mapping?: boolean
5727
+ mapping?: string
5722
5728
  }
5723
5729
  | {
5724
5730
  input: 'translate'
5725
5731
  value?: boolean | DataLink
5726
- mapping?: boolean
5732
+ mapping?: string
5727
5733
  }
5728
5734
  | {
5729
5735
  input: 'fileUrl'
5730
5736
  value?: string | DataLink
5731
- mapping?: boolean
5737
+ mapping?: string
5732
5738
  }
5733
5739
  >
5734
5740
  }
@@ -5740,62 +5746,62 @@ export type GeneratorSpeechInferenceActionTranscribeRealtime = ActionWithParams
5740
5746
  | {
5741
5747
  input: 'prompt'
5742
5748
  value?: string | DataLink
5743
- mapping?: boolean
5749
+ mapping?: string
5744
5750
  }
5745
5751
  | {
5746
5752
  input: 'beamSize'
5747
5753
  value?: number | DataLink
5748
- mapping?: boolean
5754
+ mapping?: string
5749
5755
  }
5750
5756
  | {
5751
5757
  input: 'language'
5752
5758
  value?: string | DataLink
5753
- mapping?: boolean
5759
+ mapping?: string
5754
5760
  }
5755
5761
  | {
5756
5762
  input: 'translate'
5757
5763
  value?: boolean | DataLink
5758
- mapping?: boolean
5764
+ mapping?: string
5759
5765
  }
5760
5766
  | {
5761
5767
  input: 'realtimeAudioSeconds'
5762
5768
  value?: number | DataLink
5763
- mapping?: boolean
5769
+ mapping?: string
5764
5770
  }
5765
5771
  | {
5766
5772
  input: 'realtimeAudioSliceSeconds'
5767
5773
  value?: number | DataLink
5768
- mapping?: boolean
5774
+ mapping?: string
5769
5775
  }
5770
5776
  | {
5771
5777
  input: 'realtimeAudioMinSeconds'
5772
5778
  value?: number | DataLink
5773
- mapping?: boolean
5779
+ mapping?: string
5774
5780
  }
5775
5781
  | {
5776
5782
  input: 'realtimeSaveAudio'
5777
5783
  value?: boolean | DataLink
5778
- mapping?: boolean
5784
+ mapping?: string
5779
5785
  }
5780
5786
  | {
5781
5787
  input: 'realtimeVadEnabled'
5782
5788
  value?: boolean | DataLink
5783
- mapping?: boolean
5789
+ mapping?: string
5784
5790
  }
5785
5791
  | {
5786
5792
  input: 'realtimeVadMs'
5787
5793
  value?: number | DataLink
5788
- mapping?: boolean
5794
+ mapping?: string
5789
5795
  }
5790
5796
  | {
5791
5797
  input: 'realtimeVadThold'
5792
5798
  value?: number | DataLink
5793
- mapping?: boolean
5799
+ mapping?: string
5794
5800
  }
5795
5801
  | {
5796
5802
  input: 'realtimeVadFreqThold'
5797
5803
  value?: number | DataLink
5798
- mapping?: boolean
5804
+ mapping?: string
5799
5805
  }
5800
5806
  >
5801
5807
  }
@@ -6121,27 +6127,27 @@ export type GeneratorLLMActionProcessPrompt = ActionWithParams & {
6121
6127
  | {
6122
6128
  input: 'mode'
6123
6129
  value?: string | DataLink
6124
- mapping?: boolean
6130
+ mapping?: string
6125
6131
  }
6126
6132
  | {
6127
6133
  input: 'messages'
6128
6134
  value?: Array<any> | DataLink
6129
- mapping?: boolean
6135
+ mapping?: string
6130
6136
  }
6131
6137
  | {
6132
6138
  input: 'prompt'
6133
6139
  value?: string | DataLink
6134
- mapping?: boolean
6140
+ mapping?: string
6135
6141
  }
6136
6142
  | {
6137
6143
  input: 'promptTemplateData'
6138
6144
  value?: {} | DataLink
6139
- mapping?: boolean
6145
+ mapping?: string
6140
6146
  }
6141
6147
  | {
6142
6148
  input: 'promptTemplateType'
6143
6149
  value?: string | DataLink
6144
- mapping?: boolean
6150
+ mapping?: string
6145
6151
  }
6146
6152
  >
6147
6153
  }
@@ -6153,132 +6159,132 @@ export type GeneratorLLMActionCompletion = ActionWithParams & {
6153
6159
  | {
6154
6160
  input: 'mode'
6155
6161
  value?: string | DataLink
6156
- mapping?: boolean
6162
+ mapping?: string
6157
6163
  }
6158
6164
  | {
6159
6165
  input: 'messages'
6160
6166
  value?: Array<any> | DataLink
6161
- mapping?: boolean
6167
+ mapping?: string
6162
6168
  }
6163
6169
  | {
6164
6170
  input: 'prompt'
6165
6171
  value?: string | DataLink
6166
- mapping?: boolean
6172
+ mapping?: string
6167
6173
  }
6168
6174
  | {
6169
6175
  input: 'promptTemplateData'
6170
6176
  value?: {} | DataLink
6171
- mapping?: boolean
6177
+ mapping?: string
6172
6178
  }
6173
6179
  | {
6174
6180
  input: 'promptTemplateType'
6175
6181
  value?: string | DataLink
6176
- mapping?: boolean
6182
+ mapping?: string
6177
6183
  }
6178
6184
  | {
6179
6185
  input: 'grammar'
6180
6186
  value?: string | DataLink
6181
- mapping?: boolean
6187
+ mapping?: string
6182
6188
  }
6183
6189
  | {
6184
6190
  input: 'stopWords'
6185
6191
  value?: Array<any> | DataLink
6186
- mapping?: boolean
6192
+ mapping?: string
6187
6193
  }
6188
6194
  | {
6189
6195
  input: 'predict'
6190
6196
  value?: number | DataLink
6191
- mapping?: boolean
6197
+ mapping?: string
6192
6198
  }
6193
6199
  | {
6194
6200
  input: 'temperature'
6195
6201
  value?: number | DataLink
6196
- mapping?: boolean
6202
+ mapping?: string
6197
6203
  }
6198
6204
  | {
6199
6205
  input: 'probs'
6200
6206
  value?: number | DataLink
6201
- mapping?: boolean
6207
+ mapping?: string
6202
6208
  }
6203
6209
  | {
6204
6210
  input: 'topK'
6205
6211
  value?: number | DataLink
6206
- mapping?: boolean
6212
+ mapping?: string
6207
6213
  }
6208
6214
  | {
6209
6215
  input: 'topP'
6210
6216
  value?: number | DataLink
6211
- mapping?: boolean
6217
+ mapping?: string
6212
6218
  }
6213
6219
  | {
6214
6220
  input: 'tfsZ'
6215
6221
  value?: number | DataLink
6216
- mapping?: boolean
6222
+ mapping?: string
6217
6223
  }
6218
6224
  | {
6219
6225
  input: 'mirostat'
6220
6226
  value?: number | DataLink
6221
- mapping?: boolean
6227
+ mapping?: string
6222
6228
  }
6223
6229
  | {
6224
6230
  input: 'mirostatTau'
6225
6231
  value?: number | DataLink
6226
- mapping?: boolean
6232
+ mapping?: string
6227
6233
  }
6228
6234
  | {
6229
6235
  input: 'mirostatEta'
6230
6236
  value?: number | DataLink
6231
- mapping?: boolean
6237
+ mapping?: string
6232
6238
  }
6233
6239
  | {
6234
6240
  input: 'penaltyLastN'
6235
6241
  value?: number | DataLink
6236
- mapping?: boolean
6242
+ mapping?: string
6237
6243
  }
6238
6244
  | {
6239
6245
  input: 'penaltyRepeat'
6240
6246
  value?: number | DataLink
6241
- mapping?: boolean
6247
+ mapping?: string
6242
6248
  }
6243
6249
  | {
6244
6250
  input: 'penaltyFrequency'
6245
6251
  value?: number | DataLink
6246
- mapping?: boolean
6252
+ mapping?: string
6247
6253
  }
6248
6254
  | {
6249
6255
  input: 'penaltyPresent'
6250
6256
  value?: number | DataLink
6251
- mapping?: boolean
6257
+ mapping?: string
6252
6258
  }
6253
6259
  | {
6254
6260
  input: 'penalizeNewline'
6255
6261
  value?: boolean | DataLink
6256
- mapping?: boolean
6262
+ mapping?: string
6257
6263
  }
6258
6264
  | {
6259
6265
  input: 'seed'
6260
6266
  value?: number | DataLink
6261
- mapping?: boolean
6267
+ mapping?: string
6262
6268
  }
6263
6269
  | {
6264
6270
  input: 'typicalP'
6265
6271
  value?: number | DataLink
6266
- mapping?: boolean
6272
+ mapping?: string
6267
6273
  }
6268
6274
  | {
6269
6275
  input: 'ignoreEos'
6270
6276
  value?: boolean | DataLink
6271
- mapping?: boolean
6277
+ mapping?: string
6272
6278
  }
6273
6279
  | {
6274
6280
  input: 'functionCallEnabled'
6275
6281
  value?: boolean | DataLink
6276
- mapping?: boolean
6282
+ mapping?: string
6277
6283
  }
6278
6284
  | {
6279
6285
  input: 'functionCallSchema'
6280
6286
  value?: Array<any> | DataLink
6281
- mapping?: boolean
6287
+ mapping?: string
6282
6288
  }
6283
6289
  >
6284
6290
  }