@go1/go1-embedding-react-sdk 0.0.68 → 0.0.70
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/README.md +3 -1
- package/dist/README.md +3 -1
- package/dist/common/types.d.ts +2 -1
- package/dist/common/types.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -145,7 +145,9 @@ export interface FeatureAttributesRetirement extends FeatureAttributeCommon {
|
|
|
145
145
|
shouldShowNotificationEmailRegisterSwitch?: boolean;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
export interface FeatureAttributesSearch extends FeatureAttributeCommon {
|
|
148
|
+
export interface FeatureAttributesSearch extends FeatureAttributeCommon {
|
|
149
|
+
searchTerm?: string; // If the embedding search feature includes a search term, the app will initialize with the pre-filled search term.
|
|
150
|
+
}
|
|
149
151
|
export interface FeatureAttributesMyPlaylists extends FeatureAttributesPreviewCommon {
|
|
150
152
|
playlistId?: number; // If embedding my-playlists feature with playlistId, the app will initialise with the specified playlistId page.
|
|
151
153
|
}
|
package/dist/README.md
CHANGED
|
@@ -145,7 +145,9 @@ export interface FeatureAttributesRetirement extends FeatureAttributeCommon {
|
|
|
145
145
|
shouldShowNotificationEmailRegisterSwitch?: boolean;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
export interface FeatureAttributesSearch extends FeatureAttributeCommon {
|
|
148
|
+
export interface FeatureAttributesSearch extends FeatureAttributeCommon {
|
|
149
|
+
searchTerm?: string; // If the embedding search feature includes a search term, the app will initialize with the pre-filled search term.
|
|
150
|
+
}
|
|
149
151
|
export interface FeatureAttributesMyPlaylists extends FeatureAttributesPreviewCommon {
|
|
150
152
|
playlistId?: number; // If embedding my-playlists feature with playlistId, the app will initialise with the specified playlistId page.
|
|
151
153
|
}
|
package/dist/common/types.d.ts
CHANGED
|
@@ -66,6 +66,7 @@ export interface FeatureAttributesRetirement extends FeatureAttributesPreviewCom
|
|
|
66
66
|
shouldShowNotificationEmailRegisterSwitch?: boolean;
|
|
67
67
|
}
|
|
68
68
|
export interface FeatureAttributesSearch extends FeatureAttributesPreviewCommon {
|
|
69
|
+
searchTerm?: string;
|
|
69
70
|
}
|
|
70
71
|
export interface FeatureAttributesContentHub extends FeatureAttributesPreviewCommon {
|
|
71
72
|
}
|
|
@@ -78,7 +79,7 @@ export type FeatureAttributes = FeatureAttributesAIChat | FeatureAttributesPrevi
|
|
|
78
79
|
export interface AdditionalUserInfo {
|
|
79
80
|
jobTitle: string;
|
|
80
81
|
}
|
|
81
|
-
export declare const features: readonly ["ai-chat", "content-hub", "preview", "library", "search", "wallet", "content-retirement", "my-playlists", "activity-feed", "my-learning", "insights", "essentials-select/library", "essentials-select/my-learning", "essentials-select/learner-content", "essentials-select/search", "bulk-upload", "content-status", "partner-sales"];
|
|
82
|
+
export declare const features: readonly ["ai-chat", "content-hub", "preview", "library", "search", "wallet", "content-retirement", "my-playlists", "activity-feed", "my-learning", "insights", "essentials-select/library", "essentials-select/my-learning", "essentials-select/learner-content", "essentials-select/search", "bulk-upload", "content-status", "partner-sales", "homepage"];
|
|
82
83
|
export type FeatureType = (typeof features)[number];
|
|
83
84
|
export interface InitOptions {
|
|
84
85
|
feature: FeatureType;
|
package/dist/common/types.js
CHANGED