@go1/go1-embedding-react-sdk 0.9.1 → 0.9.2
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 +0 -5
- package/dist/CHANGELOG.md +6 -0
- package/dist/README.md +0 -5
- package/dist/common/types.d.ts +2 -5
- package/dist/common/types.js +0 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -170,10 +170,6 @@ export interface FeatureAttributesRetirement extends FeatureAttributeCommon {
|
|
|
170
170
|
export interface FeatureAttributesSearch extends FeatureAttributeCommon {
|
|
171
171
|
searchTerm?: string; // If the embedding search feature includes a search term, the app will initialize with the pre-filled search term.
|
|
172
172
|
}
|
|
173
|
-
export interface FeatureAttributesMyPlaylists extends FeatureAttributesPreviewCommon {
|
|
174
|
-
playlistId?: number; // If embedding my-playlists feature with playlistId, the app will initialise with the specified playlistId page.
|
|
175
|
-
}
|
|
176
|
-
|
|
177
173
|
export interface FeatureAttributesProspect {
|
|
178
174
|
isProspectExperience?: boolean;
|
|
179
175
|
}
|
|
@@ -198,7 +194,6 @@ export type FeatureAttributes =
|
|
|
198
194
|
| FeatureAttributesWallet
|
|
199
195
|
| FeatureAttributesLibrary
|
|
200
196
|
| FeatureAttributesSearch
|
|
201
|
-
| FeatureAttributesMyPlaylists
|
|
202
197
|
| FeatureAttributesRecommendations;
|
|
203
198
|
|
|
204
199
|
export interface AdditionalUserInfo {
|
package/dist/CHANGELOG.md
CHANGED
package/dist/README.md
CHANGED
|
@@ -170,10 +170,6 @@ export interface FeatureAttributesRetirement extends FeatureAttributeCommon {
|
|
|
170
170
|
export interface FeatureAttributesSearch extends FeatureAttributeCommon {
|
|
171
171
|
searchTerm?: string; // If the embedding search feature includes a search term, the app will initialize with the pre-filled search term.
|
|
172
172
|
}
|
|
173
|
-
export interface FeatureAttributesMyPlaylists extends FeatureAttributesPreviewCommon {
|
|
174
|
-
playlistId?: number; // If embedding my-playlists feature with playlistId, the app will initialise with the specified playlistId page.
|
|
175
|
-
}
|
|
176
|
-
|
|
177
173
|
export interface FeatureAttributesProspect {
|
|
178
174
|
isProspectExperience?: boolean;
|
|
179
175
|
}
|
|
@@ -198,7 +194,6 @@ export type FeatureAttributes =
|
|
|
198
194
|
| FeatureAttributesWallet
|
|
199
195
|
| FeatureAttributesLibrary
|
|
200
196
|
| FeatureAttributesSearch
|
|
201
|
-
| FeatureAttributesMyPlaylists
|
|
202
197
|
| FeatureAttributesRecommendations;
|
|
203
198
|
|
|
204
199
|
export interface AdditionalUserInfo {
|
package/dist/common/types.d.ts
CHANGED
|
@@ -100,9 +100,6 @@ export interface FeatureAttributesSearch extends FeatureAttributesPreviewCommon
|
|
|
100
100
|
}
|
|
101
101
|
export interface FeatureAttributesContentHub extends FeatureAttributesPreviewCommon {
|
|
102
102
|
}
|
|
103
|
-
export interface FeatureAttributesMyPlaylists extends FeatureAttributesPreviewCommon {
|
|
104
|
-
playlistId?: number;
|
|
105
|
-
}
|
|
106
103
|
export interface FeatureAttributesMyLearning extends FeatureAttributeCommon {
|
|
107
104
|
contentId?: number;
|
|
108
105
|
selectingTab?: 'saved' | 'in-progress' | 'assigned' | 'completed';
|
|
@@ -121,11 +118,11 @@ export type SearchLearningObjectsOptions = {
|
|
|
121
118
|
sort?: string;
|
|
122
119
|
};
|
|
123
120
|
export type FeatureAttributesRecommendations = Omit<FeatureAttributesGo1LearnSearch, 'searchProvider'> & SearchLearningObjectsOptions;
|
|
124
|
-
export type FeatureAttributes = FeatureAttributesAIChat | FeatureAttributesPreview | FeatureAttributesWallet | FeatureAttributesLibrary | FeatureAttributesSearch |
|
|
121
|
+
export type FeatureAttributes = FeatureAttributesAIChat | FeatureAttributesPreview | FeatureAttributesWallet | FeatureAttributesLibrary | FeatureAttributesSearch | FeatureAttributesMyLearning | FeatureAttributesBulkUpload | FeatureAttributesContentStatus | FeatureAttributesGo1LearnSearch | FeatureAttributesRecommendations;
|
|
125
122
|
export interface AdditionalUserInfo {
|
|
126
123
|
jobTitle: string;
|
|
127
124
|
}
|
|
128
|
-
export declare const features: readonly ["activity-feed", "ai-chat", "admin-curation", "auth-clients", "auth-clients-public", "go1-learn/library", "go1-learn/my-learning", "go1-learn/search", "go1-learn/search-categories", "bulk-upload", "content-hub", "content-retirement", "content-status", "library", "
|
|
125
|
+
export declare const features: readonly ["activity-feed", "ai-chat", "admin-curation", "auth-clients", "auth-clients-public", "go1-learn/library", "go1-learn/my-learning", "go1-learn/search", "go1-learn/search-categories", "bulk-upload", "content-hub", "content-retirement", "content-status", "library", "partner-sales", "preview", "recommendations", "search", "wallet"];
|
|
129
126
|
export type FeatureType = Exclude<(typeof features)[number], 'content-hub'> | 'content-hub';
|
|
130
127
|
export interface InitOptions {
|
|
131
128
|
feature: FeatureType;
|
package/dist/common/types.js
CHANGED