@epic-web/workshop-presence 6.49.2 → 6.50.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/dist/presence.d.ts +59 -0
- package/dist/presence.js +2 -0
- package/dist/presence.server.d.ts +6 -0
- package/package.json +2 -2
package/dist/presence.d.ts
CHANGED
|
@@ -58,6 +58,7 @@ export declare const LocationSchema: z.ZodObject<{
|
|
|
58
58
|
localCommit?: string | null | undefined;
|
|
59
59
|
remoteCommit?: string | null | undefined;
|
|
60
60
|
}>>>;
|
|
61
|
+
lastUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
62
|
}, "strip", z.ZodTypeAny, {
|
|
62
63
|
workshopTitle?: string | null | undefined;
|
|
63
64
|
origin?: string | null | undefined;
|
|
@@ -75,6 +76,7 @@ export declare const LocationSchema: z.ZodObject<{
|
|
|
75
76
|
localCommit?: string | null | undefined;
|
|
76
77
|
remoteCommit?: string | null | undefined;
|
|
77
78
|
} | null | undefined;
|
|
79
|
+
lastUpdatedAt?: string | null | undefined;
|
|
78
80
|
}, {
|
|
79
81
|
workshopTitle?: string | null | undefined;
|
|
80
82
|
origin?: string | null | undefined;
|
|
@@ -92,6 +94,7 @@ export declare const LocationSchema: z.ZodObject<{
|
|
|
92
94
|
localCommit?: string | null | undefined;
|
|
93
95
|
remoteCommit?: string | null | undefined;
|
|
94
96
|
} | null | undefined;
|
|
97
|
+
lastUpdatedAt?: string | null | undefined;
|
|
95
98
|
}>;
|
|
96
99
|
export type Location = z.infer<typeof LocationSchema>;
|
|
97
100
|
export declare const UserSchema: z.ZodObject<{
|
|
@@ -140,6 +143,7 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
140
143
|
localCommit?: string | null | undefined;
|
|
141
144
|
remoteCommit?: string | null | undefined;
|
|
142
145
|
}>>>;
|
|
146
|
+
lastUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
143
147
|
}, "strip", z.ZodTypeAny, {
|
|
144
148
|
workshopTitle?: string | null | undefined;
|
|
145
149
|
origin?: string | null | undefined;
|
|
@@ -157,6 +161,7 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
157
161
|
localCommit?: string | null | undefined;
|
|
158
162
|
remoteCommit?: string | null | undefined;
|
|
159
163
|
} | null | undefined;
|
|
164
|
+
lastUpdatedAt?: string | null | undefined;
|
|
160
165
|
}, {
|
|
161
166
|
workshopTitle?: string | null | undefined;
|
|
162
167
|
origin?: string | null | undefined;
|
|
@@ -174,6 +179,7 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
174
179
|
localCommit?: string | null | undefined;
|
|
175
180
|
remoteCommit?: string | null | undefined;
|
|
176
181
|
} | null | undefined;
|
|
182
|
+
lastUpdatedAt?: string | null | undefined;
|
|
177
183
|
}>>>;
|
|
178
184
|
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
179
185
|
workshopTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -212,6 +218,7 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
212
218
|
localCommit?: string | null | undefined;
|
|
213
219
|
remoteCommit?: string | null | undefined;
|
|
214
220
|
}>>>;
|
|
221
|
+
lastUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
215
222
|
}, "strip", z.ZodTypeAny, {
|
|
216
223
|
workshopTitle?: string | null | undefined;
|
|
217
224
|
origin?: string | null | undefined;
|
|
@@ -229,6 +236,7 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
229
236
|
localCommit?: string | null | undefined;
|
|
230
237
|
remoteCommit?: string | null | undefined;
|
|
231
238
|
} | null | undefined;
|
|
239
|
+
lastUpdatedAt?: string | null | undefined;
|
|
232
240
|
}, {
|
|
233
241
|
workshopTitle?: string | null | undefined;
|
|
234
242
|
origin?: string | null | undefined;
|
|
@@ -246,6 +254,7 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
246
254
|
localCommit?: string | null | undefined;
|
|
247
255
|
remoteCommit?: string | null | undefined;
|
|
248
256
|
} | null | undefined;
|
|
257
|
+
lastUpdatedAt?: string | null | undefined;
|
|
249
258
|
}>, "many">>>;
|
|
250
259
|
}, "strip", z.ZodTypeAny, {
|
|
251
260
|
id: string;
|
|
@@ -273,6 +282,7 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
273
282
|
localCommit?: string | null | undefined;
|
|
274
283
|
remoteCommit?: string | null | undefined;
|
|
275
284
|
} | null | undefined;
|
|
285
|
+
lastUpdatedAt?: string | null | undefined;
|
|
276
286
|
} | null | undefined;
|
|
277
287
|
locations?: {
|
|
278
288
|
workshopTitle?: string | null | undefined;
|
|
@@ -291,6 +301,7 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
291
301
|
localCommit?: string | null | undefined;
|
|
292
302
|
remoteCommit?: string | null | undefined;
|
|
293
303
|
} | null | undefined;
|
|
304
|
+
lastUpdatedAt?: string | null | undefined;
|
|
294
305
|
}[] | null | undefined;
|
|
295
306
|
}, {
|
|
296
307
|
id: string;
|
|
@@ -318,6 +329,7 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
318
329
|
localCommit?: string | null | undefined;
|
|
319
330
|
remoteCommit?: string | null | undefined;
|
|
320
331
|
} | null | undefined;
|
|
332
|
+
lastUpdatedAt?: string | null | undefined;
|
|
321
333
|
} | null | undefined;
|
|
322
334
|
locations?: {
|
|
323
335
|
workshopTitle?: string | null | undefined;
|
|
@@ -336,6 +348,7 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
336
348
|
localCommit?: string | null | undefined;
|
|
337
349
|
remoteCommit?: string | null | undefined;
|
|
338
350
|
} | null | undefined;
|
|
351
|
+
lastUpdatedAt?: string | null | undefined;
|
|
339
352
|
}[] | null | undefined;
|
|
340
353
|
}>;
|
|
341
354
|
export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
@@ -405,6 +418,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
405
418
|
localCommit?: string | null | undefined;
|
|
406
419
|
remoteCommit?: string | null | undefined;
|
|
407
420
|
}>>>;
|
|
421
|
+
lastUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
408
422
|
}, "strip", z.ZodTypeAny, {
|
|
409
423
|
workshopTitle?: string | null | undefined;
|
|
410
424
|
origin?: string | null | undefined;
|
|
@@ -422,6 +436,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
422
436
|
localCommit?: string | null | undefined;
|
|
423
437
|
remoteCommit?: string | null | undefined;
|
|
424
438
|
} | null | undefined;
|
|
439
|
+
lastUpdatedAt?: string | null | undefined;
|
|
425
440
|
}, {
|
|
426
441
|
workshopTitle?: string | null | undefined;
|
|
427
442
|
origin?: string | null | undefined;
|
|
@@ -439,6 +454,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
439
454
|
localCommit?: string | null | undefined;
|
|
440
455
|
remoteCommit?: string | null | undefined;
|
|
441
456
|
} | null | undefined;
|
|
457
|
+
lastUpdatedAt?: string | null | undefined;
|
|
442
458
|
}>>>;
|
|
443
459
|
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
444
460
|
workshopTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -477,6 +493,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
477
493
|
localCommit?: string | null | undefined;
|
|
478
494
|
remoteCommit?: string | null | undefined;
|
|
479
495
|
}>>>;
|
|
496
|
+
lastUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
480
497
|
}, "strip", z.ZodTypeAny, {
|
|
481
498
|
workshopTitle?: string | null | undefined;
|
|
482
499
|
origin?: string | null | undefined;
|
|
@@ -494,6 +511,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
494
511
|
localCommit?: string | null | undefined;
|
|
495
512
|
remoteCommit?: string | null | undefined;
|
|
496
513
|
} | null | undefined;
|
|
514
|
+
lastUpdatedAt?: string | null | undefined;
|
|
497
515
|
}, {
|
|
498
516
|
workshopTitle?: string | null | undefined;
|
|
499
517
|
origin?: string | null | undefined;
|
|
@@ -511,6 +529,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
511
529
|
localCommit?: string | null | undefined;
|
|
512
530
|
remoteCommit?: string | null | undefined;
|
|
513
531
|
} | null | undefined;
|
|
532
|
+
lastUpdatedAt?: string | null | undefined;
|
|
514
533
|
}>, "many">>>;
|
|
515
534
|
}, "strip", z.ZodTypeAny, {
|
|
516
535
|
id: string;
|
|
@@ -538,6 +557,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
538
557
|
localCommit?: string | null | undefined;
|
|
539
558
|
remoteCommit?: string | null | undefined;
|
|
540
559
|
} | null | undefined;
|
|
560
|
+
lastUpdatedAt?: string | null | undefined;
|
|
541
561
|
} | null | undefined;
|
|
542
562
|
locations?: {
|
|
543
563
|
workshopTitle?: string | null | undefined;
|
|
@@ -556,6 +576,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
556
576
|
localCommit?: string | null | undefined;
|
|
557
577
|
remoteCommit?: string | null | undefined;
|
|
558
578
|
} | null | undefined;
|
|
579
|
+
lastUpdatedAt?: string | null | undefined;
|
|
559
580
|
}[] | null | undefined;
|
|
560
581
|
}, {
|
|
561
582
|
id: string;
|
|
@@ -583,6 +604,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
583
604
|
localCommit?: string | null | undefined;
|
|
584
605
|
remoteCommit?: string | null | undefined;
|
|
585
606
|
} | null | undefined;
|
|
607
|
+
lastUpdatedAt?: string | null | undefined;
|
|
586
608
|
} | null | undefined;
|
|
587
609
|
locations?: {
|
|
588
610
|
workshopTitle?: string | null | undefined;
|
|
@@ -601,6 +623,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
601
623
|
localCommit?: string | null | undefined;
|
|
602
624
|
remoteCommit?: string | null | undefined;
|
|
603
625
|
} | null | undefined;
|
|
626
|
+
lastUpdatedAt?: string | null | undefined;
|
|
604
627
|
}[] | null | undefined;
|
|
605
628
|
}>;
|
|
606
629
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -631,6 +654,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
631
654
|
localCommit?: string | null | undefined;
|
|
632
655
|
remoteCommit?: string | null | undefined;
|
|
633
656
|
} | null | undefined;
|
|
657
|
+
lastUpdatedAt?: string | null | undefined;
|
|
634
658
|
} | null | undefined;
|
|
635
659
|
locations?: {
|
|
636
660
|
workshopTitle?: string | null | undefined;
|
|
@@ -649,6 +673,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
649
673
|
localCommit?: string | null | undefined;
|
|
650
674
|
remoteCommit?: string | null | undefined;
|
|
651
675
|
} | null | undefined;
|
|
676
|
+
lastUpdatedAt?: string | null | undefined;
|
|
652
677
|
}[] | null | undefined;
|
|
653
678
|
};
|
|
654
679
|
}, {
|
|
@@ -679,6 +704,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
679
704
|
localCommit?: string | null | undefined;
|
|
680
705
|
remoteCommit?: string | null | undefined;
|
|
681
706
|
} | null | undefined;
|
|
707
|
+
lastUpdatedAt?: string | null | undefined;
|
|
682
708
|
} | null | undefined;
|
|
683
709
|
locations?: {
|
|
684
710
|
workshopTitle?: string | null | undefined;
|
|
@@ -697,6 +723,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
697
723
|
localCommit?: string | null | undefined;
|
|
698
724
|
remoteCommit?: string | null | undefined;
|
|
699
725
|
} | null | undefined;
|
|
726
|
+
lastUpdatedAt?: string | null | undefined;
|
|
700
727
|
}[] | null | undefined;
|
|
701
728
|
};
|
|
702
729
|
}>]>, z.ZodObject<{
|
|
@@ -748,6 +775,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
748
775
|
localCommit?: string | null | undefined;
|
|
749
776
|
remoteCommit?: string | null | undefined;
|
|
750
777
|
}>>>;
|
|
778
|
+
lastUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
751
779
|
}, "strip", z.ZodTypeAny, {
|
|
752
780
|
workshopTitle?: string | null | undefined;
|
|
753
781
|
origin?: string | null | undefined;
|
|
@@ -765,6 +793,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
765
793
|
localCommit?: string | null | undefined;
|
|
766
794
|
remoteCommit?: string | null | undefined;
|
|
767
795
|
} | null | undefined;
|
|
796
|
+
lastUpdatedAt?: string | null | undefined;
|
|
768
797
|
}, {
|
|
769
798
|
workshopTitle?: string | null | undefined;
|
|
770
799
|
origin?: string | null | undefined;
|
|
@@ -782,6 +811,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
782
811
|
localCommit?: string | null | undefined;
|
|
783
812
|
remoteCommit?: string | null | undefined;
|
|
784
813
|
} | null | undefined;
|
|
814
|
+
lastUpdatedAt?: string | null | undefined;
|
|
785
815
|
}>>>;
|
|
786
816
|
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
787
817
|
workshopTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -820,6 +850,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
820
850
|
localCommit?: string | null | undefined;
|
|
821
851
|
remoteCommit?: string | null | undefined;
|
|
822
852
|
}>>>;
|
|
853
|
+
lastUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
823
854
|
}, "strip", z.ZodTypeAny, {
|
|
824
855
|
workshopTitle?: string | null | undefined;
|
|
825
856
|
origin?: string | null | undefined;
|
|
@@ -837,6 +868,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
837
868
|
localCommit?: string | null | undefined;
|
|
838
869
|
remoteCommit?: string | null | undefined;
|
|
839
870
|
} | null | undefined;
|
|
871
|
+
lastUpdatedAt?: string | null | undefined;
|
|
840
872
|
}, {
|
|
841
873
|
workshopTitle?: string | null | undefined;
|
|
842
874
|
origin?: string | null | undefined;
|
|
@@ -854,6 +886,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
854
886
|
localCommit?: string | null | undefined;
|
|
855
887
|
remoteCommit?: string | null | undefined;
|
|
856
888
|
} | null | undefined;
|
|
889
|
+
lastUpdatedAt?: string | null | undefined;
|
|
857
890
|
}>, "many">>>;
|
|
858
891
|
}, "strip", z.ZodTypeAny, {
|
|
859
892
|
id: string;
|
|
@@ -881,6 +914,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
881
914
|
localCommit?: string | null | undefined;
|
|
882
915
|
remoteCommit?: string | null | undefined;
|
|
883
916
|
} | null | undefined;
|
|
917
|
+
lastUpdatedAt?: string | null | undefined;
|
|
884
918
|
} | null | undefined;
|
|
885
919
|
locations?: {
|
|
886
920
|
workshopTitle?: string | null | undefined;
|
|
@@ -899,6 +933,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
899
933
|
localCommit?: string | null | undefined;
|
|
900
934
|
remoteCommit?: string | null | undefined;
|
|
901
935
|
} | null | undefined;
|
|
936
|
+
lastUpdatedAt?: string | null | undefined;
|
|
902
937
|
}[] | null | undefined;
|
|
903
938
|
}, {
|
|
904
939
|
id: string;
|
|
@@ -926,6 +961,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
926
961
|
localCommit?: string | null | undefined;
|
|
927
962
|
remoteCommit?: string | null | undefined;
|
|
928
963
|
} | null | undefined;
|
|
964
|
+
lastUpdatedAt?: string | null | undefined;
|
|
929
965
|
} | null | undefined;
|
|
930
966
|
locations?: {
|
|
931
967
|
workshopTitle?: string | null | undefined;
|
|
@@ -944,6 +980,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
944
980
|
localCommit?: string | null | undefined;
|
|
945
981
|
remoteCommit?: string | null | undefined;
|
|
946
982
|
} | null | undefined;
|
|
983
|
+
lastUpdatedAt?: string | null | undefined;
|
|
947
984
|
}[] | null | undefined;
|
|
948
985
|
}>, "many">;
|
|
949
986
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -973,6 +1010,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
973
1010
|
localCommit?: string | null | undefined;
|
|
974
1011
|
remoteCommit?: string | null | undefined;
|
|
975
1012
|
} | null | undefined;
|
|
1013
|
+
lastUpdatedAt?: string | null | undefined;
|
|
976
1014
|
} | null | undefined;
|
|
977
1015
|
locations?: {
|
|
978
1016
|
workshopTitle?: string | null | undefined;
|
|
@@ -991,6 +1029,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
991
1029
|
localCommit?: string | null | undefined;
|
|
992
1030
|
remoteCommit?: string | null | undefined;
|
|
993
1031
|
} | null | undefined;
|
|
1032
|
+
lastUpdatedAt?: string | null | undefined;
|
|
994
1033
|
}[] | null | undefined;
|
|
995
1034
|
}[];
|
|
996
1035
|
}, {
|
|
@@ -1020,6 +1059,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1020
1059
|
localCommit?: string | null | undefined;
|
|
1021
1060
|
remoteCommit?: string | null | undefined;
|
|
1022
1061
|
} | null | undefined;
|
|
1062
|
+
lastUpdatedAt?: string | null | undefined;
|
|
1023
1063
|
} | null | undefined;
|
|
1024
1064
|
locations?: {
|
|
1025
1065
|
workshopTitle?: string | null | undefined;
|
|
@@ -1038,6 +1078,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1038
1078
|
localCommit?: string | null | undefined;
|
|
1039
1079
|
remoteCommit?: string | null | undefined;
|
|
1040
1080
|
} | null | undefined;
|
|
1081
|
+
lastUpdatedAt?: string | null | undefined;
|
|
1041
1082
|
}[] | null | undefined;
|
|
1042
1083
|
}[];
|
|
1043
1084
|
}>;
|
|
@@ -1070,6 +1111,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1070
1111
|
localCommit?: string | null | undefined;
|
|
1071
1112
|
remoteCommit?: string | null | undefined;
|
|
1072
1113
|
} | null | undefined;
|
|
1114
|
+
lastUpdatedAt?: string | null | undefined;
|
|
1073
1115
|
} | null | undefined;
|
|
1074
1116
|
locations?: {
|
|
1075
1117
|
workshopTitle?: string | null | undefined;
|
|
@@ -1088,6 +1130,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1088
1130
|
localCommit?: string | null | undefined;
|
|
1089
1131
|
remoteCommit?: string | null | undefined;
|
|
1090
1132
|
} | null | undefined;
|
|
1133
|
+
lastUpdatedAt?: string | null | undefined;
|
|
1091
1134
|
}[] | null | undefined;
|
|
1092
1135
|
}[];
|
|
1093
1136
|
};
|
|
@@ -1120,6 +1163,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1120
1163
|
localCommit?: string | null | undefined;
|
|
1121
1164
|
remoteCommit?: string | null | undefined;
|
|
1122
1165
|
} | null | undefined;
|
|
1166
|
+
lastUpdatedAt?: string | null | undefined;
|
|
1123
1167
|
} | null | undefined;
|
|
1124
1168
|
locations?: {
|
|
1125
1169
|
workshopTitle?: string | null | undefined;
|
|
@@ -1138,6 +1182,7 @@ export declare const MessageSchema: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1138
1182
|
localCommit?: string | null | undefined;
|
|
1139
1183
|
remoteCommit?: string | null | undefined;
|
|
1140
1184
|
} | null | undefined;
|
|
1185
|
+
lastUpdatedAt?: string | null | undefined;
|
|
1141
1186
|
}[] | null | undefined;
|
|
1142
1187
|
}[];
|
|
1143
1188
|
};
|
|
@@ -1191,6 +1236,7 @@ export declare const PresenceSchema: z.ZodObject<{
|
|
|
1191
1236
|
localCommit?: string | null | undefined;
|
|
1192
1237
|
remoteCommit?: string | null | undefined;
|
|
1193
1238
|
}>>>;
|
|
1239
|
+
lastUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1194
1240
|
}, "strip", z.ZodTypeAny, {
|
|
1195
1241
|
workshopTitle?: string | null | undefined;
|
|
1196
1242
|
origin?: string | null | undefined;
|
|
@@ -1208,6 +1254,7 @@ export declare const PresenceSchema: z.ZodObject<{
|
|
|
1208
1254
|
localCommit?: string | null | undefined;
|
|
1209
1255
|
remoteCommit?: string | null | undefined;
|
|
1210
1256
|
} | null | undefined;
|
|
1257
|
+
lastUpdatedAt?: string | null | undefined;
|
|
1211
1258
|
}, {
|
|
1212
1259
|
workshopTitle?: string | null | undefined;
|
|
1213
1260
|
origin?: string | null | undefined;
|
|
@@ -1225,6 +1272,7 @@ export declare const PresenceSchema: z.ZodObject<{
|
|
|
1225
1272
|
localCommit?: string | null | undefined;
|
|
1226
1273
|
remoteCommit?: string | null | undefined;
|
|
1227
1274
|
} | null | undefined;
|
|
1275
|
+
lastUpdatedAt?: string | null | undefined;
|
|
1228
1276
|
}>>>;
|
|
1229
1277
|
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1230
1278
|
workshopTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1263,6 +1311,7 @@ export declare const PresenceSchema: z.ZodObject<{
|
|
|
1263
1311
|
localCommit?: string | null | undefined;
|
|
1264
1312
|
remoteCommit?: string | null | undefined;
|
|
1265
1313
|
}>>>;
|
|
1314
|
+
lastUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1266
1315
|
}, "strip", z.ZodTypeAny, {
|
|
1267
1316
|
workshopTitle?: string | null | undefined;
|
|
1268
1317
|
origin?: string | null | undefined;
|
|
@@ -1280,6 +1329,7 @@ export declare const PresenceSchema: z.ZodObject<{
|
|
|
1280
1329
|
localCommit?: string | null | undefined;
|
|
1281
1330
|
remoteCommit?: string | null | undefined;
|
|
1282
1331
|
} | null | undefined;
|
|
1332
|
+
lastUpdatedAt?: string | null | undefined;
|
|
1283
1333
|
}, {
|
|
1284
1334
|
workshopTitle?: string | null | undefined;
|
|
1285
1335
|
origin?: string | null | undefined;
|
|
@@ -1297,6 +1347,7 @@ export declare const PresenceSchema: z.ZodObject<{
|
|
|
1297
1347
|
localCommit?: string | null | undefined;
|
|
1298
1348
|
remoteCommit?: string | null | undefined;
|
|
1299
1349
|
} | null | undefined;
|
|
1350
|
+
lastUpdatedAt?: string | null | undefined;
|
|
1300
1351
|
}>, "many">>>;
|
|
1301
1352
|
}, "strip", z.ZodTypeAny, {
|
|
1302
1353
|
id: string;
|
|
@@ -1324,6 +1375,7 @@ export declare const PresenceSchema: z.ZodObject<{
|
|
|
1324
1375
|
localCommit?: string | null | undefined;
|
|
1325
1376
|
remoteCommit?: string | null | undefined;
|
|
1326
1377
|
} | null | undefined;
|
|
1378
|
+
lastUpdatedAt?: string | null | undefined;
|
|
1327
1379
|
} | null | undefined;
|
|
1328
1380
|
locations?: {
|
|
1329
1381
|
workshopTitle?: string | null | undefined;
|
|
@@ -1342,6 +1394,7 @@ export declare const PresenceSchema: z.ZodObject<{
|
|
|
1342
1394
|
localCommit?: string | null | undefined;
|
|
1343
1395
|
remoteCommit?: string | null | undefined;
|
|
1344
1396
|
} | null | undefined;
|
|
1397
|
+
lastUpdatedAt?: string | null | undefined;
|
|
1345
1398
|
}[] | null | undefined;
|
|
1346
1399
|
}, {
|
|
1347
1400
|
id: string;
|
|
@@ -1369,6 +1422,7 @@ export declare const PresenceSchema: z.ZodObject<{
|
|
|
1369
1422
|
localCommit?: string | null | undefined;
|
|
1370
1423
|
remoteCommit?: string | null | undefined;
|
|
1371
1424
|
} | null | undefined;
|
|
1425
|
+
lastUpdatedAt?: string | null | undefined;
|
|
1372
1426
|
} | null | undefined;
|
|
1373
1427
|
locations?: {
|
|
1374
1428
|
workshopTitle?: string | null | undefined;
|
|
@@ -1387,6 +1441,7 @@ export declare const PresenceSchema: z.ZodObject<{
|
|
|
1387
1441
|
localCommit?: string | null | undefined;
|
|
1388
1442
|
remoteCommit?: string | null | undefined;
|
|
1389
1443
|
} | null | undefined;
|
|
1444
|
+
lastUpdatedAt?: string | null | undefined;
|
|
1390
1445
|
}[] | null | undefined;
|
|
1391
1446
|
}>, "many">;
|
|
1392
1447
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1416,6 +1471,7 @@ export declare const PresenceSchema: z.ZodObject<{
|
|
|
1416
1471
|
localCommit?: string | null | undefined;
|
|
1417
1472
|
remoteCommit?: string | null | undefined;
|
|
1418
1473
|
} | null | undefined;
|
|
1474
|
+
lastUpdatedAt?: string | null | undefined;
|
|
1419
1475
|
} | null | undefined;
|
|
1420
1476
|
locations?: {
|
|
1421
1477
|
workshopTitle?: string | null | undefined;
|
|
@@ -1434,6 +1490,7 @@ export declare const PresenceSchema: z.ZodObject<{
|
|
|
1434
1490
|
localCommit?: string | null | undefined;
|
|
1435
1491
|
remoteCommit?: string | null | undefined;
|
|
1436
1492
|
} | null | undefined;
|
|
1493
|
+
lastUpdatedAt?: string | null | undefined;
|
|
1437
1494
|
}[] | null | undefined;
|
|
1438
1495
|
}[];
|
|
1439
1496
|
}, {
|
|
@@ -1463,6 +1520,7 @@ export declare const PresenceSchema: z.ZodObject<{
|
|
|
1463
1520
|
localCommit?: string | null | undefined;
|
|
1464
1521
|
remoteCommit?: string | null | undefined;
|
|
1465
1522
|
} | null | undefined;
|
|
1523
|
+
lastUpdatedAt?: string | null | undefined;
|
|
1466
1524
|
} | null | undefined;
|
|
1467
1525
|
locations?: {
|
|
1468
1526
|
workshopTitle?: string | null | undefined;
|
|
@@ -1481,6 +1539,7 @@ export declare const PresenceSchema: z.ZodObject<{
|
|
|
1481
1539
|
localCommit?: string | null | undefined;
|
|
1482
1540
|
remoteCommit?: string | null | undefined;
|
|
1483
1541
|
} | null | undefined;
|
|
1542
|
+
lastUpdatedAt?: string | null | undefined;
|
|
1484
1543
|
}[] | null | undefined;
|
|
1485
1544
|
}[];
|
|
1486
1545
|
}>;
|
package/dist/presence.js
CHANGED
|
@@ -28,6 +28,8 @@ export const LocationSchema = z.object({
|
|
|
28
28
|
epicshopVersion: z.string().nullable().optional(),
|
|
29
29
|
// Repository status (updates available, commits ahead/behind) for this location/workshop
|
|
30
30
|
repoStatus: RepoStatusSchema.nullable().optional(),
|
|
31
|
+
// ISO timestamp of when the user last sent an update for this location (server-set)
|
|
32
|
+
lastUpdatedAt: z.string().nullable().optional(),
|
|
31
33
|
});
|
|
32
34
|
export const UserSchema = z.object({
|
|
33
35
|
id: z.string(),
|
|
@@ -28,6 +28,7 @@ export declare const presenceCache: {
|
|
|
28
28
|
localCommit?: string | null | undefined;
|
|
29
29
|
remoteCommit?: string | null | undefined;
|
|
30
30
|
} | null | undefined;
|
|
31
|
+
lastUpdatedAt?: string | null | undefined;
|
|
31
32
|
} | null | undefined;
|
|
32
33
|
locations?: {
|
|
33
34
|
workshopTitle?: string | null | undefined;
|
|
@@ -46,6 +47,7 @@ export declare const presenceCache: {
|
|
|
46
47
|
localCommit?: string | null | undefined;
|
|
47
48
|
remoteCommit?: string | null | undefined;
|
|
48
49
|
} | null | undefined;
|
|
50
|
+
lastUpdatedAt?: string | null | undefined;
|
|
49
51
|
}[] | null | undefined;
|
|
50
52
|
}[]>) => import("@epic-web/cachified").CacheEntry<{
|
|
51
53
|
id: string;
|
|
@@ -73,6 +75,7 @@ export declare const presenceCache: {
|
|
|
73
75
|
localCommit?: string | null | undefined;
|
|
74
76
|
remoteCommit?: string | null | undefined;
|
|
75
77
|
} | null | undefined;
|
|
78
|
+
lastUpdatedAt?: string | null | undefined;
|
|
76
79
|
} | null | undefined;
|
|
77
80
|
locations?: {
|
|
78
81
|
workshopTitle?: string | null | undefined;
|
|
@@ -91,6 +94,7 @@ export declare const presenceCache: {
|
|
|
91
94
|
localCommit?: string | null | undefined;
|
|
92
95
|
remoteCommit?: string | null | undefined;
|
|
93
96
|
} | null | undefined;
|
|
97
|
+
lastUpdatedAt?: string | null | undefined;
|
|
94
98
|
}[] | null | undefined;
|
|
95
99
|
}[]>;
|
|
96
100
|
get: (key: string) => import("@epic-web/cachified").CacheEntry<{
|
|
@@ -119,6 +123,7 @@ export declare const presenceCache: {
|
|
|
119
123
|
localCommit?: string | null | undefined;
|
|
120
124
|
remoteCommit?: string | null | undefined;
|
|
121
125
|
} | null | undefined;
|
|
126
|
+
lastUpdatedAt?: string | null | undefined;
|
|
122
127
|
} | null | undefined;
|
|
123
128
|
locations?: {
|
|
124
129
|
workshopTitle?: string | null | undefined;
|
|
@@ -137,6 +142,7 @@ export declare const presenceCache: {
|
|
|
137
142
|
localCommit?: string | null | undefined;
|
|
138
143
|
remoteCommit?: string | null | undefined;
|
|
139
144
|
} | null | undefined;
|
|
145
|
+
lastUpdatedAt?: string | null | undefined;
|
|
140
146
|
}[] | null | undefined;
|
|
141
147
|
}[]> | undefined;
|
|
142
148
|
delete: (key: string) => boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epic-web/workshop-presence",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.50.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"deploy": "partykit deploy"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@epic-web/workshop-utils": "6.
|
|
17
|
+
"@epic-web/workshop-utils": "6.50.0",
|
|
18
18
|
"zod": "^3.25.76"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|