@unisphere/genie-types 1.36.0 → 1.37.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/index.esm.js
CHANGED
|
@@ -2396,7 +2396,28 @@ const avatarRuntimeContainedVisualSettingsSchema = {
|
|
|
2396
2396
|
value: '1',
|
|
2397
2397
|
optional: true
|
|
2398
2398
|
},
|
|
2399
|
-
connect: avatarRuntimeConnectSettingsSchema
|
|
2399
|
+
connect: avatarRuntimeConnectSettingsSchema,
|
|
2400
|
+
stageMode: {
|
|
2401
|
+
type: 'enum',
|
|
2402
|
+
values: ['contained', 'full-screen'],
|
|
2403
|
+
optional: true
|
|
2404
|
+
},
|
|
2405
|
+
lobbyButton: {
|
|
2406
|
+
type: 'object',
|
|
2407
|
+
optional: true,
|
|
2408
|
+
properties: {
|
|
2409
|
+
type: {
|
|
2410
|
+
type: 'literal',
|
|
2411
|
+
value: 'custom'
|
|
2412
|
+
},
|
|
2413
|
+
onMount: {
|
|
2414
|
+
type: 'function'
|
|
2415
|
+
},
|
|
2416
|
+
onUnMount: {
|
|
2417
|
+
type: 'function'
|
|
2418
|
+
}
|
|
2419
|
+
}
|
|
2420
|
+
}
|
|
2400
2421
|
}
|
|
2401
2422
|
};
|
|
2402
2423
|
|
package/package.json
CHANGED
|
@@ -13,5 +13,19 @@ export interface AvatarRuntimeContainedVisualSettings {
|
|
|
13
13
|
schemaVersion?: string;
|
|
14
14
|
/** Connection options */
|
|
15
15
|
connect?: AvatarRuntimeConnectSettings;
|
|
16
|
+
/** Stage presentation mode: inline within the container or full-screen dialog */
|
|
17
|
+
stageMode?: 'contained' | 'full-screen';
|
|
18
|
+
/**
|
|
19
|
+
* Lobby button shown before the avatar connects.
|
|
20
|
+
* - omitted: default built-in lobby button
|
|
21
|
+
* - `null`: no lobby button rendered
|
|
22
|
+
* - `{ type: 'custom', ... }`: host renders its own button into the container,
|
|
23
|
+
* notified via `onMount`/`onUnMount`
|
|
24
|
+
*/
|
|
25
|
+
lobbyButton?: {
|
|
26
|
+
type: 'custom';
|
|
27
|
+
onMount: (containerId: string) => void;
|
|
28
|
+
onUnMount: (containerId: string) => void;
|
|
29
|
+
} | null;
|
|
16
30
|
}
|
|
17
31
|
export declare const avatarRuntimeContainedVisualSettingsSchema: ValidatorSchema;
|