@pairlobby/protocol 0.27.0 → 0.29.0
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/README.md +1 -1
- package/dist/directory.d.ts +25 -28
- package/dist/directory.d.ts.map +1 -1
- package/dist/directory.js +3 -5
- package/dist/directory.js.map +1 -1
- package/dist/events.d.ts +48 -0
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +2 -0
- package/dist/events.js.map +1 -1
- package/dist/http.d.ts +347 -1
- package/dist/http.d.ts.map +1 -1
- package/dist/http.js +9 -3
- package/dist/http.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/limits.d.ts +8 -1
- package/dist/limits.d.ts.map +1 -1
- package/dist/limits.js +7 -2
- package/dist/limits.js.map +1 -1
- package/dist/permissions.d.ts +7 -3
- package/dist/permissions.d.ts.map +1 -1
- package/dist/permissions.js +11 -5
- package/dist/permissions.js.map +1 -1
- package/dist/records.d.ts +167 -0
- package/dist/records.d.ts.map +1 -1
- package/dist/records.js +25 -4
- package/dist/records.js.map +1 -1
- package/dist/requests.d.ts +3 -0
- package/dist/requests.d.ts.map +1 -1
- package/dist/requests.js.map +1 -1
- package/dist/room-types.d.ts +26 -0
- package/dist/room-types.d.ts.map +1 -0
- package/dist/room-types.js +37 -0
- package/dist/room-types.js.map +1 -0
- package/dist/wire.d.ts +190 -0
- package/dist/wire.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/wire.d.ts
CHANGED
|
@@ -103,6 +103,22 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
103
103
|
acknowledgedRevision: z.ZodOptional<z.ZodNumber>;
|
|
104
104
|
interruptRequested: z.ZodOptional<z.ZodBoolean>;
|
|
105
105
|
member: z.ZodOptional<z.ZodString>;
|
|
106
|
+
origin: z.ZodOptional<z.ZodObject<{
|
|
107
|
+
directory: z.ZodLiteral<true>;
|
|
108
|
+
handle: z.ZodString;
|
|
109
|
+
listingId: z.ZodString;
|
|
110
|
+
contact: z.ZodEnum<["questions", "tasks"]>;
|
|
111
|
+
}, "strip", z.ZodTypeAny, {
|
|
112
|
+
handle: string;
|
|
113
|
+
directory: true;
|
|
114
|
+
listingId: string;
|
|
115
|
+
contact: "questions" | "tasks";
|
|
116
|
+
}, {
|
|
117
|
+
handle: string;
|
|
118
|
+
directory: true;
|
|
119
|
+
listingId: string;
|
|
120
|
+
contact: "questions" | "tasks";
|
|
121
|
+
}>>;
|
|
106
122
|
}, "strip", z.ZodTypeAny, {
|
|
107
123
|
participantId: string;
|
|
108
124
|
displayName: string;
|
|
@@ -134,6 +150,12 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
134
150
|
turns?: boolean | undefined;
|
|
135
151
|
} | undefined;
|
|
136
152
|
nameSource?: "room" | "profile" | undefined;
|
|
153
|
+
origin?: {
|
|
154
|
+
handle: string;
|
|
155
|
+
directory: true;
|
|
156
|
+
listingId: string;
|
|
157
|
+
contact: "questions" | "tasks";
|
|
158
|
+
} | undefined;
|
|
137
159
|
interruptRequested?: boolean | undefined;
|
|
138
160
|
acknowledgedRevision?: number | undefined;
|
|
139
161
|
}, {
|
|
@@ -167,10 +189,17 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
167
189
|
turns?: boolean | undefined;
|
|
168
190
|
} | undefined;
|
|
169
191
|
nameSource?: "room" | "profile" | undefined;
|
|
192
|
+
origin?: {
|
|
193
|
+
handle: string;
|
|
194
|
+
directory: true;
|
|
195
|
+
listingId: string;
|
|
196
|
+
contact: "questions" | "tasks";
|
|
197
|
+
} | undefined;
|
|
170
198
|
interruptRequested?: boolean | undefined;
|
|
171
199
|
acknowledgedRevision?: number | undefined;
|
|
172
200
|
}>, "many">;
|
|
173
201
|
policy: z.ZodObject<{
|
|
202
|
+
type: z.ZodOptional<z.ZodEnum<["public", "protected", "private", "personal"]>>;
|
|
174
203
|
joinPolicy: z.ZodDefault<z.ZodEnum<["invite_only", "open_to_guests"]>>;
|
|
175
204
|
inviteRole: z.ZodOptional<z.ZodEnum<["member", "guest"]>>;
|
|
176
205
|
autoClose: z.ZodOptional<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
@@ -253,6 +282,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
253
282
|
inviteLifetimeMs: number | null;
|
|
254
283
|
exportWindowMs: number;
|
|
255
284
|
connectTicketLifetimeMs: number;
|
|
285
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
256
286
|
maxFileBytes?: number | undefined;
|
|
257
287
|
autoClose?: {
|
|
258
288
|
mode: "off";
|
|
@@ -287,6 +317,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
287
317
|
inviteLifetimeMs: number | null;
|
|
288
318
|
exportWindowMs: number;
|
|
289
319
|
connectTicketLifetimeMs: number;
|
|
320
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
290
321
|
maxFileBytes?: number | undefined;
|
|
291
322
|
autoClose?: {
|
|
292
323
|
mode: "off";
|
|
@@ -331,6 +362,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
331
362
|
inviteLifetimeMs: number | null;
|
|
332
363
|
exportWindowMs: number;
|
|
333
364
|
connectTicketLifetimeMs: number;
|
|
365
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
334
366
|
maxFileBytes?: number | undefined;
|
|
335
367
|
autoClose?: {
|
|
336
368
|
mode: "off";
|
|
@@ -391,6 +423,12 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
391
423
|
turns?: boolean | undefined;
|
|
392
424
|
} | undefined;
|
|
393
425
|
nameSource?: "room" | "profile" | undefined;
|
|
426
|
+
origin?: {
|
|
427
|
+
handle: string;
|
|
428
|
+
directory: true;
|
|
429
|
+
listingId: string;
|
|
430
|
+
contact: "questions" | "tasks";
|
|
431
|
+
} | undefined;
|
|
394
432
|
interruptRequested?: boolean | undefined;
|
|
395
433
|
acknowledgedRevision?: number | undefined;
|
|
396
434
|
}[];
|
|
@@ -434,6 +472,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
434
472
|
inviteLifetimeMs: number | null;
|
|
435
473
|
exportWindowMs: number;
|
|
436
474
|
connectTicketLifetimeMs: number;
|
|
475
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
437
476
|
maxFileBytes?: number | undefined;
|
|
438
477
|
autoClose?: {
|
|
439
478
|
mode: "off";
|
|
@@ -495,6 +534,12 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
495
534
|
turns?: boolean | undefined;
|
|
496
535
|
} | undefined;
|
|
497
536
|
nameSource?: "room" | "profile" | undefined;
|
|
537
|
+
origin?: {
|
|
538
|
+
handle: string;
|
|
539
|
+
directory: true;
|
|
540
|
+
listingId: string;
|
|
541
|
+
contact: "questions" | "tasks";
|
|
542
|
+
} | undefined;
|
|
498
543
|
interruptRequested?: boolean | undefined;
|
|
499
544
|
acknowledgedRevision?: number | undefined;
|
|
500
545
|
}[];
|
|
@@ -543,6 +588,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
543
588
|
inviteLifetimeMs: number | null;
|
|
544
589
|
exportWindowMs: number;
|
|
545
590
|
connectTicketLifetimeMs: number;
|
|
591
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
546
592
|
maxFileBytes?: number | undefined;
|
|
547
593
|
autoClose?: {
|
|
548
594
|
mode: "off";
|
|
@@ -603,6 +649,12 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
603
649
|
turns?: boolean | undefined;
|
|
604
650
|
} | undefined;
|
|
605
651
|
nameSource?: "room" | "profile" | undefined;
|
|
652
|
+
origin?: {
|
|
653
|
+
handle: string;
|
|
654
|
+
directory: true;
|
|
655
|
+
listingId: string;
|
|
656
|
+
contact: "questions" | "tasks";
|
|
657
|
+
} | undefined;
|
|
606
658
|
interruptRequested?: boolean | undefined;
|
|
607
659
|
acknowledgedRevision?: number | undefined;
|
|
608
660
|
}[];
|
|
@@ -650,6 +702,7 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
650
702
|
inviteLifetimeMs: number | null;
|
|
651
703
|
exportWindowMs: number;
|
|
652
704
|
connectTicketLifetimeMs: number;
|
|
705
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
653
706
|
maxFileBytes?: number | undefined;
|
|
654
707
|
autoClose?: {
|
|
655
708
|
mode: "off";
|
|
@@ -711,6 +764,12 @@ export declare const ServerHello: z.ZodObject<{
|
|
|
711
764
|
turns?: boolean | undefined;
|
|
712
765
|
} | undefined;
|
|
713
766
|
nameSource?: "room" | "profile" | undefined;
|
|
767
|
+
origin?: {
|
|
768
|
+
handle: string;
|
|
769
|
+
directory: true;
|
|
770
|
+
listingId: string;
|
|
771
|
+
contact: "questions" | "tasks";
|
|
772
|
+
} | undefined;
|
|
714
773
|
interruptRequested?: boolean | undefined;
|
|
715
774
|
acknowledgedRevision?: number | undefined;
|
|
716
775
|
}[];
|
|
@@ -1794,6 +1853,30 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
1794
1853
|
payload: {
|
|
1795
1854
|
localJoin: boolean;
|
|
1796
1855
|
};
|
|
1856
|
+
}>, z.ZodObject<{
|
|
1857
|
+
type: z.ZodLiteral<"room.type_changed">;
|
|
1858
|
+
payload: z.ZodObject<{
|
|
1859
|
+
type: z.ZodEnum<["public", "protected", "private", "personal"]>;
|
|
1860
|
+
previous: z.ZodEnum<["public", "protected", "private", "personal"]>;
|
|
1861
|
+
}, "strip", z.ZodTypeAny, {
|
|
1862
|
+
type: "public" | "protected" | "private" | "personal";
|
|
1863
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
1864
|
+
}, {
|
|
1865
|
+
type: "public" | "protected" | "private" | "personal";
|
|
1866
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
1867
|
+
}>;
|
|
1868
|
+
}, "strip", z.ZodTypeAny, {
|
|
1869
|
+
type: "room.type_changed";
|
|
1870
|
+
payload: {
|
|
1871
|
+
type: "public" | "protected" | "private" | "personal";
|
|
1872
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
1873
|
+
};
|
|
1874
|
+
}, {
|
|
1875
|
+
type: "room.type_changed";
|
|
1876
|
+
payload: {
|
|
1877
|
+
type: "public" | "protected" | "private" | "personal";
|
|
1878
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
1879
|
+
};
|
|
1797
1880
|
}>, z.ZodObject<{
|
|
1798
1881
|
type: z.ZodLiteral<"room.invitation_changed">;
|
|
1799
1882
|
payload: z.ZodObject<{
|
|
@@ -2452,6 +2535,12 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
2452
2535
|
payload: {
|
|
2453
2536
|
localJoin: boolean;
|
|
2454
2537
|
};
|
|
2538
|
+
} | {
|
|
2539
|
+
type: "room.type_changed";
|
|
2540
|
+
payload: {
|
|
2541
|
+
type: "public" | "protected" | "private" | "personal";
|
|
2542
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
2543
|
+
};
|
|
2455
2544
|
} | {
|
|
2456
2545
|
type: "room.invitation_changed";
|
|
2457
2546
|
payload: {
|
|
@@ -2744,6 +2833,12 @@ export declare const ServerEventFrame: z.ZodObject<{
|
|
|
2744
2833
|
payload: {
|
|
2745
2834
|
localJoin: boolean;
|
|
2746
2835
|
};
|
|
2836
|
+
} | {
|
|
2837
|
+
type: "room.type_changed";
|
|
2838
|
+
payload: {
|
|
2839
|
+
type: "public" | "protected" | "private" | "personal";
|
|
2840
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
2841
|
+
};
|
|
2747
2842
|
} | {
|
|
2748
2843
|
type: "room.invitation_changed";
|
|
2749
2844
|
payload: {
|
|
@@ -2975,6 +3070,22 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
2975
3070
|
acknowledgedRevision: z.ZodOptional<z.ZodNumber>;
|
|
2976
3071
|
interruptRequested: z.ZodOptional<z.ZodBoolean>;
|
|
2977
3072
|
member: z.ZodOptional<z.ZodString>;
|
|
3073
|
+
origin: z.ZodOptional<z.ZodObject<{
|
|
3074
|
+
directory: z.ZodLiteral<true>;
|
|
3075
|
+
handle: z.ZodString;
|
|
3076
|
+
listingId: z.ZodString;
|
|
3077
|
+
contact: z.ZodEnum<["questions", "tasks"]>;
|
|
3078
|
+
}, "strip", z.ZodTypeAny, {
|
|
3079
|
+
handle: string;
|
|
3080
|
+
directory: true;
|
|
3081
|
+
listingId: string;
|
|
3082
|
+
contact: "questions" | "tasks";
|
|
3083
|
+
}, {
|
|
3084
|
+
handle: string;
|
|
3085
|
+
directory: true;
|
|
3086
|
+
listingId: string;
|
|
3087
|
+
contact: "questions" | "tasks";
|
|
3088
|
+
}>>;
|
|
2978
3089
|
}, "strip", z.ZodTypeAny, {
|
|
2979
3090
|
participantId: string;
|
|
2980
3091
|
displayName: string;
|
|
@@ -3006,6 +3117,12 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3006
3117
|
turns?: boolean | undefined;
|
|
3007
3118
|
} | undefined;
|
|
3008
3119
|
nameSource?: "room" | "profile" | undefined;
|
|
3120
|
+
origin?: {
|
|
3121
|
+
handle: string;
|
|
3122
|
+
directory: true;
|
|
3123
|
+
listingId: string;
|
|
3124
|
+
contact: "questions" | "tasks";
|
|
3125
|
+
} | undefined;
|
|
3009
3126
|
interruptRequested?: boolean | undefined;
|
|
3010
3127
|
acknowledgedRevision?: number | undefined;
|
|
3011
3128
|
}, {
|
|
@@ -3039,10 +3156,17 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3039
3156
|
turns?: boolean | undefined;
|
|
3040
3157
|
} | undefined;
|
|
3041
3158
|
nameSource?: "room" | "profile" | undefined;
|
|
3159
|
+
origin?: {
|
|
3160
|
+
handle: string;
|
|
3161
|
+
directory: true;
|
|
3162
|
+
listingId: string;
|
|
3163
|
+
contact: "questions" | "tasks";
|
|
3164
|
+
} | undefined;
|
|
3042
3165
|
interruptRequested?: boolean | undefined;
|
|
3043
3166
|
acknowledgedRevision?: number | undefined;
|
|
3044
3167
|
}>, "many">;
|
|
3045
3168
|
policy: z.ZodObject<{
|
|
3169
|
+
type: z.ZodOptional<z.ZodEnum<["public", "protected", "private", "personal"]>>;
|
|
3046
3170
|
joinPolicy: z.ZodDefault<z.ZodEnum<["invite_only", "open_to_guests"]>>;
|
|
3047
3171
|
inviteRole: z.ZodOptional<z.ZodEnum<["member", "guest"]>>;
|
|
3048
3172
|
autoClose: z.ZodOptional<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
@@ -3125,6 +3249,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3125
3249
|
inviteLifetimeMs: number | null;
|
|
3126
3250
|
exportWindowMs: number;
|
|
3127
3251
|
connectTicketLifetimeMs: number;
|
|
3252
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
3128
3253
|
maxFileBytes?: number | undefined;
|
|
3129
3254
|
autoClose?: {
|
|
3130
3255
|
mode: "off";
|
|
@@ -3159,6 +3284,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3159
3284
|
inviteLifetimeMs: number | null;
|
|
3160
3285
|
exportWindowMs: number;
|
|
3161
3286
|
connectTicketLifetimeMs: number;
|
|
3287
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
3162
3288
|
maxFileBytes?: number | undefined;
|
|
3163
3289
|
autoClose?: {
|
|
3164
3290
|
mode: "off";
|
|
@@ -3203,6 +3329,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3203
3329
|
inviteLifetimeMs: number | null;
|
|
3204
3330
|
exportWindowMs: number;
|
|
3205
3331
|
connectTicketLifetimeMs: number;
|
|
3332
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
3206
3333
|
maxFileBytes?: number | undefined;
|
|
3207
3334
|
autoClose?: {
|
|
3208
3335
|
mode: "off";
|
|
@@ -3263,6 +3390,12 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3263
3390
|
turns?: boolean | undefined;
|
|
3264
3391
|
} | undefined;
|
|
3265
3392
|
nameSource?: "room" | "profile" | undefined;
|
|
3393
|
+
origin?: {
|
|
3394
|
+
handle: string;
|
|
3395
|
+
directory: true;
|
|
3396
|
+
listingId: string;
|
|
3397
|
+
contact: "questions" | "tasks";
|
|
3398
|
+
} | undefined;
|
|
3266
3399
|
interruptRequested?: boolean | undefined;
|
|
3267
3400
|
acknowledgedRevision?: number | undefined;
|
|
3268
3401
|
}[];
|
|
@@ -3306,6 +3439,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3306
3439
|
inviteLifetimeMs: number | null;
|
|
3307
3440
|
exportWindowMs: number;
|
|
3308
3441
|
connectTicketLifetimeMs: number;
|
|
3442
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
3309
3443
|
maxFileBytes?: number | undefined;
|
|
3310
3444
|
autoClose?: {
|
|
3311
3445
|
mode: "off";
|
|
@@ -3367,6 +3501,12 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3367
3501
|
turns?: boolean | undefined;
|
|
3368
3502
|
} | undefined;
|
|
3369
3503
|
nameSource?: "room" | "profile" | undefined;
|
|
3504
|
+
origin?: {
|
|
3505
|
+
handle: string;
|
|
3506
|
+
directory: true;
|
|
3507
|
+
listingId: string;
|
|
3508
|
+
contact: "questions" | "tasks";
|
|
3509
|
+
} | undefined;
|
|
3370
3510
|
interruptRequested?: boolean | undefined;
|
|
3371
3511
|
acknowledgedRevision?: number | undefined;
|
|
3372
3512
|
}[];
|
|
@@ -3415,6 +3555,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3415
3555
|
inviteLifetimeMs: number | null;
|
|
3416
3556
|
exportWindowMs: number;
|
|
3417
3557
|
connectTicketLifetimeMs: number;
|
|
3558
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
3418
3559
|
maxFileBytes?: number | undefined;
|
|
3419
3560
|
autoClose?: {
|
|
3420
3561
|
mode: "off";
|
|
@@ -3475,6 +3616,12 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3475
3616
|
turns?: boolean | undefined;
|
|
3476
3617
|
} | undefined;
|
|
3477
3618
|
nameSource?: "room" | "profile" | undefined;
|
|
3619
|
+
origin?: {
|
|
3620
|
+
handle: string;
|
|
3621
|
+
directory: true;
|
|
3622
|
+
listingId: string;
|
|
3623
|
+
contact: "questions" | "tasks";
|
|
3624
|
+
} | undefined;
|
|
3478
3625
|
interruptRequested?: boolean | undefined;
|
|
3479
3626
|
acknowledgedRevision?: number | undefined;
|
|
3480
3627
|
}[];
|
|
@@ -3522,6 +3669,7 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3522
3669
|
inviteLifetimeMs: number | null;
|
|
3523
3670
|
exportWindowMs: number;
|
|
3524
3671
|
connectTicketLifetimeMs: number;
|
|
3672
|
+
type?: "public" | "protected" | "private" | "personal" | undefined;
|
|
3525
3673
|
maxFileBytes?: number | undefined;
|
|
3526
3674
|
autoClose?: {
|
|
3527
3675
|
mode: "off";
|
|
@@ -3583,6 +3731,12 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
3583
3731
|
turns?: boolean | undefined;
|
|
3584
3732
|
} | undefined;
|
|
3585
3733
|
nameSource?: "room" | "profile" | undefined;
|
|
3734
|
+
origin?: {
|
|
3735
|
+
handle: string;
|
|
3736
|
+
directory: true;
|
|
3737
|
+
listingId: string;
|
|
3738
|
+
contact: "questions" | "tasks";
|
|
3739
|
+
} | undefined;
|
|
3586
3740
|
interruptRequested?: boolean | undefined;
|
|
3587
3741
|
acknowledgedRevision?: number | undefined;
|
|
3588
3742
|
}[];
|
|
@@ -4665,6 +4819,30 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
4665
4819
|
payload: {
|
|
4666
4820
|
localJoin: boolean;
|
|
4667
4821
|
};
|
|
4822
|
+
}>, z.ZodObject<{
|
|
4823
|
+
type: z.ZodLiteral<"room.type_changed">;
|
|
4824
|
+
payload: z.ZodObject<{
|
|
4825
|
+
type: z.ZodEnum<["public", "protected", "private", "personal"]>;
|
|
4826
|
+
previous: z.ZodEnum<["public", "protected", "private", "personal"]>;
|
|
4827
|
+
}, "strip", z.ZodTypeAny, {
|
|
4828
|
+
type: "public" | "protected" | "private" | "personal";
|
|
4829
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
4830
|
+
}, {
|
|
4831
|
+
type: "public" | "protected" | "private" | "personal";
|
|
4832
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
4833
|
+
}>;
|
|
4834
|
+
}, "strip", z.ZodTypeAny, {
|
|
4835
|
+
type: "room.type_changed";
|
|
4836
|
+
payload: {
|
|
4837
|
+
type: "public" | "protected" | "private" | "personal";
|
|
4838
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
4839
|
+
};
|
|
4840
|
+
}, {
|
|
4841
|
+
type: "room.type_changed";
|
|
4842
|
+
payload: {
|
|
4843
|
+
type: "public" | "protected" | "private" | "personal";
|
|
4844
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
4845
|
+
};
|
|
4668
4846
|
}>, z.ZodObject<{
|
|
4669
4847
|
type: z.ZodLiteral<"room.invitation_changed">;
|
|
4670
4848
|
payload: z.ZodObject<{
|
|
@@ -5323,6 +5501,12 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
5323
5501
|
payload: {
|
|
5324
5502
|
localJoin: boolean;
|
|
5325
5503
|
};
|
|
5504
|
+
} | {
|
|
5505
|
+
type: "room.type_changed";
|
|
5506
|
+
payload: {
|
|
5507
|
+
type: "public" | "protected" | "private" | "personal";
|
|
5508
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
5509
|
+
};
|
|
5326
5510
|
} | {
|
|
5327
5511
|
type: "room.invitation_changed";
|
|
5328
5512
|
payload: {
|
|
@@ -5615,6 +5799,12 @@ export declare const ServerFrame: z.ZodUnion<[z.ZodObject<{
|
|
|
5615
5799
|
payload: {
|
|
5616
5800
|
localJoin: boolean;
|
|
5617
5801
|
};
|
|
5802
|
+
} | {
|
|
5803
|
+
type: "room.type_changed";
|
|
5804
|
+
payload: {
|
|
5805
|
+
type: "public" | "protected" | "private" | "personal";
|
|
5806
|
+
previous: "public" | "protected" | "private" | "personal";
|
|
5807
|
+
};
|
|
5618
5808
|
} | {
|
|
5619
5809
|
type: "room.invitation_changed";
|
|
5620
5810
|
payload: {
|
package/dist/wire.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wire.d.ts","sourceRoot":"","sources":["../src/wire.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAMtB;;;;GAIG;AACH,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"wire.d.ts","sourceRoot":"","sources":["../src/wire.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAMtB;;;;GAIG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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