noibu-react-native 0.2.12 → 0.2.14

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 (38) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +69 -0
  3. package/dist/api/ClientConfig.d.ts +3 -0
  4. package/dist/api/ClientConfig.js +3 -0
  5. package/dist/api/MetroplexSocket.d.ts +1 -1
  6. package/dist/api/MetroplexSocket.js +11 -5
  7. package/dist/constants.js +1 -1
  8. package/dist/mobileTransformer/mobile-replay/index.d.ts +10 -0
  9. package/dist/mobileTransformer/mobile-replay/index.js +57 -0
  10. package/dist/mobileTransformer/mobile-replay/mobile.types.d.ts +312 -0
  11. package/dist/mobileTransformer/mobile-replay/mobile.types.js +11 -0
  12. package/dist/mobileTransformer/mobile-replay/rrweb.d.ts +573 -0
  13. package/dist/mobileTransformer/mobile-replay/rrweb.js +39 -0
  14. package/dist/mobileTransformer/mobile-replay/schema/mobile/rr-mobile-schema.json.js +1559 -0
  15. package/dist/mobileTransformer/mobile-replay/schema/web/rr-web-schema.json.js +1183 -0
  16. package/dist/mobileTransformer/mobile-replay/transformer/colors.d.ts +1 -0
  17. package/dist/mobileTransformer/mobile-replay/transformer/colors.js +43 -0
  18. package/dist/mobileTransformer/mobile-replay/transformer/screen-chrome.d.ts +13 -0
  19. package/dist/mobileTransformer/mobile-replay/transformer/screen-chrome.js +142 -0
  20. package/dist/mobileTransformer/mobile-replay/transformer/transformers.d.ts +59 -0
  21. package/dist/mobileTransformer/mobile-replay/transformer/transformers.js +1160 -0
  22. package/dist/mobileTransformer/mobile-replay/transformer/types.d.ts +40 -0
  23. package/dist/mobileTransformer/mobile-replay/transformer/wireframeStyle.d.ts +16 -0
  24. package/dist/mobileTransformer/mobile-replay/transformer/wireframeStyle.js +197 -0
  25. package/dist/mobileTransformer/utils.d.ts +1 -0
  26. package/dist/mobileTransformer/utils.js +5 -0
  27. package/dist/monitors/http-tools/GqlErrorValidator.js +4 -3
  28. package/dist/pageVisit/HttpEventManager.js +2 -2
  29. package/dist/sessionRecorder/SessionRecorder.js +7 -4
  30. package/dist/sessionRecorder/nativeSessionRecorderSubscription.js +23 -3
  31. package/dist/sessionRecorder/types.d.ts +1 -1
  32. package/dist/utils/piiRedactor.js +15 -2
  33. package/dist/utils/piiRedactor.test.d.ts +1 -0
  34. package/ios/IOSPocEmitter.h +7 -0
  35. package/ios/IOSPocEmitter.m +33 -0
  36. package/noibu-react-native.podspec +50 -0
  37. package/package.json +17 -4
  38. package/android/.gitignore +0 -13
@@ -0,0 +1,1183 @@
1
+ var $schema = "http://json-schema.org/draft-07/schema#";
2
+ var anyOf = [
3
+ {
4
+ additionalProperties: false,
5
+ properties: {
6
+ data: {
7
+ },
8
+ delay: {
9
+ type: "number"
10
+ },
11
+ timestamp: {
12
+ type: "number"
13
+ },
14
+ type: {
15
+ $ref: "#/definitions/EventType.DomContentLoaded"
16
+ }
17
+ },
18
+ required: [
19
+ "data",
20
+ "timestamp",
21
+ "type"
22
+ ],
23
+ type: "object"
24
+ },
25
+ {
26
+ additionalProperties: false,
27
+ properties: {
28
+ data: {
29
+ },
30
+ delay: {
31
+ type: "number"
32
+ },
33
+ timestamp: {
34
+ type: "number"
35
+ },
36
+ type: {
37
+ $ref: "#/definitions/EventType.Load"
38
+ }
39
+ },
40
+ required: [
41
+ "data",
42
+ "timestamp",
43
+ "type"
44
+ ],
45
+ type: "object"
46
+ },
47
+ {
48
+ additionalProperties: false,
49
+ properties: {
50
+ data: {
51
+ additionalProperties: false,
52
+ properties: {
53
+ initialOffset: {
54
+ additionalProperties: false,
55
+ properties: {
56
+ left: {
57
+ type: "number"
58
+ },
59
+ top: {
60
+ type: "number"
61
+ }
62
+ },
63
+ required: [
64
+ "top",
65
+ "left"
66
+ ],
67
+ type: "object"
68
+ },
69
+ node: {
70
+ }
71
+ },
72
+ required: [
73
+ "node",
74
+ "initialOffset"
75
+ ],
76
+ type: "object"
77
+ },
78
+ delay: {
79
+ type: "number"
80
+ },
81
+ timestamp: {
82
+ type: "number"
83
+ },
84
+ type: {
85
+ $ref: "#/definitions/EventType.FullSnapshot"
86
+ }
87
+ },
88
+ required: [
89
+ "data",
90
+ "timestamp",
91
+ "type"
92
+ ],
93
+ type: "object"
94
+ },
95
+ {
96
+ additionalProperties: false,
97
+ properties: {
98
+ data: {
99
+ $ref: "#/definitions/incrementalData"
100
+ },
101
+ delay: {
102
+ type: "number"
103
+ },
104
+ timestamp: {
105
+ type: "number"
106
+ },
107
+ type: {
108
+ $ref: "#/definitions/EventType.IncrementalSnapshot"
109
+ }
110
+ },
111
+ required: [
112
+ "data",
113
+ "timestamp",
114
+ "type"
115
+ ],
116
+ type: "object"
117
+ },
118
+ {
119
+ additionalProperties: false,
120
+ properties: {
121
+ data: {
122
+ additionalProperties: false,
123
+ properties: {
124
+ height: {
125
+ type: "number"
126
+ },
127
+ href: {
128
+ type: "string"
129
+ },
130
+ width: {
131
+ type: "number"
132
+ }
133
+ },
134
+ required: [
135
+ "href",
136
+ "width",
137
+ "height"
138
+ ],
139
+ type: "object"
140
+ },
141
+ delay: {
142
+ type: "number"
143
+ },
144
+ timestamp: {
145
+ type: "number"
146
+ },
147
+ type: {
148
+ $ref: "#/definitions/EventType.Meta"
149
+ }
150
+ },
151
+ required: [
152
+ "data",
153
+ "timestamp",
154
+ "type"
155
+ ],
156
+ type: "object"
157
+ },
158
+ {
159
+ additionalProperties: false,
160
+ properties: {
161
+ data: {
162
+ additionalProperties: false,
163
+ properties: {
164
+ payload: {
165
+ },
166
+ tag: {
167
+ type: "string"
168
+ }
169
+ },
170
+ required: [
171
+ "tag",
172
+ "payload"
173
+ ],
174
+ type: "object"
175
+ },
176
+ delay: {
177
+ type: "number"
178
+ },
179
+ timestamp: {
180
+ type: "number"
181
+ },
182
+ type: {
183
+ $ref: "#/definitions/EventType.Custom"
184
+ }
185
+ },
186
+ required: [
187
+ "data",
188
+ "timestamp",
189
+ "type"
190
+ ],
191
+ type: "object"
192
+ },
193
+ {
194
+ additionalProperties: false,
195
+ properties: {
196
+ data: {
197
+ additionalProperties: false,
198
+ properties: {
199
+ payload: {
200
+ },
201
+ plugin: {
202
+ type: "string"
203
+ }
204
+ },
205
+ required: [
206
+ "plugin",
207
+ "payload"
208
+ ],
209
+ type: "object"
210
+ },
211
+ delay: {
212
+ type: "number"
213
+ },
214
+ timestamp: {
215
+ type: "number"
216
+ },
217
+ type: {
218
+ $ref: "#/definitions/EventType.Plugin"
219
+ }
220
+ },
221
+ required: [
222
+ "data",
223
+ "timestamp",
224
+ "type"
225
+ ],
226
+ type: "object"
227
+ }
228
+ ];
229
+ var definitions = {
230
+ CanvasContext: {
231
+ "enum": [
232
+ 0,
233
+ 1,
234
+ 2
235
+ ],
236
+ type: "number"
237
+ },
238
+ "EventType.Custom": {
239
+ "const": 5,
240
+ type: "number"
241
+ },
242
+ "EventType.DomContentLoaded": {
243
+ "const": 0,
244
+ type: "number"
245
+ },
246
+ "EventType.FullSnapshot": {
247
+ "const": 2,
248
+ type: "number"
249
+ },
250
+ "EventType.IncrementalSnapshot": {
251
+ "const": 3,
252
+ type: "number"
253
+ },
254
+ "EventType.Load": {
255
+ "const": 1,
256
+ type: "number"
257
+ },
258
+ "EventType.Meta": {
259
+ "const": 4,
260
+ type: "number"
261
+ },
262
+ "EventType.Plugin": {
263
+ "const": 6,
264
+ type: "number"
265
+ },
266
+ FontDisplay: {
267
+ "enum": [
268
+ "auto",
269
+ "block",
270
+ "fallback",
271
+ "optional",
272
+ "swap"
273
+ ],
274
+ type: "string"
275
+ },
276
+ FontFaceDescriptors: {
277
+ additionalProperties: false,
278
+ properties: {
279
+ ascentOverride: {
280
+ type: "string"
281
+ },
282
+ descentOverride: {
283
+ type: "string"
284
+ },
285
+ display: {
286
+ $ref: "#/definitions/FontDisplay"
287
+ },
288
+ featureSettings: {
289
+ type: "string"
290
+ },
291
+ lineGapOverride: {
292
+ type: "string"
293
+ },
294
+ stretch: {
295
+ type: "string"
296
+ },
297
+ style: {
298
+ type: "string"
299
+ },
300
+ unicodeRange: {
301
+ type: "string"
302
+ },
303
+ variant: {
304
+ type: "string"
305
+ },
306
+ weight: {
307
+ type: "string"
308
+ }
309
+ },
310
+ type: "object"
311
+ },
312
+ "IncrementalSource.AdoptedStyleSheet": {
313
+ "const": 15,
314
+ type: "number"
315
+ },
316
+ "IncrementalSource.CanvasMutation": {
317
+ "const": 9,
318
+ type: "number"
319
+ },
320
+ "IncrementalSource.CustomElement": {
321
+ "const": 16,
322
+ type: "number"
323
+ },
324
+ "IncrementalSource.Drag": {
325
+ "const": 12,
326
+ type: "number"
327
+ },
328
+ "IncrementalSource.Font": {
329
+ "const": 10,
330
+ type: "number"
331
+ },
332
+ "IncrementalSource.Input": {
333
+ "const": 5,
334
+ type: "number"
335
+ },
336
+ "IncrementalSource.MediaInteraction": {
337
+ "const": 7,
338
+ type: "number"
339
+ },
340
+ "IncrementalSource.MouseInteraction": {
341
+ "const": 2,
342
+ type: "number"
343
+ },
344
+ "IncrementalSource.MouseMove": {
345
+ "const": 1,
346
+ type: "number"
347
+ },
348
+ "IncrementalSource.Mutation": {
349
+ "const": 0,
350
+ type: "number"
351
+ },
352
+ "IncrementalSource.Scroll": {
353
+ "const": 3,
354
+ type: "number"
355
+ },
356
+ "IncrementalSource.Selection": {
357
+ "const": 14,
358
+ type: "number"
359
+ },
360
+ "IncrementalSource.StyleDeclaration": {
361
+ "const": 13,
362
+ type: "number"
363
+ },
364
+ "IncrementalSource.StyleSheetRule": {
365
+ "const": 8,
366
+ type: "number"
367
+ },
368
+ "IncrementalSource.TouchMove": {
369
+ "const": 6,
370
+ type: "number"
371
+ },
372
+ "IncrementalSource.ViewportResize": {
373
+ "const": 4,
374
+ type: "number"
375
+ },
376
+ MediaInteractions: {
377
+ "enum": [
378
+ 0,
379
+ 1,
380
+ 2,
381
+ 3,
382
+ 4
383
+ ],
384
+ type: "number"
385
+ },
386
+ MouseInteractions: {
387
+ "enum": [
388
+ 0,
389
+ 1,
390
+ 2,
391
+ 3,
392
+ 4,
393
+ 5,
394
+ 6,
395
+ 7,
396
+ 8,
397
+ 9,
398
+ 10
399
+ ],
400
+ type: "number"
401
+ },
402
+ PointerTypes: {
403
+ "enum": [
404
+ 0,
405
+ 1,
406
+ 2
407
+ ],
408
+ type: "number"
409
+ },
410
+ SelectionRange: {
411
+ additionalProperties: false,
412
+ properties: {
413
+ end: {
414
+ type: "number"
415
+ },
416
+ endOffset: {
417
+ type: "number"
418
+ },
419
+ start: {
420
+ type: "number"
421
+ },
422
+ startOffset: {
423
+ type: "number"
424
+ }
425
+ },
426
+ required: [
427
+ "start",
428
+ "startOffset",
429
+ "end",
430
+ "endOffset"
431
+ ],
432
+ type: "object"
433
+ },
434
+ addedNodeMutation: {
435
+ additionalProperties: false,
436
+ properties: {
437
+ nextId: {
438
+ type: [
439
+ "number",
440
+ "null"
441
+ ]
442
+ },
443
+ node: {
444
+ },
445
+ parentId: {
446
+ type: "number"
447
+ },
448
+ previousId: {
449
+ type: [
450
+ "number",
451
+ "null"
452
+ ]
453
+ }
454
+ },
455
+ required: [
456
+ "parentId",
457
+ "nextId",
458
+ "node"
459
+ ],
460
+ type: "object"
461
+ },
462
+ adoptedStyleSheetData: {
463
+ additionalProperties: false,
464
+ properties: {
465
+ id: {
466
+ type: "number"
467
+ },
468
+ source: {
469
+ $ref: "#/definitions/IncrementalSource.AdoptedStyleSheet"
470
+ },
471
+ styleIds: {
472
+ items: {
473
+ type: "number"
474
+ },
475
+ type: "array"
476
+ },
477
+ styles: {
478
+ items: {
479
+ additionalProperties: false,
480
+ properties: {
481
+ rules: {
482
+ items: {
483
+ $ref: "#/definitions/styleSheetAddRule"
484
+ },
485
+ type: "array"
486
+ },
487
+ styleId: {
488
+ type: "number"
489
+ }
490
+ },
491
+ required: [
492
+ "styleId",
493
+ "rules"
494
+ ],
495
+ type: "object"
496
+ },
497
+ type: "array"
498
+ }
499
+ },
500
+ required: [
501
+ "id",
502
+ "source",
503
+ "styleIds"
504
+ ],
505
+ type: "object"
506
+ },
507
+ attributeMutation: {
508
+ additionalProperties: false,
509
+ properties: {
510
+ attributes: {
511
+ additionalProperties: {
512
+ anyOf: [
513
+ {
514
+ type: "string"
515
+ },
516
+ {
517
+ $ref: "#/definitions/styleOMValue"
518
+ },
519
+ {
520
+ type: "null"
521
+ }
522
+ ]
523
+ },
524
+ type: "object"
525
+ },
526
+ id: {
527
+ type: "number"
528
+ }
529
+ },
530
+ required: [
531
+ "id",
532
+ "attributes"
533
+ ],
534
+ type: "object"
535
+ },
536
+ canvasMutationCommand: {
537
+ additionalProperties: false,
538
+ properties: {
539
+ args: {
540
+ items: {
541
+ },
542
+ type: "array"
543
+ },
544
+ property: {
545
+ type: "string"
546
+ },
547
+ setter: {
548
+ "const": true,
549
+ type: "boolean"
550
+ }
551
+ },
552
+ required: [
553
+ "property",
554
+ "args"
555
+ ],
556
+ type: "object"
557
+ },
558
+ canvasMutationData: {
559
+ anyOf: [
560
+ {
561
+ additionalProperties: false,
562
+ properties: {
563
+ commands: {
564
+ items: {
565
+ $ref: "#/definitions/canvasMutationCommand"
566
+ },
567
+ type: "array"
568
+ },
569
+ id: {
570
+ type: "number"
571
+ },
572
+ source: {
573
+ $ref: "#/definitions/IncrementalSource.CanvasMutation"
574
+ },
575
+ type: {
576
+ $ref: "#/definitions/CanvasContext"
577
+ }
578
+ },
579
+ required: [
580
+ "commands",
581
+ "id",
582
+ "source",
583
+ "type"
584
+ ],
585
+ type: "object"
586
+ },
587
+ {
588
+ additionalProperties: false,
589
+ properties: {
590
+ args: {
591
+ items: {
592
+ },
593
+ type: "array"
594
+ },
595
+ id: {
596
+ type: "number"
597
+ },
598
+ property: {
599
+ type: "string"
600
+ },
601
+ setter: {
602
+ "const": true,
603
+ type: "boolean"
604
+ },
605
+ source: {
606
+ $ref: "#/definitions/IncrementalSource.CanvasMutation"
607
+ },
608
+ type: {
609
+ $ref: "#/definitions/CanvasContext"
610
+ }
611
+ },
612
+ required: [
613
+ "args",
614
+ "id",
615
+ "property",
616
+ "source",
617
+ "type"
618
+ ],
619
+ type: "object"
620
+ }
621
+ ]
622
+ },
623
+ customElementData: {
624
+ additionalProperties: false,
625
+ properties: {
626
+ define: {
627
+ additionalProperties: false,
628
+ properties: {
629
+ name: {
630
+ type: "string"
631
+ }
632
+ },
633
+ required: [
634
+ "name"
635
+ ],
636
+ type: "object"
637
+ },
638
+ source: {
639
+ $ref: "#/definitions/IncrementalSource.CustomElement"
640
+ }
641
+ },
642
+ required: [
643
+ "source"
644
+ ],
645
+ type: "object"
646
+ },
647
+ fontData: {
648
+ additionalProperties: false,
649
+ properties: {
650
+ buffer: {
651
+ type: "boolean"
652
+ },
653
+ descriptors: {
654
+ $ref: "#/definitions/FontFaceDescriptors"
655
+ },
656
+ family: {
657
+ type: "string"
658
+ },
659
+ fontSource: {
660
+ type: "string"
661
+ },
662
+ source: {
663
+ $ref: "#/definitions/IncrementalSource.Font"
664
+ }
665
+ },
666
+ required: [
667
+ "buffer",
668
+ "family",
669
+ "fontSource",
670
+ "source"
671
+ ],
672
+ type: "object"
673
+ },
674
+ incrementalData: {
675
+ anyOf: [
676
+ {
677
+ $ref: "#/definitions/mutationData"
678
+ },
679
+ {
680
+ $ref: "#/definitions/mousemoveData"
681
+ },
682
+ {
683
+ $ref: "#/definitions/mouseInteractionData"
684
+ },
685
+ {
686
+ $ref: "#/definitions/scrollData"
687
+ },
688
+ {
689
+ $ref: "#/definitions/viewportResizeData"
690
+ },
691
+ {
692
+ $ref: "#/definitions/inputData"
693
+ },
694
+ {
695
+ $ref: "#/definitions/mediaInteractionData"
696
+ },
697
+ {
698
+ $ref: "#/definitions/styleSheetRuleData"
699
+ },
700
+ {
701
+ $ref: "#/definitions/canvasMutationData"
702
+ },
703
+ {
704
+ $ref: "#/definitions/fontData"
705
+ },
706
+ {
707
+ $ref: "#/definitions/selectionData"
708
+ },
709
+ {
710
+ $ref: "#/definitions/styleDeclarationData"
711
+ },
712
+ {
713
+ $ref: "#/definitions/adoptedStyleSheetData"
714
+ },
715
+ {
716
+ $ref: "#/definitions/customElementData"
717
+ }
718
+ ]
719
+ },
720
+ inputData: {
721
+ additionalProperties: false,
722
+ properties: {
723
+ id: {
724
+ type: "number"
725
+ },
726
+ isChecked: {
727
+ type: "boolean"
728
+ },
729
+ source: {
730
+ $ref: "#/definitions/IncrementalSource.Input"
731
+ },
732
+ text: {
733
+ type: "string"
734
+ },
735
+ userTriggered: {
736
+ type: "boolean"
737
+ }
738
+ },
739
+ required: [
740
+ "id",
741
+ "isChecked",
742
+ "source",
743
+ "text"
744
+ ],
745
+ type: "object"
746
+ },
747
+ mediaInteractionData: {
748
+ additionalProperties: false,
749
+ properties: {
750
+ currentTime: {
751
+ type: "number"
752
+ },
753
+ id: {
754
+ type: "number"
755
+ },
756
+ loop: {
757
+ type: "boolean"
758
+ },
759
+ muted: {
760
+ type: "boolean"
761
+ },
762
+ playbackRate: {
763
+ type: "number"
764
+ },
765
+ source: {
766
+ $ref: "#/definitions/IncrementalSource.MediaInteraction"
767
+ },
768
+ type: {
769
+ $ref: "#/definitions/MediaInteractions"
770
+ },
771
+ volume: {
772
+ type: "number"
773
+ }
774
+ },
775
+ required: [
776
+ "id",
777
+ "source",
778
+ "type"
779
+ ],
780
+ type: "object"
781
+ },
782
+ mouseInteractionData: {
783
+ additionalProperties: false,
784
+ properties: {
785
+ id: {
786
+ type: "number"
787
+ },
788
+ pointerType: {
789
+ $ref: "#/definitions/PointerTypes"
790
+ },
791
+ source: {
792
+ $ref: "#/definitions/IncrementalSource.MouseInteraction"
793
+ },
794
+ type: {
795
+ $ref: "#/definitions/MouseInteractions"
796
+ },
797
+ x: {
798
+ type: "number"
799
+ },
800
+ y: {
801
+ type: "number"
802
+ }
803
+ },
804
+ required: [
805
+ "id",
806
+ "source",
807
+ "type"
808
+ ],
809
+ type: "object"
810
+ },
811
+ mousePosition: {
812
+ additionalProperties: false,
813
+ properties: {
814
+ id: {
815
+ type: "number"
816
+ },
817
+ timeOffset: {
818
+ type: "number"
819
+ },
820
+ x: {
821
+ type: "number"
822
+ },
823
+ y: {
824
+ type: "number"
825
+ }
826
+ },
827
+ required: [
828
+ "x",
829
+ "y",
830
+ "id",
831
+ "timeOffset"
832
+ ],
833
+ type: "object"
834
+ },
835
+ mousemoveData: {
836
+ additionalProperties: false,
837
+ properties: {
838
+ positions: {
839
+ items: {
840
+ $ref: "#/definitions/mousePosition"
841
+ },
842
+ type: "array"
843
+ },
844
+ source: {
845
+ anyOf: [
846
+ {
847
+ $ref: "#/definitions/IncrementalSource.MouseMove"
848
+ },
849
+ {
850
+ $ref: "#/definitions/IncrementalSource.TouchMove"
851
+ },
852
+ {
853
+ $ref: "#/definitions/IncrementalSource.Drag"
854
+ }
855
+ ]
856
+ }
857
+ },
858
+ required: [
859
+ "source",
860
+ "positions"
861
+ ],
862
+ type: "object"
863
+ },
864
+ mutationData: {
865
+ additionalProperties: false,
866
+ properties: {
867
+ adds: {
868
+ items: {
869
+ $ref: "#/definitions/addedNodeMutation"
870
+ },
871
+ type: "array"
872
+ },
873
+ attributes: {
874
+ items: {
875
+ $ref: "#/definitions/attributeMutation"
876
+ },
877
+ type: "array"
878
+ },
879
+ isAttachIframe: {
880
+ "const": true,
881
+ type: "boolean"
882
+ },
883
+ removes: {
884
+ items: {
885
+ $ref: "#/definitions/removedNodeMutation"
886
+ },
887
+ type: "array"
888
+ },
889
+ source: {
890
+ $ref: "#/definitions/IncrementalSource.Mutation"
891
+ },
892
+ texts: {
893
+ items: {
894
+ $ref: "#/definitions/textMutation"
895
+ },
896
+ type: "array"
897
+ }
898
+ },
899
+ required: [
900
+ "adds",
901
+ "attributes",
902
+ "removes",
903
+ "source",
904
+ "texts"
905
+ ],
906
+ type: "object"
907
+ },
908
+ removedNodeMutation: {
909
+ additionalProperties: false,
910
+ properties: {
911
+ id: {
912
+ type: "number"
913
+ },
914
+ isShadow: {
915
+ type: "boolean"
916
+ },
917
+ parentId: {
918
+ type: "number"
919
+ }
920
+ },
921
+ required: [
922
+ "parentId",
923
+ "id"
924
+ ],
925
+ type: "object"
926
+ },
927
+ scrollData: {
928
+ additionalProperties: false,
929
+ properties: {
930
+ id: {
931
+ type: "number"
932
+ },
933
+ source: {
934
+ $ref: "#/definitions/IncrementalSource.Scroll"
935
+ },
936
+ x: {
937
+ type: "number"
938
+ },
939
+ y: {
940
+ type: "number"
941
+ }
942
+ },
943
+ required: [
944
+ "id",
945
+ "source",
946
+ "x",
947
+ "y"
948
+ ],
949
+ type: "object"
950
+ },
951
+ selectionData: {
952
+ additionalProperties: false,
953
+ properties: {
954
+ ranges: {
955
+ items: {
956
+ $ref: "#/definitions/SelectionRange"
957
+ },
958
+ type: "array"
959
+ },
960
+ source: {
961
+ $ref: "#/definitions/IncrementalSource.Selection"
962
+ }
963
+ },
964
+ required: [
965
+ "ranges",
966
+ "source"
967
+ ],
968
+ type: "object"
969
+ },
970
+ styleDeclarationData: {
971
+ additionalProperties: false,
972
+ properties: {
973
+ id: {
974
+ type: "number"
975
+ },
976
+ index: {
977
+ items: {
978
+ type: "number"
979
+ },
980
+ type: "array"
981
+ },
982
+ remove: {
983
+ additionalProperties: false,
984
+ properties: {
985
+ property: {
986
+ type: "string"
987
+ }
988
+ },
989
+ required: [
990
+ "property"
991
+ ],
992
+ type: "object"
993
+ },
994
+ set: {
995
+ additionalProperties: false,
996
+ properties: {
997
+ priority: {
998
+ type: "string"
999
+ },
1000
+ property: {
1001
+ type: "string"
1002
+ },
1003
+ value: {
1004
+ type: [
1005
+ "string",
1006
+ "null"
1007
+ ]
1008
+ }
1009
+ },
1010
+ required: [
1011
+ "property",
1012
+ "value"
1013
+ ],
1014
+ type: "object"
1015
+ },
1016
+ source: {
1017
+ $ref: "#/definitions/IncrementalSource.StyleDeclaration"
1018
+ },
1019
+ styleId: {
1020
+ type: "number"
1021
+ }
1022
+ },
1023
+ required: [
1024
+ "index",
1025
+ "source"
1026
+ ],
1027
+ type: "object"
1028
+ },
1029
+ styleOMValue: {
1030
+ additionalProperties: {
1031
+ anyOf: [
1032
+ {
1033
+ $ref: "#/definitions/styleValueWithPriority"
1034
+ },
1035
+ {
1036
+ type: "string"
1037
+ },
1038
+ {
1039
+ "const": false,
1040
+ type: "boolean"
1041
+ }
1042
+ ]
1043
+ },
1044
+ type: "object"
1045
+ },
1046
+ styleSheetAddRule: {
1047
+ additionalProperties: false,
1048
+ properties: {
1049
+ index: {
1050
+ anyOf: [
1051
+ {
1052
+ type: "number"
1053
+ },
1054
+ {
1055
+ items: {
1056
+ type: "number"
1057
+ },
1058
+ type: "array"
1059
+ }
1060
+ ]
1061
+ },
1062
+ rule: {
1063
+ type: "string"
1064
+ }
1065
+ },
1066
+ required: [
1067
+ "rule"
1068
+ ],
1069
+ type: "object"
1070
+ },
1071
+ styleSheetDeleteRule: {
1072
+ additionalProperties: false,
1073
+ properties: {
1074
+ index: {
1075
+ anyOf: [
1076
+ {
1077
+ type: "number"
1078
+ },
1079
+ {
1080
+ items: {
1081
+ type: "number"
1082
+ },
1083
+ type: "array"
1084
+ }
1085
+ ]
1086
+ }
1087
+ },
1088
+ required: [
1089
+ "index"
1090
+ ],
1091
+ type: "object"
1092
+ },
1093
+ styleSheetRuleData: {
1094
+ additionalProperties: false,
1095
+ properties: {
1096
+ adds: {
1097
+ items: {
1098
+ $ref: "#/definitions/styleSheetAddRule"
1099
+ },
1100
+ type: "array"
1101
+ },
1102
+ id: {
1103
+ type: "number"
1104
+ },
1105
+ removes: {
1106
+ items: {
1107
+ $ref: "#/definitions/styleSheetDeleteRule"
1108
+ },
1109
+ type: "array"
1110
+ },
1111
+ replace: {
1112
+ type: "string"
1113
+ },
1114
+ replaceSync: {
1115
+ type: "string"
1116
+ },
1117
+ source: {
1118
+ $ref: "#/definitions/IncrementalSource.StyleSheetRule"
1119
+ },
1120
+ styleId: {
1121
+ type: "number"
1122
+ }
1123
+ },
1124
+ required: [
1125
+ "source"
1126
+ ],
1127
+ type: "object"
1128
+ },
1129
+ styleValueWithPriority: {
1130
+ items: {
1131
+ type: "string"
1132
+ },
1133
+ maxItems: 2,
1134
+ minItems: 2,
1135
+ type: "array"
1136
+ },
1137
+ textMutation: {
1138
+ additionalProperties: false,
1139
+ properties: {
1140
+ id: {
1141
+ type: "number"
1142
+ },
1143
+ value: {
1144
+ type: [
1145
+ "string",
1146
+ "null"
1147
+ ]
1148
+ }
1149
+ },
1150
+ required: [
1151
+ "id",
1152
+ "value"
1153
+ ],
1154
+ type: "object"
1155
+ },
1156
+ viewportResizeData: {
1157
+ additionalProperties: false,
1158
+ properties: {
1159
+ height: {
1160
+ type: "number"
1161
+ },
1162
+ source: {
1163
+ $ref: "#/definitions/IncrementalSource.ViewportResize"
1164
+ },
1165
+ width: {
1166
+ type: "number"
1167
+ }
1168
+ },
1169
+ required: [
1170
+ "height",
1171
+ "source",
1172
+ "width"
1173
+ ],
1174
+ type: "object"
1175
+ }
1176
+ };
1177
+ var webSchema = {
1178
+ $schema: $schema,
1179
+ anyOf: anyOf,
1180
+ definitions: definitions
1181
+ };
1182
+
1183
+ export { $schema, anyOf, webSchema as default, definitions };