@almadar/std 3.2.3 → 3.3.5

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 (163) hide show
  1. package/LICENSE +72 -21
  2. package/README.md +1 -1
  3. package/behaviors/exports/atoms/std-combat-log.orb +12 -12
  4. package/behaviors/exports/atoms/std-dialogue-box.orb +11 -11
  5. package/behaviors/exports/atoms/std-game-audio.orb +9 -9
  6. package/behaviors/exports/atoms/std-game-canvas3d.orb +24 -24
  7. package/behaviors/exports/atoms/std-game-hud.orb +10 -10
  8. package/behaviors/exports/atoms/std-game-menu.orb +12 -12
  9. package/behaviors/exports/atoms/std-game-over-screen.orb +9 -9
  10. package/behaviors/exports/atoms/std-inventory-panel.orb +13 -13
  11. package/behaviors/exports/atoms/std-isometric-canvas.orb +9 -9
  12. package/behaviors/exports/atoms/std-platformer-canvas.orb +9 -9
  13. package/behaviors/exports/atoms/std-score-board.orb +9 -9
  14. package/behaviors/exports/atoms/std-selection.orb +32 -18
  15. package/behaviors/exports/atoms/std-service-custom-bearer.orb +557 -0
  16. package/behaviors/exports/atoms/std-service-custom-header.orb +559 -0
  17. package/behaviors/exports/atoms/std-service-custom-noauth.orb +553 -0
  18. package/behaviors/exports/atoms/std-service-custom-query.orb +559 -0
  19. package/behaviors/exports/atoms/std-service-email.orb +540 -0
  20. package/behaviors/exports/atoms/std-service-github.orb +586 -0
  21. package/behaviors/exports/atoms/std-service-llm.orb +671 -0
  22. package/behaviors/exports/atoms/std-service-oauth.orb +764 -0
  23. package/behaviors/exports/atoms/std-service-redis.orb +580 -0
  24. package/behaviors/exports/atoms/std-service-storage.orb +664 -0
  25. package/behaviors/exports/atoms/std-service-stripe.orb +639 -0
  26. package/behaviors/exports/atoms/std-service-twilio.orb +611 -0
  27. package/behaviors/exports/atoms/std-service-youtube.orb +696 -0
  28. package/behaviors/exports/atoms/std-simulation-canvas.orb +9 -9
  29. package/behaviors/exports/atoms/std-sprite.orb +17 -17
  30. package/behaviors/exports/atoms/std-validate-on-save.orb +623 -0
  31. package/behaviors/exports/molecules/std-quiz.orb +48 -24
  32. package/behaviors/exports/molecules/std-service-content-pipeline.orb +915 -0
  33. package/behaviors/exports/molecules/std-service-custom-api-tester.orb +860 -0
  34. package/behaviors/exports/molecules/std-service-devops-toolkit.orb +1526 -0
  35. package/behaviors/exports/molecules/std-service-notification-hub.orb +696 -0
  36. package/behaviors/exports/molecules/std-service-payment-flow.orb +873 -0
  37. package/behaviors/exports/organisms/std-service-marketplace.orb +5191 -0
  38. package/behaviors/exports/organisms/std-service-research-assistant.orb +3568 -0
  39. package/behaviors/exports/test-schemas/os-trigger-simulation.orb +202 -0
  40. package/behaviors/exports/validation-report.json +2 -2
  41. package/dist/behaviors/exports/atoms/std-combat-log.orb +12 -12
  42. package/dist/behaviors/exports/atoms/std-dialogue-box.orb +11 -11
  43. package/dist/behaviors/exports/atoms/std-game-audio.orb +9 -9
  44. package/dist/behaviors/exports/atoms/std-game-canvas3d.orb +24 -24
  45. package/dist/behaviors/exports/atoms/std-game-hud.orb +10 -10
  46. package/dist/behaviors/exports/atoms/std-game-menu.orb +12 -12
  47. package/dist/behaviors/exports/atoms/std-game-over-screen.orb +9 -9
  48. package/dist/behaviors/exports/atoms/std-inventory-panel.orb +13 -13
  49. package/dist/behaviors/exports/atoms/std-isometric-canvas.orb +9 -9
  50. package/dist/behaviors/exports/atoms/std-platformer-canvas.orb +9 -9
  51. package/dist/behaviors/exports/atoms/std-score-board.orb +9 -9
  52. package/dist/behaviors/exports/atoms/std-selection.orb +32 -18
  53. package/dist/behaviors/exports/atoms/std-service-custom-bearer.orb +557 -0
  54. package/dist/behaviors/exports/atoms/std-service-custom-header.orb +559 -0
  55. package/dist/behaviors/exports/atoms/std-service-custom-noauth.orb +553 -0
  56. package/dist/behaviors/exports/atoms/std-service-custom-query.orb +559 -0
  57. package/dist/behaviors/exports/atoms/std-service-email.orb +540 -0
  58. package/dist/behaviors/exports/atoms/std-service-github.orb +586 -0
  59. package/dist/behaviors/exports/atoms/std-service-llm.orb +671 -0
  60. package/dist/behaviors/exports/atoms/std-service-oauth.orb +764 -0
  61. package/dist/behaviors/exports/atoms/std-service-redis.orb +580 -0
  62. package/dist/behaviors/exports/atoms/std-service-storage.orb +664 -0
  63. package/dist/behaviors/exports/atoms/std-service-stripe.orb +639 -0
  64. package/dist/behaviors/exports/atoms/std-service-twilio.orb +611 -0
  65. package/dist/behaviors/exports/atoms/std-service-youtube.orb +696 -0
  66. package/dist/behaviors/exports/atoms/std-simulation-canvas.orb +9 -9
  67. package/dist/behaviors/exports/atoms/std-sprite.orb +17 -17
  68. package/dist/behaviors/exports/atoms/std-validate-on-save.orb +623 -0
  69. package/dist/behaviors/exports/molecules/std-quiz.orb +48 -24
  70. package/dist/behaviors/exports/molecules/std-service-content-pipeline.orb +915 -0
  71. package/dist/behaviors/exports/molecules/std-service-custom-api-tester.orb +860 -0
  72. package/dist/behaviors/exports/molecules/std-service-devops-toolkit.orb +1526 -0
  73. package/dist/behaviors/exports/molecules/std-service-notification-hub.orb +696 -0
  74. package/dist/behaviors/exports/molecules/std-service-payment-flow.orb +873 -0
  75. package/dist/behaviors/exports/organisms/std-service-marketplace.orb +5191 -0
  76. package/dist/behaviors/exports/organisms/std-service-research-assistant.orb +3568 -0
  77. package/dist/behaviors/exports/test-schemas/os-trigger-simulation.orb +202 -0
  78. package/dist/behaviors/exports/validation-report.json +2 -2
  79. package/dist/behaviors/functions/index.d.ts +662 -1
  80. package/dist/behaviors/functions/index.js +7638 -2117
  81. package/dist/behaviors/functions/index.js.map +1 -1
  82. package/dist/behaviors/index.d.ts +1 -1
  83. package/dist/behaviors/index.js +7638 -2117
  84. package/dist/behaviors/index.js.map +1 -1
  85. package/dist/exports/atoms/std-combat-log.orb +12 -12
  86. package/dist/exports/atoms/std-dialogue-box.orb +11 -11
  87. package/dist/exports/atoms/std-game-audio.orb +9 -9
  88. package/dist/exports/atoms/std-game-canvas3d.orb +24 -24
  89. package/dist/exports/atoms/std-game-hud.orb +10 -10
  90. package/dist/exports/atoms/std-game-menu.orb +12 -12
  91. package/dist/exports/atoms/std-game-over-screen.orb +9 -9
  92. package/dist/exports/atoms/std-inventory-panel.orb +13 -13
  93. package/dist/exports/atoms/std-isometric-canvas.orb +9 -9
  94. package/dist/exports/atoms/std-platformer-canvas.orb +9 -9
  95. package/dist/exports/atoms/std-score-board.orb +9 -9
  96. package/dist/exports/atoms/std-selection.orb +32 -18
  97. package/dist/exports/atoms/std-service-custom-bearer.orb +557 -0
  98. package/dist/exports/atoms/std-service-custom-header.orb +559 -0
  99. package/dist/exports/atoms/std-service-custom-noauth.orb +553 -0
  100. package/dist/exports/atoms/std-service-custom-query.orb +559 -0
  101. package/dist/exports/atoms/std-service-email.orb +540 -0
  102. package/dist/exports/atoms/std-service-github.orb +586 -0
  103. package/dist/exports/atoms/std-service-llm.orb +671 -0
  104. package/dist/exports/atoms/std-service-oauth.orb +764 -0
  105. package/dist/exports/atoms/std-service-redis.orb +580 -0
  106. package/dist/exports/atoms/std-service-storage.orb +664 -0
  107. package/dist/exports/atoms/std-service-stripe.orb +639 -0
  108. package/dist/exports/atoms/std-service-twilio.orb +611 -0
  109. package/dist/exports/atoms/std-service-youtube.orb +696 -0
  110. package/dist/exports/atoms/std-simulation-canvas.orb +9 -9
  111. package/dist/exports/atoms/std-sprite.orb +17 -17
  112. package/dist/exports/atoms/std-validate-on-save.orb +623 -0
  113. package/dist/exports/molecules/std-quiz.orb +48 -24
  114. package/dist/exports/molecules/std-service-content-pipeline.orb +915 -0
  115. package/dist/exports/molecules/std-service-custom-api-tester.orb +860 -0
  116. package/dist/exports/molecules/std-service-devops-toolkit.orb +1526 -0
  117. package/dist/exports/molecules/std-service-notification-hub.orb +696 -0
  118. package/dist/exports/molecules/std-service-payment-flow.orb +873 -0
  119. package/dist/exports/organisms/std-service-marketplace.orb +5191 -0
  120. package/dist/exports/organisms/std-service-research-assistant.orb +3568 -0
  121. package/dist/exports/test-schemas/os-trigger-simulation.orb +202 -0
  122. package/dist/exports/validation-report.json +2 -2
  123. package/dist/index.d.ts +3 -3
  124. package/dist/index.js +7887 -2216
  125. package/dist/index.js.map +1 -1
  126. package/dist/modules/array.d.ts +1 -1
  127. package/dist/modules/async.d.ts +1 -1
  128. package/dist/modules/contract.d.ts +22 -0
  129. package/dist/modules/contract.js +100 -0
  130. package/dist/modules/contract.js.map +1 -0
  131. package/dist/modules/data.d.ts +22 -0
  132. package/dist/modules/data.js +117 -0
  133. package/dist/modules/data.js.map +1 -0
  134. package/dist/modules/format.d.ts +1 -1
  135. package/dist/modules/graph.d.ts +23 -0
  136. package/dist/modules/graph.js +209 -0
  137. package/dist/modules/graph.js.map +1 -0
  138. package/dist/modules/index.d.ts +5 -1
  139. package/dist/modules/index.js +593 -63
  140. package/dist/modules/index.js.map +1 -1
  141. package/dist/modules/math.d.ts +1 -1
  142. package/dist/modules/nn.d.ts +1 -1
  143. package/dist/modules/nn.js +14 -14
  144. package/dist/modules/nn.js.map +1 -1
  145. package/dist/modules/object.d.ts +1 -1
  146. package/dist/modules/os.d.ts +19 -0
  147. package/dist/modules/os.js +116 -0
  148. package/dist/modules/os.js.map +1 -0
  149. package/dist/modules/prob.d.ts +1 -1
  150. package/dist/modules/str.d.ts +1 -1
  151. package/dist/modules/tensor.d.ts +1 -1
  152. package/dist/modules/tensor.js +29 -29
  153. package/dist/modules/tensor.js.map +1 -1
  154. package/dist/modules/time.d.ts +1 -1
  155. package/dist/modules/train.d.ts +1 -1
  156. package/dist/modules/train.js +19 -19
  157. package/dist/modules/train.js.map +1 -1
  158. package/dist/modules/validate.d.ts +1 -1
  159. package/dist/registry.d.ts +2 -2
  160. package/dist/registry.js +184 -65
  161. package/dist/registry.js.map +1 -1
  162. package/dist/{types-CmNM_IbV.d.ts → types-DOeGXRCm.d.ts} +3 -3
  163. package/package.json +4 -4
@@ -0,0 +1,557 @@
1
+ {
2
+ "name": "ServiceCustomBearerOrbital",
3
+ "services": [
4
+ {
5
+ "name": "custom-bearer-api",
6
+ "type": "rest",
7
+ "baseUrl": "https://api.example.com/v2",
8
+ "auth": {
9
+ "type": "bearer",
10
+ "secretEnv": "CUSTOM_BEARER_TOKEN"
11
+ }
12
+ }
13
+ ],
14
+ "orbitals": [
15
+ {
16
+ "name": "ServiceCustomBearerOrbital",
17
+ "entity": {
18
+ "name": "ServiceCustomBearer",
19
+ "persistence": "runtime",
20
+ "fields": [
21
+ {
22
+ "name": "id",
23
+ "type": "string"
24
+ },
25
+ {
26
+ "name": "name",
27
+ "type": "string"
28
+ },
29
+ {
30
+ "name": "description",
31
+ "type": "string"
32
+ },
33
+ {
34
+ "name": "status",
35
+ "type": "string",
36
+ "default": "active",
37
+ "values": [
38
+ "active",
39
+ "inactive",
40
+ "pending"
41
+ ]
42
+ },
43
+ {
44
+ "name": "createdAt",
45
+ "type": "string"
46
+ },
47
+ {
48
+ "name": "endpoint",
49
+ "type": "string"
50
+ },
51
+ {
52
+ "name": "method",
53
+ "type": "string",
54
+ "default": "GET"
55
+ },
56
+ {
57
+ "name": "requestBody",
58
+ "type": "string"
59
+ },
60
+ {
61
+ "name": "responseData",
62
+ "type": "string"
63
+ },
64
+ {
65
+ "name": "statusCode",
66
+ "type": "number",
67
+ "default": 0
68
+ },
69
+ {
70
+ "name": "callStatus",
71
+ "type": "string",
72
+ "default": "idle"
73
+ },
74
+ {
75
+ "name": "error",
76
+ "type": "string"
77
+ }
78
+ ]
79
+ },
80
+ "traits": [
81
+ {
82
+ "name": "ServiceCustomBearerCustomBearer",
83
+ "linkedEntity": "ServiceCustomBearer",
84
+ "category": "interaction",
85
+ "stateMachine": {
86
+ "states": [
87
+ {
88
+ "name": "idle",
89
+ "isInitial": true
90
+ },
91
+ {
92
+ "name": "calling"
93
+ },
94
+ {
95
+ "name": "complete"
96
+ },
97
+ {
98
+ "name": "error"
99
+ }
100
+ ],
101
+ "events": [
102
+ {
103
+ "key": "INIT",
104
+ "name": "Initialize"
105
+ },
106
+ {
107
+ "key": "CALL_API",
108
+ "name": "Call API"
109
+ },
110
+ {
111
+ "key": "API_RESPONSE",
112
+ "name": "API Response",
113
+ "payload": [
114
+ {
115
+ "name": "data",
116
+ "type": "string",
117
+ "required": true
118
+ },
119
+ {
120
+ "name": "statusCode",
121
+ "type": "number",
122
+ "required": true
123
+ }
124
+ ]
125
+ },
126
+ {
127
+ "key": "FAILED",
128
+ "name": "Failed",
129
+ "payload": [
130
+ {
131
+ "name": "error",
132
+ "type": "string",
133
+ "required": true
134
+ }
135
+ ]
136
+ },
137
+ {
138
+ "key": "RETRY",
139
+ "name": "Retry"
140
+ },
141
+ {
142
+ "key": "RESET",
143
+ "name": "Reset"
144
+ }
145
+ ],
146
+ "transitions": [
147
+ {
148
+ "from": "idle",
149
+ "to": "idle",
150
+ "event": "INIT",
151
+ "effects": [
152
+ [
153
+ "fetch",
154
+ "ServiceCustomBearer"
155
+ ],
156
+ [
157
+ "render-ui",
158
+ "main",
159
+ {
160
+ "type": "stack",
161
+ "direction": "vertical",
162
+ "gap": "lg",
163
+ "align": "center",
164
+ "children": [
165
+ {
166
+ "type": "icon",
167
+ "name": "shield",
168
+ "size": "lg"
169
+ },
170
+ {
171
+ "type": "typography",
172
+ "content": "Bearer API Tester",
173
+ "variant": "h2"
174
+ },
175
+ {
176
+ "type": "input",
177
+ "field": "endpoint",
178
+ "placeholder": "/users",
179
+ "bind": "@entity.endpoint"
180
+ },
181
+ {
182
+ "type": "select",
183
+ "field": "method",
184
+ "bind": "@entity.method",
185
+ "options": [
186
+ {
187
+ "label": "GET",
188
+ "value": "GET"
189
+ },
190
+ {
191
+ "label": "POST",
192
+ "value": "POST"
193
+ },
194
+ {
195
+ "label": "PUT",
196
+ "value": "PUT"
197
+ },
198
+ {
199
+ "label": "DELETE",
200
+ "value": "DELETE"
201
+ }
202
+ ]
203
+ },
204
+ {
205
+ "type": "textarea",
206
+ "field": "requestBody",
207
+ "placeholder": "JSON request body",
208
+ "bind": "@entity.requestBody"
209
+ },
210
+ {
211
+ "type": "button",
212
+ "label": "Send Request",
213
+ "event": "CALL_API",
214
+ "variant": "primary",
215
+ "icon": "send"
216
+ }
217
+ ]
218
+ }
219
+ ]
220
+ ]
221
+ },
222
+ {
223
+ "from": "idle",
224
+ "to": "calling",
225
+ "event": "CALL_API",
226
+ "effects": [
227
+ [
228
+ "render-ui",
229
+ "main",
230
+ {
231
+ "type": "loading-state",
232
+ "title": "Calling API...",
233
+ "message": "Sending request to servicecustombearer endpoint..."
234
+ }
235
+ ],
236
+ [
237
+ "call-service",
238
+ "custom-bearer-api",
239
+ "execute",
240
+ {
241
+ "endpoint": "@entity.endpoint",
242
+ "method": "@entity.method",
243
+ "body": "@entity.requestBody"
244
+ }
245
+ ]
246
+ ]
247
+ },
248
+ {
249
+ "from": "calling",
250
+ "to": "complete",
251
+ "event": "API_RESPONSE",
252
+ "effects": [
253
+ [
254
+ "set",
255
+ "@entity.responseData",
256
+ "@payload.data"
257
+ ],
258
+ [
259
+ "set",
260
+ "@entity.statusCode",
261
+ "@payload.statusCode"
262
+ ],
263
+ [
264
+ "render-ui",
265
+ "main",
266
+ {
267
+ "type": "stack",
268
+ "direction": "vertical",
269
+ "gap": "lg",
270
+ "align": "center",
271
+ "children": [
272
+ {
273
+ "type": "icon",
274
+ "name": "check-circle",
275
+ "size": "lg"
276
+ },
277
+ {
278
+ "type": "typography",
279
+ "content": "Response",
280
+ "variant": "h2"
281
+ },
282
+ {
283
+ "type": "badge",
284
+ "content": "@entity.statusCode",
285
+ "variant": "info"
286
+ },
287
+ {
288
+ "type": "code",
289
+ "content": "@entity.responseData",
290
+ "language": "json"
291
+ },
292
+ {
293
+ "type": "button",
294
+ "label": "New Request",
295
+ "event": "RESET",
296
+ "variant": "ghost",
297
+ "icon": "rotate-ccw"
298
+ }
299
+ ]
300
+ }
301
+ ]
302
+ ]
303
+ },
304
+ {
305
+ "from": "calling",
306
+ "to": "error",
307
+ "event": "FAILED",
308
+ "effects": [
309
+ [
310
+ "set",
311
+ "@entity.error",
312
+ "@payload.error"
313
+ ],
314
+ [
315
+ "render-ui",
316
+ "main",
317
+ {
318
+ "type": "error-state",
319
+ "title": "Request Failed",
320
+ "message": "@entity.error",
321
+ "onRetry": "RETRY"
322
+ }
323
+ ]
324
+ ]
325
+ },
326
+ {
327
+ "from": "error",
328
+ "to": "idle",
329
+ "event": "RETRY",
330
+ "effects": [
331
+ [
332
+ "render-ui",
333
+ "main",
334
+ {
335
+ "type": "stack",
336
+ "direction": "vertical",
337
+ "gap": "lg",
338
+ "align": "center",
339
+ "children": [
340
+ {
341
+ "type": "icon",
342
+ "name": "shield",
343
+ "size": "lg"
344
+ },
345
+ {
346
+ "type": "typography",
347
+ "content": "Bearer API Tester",
348
+ "variant": "h2"
349
+ },
350
+ {
351
+ "type": "input",
352
+ "field": "endpoint",
353
+ "placeholder": "/users",
354
+ "bind": "@entity.endpoint"
355
+ },
356
+ {
357
+ "type": "select",
358
+ "field": "method",
359
+ "bind": "@entity.method",
360
+ "options": [
361
+ {
362
+ "label": "GET",
363
+ "value": "GET"
364
+ },
365
+ {
366
+ "label": "POST",
367
+ "value": "POST"
368
+ },
369
+ {
370
+ "label": "PUT",
371
+ "value": "PUT"
372
+ },
373
+ {
374
+ "label": "DELETE",
375
+ "value": "DELETE"
376
+ }
377
+ ]
378
+ },
379
+ {
380
+ "type": "textarea",
381
+ "field": "requestBody",
382
+ "placeholder": "JSON request body",
383
+ "bind": "@entity.requestBody"
384
+ },
385
+ {
386
+ "type": "button",
387
+ "label": "Send Request",
388
+ "event": "CALL_API",
389
+ "variant": "primary",
390
+ "icon": "send"
391
+ }
392
+ ]
393
+ }
394
+ ]
395
+ ]
396
+ },
397
+ {
398
+ "from": "complete",
399
+ "to": "idle",
400
+ "event": "RESET",
401
+ "effects": [
402
+ [
403
+ "render-ui",
404
+ "main",
405
+ {
406
+ "type": "stack",
407
+ "direction": "vertical",
408
+ "gap": "lg",
409
+ "align": "center",
410
+ "children": [
411
+ {
412
+ "type": "icon",
413
+ "name": "shield",
414
+ "size": "lg"
415
+ },
416
+ {
417
+ "type": "typography",
418
+ "content": "Bearer API Tester",
419
+ "variant": "h2"
420
+ },
421
+ {
422
+ "type": "input",
423
+ "field": "endpoint",
424
+ "placeholder": "/users",
425
+ "bind": "@entity.endpoint"
426
+ },
427
+ {
428
+ "type": "select",
429
+ "field": "method",
430
+ "bind": "@entity.method",
431
+ "options": [
432
+ {
433
+ "label": "GET",
434
+ "value": "GET"
435
+ },
436
+ {
437
+ "label": "POST",
438
+ "value": "POST"
439
+ },
440
+ {
441
+ "label": "PUT",
442
+ "value": "PUT"
443
+ },
444
+ {
445
+ "label": "DELETE",
446
+ "value": "DELETE"
447
+ }
448
+ ]
449
+ },
450
+ {
451
+ "type": "textarea",
452
+ "field": "requestBody",
453
+ "placeholder": "JSON request body",
454
+ "bind": "@entity.requestBody"
455
+ },
456
+ {
457
+ "type": "button",
458
+ "label": "Send Request",
459
+ "event": "CALL_API",
460
+ "variant": "primary",
461
+ "icon": "send"
462
+ }
463
+ ]
464
+ }
465
+ ]
466
+ ]
467
+ },
468
+ {
469
+ "from": "error",
470
+ "to": "idle",
471
+ "event": "RESET",
472
+ "effects": [
473
+ [
474
+ "render-ui",
475
+ "main",
476
+ {
477
+ "type": "stack",
478
+ "direction": "vertical",
479
+ "gap": "lg",
480
+ "align": "center",
481
+ "children": [
482
+ {
483
+ "type": "icon",
484
+ "name": "shield",
485
+ "size": "lg"
486
+ },
487
+ {
488
+ "type": "typography",
489
+ "content": "Bearer API Tester",
490
+ "variant": "h2"
491
+ },
492
+ {
493
+ "type": "input",
494
+ "field": "endpoint",
495
+ "placeholder": "/users",
496
+ "bind": "@entity.endpoint"
497
+ },
498
+ {
499
+ "type": "select",
500
+ "field": "method",
501
+ "bind": "@entity.method",
502
+ "options": [
503
+ {
504
+ "label": "GET",
505
+ "value": "GET"
506
+ },
507
+ {
508
+ "label": "POST",
509
+ "value": "POST"
510
+ },
511
+ {
512
+ "label": "PUT",
513
+ "value": "PUT"
514
+ },
515
+ {
516
+ "label": "DELETE",
517
+ "value": "DELETE"
518
+ }
519
+ ]
520
+ },
521
+ {
522
+ "type": "textarea",
523
+ "field": "requestBody",
524
+ "placeholder": "JSON request body",
525
+ "bind": "@entity.requestBody"
526
+ },
527
+ {
528
+ "type": "button",
529
+ "label": "Send Request",
530
+ "event": "CALL_API",
531
+ "variant": "primary",
532
+ "icon": "send"
533
+ }
534
+ ]
535
+ }
536
+ ]
537
+ ]
538
+ }
539
+ ]
540
+ }
541
+ }
542
+ ],
543
+ "pages": [
544
+ {
545
+ "name": "ServiceCustomBearerPage",
546
+ "path": "/servicecustombearers",
547
+ "traits": [
548
+ {
549
+ "ref": "ServiceCustomBearerCustomBearer"
550
+ }
551
+ ]
552
+ }
553
+ ]
554
+ }
555
+ ],
556
+ "description": "Custom REST API behavior with Bearer token authentication. Tests the schema-level service declaration pattern with bearer auth. Pure function: params in, OrbitalDefinition out."
557
+ }