@unisphere/genie-types 1.21.0 → 1.22.0-tools.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 +72 -931
- package/package.json +2 -2
- package/src/index.d.ts +2 -10
- package/src/lib/{shared/chat-customizations-types.d.ts → chat-customizations-types.d.ts} +2 -2
- package/src/lib/chat-runtime/shared-settings.d.ts +2 -0
- package/src/lib/chat-runtime/visuals-types.d.ts +1 -1
- package/src/lib/content-gallery-tool-runtime/genie-answer-visual-types.d.ts +1 -1
- package/src/lib/shared/index.d.ts +0 -2
- package/src/lib/types.d.ts +0 -53
- package/src/lib/flashcards-tool-runtime/index.d.ts +0 -2
- package/src/lib/flashcards-tool-runtime/runtime-types.d.ts +0 -41
- package/src/lib/flashcards-tool-runtime/visuals-types.d.ts +0 -52
- package/src/lib/followups-tool-runtime/avatar-visual-types.d.ts +0 -27
- package/src/lib/followups-tool-runtime/index.d.ts +0 -2
- package/src/lib/followups-tool-runtime/runtime-types.d.ts +0 -49
- package/src/lib/gen-ui-components-tool-runtime/card-visual-types.d.ts +0 -39
- package/src/lib/gen-ui-components-tool-runtime/index.d.ts +0 -6
- package/src/lib/gen-ui-components-tool-runtime/login-visual-types.d.ts +0 -10
- package/src/lib/gen-ui-components-tool-runtime/markdown-visual-types.d.ts +0 -7
- package/src/lib/gen-ui-components-tool-runtime/player-visual-types.d.ts +0 -25
- package/src/lib/gen-ui-components-tool-runtime/questions-presets-visual-types.d.ts +0 -9
- package/src/lib/gen-ui-components-tool-runtime/runtime-types.d.ts +0 -13
- package/src/lib/gen-ui-composer-tool-runtime/avatar-visual-types.d.ts +0 -50
- package/src/lib/gen-ui-composer-tool-runtime/index.d.ts +0 -2
- package/src/lib/gen-ui-composer-tool-runtime/runtime-types.d.ts +0 -13
- package/src/lib/gtc-agenda-list-tool-runtime/genie-answer-visual-types.d.ts +0 -23
- package/src/lib/gtc-agenda-list-tool-runtime/index.d.ts +0 -2
- package/src/lib/gtc-agenda-list-tool-runtime/runtime-types.d.ts +0 -27
- package/src/lib/gtc-agenda-tool-runtime/genie-answer-visual-types.d.ts +0 -16
- package/src/lib/gtc-agenda-tool-runtime/index.d.ts +0 -2
- package/src/lib/gtc-agenda-tool-runtime/runtime-types.d.ts +0 -27
- package/src/lib/kaltura-video-player-tool-runtime/genie-answer-visual-types.d.ts +0 -16
- package/src/lib/kaltura-video-player-tool-runtime/index.d.ts +0 -2
- package/src/lib/kaltura-video-player-tool-runtime/runtime-types.d.ts +0 -38
- package/src/lib/nvidia-2026-event-tool-runtime/index.d.ts +0 -1
- package/src/lib/nvidia-2026-event-tool-runtime/runtime-types.d.ts +0 -82
- package/src/lib/sources-tool-runtime/index.d.ts +0 -1
- package/src/lib/sources-tool-runtime/runtime-types.d.ts +0 -57
- package/src/lib/summary-tool-runtime/index.d.ts +0 -1
- package/src/lib/summary-tool-runtime/runtime-types.d.ts +0 -79
- /package/src/lib/{shared/general-visual-types.d.ts → general-visual-types.d.ts} +0 -0
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { ValidatorSchema } from '@unisphere/core';
|
|
2
|
-
import { UnisphereRuntimeBaseType } from '@unisphere/runtime';
|
|
3
|
-
import { widgetName } from '../widget-types';
|
|
4
|
-
/** Runtime name constant for Kaltura video player tool */
|
|
5
|
-
export declare const KalturaVideoPlayerToolRuntimeName: "kaltura-video-player-tool";
|
|
6
|
-
/**
|
|
7
|
-
* Kaltura video player tool runtime for embedded media playback.
|
|
8
|
-
*
|
|
9
|
-
* Provides Kaltura player integration within Genie experiences.
|
|
10
|
-
*/
|
|
11
|
-
export type KalturaVideoPlayerToolRuntime = UnisphereRuntimeBaseType<KalturaVideoPlayerToolRuntimeSettings> & {
|
|
12
|
-
readonly widgetName: typeof widgetName;
|
|
13
|
-
readonly runtimeName: typeof KalturaVideoPlayerToolRuntimeName;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* Configuration settings for the Kaltura video player tool runtime.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```typescript
|
|
20
|
-
* const settings: KalturaVideoPlayerToolRuntimeSettings = {
|
|
21
|
-
* kalturaServerURI: 'https://www.kaltura.com',
|
|
22
|
-
* partnerId: '12345',
|
|
23
|
-
* uiConfId: '54321',
|
|
24
|
-
* ks: 'your-kaltura-session-token'
|
|
25
|
-
* };
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
export interface KalturaVideoPlayerToolRuntimeSettings {
|
|
29
|
-
/** Kaltura server URI */
|
|
30
|
-
kalturaServerURI: string;
|
|
31
|
-
/** Kaltura partner ID */
|
|
32
|
-
partnerId: string;
|
|
33
|
-
/** UI configuration ID */
|
|
34
|
-
uiConfId: string;
|
|
35
|
-
/** Kaltura session token for authentication */
|
|
36
|
-
ks: string;
|
|
37
|
-
}
|
|
38
|
-
export declare const kalturaVideoPlayerToolRuntimeSettingsSchema: ValidatorSchema;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './runtime-types';
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { ValidatorSchema } from '@unisphere/core';
|
|
2
|
-
import { UnisphereRuntimeBaseType, UnisphereService } from '@unisphere/runtime';
|
|
3
|
-
import { widgetName } from '../widget-types';
|
|
4
|
-
/** Runtime name constant for NVIDIA 2026 event tool */
|
|
5
|
-
export declare const Nvidia2026EventToolRuntimeName: "nvidia-2026-event-tool";
|
|
6
|
-
/**
|
|
7
|
-
* NVIDIA 2026 event tool runtime for event session management.
|
|
8
|
-
*
|
|
9
|
-
* Provides access to event session information and schedules.
|
|
10
|
-
*/
|
|
11
|
-
export type Nvidia2026EventToolRuntime = UnisphereRuntimeBaseType<Nvidia2026EventToolRuntimeSettings> & {
|
|
12
|
-
readonly widgetName: typeof widgetName;
|
|
13
|
-
readonly runtimeName: typeof Nvidia2026EventToolRuntimeName;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* Configuration settings for the NVIDIA 2026 event tool runtime.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```typescript
|
|
20
|
-
* const settings: Nvidia2026EventToolRuntimeSettings = {};
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export interface Nvidia2026EventToolRuntimeSettings {
|
|
24
|
-
/** Settings schema version */
|
|
25
|
-
schemaVersion?: '1';
|
|
26
|
-
}
|
|
27
|
-
export declare const nvidia2026EventToolRuntimeSettingsSchema: ValidatorSchema;
|
|
28
|
-
/**
|
|
29
|
-
* NVIDIA event session information.
|
|
30
|
-
*
|
|
31
|
-
* Contains complete details about a conference session including schedule,
|
|
32
|
-
* speakers, and content metadata.
|
|
33
|
-
*/
|
|
34
|
-
export interface NvidiaSession {
|
|
35
|
-
/** Unique session identifier */
|
|
36
|
-
sessionId: string;
|
|
37
|
-
/** Session title */
|
|
38
|
-
title: string;
|
|
39
|
-
/** Session description/abstract */
|
|
40
|
-
summary: string;
|
|
41
|
-
/** Session start date/time */
|
|
42
|
-
startDate: string;
|
|
43
|
-
/** Session end date/time */
|
|
44
|
-
endDate: string;
|
|
45
|
-
/** Session topic category */
|
|
46
|
-
topic: string;
|
|
47
|
-
/** Target industry */
|
|
48
|
-
industry: string;
|
|
49
|
-
/** Technical difficulty level */
|
|
50
|
-
technicalLevel: string;
|
|
51
|
-
/** Intended audience description */
|
|
52
|
-
intendedAudience: string;
|
|
53
|
-
/** NVIDIA technologies covered */
|
|
54
|
-
nvidiaTechnology: string;
|
|
55
|
-
/** Key learning outcomes */
|
|
56
|
-
keyTakeaways: string;
|
|
57
|
-
/** Speaker names */
|
|
58
|
-
speakers: string;
|
|
59
|
-
/** Presentation language */
|
|
60
|
-
language: string;
|
|
61
|
-
/** Physical location */
|
|
62
|
-
location: string;
|
|
63
|
-
/** Session type (e.g., keynote, workshop) */
|
|
64
|
-
type: string;
|
|
65
|
-
/** Room/venue name */
|
|
66
|
-
room: string;
|
|
67
|
-
/** Associated media entry ID */
|
|
68
|
-
entryId: string;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Service interface for NVIDIA 2026 event data access.
|
|
72
|
-
*/
|
|
73
|
-
export interface Nvidia2026EventServiceType extends UnisphereService {
|
|
74
|
-
/** Service identifier */
|
|
75
|
-
id: 'unisphere.widgets.genie.nvidia-2026-event';
|
|
76
|
-
/** Get media entry ID for a session */
|
|
77
|
-
getEntryId(sessionId: string): string | null;
|
|
78
|
-
/** Get full session details by ID */
|
|
79
|
-
getSession(sessionId: string): NvidiaSession | null;
|
|
80
|
-
/** Get multiple sessions by ID list */
|
|
81
|
-
getSessionsList(sessionIds: string[]): NvidiaSession[];
|
|
82
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './runtime-types';
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { ValidatorSchema } from '@unisphere/core';
|
|
2
|
-
import { UnisphereRuntimeBaseType } from '@unisphere/runtime';
|
|
3
|
-
import { widgetName } from '../widget-types';
|
|
4
|
-
import { SourcesItemType } from '../types';
|
|
5
|
-
import { BlockVisualContext } from '../shared/general-visual-types';
|
|
6
|
-
/** Runtime name constant for sources tool */
|
|
7
|
-
export declare const SourcesToolRuntimeName: "sources-tool";
|
|
8
|
-
/**
|
|
9
|
-
* Sources tool runtime interface for displaying content references.
|
|
10
|
-
*
|
|
11
|
-
* Provides visual display of source materials (videos, documents) referenced in AI answers.
|
|
12
|
-
*/
|
|
13
|
-
export type SourcesToolRuntime = UnisphereRuntimeBaseType<SourcesToolRuntimeSettings> & {
|
|
14
|
-
readonly widgetName: typeof widgetName;
|
|
15
|
-
readonly runtimeName: typeof SourcesToolRuntimeName;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* Configuration settings for the sources tool runtime.
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```typescript
|
|
22
|
-
* const settings: SourcesToolRuntimeSettings = {};
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
export interface SourcesToolRuntimeSettings {
|
|
26
|
-
/** Settings schema version */
|
|
27
|
-
schemaVersion?: string;
|
|
28
|
-
}
|
|
29
|
-
export declare const sourcesToolRuntimeSettingsSchema: ValidatorSchema;
|
|
30
|
-
/**
|
|
31
|
-
* Visual settings for source citations displayed in Genie answers.
|
|
32
|
-
*
|
|
33
|
-
* @example
|
|
34
|
-
* ```typescript
|
|
35
|
-
* const visualSettings: SourcesToolRuntimeGenieAnswerVisualSettings = {
|
|
36
|
-
* variant: 'compact',
|
|
37
|
-
* sources: [
|
|
38
|
-
* {
|
|
39
|
-
* type: 'video',
|
|
40
|
-
* title: 'Introduction to AI',
|
|
41
|
-
* entry_id: 'video_123',
|
|
42
|
-
* duration: 600,
|
|
43
|
-
* has_short: true
|
|
44
|
-
* }
|
|
45
|
-
* ]
|
|
46
|
-
* };
|
|
47
|
-
* ```
|
|
48
|
-
*/
|
|
49
|
-
export type SourcesToolRuntimeGenieAnswerVisualSettings = {
|
|
50
|
-
/** Visual block context for rendering */
|
|
51
|
-
blockContext?: BlockVisualContext;
|
|
52
|
-
/** Array of source items to display */
|
|
53
|
-
sources?: SourcesItemType[];
|
|
54
|
-
/** Display variant: 'default' for full display, 'compact' for condensed view */
|
|
55
|
-
variant?: 'default' | 'compact';
|
|
56
|
-
};
|
|
57
|
-
export declare const sourcesToolRuntimeGenieAnswerVisualSettingsSchema: ValidatorSchema;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './runtime-types';
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { ValidatorSchema } from '@unisphere/core';
|
|
2
|
-
import { UnisphereRuntimeBaseType } from '@unisphere/runtime';
|
|
3
|
-
import { widgetName } from '../widget-types';
|
|
4
|
-
import { BlockVisualContext } from '../shared/general-visual-types';
|
|
5
|
-
/** Runtime name constant for summary tool */
|
|
6
|
-
export declare const SummaryToolRuntimeName: "summary-tool";
|
|
7
|
-
/**
|
|
8
|
-
* Summary tool runtime interface for content summarization.
|
|
9
|
-
*
|
|
10
|
-
* Provides AI-generated summaries and chapter breakdowns for media content.
|
|
11
|
-
*/
|
|
12
|
-
export type SummaryToolRuntime = UnisphereRuntimeBaseType<SummaryToolRuntimeSettings> & {
|
|
13
|
-
readonly widgetName: typeof widgetName;
|
|
14
|
-
readonly runtimeName: typeof SummaryToolRuntimeName;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Configuration settings for the summary tool runtime.
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```typescript
|
|
21
|
-
* const settings: SummaryToolRuntimeSettings = {};
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
export interface SummaryToolRuntimeSettings {
|
|
25
|
-
/** Settings schema version */
|
|
26
|
-
schemaVersion?: string;
|
|
27
|
-
}
|
|
28
|
-
export declare const summaryToolRuntimeSettingsSchema: ValidatorSchema;
|
|
29
|
-
/**
|
|
30
|
-
* Chapter information for content navigation.
|
|
31
|
-
*
|
|
32
|
-
* @example
|
|
33
|
-
* ```typescript
|
|
34
|
-
* const chapter: Chapter = {
|
|
35
|
-
* start_time: '120',
|
|
36
|
-
* title: 'Introduction to Machine Learning',
|
|
37
|
-
* description: 'Basic concepts and definitions'
|
|
38
|
-
* };
|
|
39
|
-
* ```
|
|
40
|
-
*/
|
|
41
|
-
export interface Chapter {
|
|
42
|
-
/** Chapter start time in seconds (as string) */
|
|
43
|
-
start_time: string;
|
|
44
|
-
/** Chapter title */
|
|
45
|
-
title: string;
|
|
46
|
-
/** Optional chapter description */
|
|
47
|
-
description?: string;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Visual settings for content summaries displayed in Genie answers.
|
|
51
|
-
*
|
|
52
|
-
* @example
|
|
53
|
-
* ```typescript
|
|
54
|
-
* const visualSettings: summaryToolRuntimeGenieAnswerVisualSettings = {
|
|
55
|
-
* summary: 'This video covers the fundamentals of AI...',
|
|
56
|
-
* chapters: [
|
|
57
|
-
* {
|
|
58
|
-
* start_time: '0',
|
|
59
|
-
* title: 'Introduction',
|
|
60
|
-
* description: 'Course overview'
|
|
61
|
-
* },
|
|
62
|
-
* {
|
|
63
|
-
* start_time: '120',
|
|
64
|
-
* title: 'Core Concepts',
|
|
65
|
-
* description: 'Key terminology'
|
|
66
|
-
* }
|
|
67
|
-
* ]
|
|
68
|
-
* };
|
|
69
|
-
* ```
|
|
70
|
-
*/
|
|
71
|
-
export interface summaryToolRuntimeGenieAnswerVisualSettings {
|
|
72
|
-
/** Visual block context for rendering */
|
|
73
|
-
blockContext?: BlockVisualContext;
|
|
74
|
-
/** Text summary of the content */
|
|
75
|
-
summary?: string;
|
|
76
|
-
/** Array of chapter markers with timestamps */
|
|
77
|
-
chapters?: Chapter[];
|
|
78
|
-
}
|
|
79
|
-
export declare const summaryToolRuntimeGenieAnswerVisualSettingsSchema: ValidatorSchema;
|
|
File without changes
|