@unisphere/genie-types 1.38.5 → 1.38.7
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
|
@@ -2362,6 +2362,11 @@ const avatarRuntimeConnectSettingsSchema = {
|
|
|
2362
2362
|
onThreadIdChange: {
|
|
2363
2363
|
type: 'function',
|
|
2364
2364
|
optional: true
|
|
2365
|
+
},
|
|
2366
|
+
kickOffPhrase: {
|
|
2367
|
+
type: 'primitive',
|
|
2368
|
+
value: 'string',
|
|
2369
|
+
optional: true
|
|
2365
2370
|
}
|
|
2366
2371
|
}
|
|
2367
2372
|
};
|
|
@@ -2449,6 +2454,11 @@ const avatarRuntimeContainedVisualSettingsSchema = {
|
|
|
2449
2454
|
type: 'function'
|
|
2450
2455
|
}
|
|
2451
2456
|
}
|
|
2457
|
+
},
|
|
2458
|
+
forceOrientation: {
|
|
2459
|
+
type: 'enum',
|
|
2460
|
+
values: ['portrait', 'landscape'],
|
|
2461
|
+
optional: true
|
|
2452
2462
|
}
|
|
2453
2463
|
}
|
|
2454
2464
|
};
|
|
@@ -2471,7 +2481,12 @@ const avatarRuntimeFloaterVisualSettingsSchema = {
|
|
|
2471
2481
|
value: 'string',
|
|
2472
2482
|
optional: true
|
|
2473
2483
|
},
|
|
2474
|
-
connect: avatarRuntimeConnectSettingsSchema
|
|
2484
|
+
connect: avatarRuntimeConnectSettingsSchema,
|
|
2485
|
+
forceOrientation: {
|
|
2486
|
+
type: 'enum',
|
|
2487
|
+
values: ['portrait', 'landscape'],
|
|
2488
|
+
optional: true
|
|
2489
|
+
}
|
|
2475
2490
|
}
|
|
2476
2491
|
};
|
|
2477
2492
|
|
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ValidatorSchema } from '@unisphere/core';
|
|
2
2
|
import { AvatarRuntimeConnectSettings } from './shared-types';
|
|
3
|
+
import { ForceOrientation } from './visual-bridge-types';
|
|
3
4
|
/**
|
|
4
5
|
* Visual settings for contained/embedded avatar display mode.
|
|
5
6
|
*
|
|
@@ -27,5 +28,7 @@ export interface AvatarRuntimeContainedVisualSettings {
|
|
|
27
28
|
onMount: (containerId: string) => void;
|
|
28
29
|
onUnMount: (containerId: string) => void;
|
|
29
30
|
} | null;
|
|
31
|
+
/** Forces the stage into a stacked or side-by-side layout, regardless of viewport width/orientation */
|
|
32
|
+
forceOrientation?: ForceOrientation;
|
|
30
33
|
}
|
|
31
34
|
export declare const avatarRuntimeContainedVisualSettingsSchema: ValidatorSchema;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ValidatorSchema } from '@unisphere/core';
|
|
2
2
|
import { AvatarRuntimeConnectSettings } from './shared-types';
|
|
3
|
+
import { ForceOrientation } from './visual-bridge-types';
|
|
3
4
|
/**
|
|
4
5
|
* Visual settings for avatar agent display mode.
|
|
5
6
|
*
|
|
@@ -19,5 +20,7 @@ export interface AvatarRuntimeFloaterVisualSettings {
|
|
|
19
20
|
buttonLabel?: string;
|
|
20
21
|
/** Connection options */
|
|
21
22
|
connect?: AvatarRuntimeConnectSettings;
|
|
23
|
+
/** Forces the stage into a stacked or side-by-side layout, regardless of viewport width/orientation */
|
|
24
|
+
forceOrientation?: ForceOrientation;
|
|
22
25
|
}
|
|
23
26
|
export declare const avatarRuntimeFloaterVisualSettingsSchema: ValidatorSchema;
|
|
@@ -15,6 +15,7 @@ export interface AvatarRuntimeConnectSettings {
|
|
|
15
15
|
dynamicVariables?: Record<string, unknown>;
|
|
16
16
|
/** Called every time the active thread id changes */
|
|
17
17
|
onThreadIdChange?: (threadId: string) => void;
|
|
18
|
+
kickOffPhrase?: string;
|
|
18
19
|
}
|
|
19
20
|
export declare const avatarRuntimeConnectSettingsSchema: ValidatorSchema;
|
|
20
21
|
/**
|
|
@@ -13,6 +13,7 @@ export interface SlotEntry {
|
|
|
13
13
|
mode: SlotMode;
|
|
14
14
|
}
|
|
15
15
|
export type LayoutType = 'cinema' | 'focusContent' | 'balanced' | 'floatingCorner' | 'fullscreenContent';
|
|
16
|
+
export type ForceOrientation = 'portrait' | 'landscape';
|
|
16
17
|
export declare const SUPPORTED_LAYOUT_TYPES: Set<string>;
|
|
17
18
|
export interface LayoutConfig {
|
|
18
19
|
type: LayoutType;
|