@go1/go1-embedding-react-sdk 0.13.0 → 0.13.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/dist/CHANGELOG.md +6 -0
- package/dist/common/types.d.ts +3 -7
- package/dist/common/types.js +0 -1
- package/package.json +1 -1
package/dist/CHANGELOG.md
CHANGED
package/dist/common/types.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export interface ThemeInformationElysium {
|
|
|
26
26
|
mode?: ThemeMode;
|
|
27
27
|
}
|
|
28
28
|
export type ThemeInformationPayload = ThemeInformation | ThemeInformationElysium | ThemeModeInformation;
|
|
29
|
-
export type Go1MessageType = 'preview_start_content' | 'preview_close' | 'preview_add_content_success' | 'preview_add_content_failure' | 'preview_remove_content_success' | 'preview_remove_content_failure' | 'parent_show_preview' | 'set_additional_embedding_data' | 'go1_app_initialised' | 'ott_required' | 'search_result_selected' | 'search_filter_toggle' | 'search_redirected' | 'pass_ott' | 'set_access_token' | 'logout' | 'sync_content' | 'open_save_to_playlist_modal' | 'update_experience' | 'inter_feature_navigation' | 'side_drawer_open' | 'side_drawer_close' | 'play_content' | 'go1pay_custom_data' | 'bulk_upload_content' | 'bulk_upload_metadata' | 'bulk_retirement_request' | '
|
|
29
|
+
export type Go1MessageType = 'preview_start_content' | 'preview_close' | 'preview_add_content_success' | 'preview_add_content_failure' | 'preview_remove_content_success' | 'preview_remove_content_failure' | 'parent_show_preview' | 'set_additional_embedding_data' | 'go1_app_initialised' | 'ott_required' | 'search_result_selected' | 'search_filter_toggle' | 'search_redirected' | 'pass_ott' | 'set_access_token' | 'logout' | 'sync_content' | 'open_save_to_playlist_modal' | 'update_experience' | 'inter_feature_navigation' | 'side_drawer_open' | 'side_drawer_close' | 'play_content' | 'go1pay_custom_data' | 'bulk_upload_content' | 'bulk_upload_metadata' | 'bulk_retirement_request' | 'contact_go1_navigation' | 'library_content_added' | 'library_content_removed' | 'library_content_exported' | 'save_content';
|
|
30
30
|
export type LibraryContentAddedActionType = 'admin-add';
|
|
31
31
|
export type LibraryContentRemovedActionType = 'admin-remove';
|
|
32
32
|
export type SaveContentActionType = 'learner-save' | 'admin-save';
|
|
@@ -107,10 +107,6 @@ export interface FeatureAttributesWallet extends FeatureAttributeCommon {
|
|
|
107
107
|
deepLink?: string;
|
|
108
108
|
oneClickBuyUrl?: string;
|
|
109
109
|
}
|
|
110
|
-
export interface FeatureAttributesBulkUpload extends FeatureAttributeCommon {
|
|
111
|
-
bulkMode: 'create' | 'update';
|
|
112
|
-
isStandalone?: boolean;
|
|
113
|
-
}
|
|
114
110
|
export interface FeatureAttributesContentStatus extends FeatureAttributeCommon {
|
|
115
111
|
isStandalone?: boolean;
|
|
116
112
|
}
|
|
@@ -148,11 +144,11 @@ export type SearchLearningObjectsOptions = {
|
|
|
148
144
|
sort?: string;
|
|
149
145
|
};
|
|
150
146
|
export type FeatureAttributesRecommendations = Omit<FeatureAttributesGo1LearnSearch, 'searchProvider'> & SearchLearningObjectsOptions;
|
|
151
|
-
export type FeatureAttributes = FeatureAttributesAIChat | FeatureAttributesDiscoveryAgent | FeatureAttributesPreview | FeatureAttributesWallet | FeatureAttributesLibrary | FeatureAttributesSearch | FeatureAttributesMyLearning |
|
|
147
|
+
export type FeatureAttributes = FeatureAttributesAIChat | FeatureAttributesDiscoveryAgent | FeatureAttributesPreview | FeatureAttributesWallet | FeatureAttributesLibrary | FeatureAttributesSearch | FeatureAttributesMyLearning | FeatureAttributesContentStatus | FeatureAttributesGo1LearnSearch | FeatureAttributesRecommendations;
|
|
152
148
|
export interface AdditionalUserInfo {
|
|
153
149
|
jobTitle: string;
|
|
154
150
|
}
|
|
155
|
-
export declare const features: readonly ["activity-feed", "ai-chat", "admin-curation", "auth-clients", "auth-clients-public", "discovery-agent", "go1-learn/library", "go1-learn/my-learning", "go1-learn/search", "go1-learn/search-categories", "
|
|
151
|
+
export declare const features: readonly ["activity-feed", "ai-chat", "admin-curation", "auth-clients", "auth-clients-public", "discovery-agent", "go1-learn/library", "go1-learn/my-learning", "go1-learn/search", "go1-learn/search-categories", "content-hub", "content-status", "partner-sales", "preview", "recommendations", "search", "wallet"];
|
|
156
152
|
export type FeatureType = Exclude<(typeof features)[number], 'ai-chat' | 'content-hub'> | 'ai-chat' | 'content-hub';
|
|
157
153
|
export interface InitOptions {
|
|
158
154
|
feature: FeatureType;
|
package/dist/common/types.js
CHANGED