@go1/go1-embedding-react-sdk 0.9.0 → 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 -11
- package/dist/CHANGELOG.md +12 -0
- package/dist/README.md +0 -11
- package/dist/common/types.d.ts +2 -5
- package/dist/common/types.js +0 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -170,15 +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
|
-
export interface FeatureAttributesMyLearning extends FeatureAttributeCommon {
|
|
178
|
-
contentId?: number; // If the embedding my-learning feature includes a content id, the app will initialize with the specified content page.
|
|
179
|
-
selectingTab?: 'saved' | 'in-progress' | 'assigned' | 'completed';
|
|
180
|
-
}
|
|
181
|
-
|
|
182
173
|
export interface FeatureAttributesProspect {
|
|
183
174
|
isProspectExperience?: boolean;
|
|
184
175
|
}
|
|
@@ -203,8 +194,6 @@ export type FeatureAttributes =
|
|
|
203
194
|
| FeatureAttributesWallet
|
|
204
195
|
| FeatureAttributesLibrary
|
|
205
196
|
| FeatureAttributesSearch
|
|
206
|
-
| FeatureAttributesMyPlaylists
|
|
207
|
-
| FeatureAttributesMyLearning
|
|
208
197
|
| FeatureAttributesRecommendations;
|
|
209
198
|
|
|
210
199
|
export interface AdditionalUserInfo {
|
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @go1/go1-embedding-react-sdk
|
|
2
2
|
|
|
3
|
+
## 0.9.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Remove the deprecated standalone `my-playlists` SDK feature and attributes
|
|
8
|
+
|
|
9
|
+
## 0.9.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Update the SDK documentation to remove the legacy standalone My Learning attributes
|
|
14
|
+
|
|
3
15
|
## 0.9.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/README.md
CHANGED
|
@@ -170,15 +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
|
-
export interface FeatureAttributesMyLearning extends FeatureAttributeCommon {
|
|
178
|
-
contentId?: number; // If the embedding my-learning feature includes a content id, the app will initialize with the specified content page.
|
|
179
|
-
selectingTab?: 'saved' | 'in-progress' | 'assigned' | 'completed';
|
|
180
|
-
}
|
|
181
|
-
|
|
182
173
|
export interface FeatureAttributesProspect {
|
|
183
174
|
isProspectExperience?: boolean;
|
|
184
175
|
}
|
|
@@ -203,8 +194,6 @@ export type FeatureAttributes =
|
|
|
203
194
|
| FeatureAttributesWallet
|
|
204
195
|
| FeatureAttributesLibrary
|
|
205
196
|
| FeatureAttributesSearch
|
|
206
|
-
| FeatureAttributesMyPlaylists
|
|
207
|
-
| FeatureAttributesMyLearning
|
|
208
197
|
| FeatureAttributesRecommendations;
|
|
209
198
|
|
|
210
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