@go1/go1-embedding-react-sdk 0.0.57 → 0.0.58
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/common/types.d.ts +0 -6
- package/package.json +1 -1
package/dist/common/types.d.ts
CHANGED
|
@@ -19,7 +19,6 @@ export interface Go1Message {
|
|
|
19
19
|
type: Go1MessageType;
|
|
20
20
|
payload?: any;
|
|
21
21
|
}
|
|
22
|
-
type go1OnlyEnabledFeatures = Array<'ai-chat' | 'library' | 'my-playlists' | 'search'>;
|
|
23
22
|
export type ExternalExperience = 'manager' | 'learner' | 'role-aware';
|
|
24
23
|
export interface FeatureAttributeCommon {
|
|
25
24
|
shouldSuppressPreview?: boolean;
|
|
@@ -39,8 +38,6 @@ export interface FeatureAttributesAIChat extends FeatureAttributesPreviewCommon
|
|
|
39
38
|
existingSkills?: string[];
|
|
40
39
|
desiredSkills?: string[];
|
|
41
40
|
desiredRole?: string;
|
|
42
|
-
go1OnlySaveToMyPlaylistsOverride?: boolean;
|
|
43
|
-
go1OnlyEnabledFeatures?: go1OnlyEnabledFeatures;
|
|
44
41
|
}
|
|
45
42
|
export interface FeatureAttributesPreview extends FeatureAttributesPreviewCommon {
|
|
46
43
|
id: number;
|
|
@@ -56,20 +53,17 @@ export interface FeatureAttributesLearnerSearch extends FeatureAttributeCommon {
|
|
|
56
53
|
export interface FeatureAttributesLibrary extends FeatureAttributesPreviewCommon, FeatureAttributesRetirement {
|
|
57
54
|
libraryEmptyStateDescription?: string;
|
|
58
55
|
shouldShowLibraryTabs?: boolean;
|
|
59
|
-
go1OnlyEnabledFeatures?: go1OnlyEnabledFeatures;
|
|
60
56
|
}
|
|
61
57
|
export interface FeatureAttributesRetirement extends FeatureAttributesPreviewCommon {
|
|
62
58
|
shouldShowAlternativesSearchButton?: boolean;
|
|
63
59
|
shouldShowNotificationEmailRegisterSwitch?: boolean;
|
|
64
60
|
}
|
|
65
61
|
export interface FeatureAttributesSearch extends FeatureAttributesPreviewCommon {
|
|
66
|
-
go1OnlyEnabledFeatures?: go1OnlyEnabledFeatures;
|
|
67
62
|
}
|
|
68
63
|
export interface FeatureAttributesContentHub extends FeatureAttributesPreviewCommon {
|
|
69
64
|
}
|
|
70
65
|
export interface FeatureAttributesMyPlaylists extends FeatureAttributesPreviewCommon {
|
|
71
66
|
playlistId?: number;
|
|
72
|
-
go1OnlyEnabledFeatures?: go1OnlyEnabledFeatures;
|
|
73
67
|
}
|
|
74
68
|
export interface FeatureAttributesMyLearning extends FeatureAttributeCommon {
|
|
75
69
|
}
|