lumiverse-spindle-types 0.6.63 → 0.6.64
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/api.d.ts +1 -0
- package/dist/host.js +1 -0
- package/dist/spindle-api.d.ts +6 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -3708,6 +3708,7 @@ export type WorkerToHost = import("./decisions.js").DecisionWorkerMessage | impo
|
|
|
3708
3708
|
patch: {
|
|
3709
3709
|
content?: string;
|
|
3710
3710
|
metadata?: Record<string, unknown>;
|
|
3711
|
+
metadata_patch?: Record<string, unknown>;
|
|
3711
3712
|
swipes?: string[];
|
|
3712
3713
|
swipe_id?: number;
|
|
3713
3714
|
swipe_dates?: number[];
|
package/dist/host.js
CHANGED
package/dist/spindle-api.d.ts
CHANGED
|
@@ -518,6 +518,12 @@ export interface SpindleAPI {
|
|
|
518
518
|
updateMessage(chatId: string, messageId: string, patch: {
|
|
519
519
|
content?: string;
|
|
520
520
|
metadata?: SpindleMessageMetadataDTO;
|
|
521
|
+
/**
|
|
522
|
+
* Merge top-level metadata fields with the latest stored metadata.
|
|
523
|
+
* Nested values are replaced; null is stored as a value. Cannot be
|
|
524
|
+
* combined with metadata. Requires host capability `chat-metadata-patch-v1`.
|
|
525
|
+
*/
|
|
526
|
+
metadata_patch?: SpindleMessageMetadataDTO;
|
|
521
527
|
swipes?: string[];
|
|
522
528
|
swipe_id?: number;
|
|
523
529
|
swipe_dates?: number[];
|