@openpeepshq/common 0.20.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/dist/types/api.d.ts +5 -0
- package/dist/types/api.js +4 -0
- package/dist/types/models.d.ts +2 -0
- package/dist/types/models.js +6 -0
- package/package.json +1 -1
- package/src/types/api.ts +7 -0
- package/src/types/models.ts +6 -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/dist/types/models.d.ts
CHANGED
|
@@ -599,6 +599,7 @@ export type JamData = z.infer<typeof jamDataSchema>;
|
|
|
599
599
|
export type Jam = JamData;
|
|
600
600
|
export declare const followDataSchema: z.ZodObject<{
|
|
601
601
|
uri: z.ZodOptional<z.ZodString>;
|
|
602
|
+
handle: z.ZodOptional<z.ZodString>;
|
|
602
603
|
reblogs: z.ZodOptional<z.ZodBoolean>;
|
|
603
604
|
notify: z.ZodOptional<z.ZodBoolean>;
|
|
604
605
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -606,6 +607,7 @@ export declare const followDataSchema: z.ZodObject<{
|
|
|
606
607
|
export type FollowData = z.infer<typeof followDataSchema>;
|
|
607
608
|
export declare const followSchema: z.ZodObject<{
|
|
608
609
|
uri: z.ZodOptional<z.ZodString>;
|
|
610
|
+
handle: z.ZodOptional<z.ZodString>;
|
|
609
611
|
reblogs: z.ZodOptional<z.ZodBoolean>;
|
|
610
612
|
notify: z.ZodOptional<z.ZodBoolean>;
|
|
611
613
|
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
package/dist/types/models.js
CHANGED
|
@@ -268,6 +268,12 @@ export const jamSchema = jamDataSchema;
|
|
|
268
268
|
export const followDataSchema = z.object({
|
|
269
269
|
/** ActivityPub Follow activity id when federated. */
|
|
270
270
|
uri: z.string().url().optional(),
|
|
271
|
+
/**
|
|
272
|
+
* Remote account to follow when no resolvable `profileId` is supplied.
|
|
273
|
+
* Accepts `user@domain`, `@user@domain`, or an `https` actor URL. Discovered
|
|
274
|
+
* over ActivityPub (WebFinger) before the follow is created (#241).
|
|
275
|
+
*/
|
|
276
|
+
handle: z.string().optional(),
|
|
271
277
|
reblogs: z.boolean().optional(),
|
|
272
278
|
notify: z.boolean().optional(),
|
|
273
279
|
languages: z
|
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
|
}
|
package/src/types/models.ts
CHANGED
|
@@ -398,6 +398,12 @@ export type Jam = JamData;
|
|
|
398
398
|
export const followDataSchema = z.object({
|
|
399
399
|
/** ActivityPub Follow activity id when federated. */
|
|
400
400
|
uri: z.string().url().optional(),
|
|
401
|
+
/**
|
|
402
|
+
* Remote account to follow when no resolvable `profileId` is supplied.
|
|
403
|
+
* Accepts `user@domain`, `@user@domain`, or an `https` actor URL. Discovered
|
|
404
|
+
* over ActivityPub (WebFinger) before the follow is created (#241).
|
|
405
|
+
*/
|
|
406
|
+
handle: z.string().optional(),
|
|
401
407
|
reblogs: z.boolean().optional(),
|
|
402
408
|
notify: z.boolean().optional(),
|
|
403
409
|
languages: z
|