@almadar/std 14.4.0 → 14.5.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.
- package/behaviors/registry/app/organisms/std-ecommerce.orb +2583 -3921
- package/behaviors/registry/core/atoms/std-browse.orb +180 -45
- package/behaviors/registry/core/molecules/std-app-layout.orb +21 -16
- package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +87 -133
- package/behaviors/registry/service/atoms/std-service-email.orb +101 -147
- package/behaviors/registry/service/atoms/std-service-github.orb +92 -143
- package/behaviors/registry/service/atoms/std-service-llm.orb +118 -157
- package/behaviors/registry/service/atoms/std-service-oauth.orb +128 -171
- package/behaviors/registry/service/atoms/std-service-redis.orb +92 -134
- package/behaviors/registry/service/atoms/std-service-storage.orb +120 -166
- package/behaviors/registry/service/atoms/std-service-stripe.orb +235 -193
- package/behaviors/registry/service/atoms/std-service-twilio.orb +127 -169
- package/behaviors/registry/service/atoms/std-service-youtube.orb +108 -151
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +2583 -3921
- package/dist/behaviors/registry/core/atoms/std-browse.orb +180 -45
- package/dist/behaviors/registry/core/molecules/std-app-layout.orb +21 -16
- package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +87 -133
- package/dist/behaviors/registry/service/atoms/std-service-email.orb +101 -147
- package/dist/behaviors/registry/service/atoms/std-service-github.orb +92 -143
- package/dist/behaviors/registry/service/atoms/std-service-llm.orb +118 -157
- package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +128 -171
- package/dist/behaviors/registry/service/atoms/std-service-redis.orb +92 -134
- package/dist/behaviors/registry/service/atoms/std-service-storage.orb +120 -166
- package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +235 -193
- package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +127 -169
- package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +108 -151
- package/package.json +1 -1
|
@@ -76,60 +76,17 @@
|
|
|
76
76
|
"emits": [
|
|
77
77
|
{
|
|
78
78
|
"event": "ServiceYoutubeLoaded",
|
|
79
|
-
"
|
|
80
|
-
"scope": "internal",
|
|
79
|
+
"scope": "external",
|
|
81
80
|
"payloadSchema": [
|
|
82
81
|
{
|
|
83
82
|
"name": "id",
|
|
84
|
-
"type": "string",
|
|
85
|
-
"required": true
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"name": "query",
|
|
89
|
-
"type": "string"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"name": "selectedVideoId",
|
|
93
|
-
"type": "string"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"name": "videoTitle",
|
|
97
|
-
"type": "string"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"name": "videoDescription",
|
|
101
|
-
"type": "string"
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"name": "searchStatus",
|
|
105
|
-
"type": "string"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"name": "error",
|
|
109
|
-
"type": "string"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"name": "name",
|
|
113
|
-
"type": "string"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"name": "description",
|
|
117
|
-
"type": "string"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"name": "status",
|
|
121
|
-
"type": "string"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"name": "createdAt",
|
|
125
83
|
"type": "string"
|
|
126
84
|
}
|
|
127
85
|
]
|
|
128
86
|
},
|
|
129
87
|
{
|
|
130
88
|
"event": "ServiceYoutubeLoadFailed",
|
|
131
|
-
"
|
|
132
|
-
"scope": "internal",
|
|
89
|
+
"scope": "external",
|
|
133
90
|
"payloadSchema": [
|
|
134
91
|
{
|
|
135
92
|
"name": "message",
|
|
@@ -139,7 +96,7 @@
|
|
|
139
96
|
},
|
|
140
97
|
{
|
|
141
98
|
"event": "ServiceYoutubeYoutubeCompleted",
|
|
142
|
-
"scope": "
|
|
99
|
+
"scope": "external",
|
|
143
100
|
"payloadSchema": [
|
|
144
101
|
{
|
|
145
102
|
"name": "result",
|
|
@@ -149,7 +106,7 @@
|
|
|
149
106
|
},
|
|
150
107
|
{
|
|
151
108
|
"event": "ServiceYoutubeYoutubeFailed",
|
|
152
|
-
"scope": "
|
|
109
|
+
"scope": "external",
|
|
153
110
|
"payloadSchema": [
|
|
154
111
|
{
|
|
155
112
|
"name": "error",
|
|
@@ -358,24 +315,27 @@
|
|
|
358
315
|
"render-ui",
|
|
359
316
|
"main",
|
|
360
317
|
{
|
|
318
|
+
"gap": "lg",
|
|
361
319
|
"type": "stack",
|
|
320
|
+
"direction": "vertical",
|
|
321
|
+
"align": "stretch",
|
|
362
322
|
"children": [
|
|
363
323
|
{
|
|
364
|
-
"
|
|
324
|
+
"gap": "md",
|
|
365
325
|
"align": "center",
|
|
326
|
+
"type": "stack",
|
|
366
327
|
"children": [
|
|
367
328
|
{
|
|
368
|
-
"
|
|
369
|
-
"
|
|
329
|
+
"name": "video",
|
|
330
|
+
"type": "icon"
|
|
370
331
|
},
|
|
371
332
|
{
|
|
372
333
|
"type": "typography",
|
|
373
|
-
"
|
|
374
|
-
"
|
|
334
|
+
"variant": "h2",
|
|
335
|
+
"content": "YouTube Search"
|
|
375
336
|
}
|
|
376
337
|
],
|
|
377
|
-
"direction": "horizontal"
|
|
378
|
-
"gap": "md"
|
|
338
|
+
"direction": "horizontal"
|
|
379
339
|
},
|
|
380
340
|
{
|
|
381
341
|
"type": "divider"
|
|
@@ -385,16 +345,13 @@
|
|
|
385
345
|
"placeholder": "Search YouTube videos..."
|
|
386
346
|
},
|
|
387
347
|
{
|
|
388
|
-
"icon": "search",
|
|
389
348
|
"label": "Search",
|
|
390
349
|
"type": "button",
|
|
391
350
|
"action": "SEARCH",
|
|
392
|
-
"variant": "primary"
|
|
351
|
+
"variant": "primary",
|
|
352
|
+
"icon": "search"
|
|
393
353
|
}
|
|
394
|
-
]
|
|
395
|
-
"direction": "vertical",
|
|
396
|
-
"gap": "lg",
|
|
397
|
-
"align": "stretch"
|
|
354
|
+
]
|
|
398
355
|
}
|
|
399
356
|
]
|
|
400
357
|
]
|
|
@@ -408,9 +365,9 @@
|
|
|
408
365
|
"render-ui",
|
|
409
366
|
"main",
|
|
410
367
|
{
|
|
411
|
-
"
|
|
368
|
+
"type": "loading-state",
|
|
412
369
|
"message": "Searching YouTube for videos...",
|
|
413
|
-
"
|
|
370
|
+
"title": "Searching..."
|
|
414
371
|
}
|
|
415
372
|
],
|
|
416
373
|
[
|
|
@@ -424,8 +381,8 @@
|
|
|
424
381
|
},
|
|
425
382
|
{
|
|
426
383
|
"emit": {
|
|
427
|
-
"
|
|
428
|
-
"
|
|
384
|
+
"failure": "ServiceYoutubeYoutubeFailed",
|
|
385
|
+
"success": "ServiceYoutubeYoutubeCompleted"
|
|
429
386
|
}
|
|
430
387
|
}
|
|
431
388
|
]
|
|
@@ -445,59 +402,59 @@
|
|
|
445
402
|
"render-ui",
|
|
446
403
|
"main",
|
|
447
404
|
{
|
|
448
|
-
"gap": "lg",
|
|
449
|
-
"direction": "vertical",
|
|
450
|
-
"align": "stretch",
|
|
451
405
|
"type": "stack",
|
|
406
|
+
"gap": "lg",
|
|
452
407
|
"children": [
|
|
453
408
|
{
|
|
409
|
+
"direction": "horizontal",
|
|
410
|
+
"align": "center",
|
|
411
|
+
"gap": "md",
|
|
454
412
|
"children": [
|
|
455
413
|
{
|
|
456
414
|
"name": "video",
|
|
457
415
|
"type": "icon"
|
|
458
416
|
},
|
|
459
417
|
{
|
|
460
|
-
"type": "typography",
|
|
461
418
|
"content": "Search Results",
|
|
462
|
-
"variant": "h2"
|
|
419
|
+
"variant": "h2",
|
|
420
|
+
"type": "typography"
|
|
463
421
|
}
|
|
464
422
|
],
|
|
465
|
-
"direction": "horizontal",
|
|
466
|
-
"gap": "md",
|
|
467
|
-
"align": "center",
|
|
468
423
|
"type": "stack"
|
|
469
424
|
},
|
|
470
425
|
{
|
|
471
426
|
"type": "divider"
|
|
472
427
|
},
|
|
473
428
|
{
|
|
474
|
-
"type": "typography",
|
|
475
429
|
"content": "Select a video to view details.",
|
|
476
|
-
"variant": "body"
|
|
430
|
+
"variant": "body",
|
|
431
|
+
"type": "typography"
|
|
477
432
|
},
|
|
478
433
|
{
|
|
479
|
-
"justify": "center",
|
|
480
434
|
"children": [
|
|
481
435
|
{
|
|
482
436
|
"type": "button",
|
|
483
|
-
"
|
|
437
|
+
"variant": "ghost",
|
|
484
438
|
"label": "New Search",
|
|
485
439
|
"icon": "rotate-ccw",
|
|
486
|
-
"
|
|
440
|
+
"action": "RESET"
|
|
487
441
|
},
|
|
488
442
|
{
|
|
489
|
-
"label": "Search Again",
|
|
490
|
-
"type": "button",
|
|
491
|
-
"variant": "ghost",
|
|
492
443
|
"icon": "search",
|
|
493
|
-
"action": "SEARCH"
|
|
444
|
+
"action": "SEARCH",
|
|
445
|
+
"type": "button",
|
|
446
|
+
"label": "Search Again",
|
|
447
|
+
"variant": "ghost"
|
|
494
448
|
}
|
|
495
449
|
],
|
|
496
450
|
"type": "stack",
|
|
497
|
-
"
|
|
498
|
-
"direction": "horizontal"
|
|
451
|
+
"justify": "center",
|
|
452
|
+
"direction": "horizontal",
|
|
453
|
+
"gap": "sm"
|
|
499
454
|
}
|
|
500
|
-
]
|
|
455
|
+
],
|
|
456
|
+
"align": "stretch",
|
|
457
|
+
"direction": "vertical"
|
|
501
458
|
}
|
|
502
459
|
]
|
|
503
460
|
]
|
|
@@ -521,40 +478,40 @@
|
|
|
521
478
|
"render-ui",
|
|
522
479
|
"main",
|
|
523
480
|
{
|
|
524
|
-
"align": "center",
|
|
525
481
|
"gap": "lg",
|
|
526
|
-
"
|
|
482
|
+
"align": "center",
|
|
527
483
|
"type": "stack",
|
|
528
484
|
"children": [
|
|
529
485
|
{
|
|
530
486
|
"type": "error-state",
|
|
531
|
-
"title": "Search Failed",
|
|
532
487
|
"message": "@entity.error",
|
|
533
|
-
"onRetry": "SEARCH"
|
|
488
|
+
"onRetry": "SEARCH",
|
|
489
|
+
"title": "Search Failed"
|
|
534
490
|
},
|
|
535
491
|
{
|
|
536
|
-
"justify": "center",
|
|
537
|
-
"direction": "horizontal",
|
|
538
492
|
"type": "stack",
|
|
493
|
+
"direction": "horizontal",
|
|
539
494
|
"gap": "sm",
|
|
540
495
|
"children": [
|
|
541
496
|
{
|
|
542
497
|
"label": "Retry",
|
|
543
|
-
"variant": "primary",
|
|
544
|
-
"icon": "refresh-cw",
|
|
545
498
|
"action": "SEARCH",
|
|
546
|
-
"
|
|
499
|
+
"variant": "primary",
|
|
500
|
+
"type": "button",
|
|
501
|
+
"icon": "refresh-cw"
|
|
547
502
|
},
|
|
548
503
|
{
|
|
549
|
-
"
|
|
550
|
-
"action": "RESET",
|
|
551
|
-
"type": "button",
|
|
504
|
+
"icon": "rotate-ccw",
|
|
552
505
|
"label": "Reset",
|
|
553
|
-
"
|
|
506
|
+
"type": "button",
|
|
507
|
+
"action": "RESET",
|
|
508
|
+
"variant": "ghost"
|
|
554
509
|
}
|
|
555
|
-
]
|
|
510
|
+
],
|
|
511
|
+
"justify": "center"
|
|
556
512
|
}
|
|
557
|
-
]
|
|
513
|
+
],
|
|
514
|
+
"direction": "vertical"
|
|
558
515
|
}
|
|
559
516
|
]
|
|
560
517
|
]
|
|
@@ -568,9 +525,9 @@
|
|
|
568
525
|
"render-ui",
|
|
569
526
|
"main",
|
|
570
527
|
{
|
|
528
|
+
"type": "loading-state",
|
|
571
529
|
"message": "Searching YouTube for videos...",
|
|
572
|
-
"title": "Searching..."
|
|
573
|
-
"type": "loading-state"
|
|
530
|
+
"title": "Searching..."
|
|
574
531
|
}
|
|
575
532
|
],
|
|
576
533
|
[
|
|
@@ -584,8 +541,8 @@
|
|
|
584
541
|
},
|
|
585
542
|
{
|
|
586
543
|
"emit": {
|
|
587
|
-
"
|
|
588
|
-
"
|
|
544
|
+
"success": "ServiceYoutubeYoutubeCompleted",
|
|
545
|
+
"failure": "ServiceYoutubeYoutubeFailed"
|
|
589
546
|
}
|
|
590
547
|
}
|
|
591
548
|
]
|
|
@@ -605,8 +562,8 @@
|
|
|
605
562
|
"render-ui",
|
|
606
563
|
"main",
|
|
607
564
|
{
|
|
608
|
-
"type": "loading-state",
|
|
609
565
|
"title": "Loading video...",
|
|
566
|
+
"type": "loading-state",
|
|
610
567
|
"message": "Fetching video details..."
|
|
611
568
|
}
|
|
612
569
|
],
|
|
@@ -641,40 +598,40 @@
|
|
|
641
598
|
"main",
|
|
642
599
|
{
|
|
643
600
|
"align": "stretch",
|
|
644
|
-
"type": "stack",
|
|
645
601
|
"gap": "lg",
|
|
646
602
|
"direction": "vertical",
|
|
603
|
+
"type": "stack",
|
|
647
604
|
"children": [
|
|
648
605
|
{
|
|
649
606
|
"direction": "horizontal",
|
|
607
|
+
"align": "center",
|
|
650
608
|
"gap": "md",
|
|
651
|
-
"type": "stack",
|
|
652
609
|
"children": [
|
|
653
610
|
{
|
|
654
|
-
"
|
|
655
|
-
"
|
|
611
|
+
"name": "video",
|
|
612
|
+
"type": "icon"
|
|
656
613
|
},
|
|
657
614
|
{
|
|
658
615
|
"variant": "h2",
|
|
659
|
-
"
|
|
660
|
-
"
|
|
616
|
+
"content": "YouTube Search",
|
|
617
|
+
"type": "typography"
|
|
661
618
|
}
|
|
662
619
|
],
|
|
663
|
-
"
|
|
620
|
+
"type": "stack"
|
|
664
621
|
},
|
|
665
622
|
{
|
|
666
623
|
"type": "divider"
|
|
667
624
|
},
|
|
668
625
|
{
|
|
669
|
-
"
|
|
670
|
-
"
|
|
626
|
+
"type": "input",
|
|
627
|
+
"placeholder": "Search YouTube videos..."
|
|
671
628
|
},
|
|
672
629
|
{
|
|
630
|
+
"variant": "primary",
|
|
673
631
|
"icon": "search",
|
|
632
|
+
"action": "SEARCH",
|
|
674
633
|
"type": "button",
|
|
675
|
-
"label": "Search"
|
|
676
|
-
"variant": "primary",
|
|
677
|
-
"action": "SEARCH"
|
|
634
|
+
"label": "Search"
|
|
678
635
|
}
|
|
679
636
|
]
|
|
680
637
|
}
|
|
@@ -700,15 +657,14 @@
|
|
|
700
657
|
"render-ui",
|
|
701
658
|
"main",
|
|
702
659
|
{
|
|
703
|
-
"
|
|
704
|
-
"align": "stretch",
|
|
660
|
+
"direction": "vertical",
|
|
705
661
|
"gap": "lg",
|
|
662
|
+
"type": "stack",
|
|
706
663
|
"children": [
|
|
707
664
|
{
|
|
708
|
-
"direction": "horizontal",
|
|
709
|
-
"align": "center",
|
|
710
665
|
"type": "stack",
|
|
711
666
|
"gap": "md",
|
|
667
|
+
"align": "center",
|
|
712
668
|
"children": [
|
|
713
669
|
{
|
|
714
670
|
"type": "icon",
|
|
@@ -716,18 +672,19 @@
|
|
|
716
672
|
},
|
|
717
673
|
{
|
|
718
674
|
"content": "@entity.videoTitle",
|
|
719
|
-
"
|
|
720
|
-
"
|
|
675
|
+
"type": "typography",
|
|
676
|
+
"variant": "h2"
|
|
721
677
|
}
|
|
722
|
-
]
|
|
678
|
+
],
|
|
679
|
+
"direction": "horizontal"
|
|
723
680
|
},
|
|
724
681
|
{
|
|
725
682
|
"type": "divider"
|
|
726
683
|
},
|
|
727
684
|
{
|
|
685
|
+
"variant": "body",
|
|
728
686
|
"content": "@entity.videoDescription",
|
|
729
|
-
"type": "typography"
|
|
730
|
-
"variant": "body"
|
|
687
|
+
"type": "typography"
|
|
731
688
|
},
|
|
732
689
|
{
|
|
733
690
|
"type": "button",
|
|
@@ -737,7 +694,7 @@
|
|
|
737
694
|
"action": "BACK"
|
|
738
695
|
}
|
|
739
696
|
],
|
|
740
|
-
"
|
|
697
|
+
"align": "stretch"
|
|
741
698
|
}
|
|
742
699
|
]
|
|
743
700
|
]
|
|
@@ -753,10 +710,8 @@
|
|
|
753
710
|
{
|
|
754
711
|
"type": "stack",
|
|
755
712
|
"direction": "vertical",
|
|
756
|
-
"gap": "lg",
|
|
757
713
|
"children": [
|
|
758
714
|
{
|
|
759
|
-
"align": "center",
|
|
760
715
|
"children": [
|
|
761
716
|
{
|
|
762
717
|
"type": "icon",
|
|
@@ -769,40 +724,42 @@
|
|
|
769
724
|
}
|
|
770
725
|
],
|
|
771
726
|
"type": "stack",
|
|
772
|
-
"
|
|
773
|
-
"
|
|
727
|
+
"gap": "md",
|
|
728
|
+
"align": "center",
|
|
729
|
+
"direction": "horizontal"
|
|
774
730
|
},
|
|
775
731
|
{
|
|
776
732
|
"type": "divider"
|
|
777
733
|
},
|
|
778
734
|
{
|
|
779
|
-
"content": "Select a video to view details.",
|
|
780
735
|
"variant": "body",
|
|
781
|
-
"type": "typography"
|
|
736
|
+
"type": "typography",
|
|
737
|
+
"content": "Select a video to view details."
|
|
782
738
|
},
|
|
783
739
|
{
|
|
784
|
-
"gap": "sm",
|
|
785
740
|
"children": [
|
|
786
741
|
{
|
|
742
|
+
"label": "New Search",
|
|
743
|
+
"variant": "ghost",
|
|
787
744
|
"type": "button",
|
|
788
745
|
"action": "RESET",
|
|
789
|
-
"
|
|
790
|
-
"icon": "rotate-ccw",
|
|
791
|
-
"label": "New Search"
|
|
746
|
+
"icon": "rotate-ccw"
|
|
792
747
|
},
|
|
793
748
|
{
|
|
749
|
+
"action": "SEARCH",
|
|
794
750
|
"variant": "ghost",
|
|
795
751
|
"icon": "search",
|
|
796
|
-
"
|
|
797
|
-
"
|
|
798
|
-
"type": "button"
|
|
752
|
+
"type": "button",
|
|
753
|
+
"label": "Search Again"
|
|
799
754
|
}
|
|
800
755
|
],
|
|
756
|
+
"direction": "horizontal",
|
|
757
|
+
"gap": "sm",
|
|
801
758
|
"justify": "center",
|
|
802
|
-
"type": "stack"
|
|
803
|
-
"direction": "horizontal"
|
|
759
|
+
"type": "stack"
|
|
804
760
|
}
|
|
805
761
|
],
|
|
762
|
+
"gap": "lg",
|
|
806
763
|
"align": "stretch"
|
|
807
764
|
}
|
|
808
765
|
]
|
|
@@ -827,14 +784,10 @@
|
|
|
827
784
|
"render-ui",
|
|
828
785
|
"main",
|
|
829
786
|
{
|
|
830
|
-
"align": "stretch",
|
|
831
|
-
"type": "stack",
|
|
832
787
|
"children": [
|
|
833
788
|
{
|
|
834
|
-
"gap": "md",
|
|
835
789
|
"type": "stack",
|
|
836
|
-
"
|
|
837
|
-
"direction": "horizontal",
|
|
790
|
+
"gap": "md",
|
|
838
791
|
"children": [
|
|
839
792
|
{
|
|
840
793
|
"name": "video",
|
|
@@ -845,7 +798,9 @@
|
|
|
845
798
|
"variant": "h2",
|
|
846
799
|
"content": "YouTube Search"
|
|
847
800
|
}
|
|
848
|
-
]
|
|
801
|
+
],
|
|
802
|
+
"align": "center",
|
|
803
|
+
"direction": "horizontal"
|
|
849
804
|
},
|
|
850
805
|
{
|
|
851
806
|
"type": "divider"
|
|
@@ -855,15 +810,17 @@
|
|
|
855
810
|
"placeholder": "Search YouTube videos..."
|
|
856
811
|
},
|
|
857
812
|
{
|
|
858
|
-
"variant": "primary",
|
|
859
813
|
"label": "Search",
|
|
860
|
-
"action": "SEARCH",
|
|
861
814
|
"type": "button",
|
|
862
|
-
"icon": "search"
|
|
815
|
+
"icon": "search",
|
|
816
|
+
"variant": "primary",
|
|
817
|
+
"action": "SEARCH"
|
|
863
818
|
}
|
|
864
819
|
],
|
|
820
|
+
"gap": "lg",
|
|
865
821
|
"direction": "vertical",
|
|
866
|
-
"
|
|
822
|
+
"align": "stretch",
|
|
823
|
+
"type": "stack"
|
|
867
824
|
}
|
|
868
825
|
]
|
|
869
826
|
]
|