@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
@@ -76,63 +76,17 @@
76
76
  "emits": [
77
77
  {
78
78
  "event": "ServiceCustomBearerLoaded",
79
- "description": "Fired when ServiceCustomBearer finishes loading",
80
- "scope": "internal",
79
+ "scope": "external",
81
80
  "payloadSchema": [
82
81
  {
83
82
  "name": "id",
84
83
  "type": "string"
85
- },
86
- {
87
- "name": "name",
88
- "type": "string"
89
- },
90
- {
91
- "name": "description",
92
- "type": "string"
93
- },
94
- {
95
- "name": "status",
96
- "type": "string"
97
- },
98
- {
99
- "name": "createdAt",
100
- "type": "string"
101
- },
102
- {
103
- "name": "endpoint",
104
- "type": "string"
105
- },
106
- {
107
- "name": "method",
108
- "type": "string"
109
- },
110
- {
111
- "name": "requestBody",
112
- "type": "string"
113
- },
114
- {
115
- "name": "responseData",
116
- "type": "string"
117
- },
118
- {
119
- "name": "statusCode",
120
- "type": "string"
121
- },
122
- {
123
- "name": "callStatus",
124
- "type": "string"
125
- },
126
- {
127
- "name": "error",
128
- "type": "string"
129
84
  }
130
85
  ]
131
86
  },
132
87
  {
133
88
  "event": "ServiceCustomBearerLoadFailed",
134
- "description": "Fired when ServiceCustomBearer fails to load",
135
- "scope": "internal",
89
+ "scope": "external",
136
90
  "payloadSchema": [
137
91
  {
138
92
  "name": "message",
@@ -142,7 +96,7 @@
142
96
  },
143
97
  {
144
98
  "event": "ServiceCustomBearerCustomBearerApiCompleted",
145
- "scope": "internal",
99
+ "scope": "external",
146
100
  "payloadSchema": [
147
101
  {
148
102
  "name": "result",
@@ -152,7 +106,7 @@
152
106
  },
153
107
  {
154
108
  "event": "ServiceCustomBearerCustomBearerApiFailed",
155
- "scope": "internal",
109
+ "scope": "external",
156
110
  "payloadSchema": [
157
111
  {
158
112
  "name": "error",
@@ -340,8 +294,8 @@
340
294
  "ServiceCustomBearer",
341
295
  {
342
296
  "emit": {
343
- "success": "ServiceCustomBearerLoaded",
344
- "failure": "ServiceCustomBearerLoadFailed"
297
+ "failure": "ServiceCustomBearerLoadFailed",
298
+ "success": "ServiceCustomBearerLoaded"
345
299
  }
346
300
  }
347
301
  ],
@@ -349,30 +303,33 @@
349
303
  "render-ui",
350
304
  "main",
351
305
  {
306
+ "gap": "lg",
352
307
  "type": "stack",
308
+ "align": "center",
309
+ "direction": "vertical",
353
310
  "children": [
354
311
  {
355
312
  "type": "icon",
356
313
  "name": "shield"
357
314
  },
358
315
  {
359
- "type": "typography",
360
316
  "content": "Bearer API Tester",
361
- "variant": "h2"
317
+ "variant": "h2",
318
+ "type": "typography"
362
319
  },
363
320
  {
364
- "placeholder": "/users",
365
- "type": "input"
321
+ "type": "input",
322
+ "placeholder": "/users"
366
323
  },
367
324
  {
368
325
  "options": [
369
326
  {
370
- "value": "GET",
371
- "label": "GET"
327
+ "label": "GET",
328
+ "value": "GET"
372
329
  },
373
330
  {
374
- "label": "POST",
375
- "value": "POST"
331
+ "value": "POST",
332
+ "label": "POST"
376
333
  },
377
334
  {
378
335
  "label": "PUT",
@@ -386,20 +343,17 @@
386
343
  "type": "select"
387
344
  },
388
345
  {
389
- "type": "textarea",
390
- "placeholder": "JSON request body"
346
+ "placeholder": "JSON request body",
347
+ "type": "textarea"
391
348
  },
392
349
  {
350
+ "label": "Send Request",
393
351
  "variant": "primary",
394
352
  "icon": "send",
395
- "action": "CALL_API",
396
- "label": "Send Request",
397
- "type": "button"
353
+ "type": "button",
354
+ "action": "CALL_API"
398
355
  }
399
- ],
400
- "gap": "lg",
401
- "align": "center",
402
- "direction": "vertical"
356
+ ]
403
357
  }
404
358
  ]
405
359
  ]
@@ -413,9 +367,9 @@
413
367
  "render-ui",
414
368
  "main",
415
369
  {
416
- "title": "Calling API...",
370
+ "type": "loading-state",
417
371
  "message": "Sending request to servicecustombearer endpoint...",
418
- "type": "loading-state"
372
+ "title": "Calling API..."
419
373
  }
420
374
  ],
421
375
  [
@@ -424,8 +378,8 @@
424
378
  "execute",
425
379
  {
426
380
  "body": "@entity.requestBody",
427
- "endpoint": "@entity.endpoint",
428
- "method": "@entity.method"
381
+ "method": "@entity.method",
382
+ "endpoint": "@entity.endpoint"
429
383
  },
430
384
  {
431
385
  "emit": {
@@ -458,8 +412,8 @@
458
412
  "align": "center",
459
413
  "children": [
460
414
  {
461
- "name": "check-circle",
462
- "type": "icon"
415
+ "type": "icon",
416
+ "name": "check-circle"
463
417
  },
464
418
  {
465
419
  "type": "typography",
@@ -467,26 +421,26 @@
467
421
  "content": "Response"
468
422
  },
469
423
  {
424
+ "label": "@entity.statusCode",
470
425
  "type": "badge",
471
- "variant": "info",
472
- "label": "@entity.statusCode"
426
+ "variant": "info"
473
427
  },
474
428
  {
429
+ "type": "code-block",
475
430
  "code": "@entity.responseData",
476
- "language": "json",
477
- "type": "code-block"
431
+ "language": "json"
478
432
  },
479
433
  {
480
- "type": "button",
434
+ "action": "RESET",
481
435
  "label": "New Request",
436
+ "variant": "ghost",
482
437
  "icon": "rotate-ccw",
483
- "action": "RESET",
484
- "variant": "ghost"
438
+ "type": "button"
485
439
  }
486
440
  ],
487
- "gap": "lg",
441
+ "type": "stack",
488
442
  "direction": "vertical",
489
- "type": "stack"
443
+ "gap": "lg"
490
444
  }
491
445
  ]
492
446
  ]
@@ -505,9 +459,9 @@
505
459
  "render-ui",
506
460
  "main",
507
461
  {
508
- "title": "Request Failed",
509
- "message": "@entity.error",
510
462
  "onRetry": "RETRY",
463
+ "message": "@entity.error",
464
+ "title": "Request Failed",
511
465
  "type": "error-state"
512
466
  }
513
467
  ]
@@ -522,7 +476,10 @@
522
476
  "render-ui",
523
477
  "main",
524
478
  {
479
+ "align": "center",
480
+ "type": "stack",
525
481
  "direction": "vertical",
482
+ "gap": "lg",
526
483
  "children": [
527
484
  {
528
485
  "type": "icon",
@@ -534,11 +491,10 @@
534
491
  "variant": "h2"
535
492
  },
536
493
  {
537
- "placeholder": "/users",
538
- "type": "input"
494
+ "type": "input",
495
+ "placeholder": "/users"
539
496
  },
540
497
  {
541
- "type": "select",
542
498
  "options": [
543
499
  {
544
500
  "value": "GET",
@@ -549,30 +505,28 @@
549
505
  "label": "POST"
550
506
  },
551
507
  {
552
- "label": "PUT",
553
- "value": "PUT"
508
+ "value": "PUT",
509
+ "label": "PUT"
554
510
  },
555
511
  {
556
512
  "label": "DELETE",
557
513
  "value": "DELETE"
558
514
  }
559
- ]
515
+ ],
516
+ "type": "select"
560
517
  },
561
518
  {
562
- "placeholder": "JSON request body",
563
- "type": "textarea"
519
+ "type": "textarea",
520
+ "placeholder": "JSON request body"
564
521
  },
565
522
  {
566
- "icon": "send",
567
- "variant": "primary",
568
523
  "type": "button",
524
+ "action": "CALL_API",
525
+ "icon": "send",
569
526
  "label": "Send Request",
570
- "action": "CALL_API"
527
+ "variant": "primary"
571
528
  }
572
- ],
573
- "gap": "lg",
574
- "type": "stack",
575
- "align": "center"
529
+ ]
576
530
  }
577
531
  ]
578
532
  ]
@@ -586,10 +540,14 @@
586
540
  "render-ui",
587
541
  "main",
588
542
  {
543
+ "direction": "vertical",
544
+ "gap": "lg",
545
+ "align": "center",
546
+ "type": "stack",
589
547
  "children": [
590
548
  {
591
- "name": "shield",
592
- "type": "icon"
549
+ "type": "icon",
550
+ "name": "shield"
593
551
  },
594
552
  {
595
553
  "type": "typography",
@@ -597,26 +555,26 @@
597
555
  "content": "Bearer API Tester"
598
556
  },
599
557
  {
600
- "placeholder": "/users",
601
- "type": "input"
558
+ "type": "input",
559
+ "placeholder": "/users"
602
560
  },
603
561
  {
604
562
  "options": [
605
563
  {
606
- "label": "GET",
607
- "value": "GET"
564
+ "value": "GET",
565
+ "label": "GET"
608
566
  },
609
567
  {
610
- "value": "POST",
611
- "label": "POST"
568
+ "label": "POST",
569
+ "value": "POST"
612
570
  },
613
571
  {
614
- "label": "PUT",
615
- "value": "PUT"
572
+ "value": "PUT",
573
+ "label": "PUT"
616
574
  },
617
575
  {
618
- "value": "DELETE",
619
- "label": "DELETE"
576
+ "label": "DELETE",
577
+ "value": "DELETE"
620
578
  }
621
579
  ],
622
580
  "type": "select"
@@ -632,11 +590,7 @@
632
590
  "action": "CALL_API",
633
591
  "type": "button"
634
592
  }
635
- ],
636
- "type": "stack",
637
- "direction": "vertical",
638
- "gap": "lg",
639
- "align": "center"
593
+ ]
640
594
  }
641
595
  ]
642
596
  ]
@@ -656,19 +610,20 @@
656
610
  "name": "shield"
657
611
  },
658
612
  {
659
- "type": "typography",
660
613
  "content": "Bearer API Tester",
614
+ "type": "typography",
661
615
  "variant": "h2"
662
616
  },
663
617
  {
664
- "type": "input",
665
- "placeholder": "/users"
618
+ "placeholder": "/users",
619
+ "type": "input"
666
620
  },
667
621
  {
622
+ "type": "select",
668
623
  "options": [
669
624
  {
670
- "value": "GET",
671
- "label": "GET"
625
+ "label": "GET",
626
+ "value": "GET"
672
627
  },
673
628
  {
674
629
  "label": "POST",
@@ -682,25 +637,24 @@
682
637
  "value": "DELETE",
683
638
  "label": "DELETE"
684
639
  }
685
- ],
686
- "type": "select"
640
+ ]
687
641
  },
688
642
  {
689
- "type": "textarea",
690
- "placeholder": "JSON request body"
643
+ "placeholder": "JSON request body",
644
+ "type": "textarea"
691
645
  },
692
646
  {
693
- "type": "button",
694
- "action": "CALL_API",
695
- "icon": "send",
696
647
  "label": "Send Request",
697
- "variant": "primary"
648
+ "action": "CALL_API",
649
+ "type": "button",
650
+ "variant": "primary",
651
+ "icon": "send"
698
652
  }
699
653
  ],
700
654
  "type": "stack",
701
- "gap": "lg",
702
655
  "direction": "vertical",
703
- "align": "center"
656
+ "align": "center",
657
+ "gap": "lg"
704
658
  }
705
659
  ]
706
660
  ]