lumiverse-spindle-types 0.5.13 → 0.5.14
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/package.json +1 -1
- package/src/api.ts +7 -0
- package/src/spindle-api.ts +5 -0
package/package.json
CHANGED
package/src/api.ts
CHANGED
|
@@ -2405,6 +2405,13 @@ export type WorkerToHost =
|
|
|
2405
2405
|
chatId: string;
|
|
2406
2406
|
messageId: string;
|
|
2407
2407
|
}
|
|
2408
|
+
| {
|
|
2409
|
+
type: "chat_set_style_mode";
|
|
2410
|
+
requestId: string;
|
|
2411
|
+
chatId: string;
|
|
2412
|
+
mode: "bounded" | "extension-relaxed";
|
|
2413
|
+
userId?: string;
|
|
2414
|
+
}
|
|
2408
2415
|
| {
|
|
2409
2416
|
type: "events_track";
|
|
2410
2417
|
requestId: string;
|
package/src/spindle-api.ts
CHANGED
|
@@ -578,6 +578,11 @@ export interface SpindleAPI {
|
|
|
578
578
|
* that have never had the flag set. Requires the `chat_mutation` permission.
|
|
579
579
|
*/
|
|
580
580
|
isMessageHidden(chatId: string, messageId: string): Promise<boolean>;
|
|
581
|
+
/**
|
|
582
|
+
* Set a chat's CSS containment mode. `'extension-relaxed'` lets card-authored
|
|
583
|
+
* `position: fixed` paint at viewport scope (requires `app_manipulation`).
|
|
584
|
+
*/
|
|
585
|
+
setStyleMode(chatId: string, mode: "bounded" | "extension-relaxed", userId?: string): Promise<void>;
|
|
581
586
|
};
|
|
582
587
|
|
|
583
588
|
/** Extension-level telemetry */
|