@player-devtools/basic-plugin-content 0.0.7--canary.8.483

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/dist/index.mjs ADDED
@@ -0,0 +1,819 @@
1
+ // ../../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/devtools/plugins/basic/content/src/constants.ts
2
+ var PLUGIN_ID = "player-ui-basic-devtools-plugin";
3
+ var VIEWS_IDS = {
4
+ CONFIG: "Config",
5
+ FLOW: "Flow",
6
+ LOGS: "Logs",
7
+ CONSOLE: "Console",
8
+ EDITOR: "Editor"
9
+ };
10
+ var INTERACTIONS = {
11
+ EVALUATE_EXPRESSION: "evaluate-expression",
12
+ OVERRIDE_FLOW: "override-flow"
13
+ };
14
+
15
+ // ../../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/devtools/plugins/basic/content/_generated/flow.json
16
+ var flow_default = {
17
+ id: "player-ui-basic-devtools-plugin",
18
+ views: [
19
+ {
20
+ id: "Config",
21
+ type: "stacked-view",
22
+ header: {
23
+ asset: {
24
+ id: "Config-header",
25
+ type: "navigation",
26
+ values: [
27
+ {
28
+ asset: {
29
+ id: "Config-header-values-0",
30
+ type: "action",
31
+ value: "Config",
32
+ label: {
33
+ asset: {
34
+ id: "Config-header-values-0-label",
35
+ type: "text",
36
+ value: "Config"
37
+ }
38
+ }
39
+ }
40
+ },
41
+ {
42
+ asset: {
43
+ id: "Config-header-values-1",
44
+ type: "action",
45
+ value: "Flow",
46
+ label: {
47
+ asset: {
48
+ id: "Config-header-values-1-label",
49
+ type: "text",
50
+ value: "Flow"
51
+ }
52
+ }
53
+ }
54
+ },
55
+ {
56
+ asset: {
57
+ id: "Config-header-values-2",
58
+ type: "action",
59
+ value: "Logs",
60
+ label: {
61
+ asset: {
62
+ id: "Config-header-values-2-label",
63
+ type: "text",
64
+ value: "Logs"
65
+ }
66
+ }
67
+ }
68
+ },
69
+ {
70
+ asset: {
71
+ id: "Config-header-values-3",
72
+ type: "action",
73
+ value: "Console",
74
+ label: {
75
+ asset: {
76
+ id: "Config-header-values-3-label",
77
+ type: "text",
78
+ value: "Console"
79
+ }
80
+ }
81
+ }
82
+ },
83
+ {
84
+ asset: {
85
+ id: "Config-header-values-4",
86
+ type: "action",
87
+ value: "Editor",
88
+ label: {
89
+ asset: {
90
+ id: "Config-header-values-4-label",
91
+ type: "text",
92
+ value: "Editor"
93
+ }
94
+ }
95
+ }
96
+ }
97
+ ]
98
+ }
99
+ },
100
+ main: {
101
+ asset: {
102
+ id: "Config-main",
103
+ type: "object-inspector",
104
+ binding: "playerConfig",
105
+ label: {
106
+ asset: {
107
+ id: "Config-main-label",
108
+ type: "text",
109
+ value: "Config"
110
+ }
111
+ }
112
+ }
113
+ }
114
+ },
115
+ {
116
+ id: "Flow",
117
+ type: "stacked-view",
118
+ header: {
119
+ asset: {
120
+ id: "Flow-header",
121
+ type: "navigation",
122
+ values: [
123
+ {
124
+ asset: {
125
+ id: "Flow-header-values-0",
126
+ type: "action",
127
+ value: "Config",
128
+ label: {
129
+ asset: {
130
+ id: "Flow-header-values-0-label",
131
+ type: "text",
132
+ value: "Config"
133
+ }
134
+ }
135
+ }
136
+ },
137
+ {
138
+ asset: {
139
+ id: "Flow-header-values-1",
140
+ type: "action",
141
+ value: "Flow",
142
+ label: {
143
+ asset: {
144
+ id: "Flow-header-values-1-label",
145
+ type: "text",
146
+ value: "Flow"
147
+ }
148
+ }
149
+ }
150
+ },
151
+ {
152
+ asset: {
153
+ id: "Flow-header-values-2",
154
+ type: "action",
155
+ value: "Logs",
156
+ label: {
157
+ asset: {
158
+ id: "Flow-header-values-2-label",
159
+ type: "text",
160
+ value: "Logs"
161
+ }
162
+ }
163
+ }
164
+ },
165
+ {
166
+ asset: {
167
+ id: "Flow-header-values-3",
168
+ type: "action",
169
+ value: "Console",
170
+ label: {
171
+ asset: {
172
+ id: "Flow-header-values-3-label",
173
+ type: "text",
174
+ value: "Console"
175
+ }
176
+ }
177
+ }
178
+ },
179
+ {
180
+ asset: {
181
+ id: "Flow-header-values-4",
182
+ type: "action",
183
+ value: "Editor",
184
+ label: {
185
+ asset: {
186
+ id: "Flow-header-values-4-label",
187
+ type: "text",
188
+ value: "Editor"
189
+ }
190
+ }
191
+ }
192
+ }
193
+ ]
194
+ }
195
+ },
196
+ main: {
197
+ asset: {
198
+ id: "Flow-main",
199
+ type: "object-inspector",
200
+ filter: true,
201
+ binding: "flow",
202
+ label: {
203
+ asset: {
204
+ id: "Flow-main-label",
205
+ type: "text",
206
+ value: "Flow"
207
+ }
208
+ }
209
+ }
210
+ },
211
+ footer: {
212
+ asset: {
213
+ id: "Flow-footer",
214
+ type: "copy-to-clipboard",
215
+ binding: "flow",
216
+ label: {
217
+ asset: {
218
+ id: "Flow-footer-label",
219
+ type: "text",
220
+ value: "Copy flow to the clipboard"
221
+ }
222
+ }
223
+ }
224
+ }
225
+ },
226
+ {
227
+ id: "Logs",
228
+ type: "stacked-view",
229
+ header: {
230
+ asset: {
231
+ id: "Logs-header",
232
+ type: "navigation",
233
+ values: [
234
+ {
235
+ asset: {
236
+ id: "Logs-header-values-0",
237
+ type: "action",
238
+ value: "Config",
239
+ label: {
240
+ asset: {
241
+ id: "Logs-header-values-0-label",
242
+ type: "text",
243
+ value: "Config"
244
+ }
245
+ }
246
+ }
247
+ },
248
+ {
249
+ asset: {
250
+ id: "Logs-header-values-1",
251
+ type: "action",
252
+ value: "Flow",
253
+ label: {
254
+ asset: {
255
+ id: "Logs-header-values-1-label",
256
+ type: "text",
257
+ value: "Flow"
258
+ }
259
+ }
260
+ }
261
+ },
262
+ {
263
+ asset: {
264
+ id: "Logs-header-values-2",
265
+ type: "action",
266
+ value: "Logs",
267
+ label: {
268
+ asset: {
269
+ id: "Logs-header-values-2-label",
270
+ type: "text",
271
+ value: "Logs"
272
+ }
273
+ }
274
+ }
275
+ },
276
+ {
277
+ asset: {
278
+ id: "Logs-header-values-3",
279
+ type: "action",
280
+ value: "Console",
281
+ label: {
282
+ asset: {
283
+ id: "Logs-header-values-3-label",
284
+ type: "text",
285
+ value: "Console"
286
+ }
287
+ }
288
+ }
289
+ },
290
+ {
291
+ asset: {
292
+ id: "Logs-header-values-4",
293
+ type: "action",
294
+ value: "Editor",
295
+ label: {
296
+ asset: {
297
+ id: "Logs-header-values-4-label",
298
+ type: "text",
299
+ value: "Editor"
300
+ }
301
+ }
302
+ }
303
+ }
304
+ ]
305
+ }
306
+ },
307
+ main: {
308
+ asset: {
309
+ id: "Logs-main",
310
+ type: "table",
311
+ binding: "logs"
312
+ }
313
+ }
314
+ },
315
+ {
316
+ id: "Console",
317
+ type: "stacked-view",
318
+ header: {
319
+ asset: {
320
+ id: "Console-header",
321
+ type: "navigation",
322
+ values: [
323
+ {
324
+ asset: {
325
+ id: "Console-header-values-0",
326
+ type: "action",
327
+ value: "Config",
328
+ label: {
329
+ asset: {
330
+ id: "Console-header-values-0-label",
331
+ type: "text",
332
+ value: "Config"
333
+ }
334
+ }
335
+ }
336
+ },
337
+ {
338
+ asset: {
339
+ id: "Console-header-values-1",
340
+ type: "action",
341
+ value: "Flow",
342
+ label: {
343
+ asset: {
344
+ id: "Console-header-values-1-label",
345
+ type: "text",
346
+ value: "Flow"
347
+ }
348
+ }
349
+ }
350
+ },
351
+ {
352
+ asset: {
353
+ id: "Console-header-values-2",
354
+ type: "action",
355
+ value: "Logs",
356
+ label: {
357
+ asset: {
358
+ id: "Console-header-values-2-label",
359
+ type: "text",
360
+ value: "Logs"
361
+ }
362
+ }
363
+ }
364
+ },
365
+ {
366
+ asset: {
367
+ id: "Console-header-values-3",
368
+ type: "action",
369
+ value: "Console",
370
+ label: {
371
+ asset: {
372
+ id: "Console-header-values-3-label",
373
+ type: "text",
374
+ value: "Console"
375
+ }
376
+ }
377
+ }
378
+ },
379
+ {
380
+ asset: {
381
+ id: "Console-header-values-4",
382
+ type: "action",
383
+ value: "Editor",
384
+ label: {
385
+ asset: {
386
+ id: "Console-header-values-4-label",
387
+ type: "text",
388
+ value: "Editor"
389
+ }
390
+ }
391
+ }
392
+ }
393
+ ]
394
+ }
395
+ },
396
+ main: {
397
+ asset: {
398
+ id: "Console-main",
399
+ type: "console",
400
+ exp: " publish('evaluate-expression', {{expression}}) ",
401
+ binding: "history"
402
+ }
403
+ }
404
+ },
405
+ {
406
+ id: "Editor",
407
+ type: "stacked-view",
408
+ header: {
409
+ asset: {
410
+ id: "Editor-header",
411
+ type: "navigation",
412
+ values: [
413
+ {
414
+ asset: {
415
+ id: "Editor-header-values-0",
416
+ type: "action",
417
+ value: "Config",
418
+ label: {
419
+ asset: {
420
+ id: "Editor-header-values-0-label",
421
+ type: "text",
422
+ value: "Config"
423
+ }
424
+ }
425
+ }
426
+ },
427
+ {
428
+ asset: {
429
+ id: "Editor-header-values-1",
430
+ type: "action",
431
+ value: "Flow",
432
+ label: {
433
+ asset: {
434
+ id: "Editor-header-values-1-label",
435
+ type: "text",
436
+ value: "Flow"
437
+ }
438
+ }
439
+ }
440
+ },
441
+ {
442
+ asset: {
443
+ id: "Editor-header-values-2",
444
+ type: "action",
445
+ value: "Logs",
446
+ label: {
447
+ asset: {
448
+ id: "Editor-header-values-2-label",
449
+ type: "text",
450
+ value: "Logs"
451
+ }
452
+ }
453
+ }
454
+ },
455
+ {
456
+ asset: {
457
+ id: "Editor-header-values-3",
458
+ type: "action",
459
+ value: "Console",
460
+ label: {
461
+ asset: {
462
+ id: "Editor-header-values-3-label",
463
+ type: "text",
464
+ value: "Console"
465
+ }
466
+ }
467
+ }
468
+ },
469
+ {
470
+ asset: {
471
+ id: "Editor-header-values-4",
472
+ type: "action",
473
+ value: "Editor",
474
+ label: {
475
+ asset: {
476
+ id: "Editor-header-values-4-label",
477
+ type: "text",
478
+ value: "Editor"
479
+ }
480
+ }
481
+ }
482
+ }
483
+ ]
484
+ }
485
+ },
486
+ main: {
487
+ asset: {
488
+ id: "Editor-main",
489
+ type: "code-editor",
490
+ binding: "flow",
491
+ exp: " publish('override-flow', {{code}}) "
492
+ }
493
+ }
494
+ }
495
+ ],
496
+ navigation: {
497
+ BEGIN: "Plugin",
498
+ Plugin: {
499
+ startState: "CONFIG",
500
+ CONFIG: {
501
+ state_type: "VIEW",
502
+ ref: "Config",
503
+ transitions: {
504
+ Config: "CONFIG",
505
+ Flow: "FLOW",
506
+ Logs: "LOGS",
507
+ Console: "CONSOLE",
508
+ Editor: "EDITOR"
509
+ }
510
+ },
511
+ FLOW: {
512
+ state_type: "VIEW",
513
+ ref: "Flow",
514
+ transitions: {
515
+ Config: "CONFIG",
516
+ Flow: "FLOW",
517
+ Logs: "LOGS",
518
+ Console: "CONSOLE",
519
+ Editor: "EDITOR"
520
+ }
521
+ },
522
+ LOGS: {
523
+ state_type: "VIEW",
524
+ ref: "Logs",
525
+ transitions: {
526
+ Config: "CONFIG",
527
+ Flow: "FLOW",
528
+ Logs: "LOGS",
529
+ Console: "CONSOLE",
530
+ Editor: "EDITOR"
531
+ }
532
+ },
533
+ CONSOLE: {
534
+ state_type: "VIEW",
535
+ ref: "Console",
536
+ transitions: {
537
+ Config: "CONFIG",
538
+ Flow: "FLOW",
539
+ Logs: "LOGS",
540
+ Console: "CONSOLE",
541
+ Editor: "EDITOR"
542
+ }
543
+ },
544
+ EDITOR: {
545
+ state_type: "VIEW",
546
+ ref: "Editor",
547
+ transitions: {
548
+ Config: "CONFIG",
549
+ Flow: "FLOW",
550
+ Logs: "LOGS",
551
+ Console: "CONSOLE",
552
+ Editor: "EDITOR"
553
+ }
554
+ }
555
+ }
556
+ },
557
+ schema: {
558
+ ROOT: {
559
+ playerConfig: {
560
+ type: "RecordType"
561
+ },
562
+ flow: {
563
+ type: "RecordType"
564
+ },
565
+ expression: {
566
+ type: "StringType",
567
+ default: "",
568
+ validation: [
569
+ {
570
+ type: "string"
571
+ }
572
+ ],
573
+ format: {
574
+ type: "string"
575
+ }
576
+ },
577
+ code: {
578
+ type: "StringType",
579
+ default: "",
580
+ validation: [
581
+ {
582
+ type: "string"
583
+ }
584
+ ],
585
+ format: {
586
+ type: "string"
587
+ }
588
+ },
589
+ history: {
590
+ type: "historyType",
591
+ isArray: true
592
+ },
593
+ logs: {
594
+ type: "logsType",
595
+ isArray: true
596
+ }
597
+ },
598
+ logsType: {
599
+ id: {
600
+ type: "StringType",
601
+ default: "",
602
+ validation: [
603
+ {
604
+ type: "string"
605
+ }
606
+ ],
607
+ format: {
608
+ type: "string"
609
+ }
610
+ },
611
+ time: {
612
+ type: "StringType",
613
+ default: "",
614
+ validation: [
615
+ {
616
+ type: "string"
617
+ }
618
+ ],
619
+ format: {
620
+ type: "string"
621
+ }
622
+ },
623
+ type: {
624
+ type: "StringType",
625
+ default: "",
626
+ validation: [
627
+ {
628
+ type: "string"
629
+ }
630
+ ],
631
+ format: {
632
+ type: "string"
633
+ }
634
+ },
635
+ message: {
636
+ type: "StringType",
637
+ default: "",
638
+ validation: [
639
+ {
640
+ type: "string"
641
+ }
642
+ ],
643
+ format: {
644
+ type: "string"
645
+ }
646
+ },
647
+ severity: {
648
+ type: "StringType",
649
+ default: "",
650
+ validation: [
651
+ {
652
+ type: "string"
653
+ }
654
+ ],
655
+ format: {
656
+ type: "string"
657
+ }
658
+ },
659
+ binding: {
660
+ type: "StringType",
661
+ default: "",
662
+ validation: [
663
+ {
664
+ type: "string"
665
+ }
666
+ ],
667
+ format: {
668
+ type: "string"
669
+ }
670
+ },
671
+ from: {
672
+ type: "StringType",
673
+ default: "",
674
+ validation: [
675
+ {
676
+ type: "string"
677
+ }
678
+ ],
679
+ format: {
680
+ type: "string"
681
+ }
682
+ },
683
+ to: {
684
+ type: "StringType",
685
+ default: "",
686
+ validation: [
687
+ {
688
+ type: "string"
689
+ }
690
+ ],
691
+ format: {
692
+ type: "string"
693
+ }
694
+ },
695
+ state: {
696
+ type: "StringType",
697
+ default: "",
698
+ validation: [
699
+ {
700
+ type: "string"
701
+ }
702
+ ],
703
+ format: {
704
+ type: "string"
705
+ }
706
+ },
707
+ error: {
708
+ type: "StringType",
709
+ default: "",
710
+ validation: [
711
+ {
712
+ type: "string"
713
+ }
714
+ ],
715
+ format: {
716
+ type: "string"
717
+ }
718
+ },
719
+ outcome: {
720
+ type: "StringType",
721
+ default: "",
722
+ validation: [
723
+ {
724
+ type: "string"
725
+ }
726
+ ],
727
+ format: {
728
+ type: "string"
729
+ }
730
+ },
731
+ metricType: {
732
+ type: "StringType",
733
+ default: "",
734
+ validation: [
735
+ {
736
+ type: "string"
737
+ }
738
+ ],
739
+ format: {
740
+ type: "string"
741
+ }
742
+ }
743
+ },
744
+ historyType: {
745
+ id: {
746
+ type: "StringType",
747
+ default: "",
748
+ validation: [
749
+ {
750
+ type: "string"
751
+ }
752
+ ],
753
+ format: {
754
+ type: "string"
755
+ }
756
+ },
757
+ expression: {
758
+ type: "StringType",
759
+ default: "",
760
+ validation: [
761
+ {
762
+ type: "string"
763
+ }
764
+ ],
765
+ format: {
766
+ type: "string"
767
+ }
768
+ },
769
+ result: {
770
+ type: "StringType",
771
+ default: "",
772
+ validation: [
773
+ {
774
+ type: "string"
775
+ }
776
+ ],
777
+ format: {
778
+ type: "string"
779
+ }
780
+ },
781
+ severity: {
782
+ type: "StringType",
783
+ default: "",
784
+ validation: [
785
+ {
786
+ type: "string"
787
+ }
788
+ ],
789
+ format: {
790
+ type: "string"
791
+ }
792
+ }
793
+ }
794
+ },
795
+ data: {
796
+ expression: "",
797
+ flow: {},
798
+ history: [],
799
+ logs: [],
800
+ playerConfig: {}
801
+ }
802
+ };
803
+
804
+ // ../../../../../../../../../../../../execroot/_main/bazel-out/k8-fastbuild/bin/devtools/plugins/basic/content/src/index.ts
805
+ var PLUGIN_VERSION = true ? "0.0.7--canary.8.483" : "unstamped";
806
+ var BasicPluginData = {
807
+ id: PLUGIN_ID,
808
+ name: "Standard Devtools",
809
+ description: "Standard Player UI Devtools",
810
+ version: PLUGIN_VERSION,
811
+ flow: flow_default
812
+ };
813
+ export {
814
+ BasicPluginData,
815
+ INTERACTIONS,
816
+ PLUGIN_ID,
817
+ VIEWS_IDS
818
+ };
819
+ //# sourceMappingURL=index.mjs.map