@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
@@ -71,59 +71,17 @@
71
71
  "emits": [
72
72
  {
73
73
  "event": "ServiceRedisLoaded",
74
- "description": "Fired when ServiceRedis finishes loading",
75
- "scope": "internal",
74
+ "scope": "external",
76
75
  "payloadSchema": [
77
76
  {
78
77
  "name": "id",
79
78
  "type": "string"
80
- },
81
- {
82
- "name": "name",
83
- "type": "string"
84
- },
85
- {
86
- "name": "description",
87
- "type": "string"
88
- },
89
- {
90
- "name": "status",
91
- "type": "string"
92
- },
93
- {
94
- "name": "createdAt",
95
- "type": "string"
96
- },
97
- {
98
- "name": "key",
99
- "type": "string"
100
- },
101
- {
102
- "name": "value",
103
- "type": "string"
104
- },
105
- {
106
- "name": "ttl",
107
- "type": "number"
108
- },
109
- {
110
- "name": "result",
111
- "type": "string"
112
- },
113
- {
114
- "name": "redisStatus",
115
- "type": "string"
116
- },
117
- {
118
- "name": "error",
119
- "type": "string"
120
79
  }
121
80
  ]
122
81
  },
123
82
  {
124
83
  "event": "ServiceRedisLoadFailed",
125
- "description": "Fired when ServiceRedis fails to load",
126
- "scope": "internal",
84
+ "scope": "external",
127
85
  "payloadSchema": [
128
86
  {
129
87
  "name": "message",
@@ -133,7 +91,7 @@
133
91
  },
134
92
  {
135
93
  "event": "ServiceRedisRedisCompleted",
136
- "scope": "internal",
94
+ "scope": "external",
137
95
  "payloadSchema": [
138
96
  {
139
97
  "name": "result",
@@ -143,7 +101,7 @@
143
101
  },
144
102
  {
145
103
  "event": "ServiceRedisRedisFailed",
146
- "scope": "internal",
104
+ "scope": "external",
147
105
  "payloadSchema": [
148
106
  {
149
107
  "name": "error",
@@ -335,22 +293,25 @@
335
293
  "render-ui",
336
294
  "main",
337
295
  {
296
+ "type": "stack",
338
297
  "direction": "vertical",
298
+ "align": "center",
299
+ "gap": "lg",
339
300
  "children": [
340
301
  {
302
+ "align": "center",
303
+ "gap": "md",
341
304
  "children": [
342
305
  {
343
306
  "name": "database",
344
307
  "type": "icon"
345
308
  },
346
309
  {
347
- "variant": "h2",
348
310
  "content": "Redis Cache",
311
+ "variant": "h2",
349
312
  "type": "typography"
350
313
  }
351
314
  ],
352
- "gap": "md",
353
- "align": "center",
354
315
  "direction": "horizontal",
355
316
  "type": "stack"
356
317
  },
@@ -358,6 +319,9 @@
358
319
  "type": "divider"
359
320
  },
360
321
  {
322
+ "type": "stack",
323
+ "gap": "md",
324
+ "direction": "vertical",
361
325
  "children": [
362
326
  {
363
327
  "placeholder": "cache-key",
@@ -372,44 +336,38 @@
372
336
  "inputType": "number",
373
337
  "placeholder": "3600"
374
338
  }
375
- ],
376
- "direction": "vertical",
377
- "type": "stack",
378
- "gap": "md"
339
+ ]
379
340
  },
380
341
  {
381
- "type": "stack",
342
+ "gap": "sm",
382
343
  "children": [
383
344
  {
384
- "label": "Get",
385
- "variant": "primary",
386
345
  "icon": "download",
346
+ "action": "GET_KEY",
387
347
  "type": "button",
388
- "action": "GET_KEY"
348
+ "variant": "primary",
349
+ "label": "Get"
389
350
  },
390
351
  {
391
- "icon": "upload",
392
352
  "variant": "primary",
393
353
  "label": "Set",
394
- "action": "SET_KEY",
395
- "type": "button"
354
+ "icon": "upload",
355
+ "type": "button",
356
+ "action": "SET_KEY"
396
357
  },
397
358
  {
398
- "type": "button",
359
+ "icon": "trash-2",
399
360
  "action": "DELETE_KEY",
400
- "variant": "danger",
401
361
  "label": "Delete",
402
- "icon": "trash-2"
362
+ "type": "button",
363
+ "variant": "danger"
403
364
  }
404
365
  ],
405
- "justify": "center",
366
+ "type": "stack",
406
367
  "direction": "horizontal",
407
- "gap": "sm"
368
+ "justify": "center"
408
369
  }
409
- ],
410
- "type": "stack",
411
- "align": "center",
412
- "gap": "lg"
370
+ ]
413
371
  }
414
372
  ]
415
373
  ]
@@ -453,9 +411,9 @@
453
411
  "render-ui",
454
412
  "main",
455
413
  {
414
+ "type": "loading-state",
456
415
  "title": "Executing...",
457
- "message": "Running redis operation...",
458
- "type": "loading-state"
416
+ "message": "Running redis operation..."
459
417
  }
460
418
  ],
461
419
  [
@@ -469,8 +427,8 @@
469
427
  },
470
428
  {
471
429
  "emit": {
472
- "success": "ServiceRedisRedisCompleted",
473
- "failure": "ServiceRedisRedisFailed"
430
+ "failure": "ServiceRedisRedisFailed",
431
+ "success": "ServiceRedisRedisCompleted"
474
432
  }
475
433
  }
476
434
  ]
@@ -499,8 +457,8 @@
499
457
  },
500
458
  {
501
459
  "emit": {
502
- "success": "ServiceRedisRedisCompleted",
503
- "failure": "ServiceRedisRedisFailed"
460
+ "failure": "ServiceRedisRedisFailed",
461
+ "success": "ServiceRedisRedisCompleted"
504
462
  }
505
463
  }
506
464
  ]
@@ -522,32 +480,32 @@
522
480
  {
523
481
  "direction": "vertical",
524
482
  "align": "center",
483
+ "gap": "lg",
525
484
  "children": [
526
485
  {
527
- "name": "check-circle",
528
- "type": "icon"
486
+ "type": "icon",
487
+ "name": "check-circle"
529
488
  },
530
489
  {
531
490
  "type": "alert",
532
- "variant": "success",
533
- "message": "Operation complete"
491
+ "message": "Operation complete",
492
+ "variant": "success"
534
493
  },
535
494
  {
536
- "color": "muted",
537
495
  "variant": "body",
538
496
  "content": "@entity.result",
539
- "type": "typography"
497
+ "type": "typography",
498
+ "color": "muted"
540
499
  },
541
500
  {
501
+ "icon": "rotate-ccw",
502
+ "label": "Reset",
542
503
  "action": "RESET",
543
504
  "variant": "ghost",
544
- "label": "Reset",
545
- "icon": "rotate-ccw",
546
505
  "type": "button"
547
506
  }
548
507
  ],
549
- "type": "stack",
550
- "gap": "lg"
508
+ "type": "stack"
551
509
  }
552
510
  ]
553
511
  ]
@@ -568,8 +526,8 @@
568
526
  {
569
527
  "type": "error-state",
570
528
  "onRetry": "RESET",
571
- "message": "@entity.error",
572
- "title": "Redis Error"
529
+ "title": "Redis Error",
530
+ "message": "@entity.error"
573
531
  }
574
532
  ]
575
533
  ]
@@ -583,26 +541,25 @@
583
541
  "render-ui",
584
542
  "main",
585
543
  {
586
- "type": "stack",
587
- "gap": "lg",
588
- "direction": "vertical",
589
544
  "align": "center",
545
+ "direction": "vertical",
546
+ "type": "stack",
590
547
  "children": [
591
548
  {
592
- "align": "center",
593
- "gap": "md",
594
- "direction": "horizontal",
595
549
  "children": [
596
550
  {
597
551
  "type": "icon",
598
552
  "name": "database"
599
553
  },
600
554
  {
601
- "content": "Redis Cache",
602
555
  "variant": "h2",
556
+ "content": "Redis Cache",
603
557
  "type": "typography"
604
558
  }
605
559
  ],
560
+ "gap": "md",
561
+ "align": "center",
562
+ "direction": "horizontal",
606
563
  "type": "stack"
607
564
  },
608
565
  {
@@ -629,35 +586,36 @@
629
586
  ]
630
587
  },
631
588
  {
632
- "type": "stack",
633
- "direction": "horizontal",
634
589
  "children": [
635
590
  {
591
+ "action": "GET_KEY",
592
+ "icon": "download",
636
593
  "type": "button",
637
594
  "label": "Get",
638
- "action": "GET_KEY",
639
- "variant": "primary",
640
- "icon": "download"
595
+ "variant": "primary"
641
596
  },
642
597
  {
643
598
  "label": "Set",
599
+ "type": "button",
644
600
  "icon": "upload",
645
601
  "action": "SET_KEY",
646
- "variant": "primary",
647
- "type": "button"
602
+ "variant": "primary"
648
603
  },
649
604
  {
650
- "variant": "danger",
651
- "action": "DELETE_KEY",
652
605
  "icon": "trash-2",
653
606
  "type": "button",
654
- "label": "Delete"
607
+ "label": "Delete",
608
+ "action": "DELETE_KEY",
609
+ "variant": "danger"
655
610
  }
656
611
  ],
657
- "gap": "sm",
658
- "justify": "center"
612
+ "direction": "horizontal",
613
+ "justify": "center",
614
+ "type": "stack",
615
+ "gap": "sm"
659
616
  }
660
- ]
617
+ ],
618
+ "gap": "lg"
661
619
  }
662
620
  ]
663
621
  ]
@@ -671,22 +629,23 @@
671
629
  "render-ui",
672
630
  "main",
673
631
  {
674
- "type": "stack",
632
+ "direction": "vertical",
675
633
  "align": "center",
634
+ "gap": "lg",
676
635
  "children": [
677
636
  {
637
+ "gap": "md",
678
638
  "children": [
679
639
  {
680
640
  "type": "icon",
681
641
  "name": "database"
682
642
  },
683
643
  {
684
- "content": "Redis Cache",
685
644
  "type": "typography",
645
+ "content": "Redis Cache",
686
646
  "variant": "h2"
687
647
  }
688
648
  ],
689
- "gap": "md",
690
649
  "direction": "horizontal",
691
650
  "align": "center",
692
651
  "type": "stack"
@@ -695,57 +654,56 @@
695
654
  "type": "divider"
696
655
  },
697
656
  {
698
- "type": "stack",
699
- "direction": "vertical",
700
- "gap": "md",
701
657
  "children": [
702
658
  {
703
659
  "type": "input",
704
660
  "placeholder": "cache-key"
705
661
  },
706
662
  {
707
- "type": "input",
708
- "placeholder": "cache-value"
663
+ "placeholder": "cache-value",
664
+ "type": "input"
709
665
  },
710
666
  {
711
667
  "type": "input",
712
- "placeholder": "3600",
713
- "inputType": "number"
668
+ "inputType": "number",
669
+ "placeholder": "3600"
714
670
  }
715
- ]
671
+ ],
672
+ "type": "stack",
673
+ "direction": "vertical",
674
+ "gap": "md"
716
675
  },
717
676
  {
718
- "type": "stack",
719
- "gap": "sm",
720
- "justify": "center",
721
677
  "direction": "horizontal",
678
+ "justify": "center",
679
+ "type": "stack",
722
680
  "children": [
723
681
  {
724
- "label": "Get",
725
- "action": "GET_KEY",
726
- "variant": "primary",
682
+ "icon": "download",
727
683
  "type": "button",
728
- "icon": "download"
684
+ "action": "GET_KEY",
685
+ "label": "Get",
686
+ "variant": "primary"
729
687
  },
730
688
  {
689
+ "action": "SET_KEY",
731
690
  "variant": "primary",
732
- "icon": "upload",
733
- "label": "Set",
734
691
  "type": "button",
735
- "action": "SET_KEY"
692
+ "icon": "upload",
693
+ "label": "Set"
736
694
  },
737
695
  {
738
696
  "action": "DELETE_KEY",
739
- "type": "button",
740
- "label": "Delete",
741
697
  "variant": "danger",
742
- "icon": "trash-2"
698
+ "icon": "trash-2",
699
+ "type": "button",
700
+ "label": "Delete"
743
701
  }
744
- ]
702
+ ],
703
+ "gap": "sm"
745
704
  }
746
705
  ],
747
- "direction": "vertical",
748
- "gap": "lg"
706
+ "type": "stack"
749
707
  }
750
708
  ]
751
709
  ]