@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.
Files changed (27) hide show
  1. package/behaviors/registry/app/organisms/std-ecommerce.orb +2583 -3921
  2. package/behaviors/registry/core/atoms/std-browse.orb +180 -45
  3. package/behaviors/registry/core/molecules/std-app-layout.orb +21 -16
  4. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +87 -133
  5. package/behaviors/registry/service/atoms/std-service-email.orb +101 -147
  6. package/behaviors/registry/service/atoms/std-service-github.orb +92 -143
  7. package/behaviors/registry/service/atoms/std-service-llm.orb +118 -157
  8. package/behaviors/registry/service/atoms/std-service-oauth.orb +128 -171
  9. package/behaviors/registry/service/atoms/std-service-redis.orb +92 -134
  10. package/behaviors/registry/service/atoms/std-service-storage.orb +120 -166
  11. package/behaviors/registry/service/atoms/std-service-stripe.orb +235 -193
  12. package/behaviors/registry/service/atoms/std-service-twilio.orb +127 -169
  13. package/behaviors/registry/service/atoms/std-service-youtube.orb +108 -151
  14. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +2583 -3921
  15. package/dist/behaviors/registry/core/atoms/std-browse.orb +180 -45
  16. package/dist/behaviors/registry/core/molecules/std-app-layout.orb +21 -16
  17. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +87 -133
  18. package/dist/behaviors/registry/service/atoms/std-service-email.orb +101 -147
  19. package/dist/behaviors/registry/service/atoms/std-service-github.orb +92 -143
  20. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +118 -157
  21. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +128 -171
  22. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +92 -134
  23. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +120 -166
  24. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +235 -193
  25. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +127 -169
  26. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +108 -151
  27. package/package.json +1 -1
@@ -86,68 +86,17 @@
86
86
  "emits": [
87
87
  {
88
88
  "event": "ServiceGithubLoaded",
89
- "description": "Fired when ServiceGithub finishes loading",
90
- "scope": "internal",
89
+ "scope": "external",
91
90
  "payloadSchema": [
92
91
  {
93
92
  "name": "id",
94
- "type": "string",
95
- "required": true
96
- },
97
- {
98
- "name": "title",
99
- "type": "string"
100
- },
101
- {
102
- "name": "body",
103
- "type": "string"
104
- },
105
- {
106
- "name": "head",
107
- "type": "string"
108
- },
109
- {
110
- "name": "base",
111
- "type": "string"
112
- },
113
- {
114
- "name": "prUrl",
115
- "type": "string"
116
- },
117
- {
118
- "name": "prNumber",
119
- "type": "number"
120
- },
121
- {
122
- "name": "ghStatus",
123
- "type": "string"
124
- },
125
- {
126
- "name": "error",
127
- "type": "string"
128
- },
129
- {
130
- "name": "name",
131
- "type": "string"
132
- },
133
- {
134
- "name": "description",
135
- "type": "string"
136
- },
137
- {
138
- "name": "status",
139
- "type": "string"
140
- },
141
- {
142
- "name": "createdAt",
143
93
  "type": "string"
144
94
  }
145
95
  ]
146
96
  },
147
97
  {
148
98
  "event": "ServiceGithubLoadFailed",
149
- "description": "Fired when ServiceGithub fails to load",
150
- "scope": "internal",
99
+ "scope": "external",
151
100
  "payloadSchema": [
152
101
  {
153
102
  "name": "message",
@@ -157,7 +106,7 @@
157
106
  },
158
107
  {
159
108
  "event": "ServiceGithubGithubCompleted",
160
- "scope": "internal",
109
+ "scope": "external",
161
110
  "payloadSchema": [
162
111
  {
163
112
  "name": "result",
@@ -167,7 +116,7 @@
167
116
  },
168
117
  {
169
118
  "event": "ServiceGithubGithubFailed",
170
- "scope": "internal",
119
+ "scope": "external",
171
120
  "payloadSchema": [
172
121
  {
173
122
  "name": "error",
@@ -365,8 +314,8 @@
365
314
  "ServiceGithub",
366
315
  {
367
316
  "emit": {
368
- "success": "ServiceGithubLoaded",
369
- "failure": "ServiceGithubLoadFailed"
317
+ "failure": "ServiceGithubLoadFailed",
318
+ "success": "ServiceGithubLoaded"
370
319
  }
371
320
  }
372
321
  ],
@@ -374,27 +323,24 @@
374
323
  "render-ui",
375
324
  "main",
376
325
  {
377
- "direction": "vertical",
378
326
  "type": "stack",
379
- "gap": "lg",
380
- "align": "center",
381
327
  "children": [
382
328
  {
329
+ "align": "center",
383
330
  "children": [
384
331
  {
385
- "type": "icon",
386
- "name": "git-pull-request"
332
+ "name": "git-pull-request",
333
+ "type": "icon"
387
334
  },
388
335
  {
336
+ "content": "Create Pull Request",
389
337
  "type": "typography",
390
- "variant": "h2",
391
- "content": "Create Pull Request"
338
+ "variant": "h2"
392
339
  }
393
340
  ],
394
- "direction": "horizontal",
395
- "gap": "md",
396
341
  "type": "stack",
397
- "align": "center"
342
+ "direction": "horizontal",
343
+ "gap": "md"
398
344
  },
399
345
  {
400
346
  "type": "divider"
@@ -403,8 +349,8 @@
403
349
  "direction": "vertical",
404
350
  "children": [
405
351
  {
406
- "placeholder": "PR title",
407
- "type": "input"
352
+ "type": "input",
353
+ "placeholder": "PR title"
408
354
  },
409
355
  {
410
356
  "type": "textarea",
@@ -419,17 +365,20 @@
419
365
  "type": "input"
420
366
  }
421
367
  ],
422
- "gap": "md",
423
- "type": "stack"
368
+ "type": "stack",
369
+ "gap": "md"
424
370
  },
425
371
  {
426
- "icon": "git-pull-request",
427
- "action": "CREATE_PR",
372
+ "label": "Create PR",
428
373
  "type": "button",
374
+ "action": "CREATE_PR",
429
375
  "variant": "primary",
430
- "label": "Create PR"
376
+ "icon": "git-pull-request"
431
377
  }
432
- ]
378
+ ],
379
+ "direction": "vertical",
380
+ "gap": "lg",
381
+ "align": "center"
433
382
  }
434
383
  ]
435
384
  ]
@@ -443,9 +392,9 @@
443
392
  "render-ui",
444
393
  "main",
445
394
  {
395
+ "message": "Submitting your PR to GitHub.",
446
396
  "type": "loading-state",
447
- "title": "Creating pull request...",
448
- "message": "Submitting your PR to GitHub."
397
+ "title": "Creating pull request..."
449
398
  }
450
399
  ],
451
400
  [
@@ -454,8 +403,8 @@
454
403
  "createPR",
455
404
  {
456
405
  "title": "@entity.title",
457
- "base": "@entity.base",
458
406
  "head": "@entity.head",
407
+ "base": "@entity.base",
459
408
  "body": "@entity.body"
460
409
  },
461
410
  {
@@ -497,25 +446,25 @@
497
446
  "align": "center",
498
447
  "children": [
499
448
  {
500
- "name": "check-circle",
501
- "type": "icon"
449
+ "type": "icon",
450
+ "name": "check-circle"
502
451
  },
503
452
  {
504
- "message": "Pull request created!",
505
453
  "type": "alert",
506
- "variant": "success"
454
+ "variant": "success",
455
+ "message": "Pull request created!"
507
456
  },
508
457
  {
509
- "type": "typography",
510
458
  "color": "muted",
511
459
  "content": "@entity.prUrl",
460
+ "type": "typography",
512
461
  "variant": "body"
513
462
  },
514
463
  {
464
+ "type": "button",
465
+ "action": "RESET",
515
466
  "icon": "rotate-ccw",
516
467
  "label": "Create Another",
517
- "action": "RESET",
518
- "type": "button",
519
468
  "variant": "ghost"
520
469
  }
521
470
  ]
@@ -537,10 +486,10 @@
537
486
  "render-ui",
538
487
  "main",
539
488
  {
540
- "type": "error-state",
541
- "message": "@entity.error",
489
+ "title": "PR Creation Failed",
542
490
  "onRetry": "RETRY",
543
- "title": "PR Creation Failed"
491
+ "type": "error-state",
492
+ "message": "@entity.error"
544
493
  }
545
494
  ]
546
495
  ]
@@ -554,6 +503,7 @@
554
503
  "render-ui",
555
504
  "main",
556
505
  {
506
+ "gap": "lg",
557
507
  "children": [
558
508
  {
559
509
  "children": [
@@ -562,26 +512,24 @@
562
512
  "type": "icon"
563
513
  },
564
514
  {
515
+ "variant": "h2",
565
516
  "type": "typography",
566
- "content": "Create Pull Request",
567
- "variant": "h2"
517
+ "content": "Create Pull Request"
568
518
  }
569
519
  ],
570
- "type": "stack",
571
520
  "direction": "horizontal",
572
521
  "gap": "md",
573
- "align": "center"
522
+ "align": "center",
523
+ "type": "stack"
574
524
  },
575
525
  {
576
526
  "type": "divider"
577
527
  },
578
528
  {
579
- "direction": "vertical",
580
- "type": "stack",
581
529
  "children": [
582
530
  {
583
- "placeholder": "PR title",
584
- "type": "input"
531
+ "type": "input",
532
+ "placeholder": "PR title"
585
533
  },
586
534
  {
587
535
  "type": "textarea",
@@ -592,24 +540,25 @@
592
540
  "placeholder": "feature-branch"
593
541
  },
594
542
  {
595
- "placeholder": "main",
596
- "type": "input"
543
+ "type": "input",
544
+ "placeholder": "main"
597
545
  }
598
546
  ],
599
- "gap": "md"
547
+ "gap": "md",
548
+ "direction": "vertical",
549
+ "type": "stack"
600
550
  },
601
551
  {
602
552
  "label": "Create PR",
603
- "type": "button",
604
- "action": "CREATE_PR",
605
553
  "variant": "primary",
606
- "icon": "git-pull-request"
554
+ "icon": "git-pull-request",
555
+ "type": "button",
556
+ "action": "CREATE_PR"
607
557
  }
608
558
  ],
609
- "type": "stack",
610
- "align": "center",
611
559
  "direction": "vertical",
612
- "gap": "lg"
560
+ "type": "stack",
561
+ "align": "center"
613
562
  }
614
563
  ]
615
564
  ]
@@ -623,31 +572,31 @@
623
572
  "render-ui",
624
573
  "main",
625
574
  {
626
- "direction": "vertical",
575
+ "gap": "lg",
627
576
  "type": "stack",
628
- "align": "center",
629
577
  "children": [
630
578
  {
631
- "align": "center",
632
579
  "type": "stack",
633
- "gap": "md",
634
580
  "direction": "horizontal",
581
+ "align": "center",
635
582
  "children": [
636
583
  {
637
584
  "name": "git-pull-request",
638
585
  "type": "icon"
639
586
  },
640
587
  {
641
- "content": "Create Pull Request",
642
588
  "variant": "h2",
643
- "type": "typography"
589
+ "type": "typography",
590
+ "content": "Create Pull Request"
644
591
  }
645
- ]
592
+ ],
593
+ "gap": "md"
646
594
  },
647
595
  {
648
596
  "type": "divider"
649
597
  },
650
598
  {
599
+ "type": "stack",
651
600
  "direction": "vertical",
652
601
  "gap": "md",
653
602
  "children": [
@@ -660,25 +609,25 @@
660
609
  "placeholder": "Describe your changes..."
661
610
  },
662
611
  {
663
- "placeholder": "feature-branch",
664
- "type": "input"
612
+ "type": "input",
613
+ "placeholder": "feature-branch"
665
614
  },
666
615
  {
667
- "placeholder": "main",
668
- "type": "input"
616
+ "type": "input",
617
+ "placeholder": "main"
669
618
  }
670
- ],
671
- "type": "stack"
619
+ ]
672
620
  },
673
621
  {
674
- "type": "button",
675
- "label": "Create PR",
676
622
  "action": "CREATE_PR",
677
623
  "variant": "primary",
624
+ "label": "Create PR",
625
+ "type": "button",
678
626
  "icon": "git-pull-request"
679
627
  }
680
628
  ],
681
- "gap": "lg"
629
+ "direction": "vertical",
630
+ "align": "center"
682
631
  }
683
632
  ]
684
633
  ]
@@ -692,62 +641,62 @@
692
641
  "render-ui",
693
642
  "main",
694
643
  {
695
- "align": "center",
696
- "type": "stack",
697
644
  "children": [
698
645
  {
699
- "type": "stack",
700
- "align": "center",
701
- "gap": "md",
702
646
  "children": [
703
647
  {
704
648
  "type": "icon",
705
649
  "name": "git-pull-request"
706
650
  },
707
651
  {
708
- "variant": "h2",
709
652
  "content": "Create Pull Request",
710
- "type": "typography"
653
+ "type": "typography",
654
+ "variant": "h2"
711
655
  }
712
656
  ],
713
- "direction": "horizontal"
657
+ "gap": "md",
658
+ "direction": "horizontal",
659
+ "type": "stack",
660
+ "align": "center"
714
661
  },
715
662
  {
716
663
  "type": "divider"
717
664
  },
718
665
  {
719
- "direction": "vertical",
666
+ "type": "stack",
720
667
  "gap": "md",
668
+ "direction": "vertical",
721
669
  "children": [
722
670
  {
723
- "placeholder": "PR title",
724
- "type": "input"
671
+ "type": "input",
672
+ "placeholder": "PR title"
725
673
  },
726
674
  {
727
- "type": "textarea",
728
- "placeholder": "Describe your changes..."
675
+ "placeholder": "Describe your changes...",
676
+ "type": "textarea"
729
677
  },
730
678
  {
731
- "placeholder": "feature-branch",
732
- "type": "input"
679
+ "type": "input",
680
+ "placeholder": "feature-branch"
733
681
  },
734
682
  {
735
683
  "type": "input",
736
684
  "placeholder": "main"
737
685
  }
738
- ],
739
- "type": "stack"
686
+ ]
740
687
  },
741
688
  {
742
- "action": "CREATE_PR",
743
- "type": "button",
744
- "icon": "git-pull-request",
689
+ "label": "Create PR",
745
690
  "variant": "primary",
746
- "label": "Create PR"
691
+ "icon": "git-pull-request",
692
+ "action": "CREATE_PR",
693
+ "type": "button"
747
694
  }
748
695
  ],
696
+ "gap": "lg",
697
+ "type": "stack",
749
698
  "direction": "vertical",
750
- "gap": "lg"
699
+ "align": "center"
751
700
  }
752
701
  ]
753
702
  ]