digipair 0.0.1

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.
Files changed (33) hide show
  1. package/assets/default/avatar.png +0 -0
  2. package/assets/default/chat.json +18 -0
  3. package/assets/default/config.json +27 -0
  4. package/assets/default/conversation.json +26 -0
  5. package/assets/default/history.json +23 -0
  6. package/assets/digipairs/admin/avatar.png +0 -0
  7. package/assets/digipairs/admin/boost-add-reasoning.json +54 -0
  8. package/assets/digipairs/admin/boost-duplicate-reasoning.json +62 -0
  9. package/assets/digipairs/admin/boost-plan-reasoning.json +46 -0
  10. package/assets/digipairs/admin/chat.json +18 -0
  11. package/assets/digipairs/admin/config.json +34 -0
  12. package/assets/digipairs/admin/conversation.json +26 -0
  13. package/assets/digipairs/admin/digipair-list.json +465 -0
  14. package/assets/digipairs/admin/history.json +23 -0
  15. package/assets/digipairs/admin/json-editor.json +221 -0
  16. package/assets/digipairs/admin/reasoning-editor.json +225 -0
  17. package/assets/digipairs/admin/reasoning-list.json +762 -0
  18. package/assets/digipairs/common/avatar.png +0 -0
  19. package/assets/digipairs/common/boosts.json +18 -0
  20. package/assets/digipairs/common/config.json +10 -0
  21. package/assets/digipairs/common/metadata.json +18 -0
  22. package/assets/digipairs/planning.json +0 -0
  23. package/assets/domains.json +1 -0
  24. package/bin/digipair.js +3 -0
  25. package/package.json +43 -0
  26. package/src/app/app.controller.js +55 -0
  27. package/src/app/app.controller.js.map +1 -0
  28. package/src/app/app.module.js +18 -0
  29. package/src/app/app.module.js.map +1 -0
  30. package/src/app/app.service.js +63 -0
  31. package/src/app/app.service.js.map +1 -0
  32. package/src/main.js +65 -0
  33. package/src/main.js.map +1 -0
@@ -0,0 +1,762 @@
1
+ {
2
+ "name": "Reasoning list",
3
+ "description": "Reasoning list",
4
+ "library": "@digipair/skill-web",
5
+ "element": "page",
6
+ "metadata": {},
7
+ "properties": {
8
+ "body": [
9
+ {
10
+ "library": "@digipair/skill-web-spectrum",
11
+ "element": "sp-theme",
12
+ "pins": [
13
+ {
14
+ "library": "web",
15
+ "element": "section",
16
+ "pins": [
17
+ {
18
+ "library": "web",
19
+ "element": "section",
20
+ "pins": [
21
+ {
22
+ "library": "@digipair/skill-web-spectrum",
23
+ "element": "sp-top-nav",
24
+ "pins": [
25
+ {
26
+ "library": "@digipair/skill-web-spectrum",
27
+ "element": "sp-top-nav-item",
28
+ "pins": [
29
+ {
30
+ "library": "web",
31
+ "element": "img",
32
+ "properties": {
33
+ "src": "https://res.cloudinary.com/do87nxq3l/image/upload/fl_preserve_transparency/v1718985104/Fichier_1_lilpuw.jpg?_s=public-apps",
34
+ "style": "height: 20px;"
35
+ }
36
+ }
37
+ ],
38
+ "properties": { "href": "https://www.digipair.ai" }
39
+ },
40
+ {
41
+ "library": "@digipair/skill-web-spectrum",
42
+ "element": "sp-top-nav-item",
43
+ "properties": { "textContent": "Home", "href": "/digipair-list" }
44
+ },
45
+ {
46
+ "library": "@digipair/skill-web-spectrum",
47
+ "element": "sp-top-nav-item",
48
+ "properties": { "textContent": "{{variables.digipair.name}}" }
49
+ },
50
+ {
51
+ "library": "@digipair/skill-web-spectrum",
52
+ "element": "sp-action-menu",
53
+ "pins": [
54
+ {
55
+ "library": "@digipair/skill-web-spectrum",
56
+ "element": "sp-menu-item",
57
+ "properties": {
58
+ "textContent": "Configurer",
59
+ "href": "/json-editor/{{request.params.[0]}}/config"
60
+ }
61
+ },
62
+ {
63
+ "library": "@digipair/skill-web-spectrum",
64
+ "element": "sp-menu-item",
65
+ "properties": { "textContent": "Add a {{item.summary}}" },
66
+ "events": {
67
+ "click": [
68
+ {
69
+ "library": "@digipair/skill-data-management",
70
+ "element": "transform",
71
+ "properties": {
72
+ "value": {
73
+ "name": "Add a {{parent.item.summary}}",
74
+ "prompt": true,
75
+ "required": true,
76
+ "text": "What is the id, the name and the description for the new {{parent.item.summary}} ?",
77
+ "command": {
78
+ "library": "@digipair/actions-chatbot",
79
+ "element": "executeRemoteReasoning",
80
+ "properties": {
81
+ "digipair": "admin",
82
+ "reasoning": "boost-add-reasoning",
83
+ "apiUrl": "",
84
+ "input": {
85
+ "digipair": "{{request.params.[0]}}",
86
+ "library": "{{parent.item.library}}",
87
+ "element": "{{parent.item.element}}"
88
+ }
89
+ }
90
+ }
91
+ }
92
+ },
93
+ "conditions": { "each": "EVALUATE:[1]" }
94
+ },
95
+ {
96
+ "library": "@digipair/skill-web-interact",
97
+ "element": "execute",
98
+ "properties": {
99
+ "name": "executeBoost",
100
+ "selector": "digipair-chatbot",
101
+ "args": "EVALUATE:previous"
102
+ }
103
+ }
104
+ ]
105
+ },
106
+ "conditions": { "each": "EVALUATE:variables.scenes" }
107
+ }
108
+ ],
109
+ "properties": {
110
+ "style": "margin-inline-start: auto;",
111
+ "quiet": true,
112
+ "size": "s"
113
+ }
114
+ }
115
+ ]
116
+ },
117
+ {
118
+ "library": "@digipair/skill-web-spectrum",
119
+ "element": "sp-table",
120
+ "pins": [
121
+ {
122
+ "library": "@digipair/skill-web-spectrum",
123
+ "element": "sp-table-head",
124
+ "pins": [
125
+ {
126
+ "library": "@digipair/skill-web-spectrum",
127
+ "element": "sp-table-head-cell",
128
+ "properties": { "textContent": "Raisonnement" }
129
+ },
130
+ {
131
+ "library": "@digipair/skill-web-spectrum",
132
+ "element": "sp-table-head-cell",
133
+ "properties": { "textContent": "Nom" }
134
+ },
135
+ {
136
+ "library": "@digipair/skill-web-spectrum",
137
+ "element": "sp-table-head-cell",
138
+ "properties": { "textContent": "Description" }
139
+ },
140
+ {
141
+ "library": "@digipair/skill-web-spectrum",
142
+ "element": "sp-table-head-cell",
143
+ "properties": { "textContent": "" }
144
+ }
145
+ ]
146
+ },
147
+ {
148
+ "library": "@digipair/skill-web-spectrum",
149
+ "element": "sp-table-body",
150
+ "pins": [
151
+ {
152
+ "library": "@digipair/skill-web-spectrum",
153
+ "element": "sp-table-row",
154
+ "pins": [
155
+ {
156
+ "library": "@digipair/skill-web-spectrum",
157
+ "element": "sp-table-cell",
158
+ "properties": { "textContent": "{{item.id}}" }
159
+ },
160
+ {
161
+ "library": "@digipair/skill-web-spectrum",
162
+ "element": "sp-table-cell",
163
+ "properties": { "textContent": "{{item.name}}" }
164
+ },
165
+ {
166
+ "library": "@digipair/skill-web-spectrum",
167
+ "element": "sp-table-cell",
168
+ "properties": { "textContent": "{{item.description}}" }
169
+ },
170
+ {
171
+ "library": "@digipair/skill-web-spectrum",
172
+ "element": "sp-table-cell",
173
+ "pins": [
174
+ {
175
+ "library": "@digipair/skill-web-spectrum",
176
+ "element": "sp-action-group",
177
+ "pins": [
178
+ {
179
+ "library": "@digipair/skill-web-spectrum",
180
+ "element": "sp-action-menu",
181
+ "pins": [
182
+ {
183
+ "library": "@digipair/skill-web-spectrum",
184
+ "element": "sp-menu-item",
185
+ "properties": { "textContent": "Supprimer" },
186
+ "events": {
187
+ "click": [
188
+ {
189
+ "library": "@digipair/skill-web-notification",
190
+ "element": "confirm",
191
+ "properties": {
192
+ "message": "Are you sure to remove \"{{item.name}}\" ?",
193
+ "ok": [
194
+ {
195
+ "library": "@digipair/skill-web",
196
+ "element": "executeFactory",
197
+ "properties": {
198
+ "execute": [
199
+ {
200
+ "library": "@digipair/skill-editor",
201
+ "element": "removeReasoning",
202
+ "properties": {
203
+ "digipair": "{{request.params.[0]}}",
204
+ "reasoning": "{{item.id}}"
205
+ }
206
+ }
207
+ ]
208
+ }
209
+ },
210
+ {
211
+ "library": "@digipair/skill-web-interact",
212
+ "element": "reload"
213
+ }
214
+ ]
215
+ }
216
+ }
217
+ ]
218
+ }
219
+ },
220
+ {
221
+ "library": "@digipair/skill-web-spectrum",
222
+ "element": "sp-menu-item",
223
+ "properties": { "textContent": "Duplicate" },
224
+ "events": {
225
+ "click": [
226
+ {
227
+ "library": "@digipair/skill-data-management",
228
+ "element": "transform",
229
+ "properties": {
230
+ "value": {
231
+ "name": "Duplicate the reasonning {{parent.item.name}}",
232
+ "prompt": true,
233
+ "required": true,
234
+ "text": "What is the id, the name and the description for the duplicated reasonning ?",
235
+ "command": {
236
+ "library": "@digipair/actions-chatbot",
237
+ "element": "executeRemoteReasoning",
238
+ "properties": {
239
+ "digipair": "admin",
240
+ "reasoning": "boost-duplicate-reasoning",
241
+ "apiUrl": "",
242
+ "input": {
243
+ "digipair": "{{request.params.[0]}}",
244
+ "reasoning": "{{parent.item.id}}"
245
+ }
246
+ }
247
+ }
248
+ }
249
+ },
250
+ "conditions": { "each": "EVALUATE:[1]" }
251
+ },
252
+ {
253
+ "library": "@digipair/skill-web-interact",
254
+ "element": "execute",
255
+ "properties": {
256
+ "name": "executeBoost",
257
+ "selector": "digipair-chatbot",
258
+ "args": "EVALUATE:previous"
259
+ }
260
+ }
261
+ ]
262
+ }
263
+ },
264
+ {
265
+ "library": "@digipair/skill-web-spectrum",
266
+ "element": "sp-menu-item",
267
+ "properties": { "textContent": "Plan" },
268
+ "events": {
269
+ "click": [
270
+ {
271
+ "library": "@digipair/skill-data-management",
272
+ "element": "transform",
273
+ "properties": {
274
+ "value": {
275
+ "name": "Plan the reasoning {{parent.item.name}}",
276
+ "prompt": true,
277
+ "required": true,
278
+ "text": "When should it run ?",
279
+ "command": {
280
+ "library": "@digipair/actions-chatbot",
281
+ "element": "executeRemoteReasoning",
282
+ "properties": {
283
+ "digipair": "admin",
284
+ "reasoning": "boost-plan-reasoning",
285
+ "apiUrl": "",
286
+ "input": {
287
+ "digipair": "{{request.params.[0]}}",
288
+ "reasoning": "{{parent.item.id}}"
289
+ }
290
+ }
291
+ }
292
+ }
293
+ },
294
+ "conditions": { "each": "EVALUATE:[1]" }
295
+ },
296
+ {
297
+ "library": "@digipair/skill-web-interact",
298
+ "element": "execute",
299
+ "properties": {
300
+ "name": "executeBoost",
301
+ "selector": "digipair-chatbot",
302
+ "args": "EVALUATE:previous"
303
+ }
304
+ }
305
+ ]
306
+ },
307
+ "conditions": {
308
+ "if": "EVALUATE:item.element = \"task\" or item.element = \"workflow\""
309
+ }
310
+ }
311
+ ],
312
+ "properties": { "quiet": true, "size": "s" }
313
+ },
314
+ {
315
+ "library": "@digipair/skill-web-spectrum",
316
+ "element": "sp-action-button",
317
+ "pins": [
318
+ {
319
+ "library": "@digipair/skill-web-font-awesome",
320
+ "element": "digipair-font-awesome-icon",
321
+ "properties": {
322
+ "name": "pen-to-square",
323
+ "category": "regular"
324
+ }
325
+ }
326
+ ],
327
+ "events": {
328
+ "click": [
329
+ {
330
+ "library": "@digipair/skill-web-interact",
331
+ "element": "goTo",
332
+ "properties": {
333
+ "url": "/reasoning-editor/{{request.params.[0]}}/{{item.id}}"
334
+ }
335
+ }
336
+ ]
337
+ }
338
+ },
339
+ {
340
+ "library": "@digipair/skill-web-spectrum",
341
+ "element": "sp-action-button",
342
+ "pins": [
343
+ {
344
+ "library": "@digipair/skill-web-font-awesome",
345
+ "element": "digipair-font-awesome-icon",
346
+ "properties": { "name": "eye", "category": "regular" }
347
+ }
348
+ ],
349
+ "events": {
350
+ "click": [
351
+ {
352
+ "library": "@digipair/skill-web-interact",
353
+ "element": "goTo",
354
+ "properties": {
355
+ "url": "/{{request.params.[0]}}/{{item.id}}"
356
+ }
357
+ }
358
+ ]
359
+ },
360
+ "conditions": { "if": "EVALUATE:item.element = \"page\"" }
361
+ }
362
+ ],
363
+ "properties": { "size": "s", "dir": "rtl" }
364
+ }
365
+ ]
366
+ }
367
+ ],
368
+ "conditions": { "each": "EVALUATE:variables.reasonings" }
369
+ }
370
+ ]
371
+ }
372
+ ]
373
+ },
374
+ {
375
+ "library": "web",
376
+ "element": "section",
377
+ "properties": {
378
+ "style": "margin: 40px 0 20px 0;",
379
+ "textContent": "Planning"
380
+ }
381
+ },
382
+ {
383
+ "library": "@digipair/skill-web-spectrum",
384
+ "element": "sp-table",
385
+ "pins": [
386
+ {
387
+ "library": "@digipair/skill-web-spectrum",
388
+ "element": "sp-table-head",
389
+ "pins": [
390
+ {
391
+ "library": "@digipair/skill-web-spectrum",
392
+ "element": "sp-table-head-cell",
393
+ "properties": { "textContent": "Digipair" }
394
+ },
395
+ {
396
+ "library": "@digipair/skill-web-spectrum",
397
+ "element": "sp-table-head-cell",
398
+ "properties": { "textContent": "Task" }
399
+ },
400
+ {
401
+ "library": "@digipair/skill-web-spectrum",
402
+ "element": "sp-table-head-cell",
403
+ "properties": { "textContent": "Time" }
404
+ },
405
+ {
406
+ "library": "@digipair/skill-web-spectrum",
407
+ "element": "sp-table-head-cell",
408
+ "properties": { "textContent": "State" }
409
+ },
410
+ {
411
+ "library": "@digipair/skill-web-spectrum",
412
+ "element": "sp-table-head-cell",
413
+ "properties": { "textContent": "" }
414
+ }
415
+ ]
416
+ },
417
+ {
418
+ "library": "@digipair/skill-web-spectrum",
419
+ "element": "sp-table-body",
420
+ "pins": [
421
+ {
422
+ "library": "@digipair/skill-web-spectrum",
423
+ "element": "sp-table-row",
424
+ "pins": [
425
+ {
426
+ "library": "@digipair/skill-web-spectrum",
427
+ "element": "sp-table-cell",
428
+ "properties": { "textContent": "{{item.digipair}}" }
429
+ },
430
+ {
431
+ "library": "@digipair/skill-web-spectrum",
432
+ "element": "sp-table-cell",
433
+ "properties": { "textContent": "{{item.reasoning}}" }
434
+ },
435
+ {
436
+ "library": "@digipair/skill-web-spectrum",
437
+ "element": "sp-table-cell",
438
+ "properties": { "textContent": "{{item.time}}" }
439
+ },
440
+ {
441
+ "library": "@digipair/skill-web-spectrum",
442
+ "element": "sp-table-cell",
443
+ "pins": [
444
+ {
445
+ "library": "@digipair/skill-web-font-awesome",
446
+ "element": "digipair-font-awesome-icon",
447
+ "properties": {
448
+ "name": "EVALUATE:if item.enabled then \"check\" else \"ban\"",
449
+ "category": "solid"
450
+ }
451
+ }
452
+ ]
453
+ },
454
+ {
455
+ "library": "@digipair/skill-web-spectrum",
456
+ "element": "sp-table-cell",
457
+ "pins": [
458
+ {
459
+ "library": "@digipair/skill-web-spectrum",
460
+ "element": "sp-action-group",
461
+ "pins": [
462
+ {
463
+ "library": "@digipair/skill-web-spectrum",
464
+ "element": "sp-action-button",
465
+ "pins": [
466
+ {
467
+ "library": "@digipair/skill-web-font-awesome",
468
+ "element": "digipair-font-awesome-icon",
469
+ "properties": { "name": "trash", "category": "solid" }
470
+ }
471
+ ],
472
+ "events": {
473
+ "click": [
474
+ {
475
+ "library": "@digipair/skill-web-notification",
476
+ "element": "confirm",
477
+ "properties": {
478
+ "message": "Are you sure to remove this schedule ?",
479
+ "ok": [
480
+ {
481
+ "library": "@digipair/skill-web",
482
+ "element": "executeFactory",
483
+ "properties": {
484
+ "execute": [
485
+ {
486
+ "library": "@digipair/skill-cron",
487
+ "element": "deleteCron",
488
+ "properties": {
489
+ "id": "{{item.id}}"
490
+ }
491
+ }
492
+ ]
493
+ }
494
+ },
495
+ {
496
+ "library": "@digipair/skill-web-interact",
497
+ "element": "reload"
498
+ }
499
+ ]
500
+ }
501
+ }
502
+ ]
503
+ }
504
+ },
505
+ {
506
+ "library": "@digipair/skill-web-spectrum",
507
+ "element": "sp-action-button",
508
+ "pins": [
509
+ {
510
+ "library": "@digipair/skill-web-font-awesome",
511
+ "element": "digipair-font-awesome-icon",
512
+ "properties": { "name": "ban", "category": "solid" }
513
+ }
514
+ ],
515
+ "events": {
516
+ "click": [
517
+ {
518
+ "library": "@digipair/skill-<eb",
519
+ "element": "executeFactory",
520
+ "properties": {
521
+ "execute": [
522
+ {
523
+ "library": "@digipair/skill-cron",
524
+ "element": "disableCron",
525
+ "properties": {
526
+ "id": "{{item.id}}"
527
+ }
528
+ }
529
+ ]
530
+ }
531
+ },
532
+ {
533
+ "library": "@digipair/skill-web-interact",
534
+ "element": "reload"
535
+ }
536
+ ]
537
+ },
538
+ "conditions": { "if": "EVALUATE:item.enabled = true" }
539
+ },
540
+ {
541
+ "library": "@digipair/skill-web-spectrum",
542
+ "element": "sp-action-button",
543
+ "pins": [
544
+ {
545
+ "library": "@digipair/skill-web-font-awesome",
546
+ "element": "digipair-font-awesome-icon",
547
+ "properties": { "name": "check", "category": "solid" }
548
+ }
549
+ ],
550
+ "events": {
551
+ "click": [
552
+ {
553
+ "library": "@digipair/skill-web",
554
+ "element": "executeFactory",
555
+ "properties": {
556
+ "execute": [
557
+ {
558
+ "library": "@digipair/skill-cron",
559
+ "element": "enableCron",
560
+ "properties": {
561
+ "id": "{{item.id}}"
562
+ }
563
+ }
564
+ ]
565
+ }
566
+ },
567
+ {
568
+ "library": "@digipair/skill-web-interact",
569
+ "element": "reload"
570
+ }
571
+ ]
572
+ },
573
+ "conditions": { "if": "EVALUATE:item.enabled = false" }
574
+ }
575
+ ],
576
+ "properties": { "size": "s", "dir": "rtl" }
577
+ }
578
+ ]
579
+ }
580
+ ],
581
+ "conditions": { "each": "EVALUATE:variables.crons" }
582
+ }
583
+ ]
584
+ }
585
+ ]
586
+ }
587
+ ],
588
+ "properties": { "style": "width: 100%; max-width: 1080px;" }
589
+ }
590
+ ],
591
+ "properties": { "style": "display: flex; justify-content: center;" }
592
+ }
593
+ ],
594
+ "properties": { "color": "dark", "scale": "large" }
595
+ },
596
+ {
597
+ "library": "@digipair/skill-web-chatbot",
598
+ "element": "digipair-chatbot",
599
+ "properties": {
600
+ "code": "{{request.digipair}}",
601
+ "apiUrl": ""
602
+ }
603
+ }
604
+ ],
605
+ "styleHtml": "color-scheme:dark;",
606
+ "browserInitialize": [
607
+ {
608
+ "library": "@digipair/skill-data-management",
609
+ "element": "setVariable",
610
+ "properties": {
611
+ "name": "digipair",
612
+ "execute": [
613
+ {
614
+ "library": "@digipair/skill-web",
615
+ "element": "executeFactory",
616
+ "properties": {
617
+ "execute": [
618
+ {
619
+ "library": "@digipair/skill-editor",
620
+ "element": "digipair",
621
+ "properties": {
622
+ "digipair": "{{request.params.[0]}}"
623
+ }
624
+ }
625
+ ]
626
+ }
627
+ }
628
+ ]
629
+ }
630
+ },
631
+ {
632
+ "library": "@digipair/skill-data-management",
633
+ "element": "setVariable",
634
+ "properties": {
635
+ "name": "reasonings",
636
+ "execute": [
637
+ {
638
+ "library": "@digipair/skill-web",
639
+ "element": "executeFactory",
640
+ "properties": {
641
+ "execute": [
642
+ {
643
+ "library": "@digipair/skill-editor",
644
+ "element": "reasonings",
645
+ "properties": {
646
+ "digipair": "{{request.params.[0]}}"
647
+ }
648
+ },
649
+ {
650
+ "library": "@digipair/skill-data-management",
651
+ "element": "transform",
652
+ "properties": {
653
+ "execute": [
654
+ {
655
+ "library": "@digipair/skill-editor",
656
+ "element": "reasoning",
657
+ "properties": {
658
+ "digipair": "{{request.params.[0]}}",
659
+ "reasoning": "EVALUATE:item"
660
+ }
661
+ }
662
+ ]
663
+ },
664
+ "conditions": { "each": "EVALUATE:previous" }
665
+ }
666
+ ]
667
+ }
668
+ }
669
+ ]
670
+ }
671
+ },
672
+ {
673
+ "library": "@digipair/skill-data-management",
674
+ "element": "setVariable",
675
+ "properties": {
676
+ "name": "scenes",
677
+ "execute": [
678
+ {
679
+ "library": "@digipair/skill-data-management",
680
+ "element": "struct2array",
681
+ "properties": { "value": "EVALUATE:variables.digipair.libraries" }
682
+ },
683
+ {
684
+ "library": "@digipair/skill-data-management",
685
+ "element": "transform",
686
+ "properties": {
687
+ "execute": [
688
+ {
689
+ "library": "@digipair/skill-web-request",
690
+ "element": "fetchJson",
691
+ "properties": {
692
+ "url": "https://cdn.jsdelivr.net/npm/{{item.key}}@{{item.value}}/schema.json"
693
+ }
694
+ },
695
+ {
696
+ "library": "@digipair/skill-data-management",
697
+ "element": "struct2array",
698
+ "properties": {
699
+ "value": "EVALUATE:if (previous.x-scene-blocks) then previous.x-scene-blocks else {}"
700
+ }
701
+ },
702
+ {
703
+ "library": "@digipair/skill-data-management",
704
+ "element": "transform",
705
+ "properties": {
706
+ "value": {
707
+ "library": "{{parent.item.key}}",
708
+ "element": "EVALUATE:substring(item.key,2)",
709
+ "summary": "{{item.value.summary}}"
710
+ }
711
+ },
712
+ "conditions": { "each": "EVALUATE:previous[item]" }
713
+ }
714
+ ]
715
+ },
716
+ "conditions": { "each": "EVALUATE:previous" }
717
+ },
718
+ {
719
+ "library": "@digipair/skill-data-management",
720
+ "element": "transform",
721
+ "properties": { "value": "EVALUATE:flatten(previous)" }
722
+ },
723
+ {
724
+ "library": "@digipair/skill-data-management",
725
+ "element": "transform",
726
+ "properties": { "value": "EVALUATE:previous[item]" }
727
+ }
728
+ ]
729
+ }
730
+ },
731
+ {
732
+ "library": "@digipair/skill-data-management",
733
+ "element": "setVariable",
734
+ "properties": {
735
+ "name": "crons",
736
+ "execute": [
737
+ {
738
+ "library": "@digipair/skill-web",
739
+ "element": "executeFactory",
740
+ "properties": {
741
+ "execute": [
742
+ {
743
+ "library": "@digipair/skill-cron",
744
+ "element": "crons"
745
+ },
746
+ {
747
+ "library": "@digipair/skill-data-management",
748
+ "element": "transform",
749
+ "properties": {
750
+ "value": "EVALUATE:previous[item.digipair = request.params[1] ]"
751
+ }
752
+ }
753
+ ]
754
+ }
755
+ }
756
+ ]
757
+ }
758
+ }
759
+ ]
760
+ },
761
+ "pins": []
762
+ }