@go1/go1-embedding-react-sdk 0.0.76 → 0.0.78
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 +5 -5
- package/dist/common/types.js +1 -0
- package/package.json +1 -1
package/dist/common/types.d.ts
CHANGED
|
@@ -16,11 +16,11 @@ export interface AdditionalInfoMessage {
|
|
|
16
16
|
export interface ThemeInformation {
|
|
17
17
|
accent: string;
|
|
18
18
|
}
|
|
19
|
-
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' | 'logout' | 'sync_content' | 'open_save_to_playlist_modal' | 'update_experience' | 'inter_feature_navigation' | 'side_drawer_open' | 'side_drawer_close' | 'elysium_modal_open' | 'elysium_modal_close' | 'play_content' | 'go1pay_custom_data';
|
|
20
|
-
export
|
|
19
|
+
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' | 'logout' | 'sync_content' | 'open_save_to_playlist_modal' | 'update_experience' | 'inter_feature_navigation' | 'side_drawer_open' | 'side_drawer_close' | 'elysium_modal_open' | 'elysium_modal_close' | 'play_content' | 'go1pay_custom_data' | 'bulk_upload_content' | 'bulk_upload_metadata' | 'bulk_upload_close';
|
|
20
|
+
export type Go1Message = {
|
|
21
21
|
type: Go1MessageType;
|
|
22
22
|
payload?: any;
|
|
23
|
-
}
|
|
23
|
+
};
|
|
24
24
|
export type ExternalExperience = 'manager' | 'learner' | 'role-aware';
|
|
25
25
|
export interface FeatureAttributeCommon {
|
|
26
26
|
shouldSuppressPreview?: boolean;
|
|
@@ -51,6 +51,7 @@ export interface FeatureAttributesWallet extends FeatureAttributeCommon {
|
|
|
51
51
|
}
|
|
52
52
|
export interface FeatureAttributesBulkUpload extends FeatureAttributeCommon {
|
|
53
53
|
bulkMode: 'create' | 'update';
|
|
54
|
+
isStandalone?: boolean;
|
|
54
55
|
}
|
|
55
56
|
export interface FeatureAttributesContentStatus extends FeatureAttributeCommon {
|
|
56
57
|
isStandalone?: boolean;
|
|
@@ -80,13 +81,12 @@ export interface FeatureAttributesMyLearning extends FeatureAttributeCommon {
|
|
|
80
81
|
export interface FeatureAttributesGo1LearnSearch extends FeatureAttributeCommon {
|
|
81
82
|
searchTerm?: string;
|
|
82
83
|
searchProvider?: string;
|
|
83
|
-
searchTab?: 'items' | 'playlists';
|
|
84
84
|
}
|
|
85
85
|
export type FeatureAttributes = FeatureAttributesAIChat | FeatureAttributesPreview | FeatureAttributesWallet | FeatureAttributesLibrary | FeatureAttributesSearch | FeatureAttributesMyPlaylists | FeatureAttributesMyLearning | FeatureAttributesBulkUpload | FeatureAttributesContentStatus | FeatureAttributesGo1LearnSearch;
|
|
86
86
|
export interface AdditionalUserInfo {
|
|
87
87
|
jobTitle: string;
|
|
88
88
|
}
|
|
89
|
-
export declare const features: readonly ["ai-chat", "content-hub", "preview", "library", "search", "wallet", "content-retirement", "my-playlists", "activity-feed", "my-learning", "insights", "go1-learn/library", "go1-learn/my-learning", "go1-learn/learner-content", "go1-learn/search", "bulk-upload", "content-status", "partner-sales", "home"];
|
|
89
|
+
export declare const features: readonly ["ai-chat", "content-hub", "preview", "library", "search", "wallet", "content-retirement", "my-playlists", "activity-feed", "my-learning", "insights", "go1-learn/library", "go1-learn/my-learning", "go1-learn/learner-content", "go1-learn/search", "bulk-upload", "content-status", "partner-sales", "home", "recommendations"];
|
|
90
90
|
export type FeatureType = (typeof features)[number];
|
|
91
91
|
export interface InitOptions {
|
|
92
92
|
feature: FeatureType;
|
package/dist/common/types.js
CHANGED