@wix/realtime 1.0.46 → 1.0.47
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/cjs/build/index.d.ts +2 -2
- package/cjs/build/publisher/publisher.public.d.ts +2 -2
- package/cjs/build/subscriber/errors.d.ts +7 -4
- package/cjs/build/subscriber/errors.js +24 -1
- package/cjs/build/subscriber/subscriber.public.d.ts +2 -2
- package/cjs/build/subscriber/subscriber.public.js +84 -36
- package/cjs/build/subscriber/subscription-manager.d.ts +9 -7
- package/cjs/build/subscriber/subscription-manager.js +21 -18
- package/cjs/build/types.d.ts +1 -1
- package/dist/statics/docs-ts-model.json +269 -107
- package/es/build/index.d.ts +2 -2
- package/es/build/publisher/publisher.public.d.ts +2 -2
- package/es/build/subscriber/errors.d.ts +7 -4
- package/es/build/subscriber/errors.js +21 -1
- package/es/build/subscriber/subscriber.public.d.ts +2 -2
- package/es/build/subscriber/subscriber.public.js +85 -37
- package/es/build/subscriber/subscription-manager.d.ts +9 -7
- package/es/build/subscriber/subscription-manager.js +21 -18
- package/es/build/types.d.ts +1 -1
- package/package.json +4 -4
|
@@ -6,14 +6,6 @@
|
|
|
6
6
|
"kind": 1,
|
|
7
7
|
"flags": {},
|
|
8
8
|
"children": [
|
|
9
|
-
{
|
|
10
|
-
"id": 72,
|
|
11
|
-
"name": "Channel",
|
|
12
|
-
"variant": "reference",
|
|
13
|
-
"kind": 8388608,
|
|
14
|
-
"flags": {},
|
|
15
|
-
"target": 31
|
|
16
|
-
},
|
|
17
9
|
{
|
|
18
10
|
"id": 52,
|
|
19
11
|
"name": "publisher",
|
|
@@ -2087,8 +2079,8 @@
|
|
|
2087
2079
|
},
|
|
2088
2080
|
"type": {
|
|
2089
2081
|
"type": "reference",
|
|
2090
|
-
"target":
|
|
2091
|
-
"name": "
|
|
2082
|
+
"target": 73,
|
|
2083
|
+
"name": "SubscribeChannel",
|
|
2092
2084
|
"package": "@wix/realtime-common"
|
|
2093
2085
|
}
|
|
2094
2086
|
},
|
|
@@ -2108,7 +2100,7 @@
|
|
|
2108
2100
|
},
|
|
2109
2101
|
"type": {
|
|
2110
2102
|
"type": "reference",
|
|
2111
|
-
"target":
|
|
2103
|
+
"target": 80,
|
|
2112
2104
|
"name": "MessageHandler",
|
|
2113
2105
|
"package": "@wix/realtime-common"
|
|
2114
2106
|
}
|
|
@@ -2131,7 +2123,7 @@
|
|
|
2131
2123
|
},
|
|
2132
2124
|
"type": {
|
|
2133
2125
|
"type": "reference",
|
|
2134
|
-
"target":
|
|
2126
|
+
"target": 97,
|
|
2135
2127
|
"name": "SubscriptionOptions",
|
|
2136
2128
|
"package": "@wix/realtime-common"
|
|
2137
2129
|
}
|
|
@@ -2355,7 +2347,7 @@
|
|
|
2355
2347
|
},
|
|
2356
2348
|
"type": {
|
|
2357
2349
|
"type": "reference",
|
|
2358
|
-
"target":
|
|
2350
|
+
"target": 100,
|
|
2359
2351
|
"name": "UnsubscribeOptions",
|
|
2360
2352
|
"package": "@wix/realtime-common"
|
|
2361
2353
|
}
|
|
@@ -2475,7 +2467,7 @@
|
|
|
2475
2467
|
]
|
|
2476
2468
|
},
|
|
2477
2469
|
{
|
|
2478
|
-
"id":
|
|
2470
|
+
"id": 117,
|
|
2479
2471
|
"name": "RealtimeErrorCode",
|
|
2480
2472
|
"variant": "declaration",
|
|
2481
2473
|
"kind": 8,
|
|
@@ -2490,7 +2482,7 @@
|
|
|
2490
2482
|
},
|
|
2491
2483
|
"children": [
|
|
2492
2484
|
{
|
|
2493
|
-
"id":
|
|
2485
|
+
"id": 121,
|
|
2494
2486
|
"name": "BadInput",
|
|
2495
2487
|
"variant": "declaration",
|
|
2496
2488
|
"kind": 16,
|
|
@@ -2509,7 +2501,7 @@
|
|
|
2509
2501
|
}
|
|
2510
2502
|
},
|
|
2511
2503
|
{
|
|
2512
|
-
"id":
|
|
2504
|
+
"id": 119,
|
|
2513
2505
|
"name": "ConnectionError",
|
|
2514
2506
|
"variant": "declaration",
|
|
2515
2507
|
"kind": 16,
|
|
@@ -2528,7 +2520,7 @@
|
|
|
2528
2520
|
}
|
|
2529
2521
|
},
|
|
2530
2522
|
{
|
|
2531
|
-
"id":
|
|
2523
|
+
"id": 118,
|
|
2532
2524
|
"name": "Disconnected",
|
|
2533
2525
|
"variant": "declaration",
|
|
2534
2526
|
"kind": 16,
|
|
@@ -2555,7 +2547,7 @@
|
|
|
2555
2547
|
}
|
|
2556
2548
|
},
|
|
2557
2549
|
{
|
|
2558
|
-
"id":
|
|
2550
|
+
"id": 120,
|
|
2559
2551
|
"name": "SubscriptionFailed",
|
|
2560
2552
|
"variant": "declaration",
|
|
2561
2553
|
"kind": 16,
|
|
@@ -2578,16 +2570,16 @@
|
|
|
2578
2570
|
{
|
|
2579
2571
|
"title": "Enumeration Members",
|
|
2580
2572
|
"children": [
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2573
|
+
121,
|
|
2574
|
+
119,
|
|
2575
|
+
118,
|
|
2576
|
+
120
|
|
2585
2577
|
]
|
|
2586
2578
|
}
|
|
2587
2579
|
]
|
|
2588
2580
|
},
|
|
2589
2581
|
{
|
|
2590
|
-
"id":
|
|
2582
|
+
"id": 103,
|
|
2591
2583
|
"name": "RealtimeError",
|
|
2592
2584
|
"variant": "declaration",
|
|
2593
2585
|
"kind": 128,
|
|
@@ -2602,34 +2594,34 @@
|
|
|
2602
2594
|
},
|
|
2603
2595
|
"children": [
|
|
2604
2596
|
{
|
|
2605
|
-
"id":
|
|
2597
|
+
"id": 104,
|
|
2606
2598
|
"name": "constructor",
|
|
2607
2599
|
"variant": "declaration",
|
|
2608
2600
|
"kind": 512,
|
|
2609
2601
|
"flags": {},
|
|
2610
2602
|
"signatures": [
|
|
2611
2603
|
{
|
|
2612
|
-
"id":
|
|
2604
|
+
"id": 105,
|
|
2613
2605
|
"name": "new RealtimeError",
|
|
2614
2606
|
"variant": "signature",
|
|
2615
2607
|
"kind": 16384,
|
|
2616
2608
|
"flags": {},
|
|
2617
2609
|
"parameters": [
|
|
2618
2610
|
{
|
|
2619
|
-
"id":
|
|
2611
|
+
"id": 106,
|
|
2620
2612
|
"name": "errorCode",
|
|
2621
2613
|
"variant": "param",
|
|
2622
2614
|
"kind": 32768,
|
|
2623
2615
|
"flags": {},
|
|
2624
2616
|
"type": {
|
|
2625
2617
|
"type": "reference",
|
|
2626
|
-
"target":
|
|
2618
|
+
"target": 117,
|
|
2627
2619
|
"name": "RealtimeErrorCode",
|
|
2628
2620
|
"package": "@wix/realtime-common"
|
|
2629
2621
|
}
|
|
2630
2622
|
},
|
|
2631
2623
|
{
|
|
2632
|
-
"id":
|
|
2624
|
+
"id": 107,
|
|
2633
2625
|
"name": "message",
|
|
2634
2626
|
"variant": "param",
|
|
2635
2627
|
"kind": 32768,
|
|
@@ -2640,7 +2632,7 @@
|
|
|
2640
2632
|
}
|
|
2641
2633
|
},
|
|
2642
2634
|
{
|
|
2643
|
-
"id":
|
|
2635
|
+
"id": 108,
|
|
2644
2636
|
"name": "options",
|
|
2645
2637
|
"variant": "param",
|
|
2646
2638
|
"kind": 32768,
|
|
@@ -2650,14 +2642,14 @@
|
|
|
2650
2642
|
"type": {
|
|
2651
2643
|
"type": "reflection",
|
|
2652
2644
|
"declaration": {
|
|
2653
|
-
"id":
|
|
2645
|
+
"id": 109,
|
|
2654
2646
|
"name": "__type",
|
|
2655
2647
|
"variant": "declaration",
|
|
2656
2648
|
"kind": 65536,
|
|
2657
2649
|
"flags": {},
|
|
2658
2650
|
"children": [
|
|
2659
2651
|
{
|
|
2660
|
-
"id":
|
|
2652
|
+
"id": 110,
|
|
2661
2653
|
"name": "channel",
|
|
2662
2654
|
"variant": "declaration",
|
|
2663
2655
|
"kind": 1024,
|
|
@@ -2666,13 +2658,13 @@
|
|
|
2666
2658
|
},
|
|
2667
2659
|
"type": {
|
|
2668
2660
|
"type": "reference",
|
|
2669
|
-
"target":
|
|
2670
|
-
"name": "
|
|
2661
|
+
"target": 73,
|
|
2662
|
+
"name": "SubscribeChannel",
|
|
2671
2663
|
"package": "@wix/realtime-common"
|
|
2672
2664
|
}
|
|
2673
2665
|
},
|
|
2674
2666
|
{
|
|
2675
|
-
"id":
|
|
2667
|
+
"id": 111,
|
|
2676
2668
|
"name": "recoverable",
|
|
2677
2669
|
"variant": "declaration",
|
|
2678
2670
|
"kind": 1024,
|
|
@@ -2685,7 +2677,7 @@
|
|
|
2685
2677
|
}
|
|
2686
2678
|
},
|
|
2687
2679
|
{
|
|
2688
|
-
"id":
|
|
2680
|
+
"id": 112,
|
|
2689
2681
|
"name": "status",
|
|
2690
2682
|
"variant": "declaration",
|
|
2691
2683
|
"kind": 1024,
|
|
@@ -2702,9 +2694,9 @@
|
|
|
2702
2694
|
{
|
|
2703
2695
|
"title": "Properties",
|
|
2704
2696
|
"children": [
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2697
|
+
110,
|
|
2698
|
+
111,
|
|
2699
|
+
112
|
|
2708
2700
|
]
|
|
2709
2701
|
}
|
|
2710
2702
|
]
|
|
@@ -2714,7 +2706,7 @@
|
|
|
2714
2706
|
],
|
|
2715
2707
|
"type": {
|
|
2716
2708
|
"type": "reference",
|
|
2717
|
-
"target":
|
|
2709
|
+
"target": 103,
|
|
2718
2710
|
"name": "RealtimeError",
|
|
2719
2711
|
"package": "@wix/realtime-common"
|
|
2720
2712
|
},
|
|
@@ -2732,7 +2724,7 @@
|
|
|
2732
2724
|
}
|
|
2733
2725
|
},
|
|
2734
2726
|
{
|
|
2735
|
-
"id":
|
|
2727
|
+
"id": 114,
|
|
2736
2728
|
"name": "channel",
|
|
2737
2729
|
"variant": "declaration",
|
|
2738
2730
|
"kind": 1024,
|
|
@@ -2749,13 +2741,13 @@
|
|
|
2749
2741
|
},
|
|
2750
2742
|
"type": {
|
|
2751
2743
|
"type": "reference",
|
|
2752
|
-
"target":
|
|
2753
|
-
"name": "
|
|
2744
|
+
"target": 73,
|
|
2745
|
+
"name": "SubscribeChannel",
|
|
2754
2746
|
"package": "@wix/realtime-common"
|
|
2755
2747
|
}
|
|
2756
2748
|
},
|
|
2757
2749
|
{
|
|
2758
|
-
"id":
|
|
2750
|
+
"id": 113,
|
|
2759
2751
|
"name": "errorCode",
|
|
2760
2752
|
"variant": "declaration",
|
|
2761
2753
|
"kind": 1024,
|
|
@@ -2770,13 +2762,13 @@
|
|
|
2770
2762
|
},
|
|
2771
2763
|
"type": {
|
|
2772
2764
|
"type": "reference",
|
|
2773
|
-
"target":
|
|
2765
|
+
"target": 117,
|
|
2774
2766
|
"name": "RealtimeErrorCode",
|
|
2775
2767
|
"package": "@wix/realtime-common"
|
|
2776
2768
|
}
|
|
2777
2769
|
},
|
|
2778
2770
|
{
|
|
2779
|
-
"id":
|
|
2771
|
+
"id": 115,
|
|
2780
2772
|
"name": "recoverable",
|
|
2781
2773
|
"variant": "declaration",
|
|
2782
2774
|
"kind": 1024,
|
|
@@ -2821,7 +2813,7 @@
|
|
|
2821
2813
|
}
|
|
2822
2814
|
},
|
|
2823
2815
|
{
|
|
2824
|
-
"id":
|
|
2816
|
+
"id": 116,
|
|
2825
2817
|
"name": "status",
|
|
2826
2818
|
"variant": "declaration",
|
|
2827
2819
|
"kind": 1024,
|
|
@@ -2862,16 +2854,16 @@
|
|
|
2862
2854
|
{
|
|
2863
2855
|
"title": "Constructors",
|
|
2864
2856
|
"children": [
|
|
2865
|
-
|
|
2857
|
+
104
|
|
2866
2858
|
]
|
|
2867
2859
|
},
|
|
2868
2860
|
{
|
|
2869
2861
|
"title": "Properties",
|
|
2870
2862
|
"children": [
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2863
|
+
114,
|
|
2864
|
+
113,
|
|
2865
|
+
115,
|
|
2866
|
+
116
|
|
2875
2867
|
]
|
|
2876
2868
|
}
|
|
2877
2869
|
],
|
|
@@ -2888,7 +2880,7 @@
|
|
|
2888
2880
|
]
|
|
2889
2881
|
},
|
|
2890
2882
|
{
|
|
2891
|
-
"id":
|
|
2883
|
+
"id": 77,
|
|
2892
2884
|
"name": "Message",
|
|
2893
2885
|
"variant": "declaration",
|
|
2894
2886
|
"kind": 256,
|
|
@@ -2903,7 +2895,7 @@
|
|
|
2903
2895
|
},
|
|
2904
2896
|
"children": [
|
|
2905
2897
|
{
|
|
2906
|
-
"id":
|
|
2898
|
+
"id": 78,
|
|
2907
2899
|
"name": "payload",
|
|
2908
2900
|
"variant": "declaration",
|
|
2909
2901
|
"kind": 1024,
|
|
@@ -2937,7 +2929,7 @@
|
|
|
2937
2929
|
}
|
|
2938
2930
|
},
|
|
2939
2931
|
{
|
|
2940
|
-
"id":
|
|
2932
|
+
"id": 79,
|
|
2941
2933
|
"name": "publisher",
|
|
2942
2934
|
"variant": "declaration",
|
|
2943
2935
|
"kind": 1024,
|
|
@@ -2954,7 +2946,7 @@
|
|
|
2954
2946
|
},
|
|
2955
2947
|
"type": {
|
|
2956
2948
|
"type": "reference",
|
|
2957
|
-
"target":
|
|
2949
|
+
"target": 85,
|
|
2958
2950
|
"name": "Publisher",
|
|
2959
2951
|
"package": "@wix/realtime-common"
|
|
2960
2952
|
}
|
|
@@ -2964,14 +2956,14 @@
|
|
|
2964
2956
|
{
|
|
2965
2957
|
"title": "Properties",
|
|
2966
2958
|
"children": [
|
|
2967
|
-
|
|
2968
|
-
|
|
2959
|
+
78,
|
|
2960
|
+
79
|
|
2969
2961
|
]
|
|
2970
2962
|
}
|
|
2971
2963
|
]
|
|
2972
2964
|
},
|
|
2973
2965
|
{
|
|
2974
|
-
"id":
|
|
2966
|
+
"id": 85,
|
|
2975
2967
|
"name": "Publisher",
|
|
2976
2968
|
"variant": "declaration",
|
|
2977
2969
|
"kind": 256,
|
|
@@ -2986,7 +2978,7 @@
|
|
|
2986
2978
|
},
|
|
2987
2979
|
"children": [
|
|
2988
2980
|
{
|
|
2989
|
-
"id":
|
|
2981
|
+
"id": 86,
|
|
2990
2982
|
"name": "id",
|
|
2991
2983
|
"variant": "declaration",
|
|
2992
2984
|
"kind": 1024,
|
|
@@ -3009,13 +3001,159 @@
|
|
|
3009
3001
|
{
|
|
3010
3002
|
"title": "Properties",
|
|
3011
3003
|
"children": [
|
|
3012
|
-
|
|
3004
|
+
86
|
|
3005
|
+
]
|
|
3006
|
+
}
|
|
3007
|
+
]
|
|
3008
|
+
},
|
|
3009
|
+
{
|
|
3010
|
+
"id": 73,
|
|
3011
|
+
"name": "SubscribeChannel",
|
|
3012
|
+
"variant": "declaration",
|
|
3013
|
+
"kind": 256,
|
|
3014
|
+
"flags": {},
|
|
3015
|
+
"comment": {
|
|
3016
|
+
"summary": [
|
|
3017
|
+
{
|
|
3018
|
+
"kind": "text",
|
|
3019
|
+
"text": "Realtime broadcast subscribed channel. Subscribers listen to messages published to channels."
|
|
3020
|
+
}
|
|
3021
|
+
]
|
|
3022
|
+
},
|
|
3023
|
+
"children": [
|
|
3024
|
+
{
|
|
3025
|
+
"id": 74,
|
|
3026
|
+
"name": "appId",
|
|
3027
|
+
"variant": "declaration",
|
|
3028
|
+
"kind": 1024,
|
|
3029
|
+
"flags": {
|
|
3030
|
+
"isOptional": true
|
|
3031
|
+
},
|
|
3032
|
+
"comment": {
|
|
3033
|
+
"summary": [
|
|
3034
|
+
{
|
|
3035
|
+
"kind": "text",
|
|
3036
|
+
"text": "App ID of the channel owner.\n\nSet this to subscribe to a channel owned by a different app (cross-app subscription). When omitted, the channel is assumed to be owned by the caller's app.\n\nThe channel owner must implement the "
|
|
3037
|
+
},
|
|
3038
|
+
{
|
|
3039
|
+
"kind": "code",
|
|
3040
|
+
"text": "`REALTIME_PERMISSIONS_PROVIDER`"
|
|
3041
|
+
},
|
|
3042
|
+
{
|
|
3043
|
+
"kind": "text",
|
|
3044
|
+
"text": " SPI to authorize cross-app subscriptions; otherwise the subscription is denied.\n\nUse "
|
|
3045
|
+
},
|
|
3046
|
+
{
|
|
3047
|
+
"kind": "code",
|
|
3048
|
+
"text": "`WIX_APPS`"
|
|
3049
|
+
},
|
|
3050
|
+
{
|
|
3051
|
+
"kind": "text",
|
|
3052
|
+
"text": " from "
|
|
3053
|
+
},
|
|
3054
|
+
{
|
|
3055
|
+
"kind": "code",
|
|
3056
|
+
"text": "`@wix/essentials`"
|
|
3057
|
+
},
|
|
3058
|
+
{
|
|
3059
|
+
"kind": "text",
|
|
3060
|
+
"text": " to reference well-known Wix app IDs."
|
|
3061
|
+
}
|
|
3062
|
+
]
|
|
3063
|
+
},
|
|
3064
|
+
"type": {
|
|
3065
|
+
"type": "intrinsic",
|
|
3066
|
+
"name": "string"
|
|
3067
|
+
}
|
|
3068
|
+
},
|
|
3069
|
+
{
|
|
3070
|
+
"id": 75,
|
|
3071
|
+
"name": "name",
|
|
3072
|
+
"variant": "declaration",
|
|
3073
|
+
"kind": 1024,
|
|
3074
|
+
"flags": {},
|
|
3075
|
+
"comment": {
|
|
3076
|
+
"summary": [
|
|
3077
|
+
{
|
|
3078
|
+
"kind": "text",
|
|
3079
|
+
"text": "Channel name.\n\n> **Notes:**\n> - Supports only alphanumeric characters, hyphens, and underscores.\n> - The combined length of "
|
|
3080
|
+
},
|
|
3081
|
+
{
|
|
3082
|
+
"kind": "code",
|
|
3083
|
+
"text": "`name`"
|
|
3084
|
+
},
|
|
3085
|
+
{
|
|
3086
|
+
"kind": "text",
|
|
3087
|
+
"text": " and "
|
|
3088
|
+
},
|
|
3089
|
+
{
|
|
3090
|
+
"kind": "code",
|
|
3091
|
+
"text": "`resourceId`"
|
|
3092
|
+
},
|
|
3093
|
+
{
|
|
3094
|
+
"kind": "text",
|
|
3095
|
+
"text": " can't exceed 140 characters."
|
|
3096
|
+
}
|
|
3097
|
+
]
|
|
3098
|
+
},
|
|
3099
|
+
"type": {
|
|
3100
|
+
"type": "intrinsic",
|
|
3101
|
+
"name": "string"
|
|
3102
|
+
},
|
|
3103
|
+
"inheritedFrom": {
|
|
3104
|
+
"type": "reference",
|
|
3105
|
+
"target": -1,
|
|
3106
|
+
"name": "PublishChannel.name"
|
|
3107
|
+
}
|
|
3108
|
+
},
|
|
3109
|
+
{
|
|
3110
|
+
"id": 76,
|
|
3111
|
+
"name": "resourceId",
|
|
3112
|
+
"variant": "declaration",
|
|
3113
|
+
"kind": 1024,
|
|
3114
|
+
"flags": {
|
|
3115
|
+
"isOptional": true
|
|
3116
|
+
},
|
|
3117
|
+
"comment": {
|
|
3118
|
+
"summary": [
|
|
3119
|
+
{
|
|
3120
|
+
"kind": "text",
|
|
3121
|
+
"text": "Resource ID.\n\nResources are independent sub-channels in a channel. A subscriber listening to a resource doesn't receive messages published to the parent channel, and vice versa."
|
|
3122
|
+
}
|
|
3123
|
+
]
|
|
3124
|
+
},
|
|
3125
|
+
"type": {
|
|
3126
|
+
"type": "intrinsic",
|
|
3127
|
+
"name": "string"
|
|
3128
|
+
},
|
|
3129
|
+
"inheritedFrom": {
|
|
3130
|
+
"type": "reference",
|
|
3131
|
+
"target": -1,
|
|
3132
|
+
"name": "PublishChannel.resourceId"
|
|
3133
|
+
}
|
|
3134
|
+
}
|
|
3135
|
+
],
|
|
3136
|
+
"groups": [
|
|
3137
|
+
{
|
|
3138
|
+
"title": "Properties",
|
|
3139
|
+
"children": [
|
|
3140
|
+
74,
|
|
3141
|
+
75,
|
|
3142
|
+
76
|
|
3013
3143
|
]
|
|
3014
3144
|
}
|
|
3145
|
+
],
|
|
3146
|
+
"extendedTypes": [
|
|
3147
|
+
{
|
|
3148
|
+
"type": "reference",
|
|
3149
|
+
"target": 72,
|
|
3150
|
+
"name": "PublishChannel",
|
|
3151
|
+
"package": "@wix/realtime-common"
|
|
3152
|
+
}
|
|
3015
3153
|
]
|
|
3016
3154
|
},
|
|
3017
3155
|
{
|
|
3018
|
-
"id":
|
|
3156
|
+
"id": 97,
|
|
3019
3157
|
"name": "SubscriptionOptions",
|
|
3020
3158
|
"variant": "declaration",
|
|
3021
3159
|
"kind": 256,
|
|
@@ -3030,7 +3168,7 @@
|
|
|
3030
3168
|
},
|
|
3031
3169
|
"children": [
|
|
3032
3170
|
{
|
|
3033
|
-
"id":
|
|
3171
|
+
"id": 98,
|
|
3034
3172
|
"name": "onSubscribed",
|
|
3035
3173
|
"variant": "declaration",
|
|
3036
3174
|
"kind": 1024,
|
|
@@ -3125,13 +3263,13 @@
|
|
|
3125
3263
|
},
|
|
3126
3264
|
"type": {
|
|
3127
3265
|
"type": "reference",
|
|
3128
|
-
"target":
|
|
3266
|
+
"target": 92,
|
|
3129
3267
|
"name": "SubscriptionHandler",
|
|
3130
3268
|
"package": "@wix/realtime-common"
|
|
3131
3269
|
}
|
|
3132
3270
|
},
|
|
3133
3271
|
{
|
|
3134
|
-
"id":
|
|
3272
|
+
"id": 99,
|
|
3135
3273
|
"name": "onSubscriptionError",
|
|
3136
3274
|
"variant": "declaration",
|
|
3137
3275
|
"kind": 1024,
|
|
@@ -3226,7 +3364,7 @@
|
|
|
3226
3364
|
},
|
|
3227
3365
|
"type": {
|
|
3228
3366
|
"type": "reference",
|
|
3229
|
-
"target":
|
|
3367
|
+
"target": 87,
|
|
3230
3368
|
"name": "SubscriptionErrorHandler",
|
|
3231
3369
|
"package": "@wix/realtime-common"
|
|
3232
3370
|
}
|
|
@@ -3236,14 +3374,14 @@
|
|
|
3236
3374
|
{
|
|
3237
3375
|
"title": "Properties",
|
|
3238
3376
|
"children": [
|
|
3239
|
-
|
|
3240
|
-
|
|
3377
|
+
98,
|
|
3378
|
+
99
|
|
3241
3379
|
]
|
|
3242
3380
|
}
|
|
3243
3381
|
]
|
|
3244
3382
|
},
|
|
3245
3383
|
{
|
|
3246
|
-
"id":
|
|
3384
|
+
"id": 100,
|
|
3247
3385
|
"name": "UnsubscribeOptions",
|
|
3248
3386
|
"variant": "declaration",
|
|
3249
3387
|
"kind": 256,
|
|
@@ -3290,7 +3428,7 @@
|
|
|
3290
3428
|
},
|
|
3291
3429
|
"children": [
|
|
3292
3430
|
{
|
|
3293
|
-
"id":
|
|
3431
|
+
"id": 101,
|
|
3294
3432
|
"name": "channel",
|
|
3295
3433
|
"variant": "declaration",
|
|
3296
3434
|
"kind": 1024,
|
|
@@ -3307,13 +3445,13 @@
|
|
|
3307
3445
|
},
|
|
3308
3446
|
"type": {
|
|
3309
3447
|
"type": "reference",
|
|
3310
|
-
"target":
|
|
3311
|
-
"name": "
|
|
3448
|
+
"target": 73,
|
|
3449
|
+
"name": "SubscribeChannel",
|
|
3312
3450
|
"package": "@wix/realtime-common"
|
|
3313
3451
|
}
|
|
3314
3452
|
},
|
|
3315
3453
|
{
|
|
3316
|
-
"id":
|
|
3454
|
+
"id": 102,
|
|
3317
3455
|
"name": "subscriptionId",
|
|
3318
3456
|
"variant": "declaration",
|
|
3319
3457
|
"kind": 1024,
|
|
@@ -3338,14 +3476,14 @@
|
|
|
3338
3476
|
{
|
|
3339
3477
|
"title": "Properties",
|
|
3340
3478
|
"children": [
|
|
3341
|
-
|
|
3342
|
-
|
|
3479
|
+
101,
|
|
3480
|
+
102
|
|
3343
3481
|
]
|
|
3344
3482
|
}
|
|
3345
3483
|
]
|
|
3346
3484
|
},
|
|
3347
3485
|
{
|
|
3348
|
-
"id":
|
|
3486
|
+
"id": 80,
|
|
3349
3487
|
"name": "MessageHandler",
|
|
3350
3488
|
"variant": "declaration",
|
|
3351
3489
|
"kind": 4194304,
|
|
@@ -3353,14 +3491,14 @@
|
|
|
3353
3491
|
"type": {
|
|
3354
3492
|
"type": "reflection",
|
|
3355
3493
|
"declaration": {
|
|
3356
|
-
"id":
|
|
3494
|
+
"id": 81,
|
|
3357
3495
|
"name": "__type",
|
|
3358
3496
|
"variant": "declaration",
|
|
3359
3497
|
"kind": 65536,
|
|
3360
3498
|
"flags": {},
|
|
3361
3499
|
"signatures": [
|
|
3362
3500
|
{
|
|
3363
|
-
"id":
|
|
3501
|
+
"id": 82,
|
|
3364
3502
|
"name": "__type",
|
|
3365
3503
|
"variant": "signature",
|
|
3366
3504
|
"kind": 4096,
|
|
@@ -3375,7 +3513,7 @@
|
|
|
3375
3513
|
},
|
|
3376
3514
|
"parameters": [
|
|
3377
3515
|
{
|
|
3378
|
-
"id":
|
|
3516
|
+
"id": 83,
|
|
3379
3517
|
"name": "message",
|
|
3380
3518
|
"variant": "param",
|
|
3381
3519
|
"kind": 32768,
|
|
@@ -3390,13 +3528,13 @@
|
|
|
3390
3528
|
},
|
|
3391
3529
|
"type": {
|
|
3392
3530
|
"type": "reference",
|
|
3393
|
-
"target":
|
|
3531
|
+
"target": 77,
|
|
3394
3532
|
"name": "Message",
|
|
3395
3533
|
"package": "@wix/realtime-common"
|
|
3396
3534
|
}
|
|
3397
3535
|
},
|
|
3398
3536
|
{
|
|
3399
|
-
"id":
|
|
3537
|
+
"id": 84,
|
|
3400
3538
|
"name": "channel",
|
|
3401
3539
|
"variant": "param",
|
|
3402
3540
|
"kind": 32768,
|
|
@@ -3411,8 +3549,8 @@
|
|
|
3411
3549
|
},
|
|
3412
3550
|
"type": {
|
|
3413
3551
|
"type": "reference",
|
|
3414
|
-
"target":
|
|
3415
|
-
"name": "
|
|
3552
|
+
"target": 73,
|
|
3553
|
+
"name": "SubscribeChannel",
|
|
3416
3554
|
"package": "@wix/realtime-common"
|
|
3417
3555
|
}
|
|
3418
3556
|
}
|
|
@@ -3427,7 +3565,35 @@
|
|
|
3427
3565
|
}
|
|
3428
3566
|
},
|
|
3429
3567
|
{
|
|
3430
|
-
"id":
|
|
3568
|
+
"id": 72,
|
|
3569
|
+
"name": "PublishChannel",
|
|
3570
|
+
"variant": "declaration",
|
|
3571
|
+
"kind": 4194304,
|
|
3572
|
+
"flags": {},
|
|
3573
|
+
"comment": {
|
|
3574
|
+
"summary": [
|
|
3575
|
+
{
|
|
3576
|
+
"kind": "text",
|
|
3577
|
+
"text": "Realtime broadcast published channel. Publishers send messages to channels and subscribers listen to them."
|
|
3578
|
+
}
|
|
3579
|
+
]
|
|
3580
|
+
},
|
|
3581
|
+
"type": {
|
|
3582
|
+
"type": "reference",
|
|
3583
|
+
"target": 31,
|
|
3584
|
+
"name": "Channel",
|
|
3585
|
+
"package": "@wix/realtime-common"
|
|
3586
|
+
},
|
|
3587
|
+
"extendedBy": [
|
|
3588
|
+
{
|
|
3589
|
+
"type": "reference",
|
|
3590
|
+
"target": 73,
|
|
3591
|
+
"name": "SubscribeChannel"
|
|
3592
|
+
}
|
|
3593
|
+
]
|
|
3594
|
+
},
|
|
3595
|
+
{
|
|
3596
|
+
"id": 87,
|
|
3431
3597
|
"name": "SubscriptionErrorHandler",
|
|
3432
3598
|
"variant": "declaration",
|
|
3433
3599
|
"kind": 4194304,
|
|
@@ -3435,14 +3601,14 @@
|
|
|
3435
3601
|
"type": {
|
|
3436
3602
|
"type": "reflection",
|
|
3437
3603
|
"declaration": {
|
|
3438
|
-
"id":
|
|
3604
|
+
"id": 88,
|
|
3439
3605
|
"name": "__type",
|
|
3440
3606
|
"variant": "declaration",
|
|
3441
3607
|
"kind": 65536,
|
|
3442
3608
|
"flags": {},
|
|
3443
3609
|
"signatures": [
|
|
3444
3610
|
{
|
|
3445
|
-
"id":
|
|
3611
|
+
"id": 89,
|
|
3446
3612
|
"name": "__type",
|
|
3447
3613
|
"variant": "signature",
|
|
3448
3614
|
"kind": 4096,
|
|
@@ -3457,7 +3623,7 @@
|
|
|
3457
3623
|
},
|
|
3458
3624
|
"parameters": [
|
|
3459
3625
|
{
|
|
3460
|
-
"id":
|
|
3626
|
+
"id": 90,
|
|
3461
3627
|
"name": "error",
|
|
3462
3628
|
"variant": "param",
|
|
3463
3629
|
"kind": 32768,
|
|
@@ -3472,13 +3638,13 @@
|
|
|
3472
3638
|
},
|
|
3473
3639
|
"type": {
|
|
3474
3640
|
"type": "reference",
|
|
3475
|
-
"target":
|
|
3641
|
+
"target": 103,
|
|
3476
3642
|
"name": "RealtimeError",
|
|
3477
3643
|
"package": "@wix/realtime-common"
|
|
3478
3644
|
}
|
|
3479
3645
|
},
|
|
3480
3646
|
{
|
|
3481
|
-
"id":
|
|
3647
|
+
"id": 91,
|
|
3482
3648
|
"name": "subscriptionId",
|
|
3483
3649
|
"variant": "param",
|
|
3484
3650
|
"kind": 32768,
|
|
@@ -3507,7 +3673,7 @@
|
|
|
3507
3673
|
}
|
|
3508
3674
|
},
|
|
3509
3675
|
{
|
|
3510
|
-
"id":
|
|
3676
|
+
"id": 92,
|
|
3511
3677
|
"name": "SubscriptionHandler",
|
|
3512
3678
|
"variant": "declaration",
|
|
3513
3679
|
"kind": 4194304,
|
|
@@ -3515,14 +3681,14 @@
|
|
|
3515
3681
|
"type": {
|
|
3516
3682
|
"type": "reflection",
|
|
3517
3683
|
"declaration": {
|
|
3518
|
-
"id":
|
|
3684
|
+
"id": 93,
|
|
3519
3685
|
"name": "__type",
|
|
3520
3686
|
"variant": "declaration",
|
|
3521
3687
|
"kind": 65536,
|
|
3522
3688
|
"flags": {},
|
|
3523
3689
|
"signatures": [
|
|
3524
3690
|
{
|
|
3525
|
-
"id":
|
|
3691
|
+
"id": 94,
|
|
3526
3692
|
"name": "__type",
|
|
3527
3693
|
"variant": "signature",
|
|
3528
3694
|
"kind": 4096,
|
|
@@ -3545,7 +3711,7 @@
|
|
|
3545
3711
|
},
|
|
3546
3712
|
"parameters": [
|
|
3547
3713
|
{
|
|
3548
|
-
"id":
|
|
3714
|
+
"id": 95,
|
|
3549
3715
|
"name": "subscriptionId",
|
|
3550
3716
|
"variant": "param",
|
|
3551
3717
|
"kind": 32768,
|
|
@@ -3564,7 +3730,7 @@
|
|
|
3564
3730
|
}
|
|
3565
3731
|
},
|
|
3566
3732
|
{
|
|
3567
|
-
"id":
|
|
3733
|
+
"id": 96,
|
|
3568
3734
|
"name": "isSynced",
|
|
3569
3735
|
"variant": "param",
|
|
3570
3736
|
"kind": 32768,
|
|
@@ -3594,12 +3760,6 @@
|
|
|
3594
3760
|
}
|
|
3595
3761
|
],
|
|
3596
3762
|
"groups": [
|
|
3597
|
-
{
|
|
3598
|
-
"title": "References",
|
|
3599
|
-
"children": [
|
|
3600
|
-
72
|
|
3601
|
-
]
|
|
3602
|
-
},
|
|
3603
3763
|
{
|
|
3604
3764
|
"title": "Namespaces",
|
|
3605
3765
|
"children": [
|
|
@@ -3611,30 +3771,32 @@
|
|
|
3611
3771
|
{
|
|
3612
3772
|
"title": "Enumerations",
|
|
3613
3773
|
"children": [
|
|
3614
|
-
|
|
3774
|
+
117
|
|
3615
3775
|
]
|
|
3616
3776
|
},
|
|
3617
3777
|
{
|
|
3618
3778
|
"title": "Classes",
|
|
3619
3779
|
"children": [
|
|
3620
|
-
|
|
3780
|
+
103
|
|
3621
3781
|
]
|
|
3622
3782
|
},
|
|
3623
3783
|
{
|
|
3624
3784
|
"title": "Interfaces",
|
|
3625
3785
|
"children": [
|
|
3786
|
+
77,
|
|
3787
|
+
85,
|
|
3626
3788
|
73,
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
96
|
|
3789
|
+
97,
|
|
3790
|
+
100
|
|
3630
3791
|
]
|
|
3631
3792
|
},
|
|
3632
3793
|
{
|
|
3633
3794
|
"title": "Type Aliases",
|
|
3634
3795
|
"children": [
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3796
|
+
80,
|
|
3797
|
+
72,
|
|
3798
|
+
87,
|
|
3799
|
+
92
|
|
3638
3800
|
]
|
|
3639
3801
|
}
|
|
3640
3802
|
],
|