@unisphere/genie-types 1.37.0 → 1.37.1
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/index.esm.js
CHANGED
|
@@ -3372,7 +3372,20 @@ const avatarRuntimeHeadFloaterVisualSettingsSchema = {
|
|
|
3372
3372
|
type: 'literal',
|
|
3373
3373
|
value: '1',
|
|
3374
3374
|
optional: true
|
|
3375
|
-
}
|
|
3375
|
+
},
|
|
3376
|
+
controls: {
|
|
3377
|
+
type: 'object',
|
|
3378
|
+
optional: true,
|
|
3379
|
+
properties: {
|
|
3380
|
+
onMount: {
|
|
3381
|
+
type: 'function'
|
|
3382
|
+
},
|
|
3383
|
+
onUnMount: {
|
|
3384
|
+
type: 'function'
|
|
3385
|
+
}
|
|
3386
|
+
}
|
|
3387
|
+
},
|
|
3388
|
+
connect: avatarRuntimeConnectSettingsSchema
|
|
3376
3389
|
}
|
|
3377
3390
|
};
|
|
3378
3391
|
|
package/package.json
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import { ValidatorSchema } from '@unisphere/core';
|
|
2
|
+
import { AvatarRuntimeConnectSettings } from '../shared-types';
|
|
2
3
|
export interface AvatarRuntimeHeadFloaterVisualSettings {
|
|
3
4
|
schemaVersion?: string;
|
|
5
|
+
/**
|
|
6
|
+
* Host-attached UI controls (e.g. mute, closed captions, end call)
|
|
7
|
+
* rendered around the floater circle and dragged along with it.
|
|
8
|
+
* Host renders into the given container id, notified via `onMount`/`onUnMount`.
|
|
9
|
+
*/
|
|
10
|
+
controls?: {
|
|
11
|
+
onMount: (containerId: string) => void;
|
|
12
|
+
onUnMount: (containerId: string) => void;
|
|
13
|
+
} | null;
|
|
14
|
+
connect?: AvatarRuntimeConnectSettings;
|
|
4
15
|
}
|
|
5
16
|
export declare const avatarRuntimeHeadFloaterVisualSettingsSchema: ValidatorSchema;
|
|
@@ -340,6 +340,8 @@ export interface AvatarClientManagerType {
|
|
|
340
340
|
};
|
|
341
341
|
onThreadIdChange?: (threadId: string) => void;
|
|
342
342
|
dynamicVariables?: Record<string, unknown>;
|
|
343
|
+
/** Overrides runtime-settings `features.kickOffPhrase` for this connection only */
|
|
344
|
+
kickOffPhrase?: string;
|
|
343
345
|
}): void;
|
|
344
346
|
/** Tear down the current connection */
|
|
345
347
|
disconnect(): void;
|