@openpeepshq/common 0.20.0 → 0.28.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/types/api.d.ts +5 -0
- package/dist/types/api.js +4 -0
- package/package.json +1 -1
- package/src/types/api.ts +7 -0
package/dist/types/api.d.ts
CHANGED
|
@@ -38935,6 +38935,11 @@ export declare const removeParticipantRequestSchema: z.ZodObject<{
|
|
|
38935
38935
|
identity: z.ZodString;
|
|
38936
38936
|
}, z.core.$strip>;
|
|
38937
38937
|
export type RemoveParticipantRequest = z.infer<typeof removeParticipantRequestSchema>;
|
|
38938
|
+
/** Sets or clears the room-wide host spotlight (LiveKit room metadata). */
|
|
38939
|
+
export declare const jamSpotlightRequestSchema: z.ZodObject<{
|
|
38940
|
+
identity: z.ZodNullable<z.ZodString>;
|
|
38941
|
+
}, z.core.$strip>;
|
|
38942
|
+
export type JamSpotlightRequest = z.infer<typeof jamSpotlightRequestSchema>;
|
|
38938
38943
|
export interface Thread extends PublicPost {
|
|
38939
38944
|
children: Thread[];
|
|
38940
38945
|
}
|
package/dist/types/api.js
CHANGED
|
@@ -301,6 +301,10 @@ export const muteParticipantRequestSchema = z.object({
|
|
|
301
301
|
export const removeParticipantRequestSchema = z.object({
|
|
302
302
|
identity: z.string().uuid(),
|
|
303
303
|
});
|
|
304
|
+
/** Sets or clears the room-wide host spotlight (LiveKit room metadata). */
|
|
305
|
+
export const jamSpotlightRequestSchema = z.object({
|
|
306
|
+
identity: z.string().uuid().nullable(),
|
|
307
|
+
});
|
|
304
308
|
export const guestPassRequestSchema = z.object({
|
|
305
309
|
displayName: z.string().max(30),
|
|
306
310
|
email: z.string().email(),
|
package/package.json
CHANGED
package/src/types/api.ts
CHANGED
|
@@ -461,6 +461,13 @@ export type RemoveParticipantRequest = z.infer<
|
|
|
461
461
|
typeof removeParticipantRequestSchema
|
|
462
462
|
>;
|
|
463
463
|
|
|
464
|
+
/** Sets or clears the room-wide host spotlight (LiveKit room metadata). */
|
|
465
|
+
export const jamSpotlightRequestSchema = z.object({
|
|
466
|
+
identity: z.string().uuid().nullable(),
|
|
467
|
+
});
|
|
468
|
+
|
|
469
|
+
export type JamSpotlightRequest = z.infer<typeof jamSpotlightRequestSchema>;
|
|
470
|
+
|
|
464
471
|
export interface Thread extends PublicPost {
|
|
465
472
|
children: Thread[];
|
|
466
473
|
}
|