@go1/go1-embedding-react-sdk 0.0.32 → 0.0.34
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 +1 -1
- package/dist/README.md +1 -1
- package/dist/common/types.d.ts +12 -8
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/README.md
CHANGED
package/dist/common/types.d.ts
CHANGED
|
@@ -18,9 +18,13 @@ export interface Go1Message {
|
|
|
18
18
|
}
|
|
19
19
|
interface FeatureAttributeCommon {
|
|
20
20
|
shouldSuppressPreview?: boolean;
|
|
21
|
-
|
|
21
|
+
shouldShowGo1FeedbackButton?: boolean;
|
|
22
22
|
}
|
|
23
|
-
|
|
23
|
+
interface FeatureAttributesPreviewCommon extends FeatureAttributeCommon {
|
|
24
|
+
startWith1Player?: boolean;
|
|
25
|
+
showFooter?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface FeatureAttributesAIChat extends FeatureAttributesPreviewCommon {
|
|
24
28
|
experience: 'manager' | 'learner';
|
|
25
29
|
intent?: 'skill_gap' | 'improve_skills' | 'next_role' | 'aspirations';
|
|
26
30
|
message?: string;
|
|
@@ -28,11 +32,9 @@ export interface FeatureAttributesAIChat extends FeatureAttributeCommon {
|
|
|
28
32
|
desiredSkills?: string[];
|
|
29
33
|
desiredRole?: string;
|
|
30
34
|
}
|
|
31
|
-
export interface FeatureAttributesPreview extends
|
|
35
|
+
export interface FeatureAttributesPreview extends FeatureAttributesPreviewCommon {
|
|
32
36
|
id: number;
|
|
33
37
|
experience?: 'manager' | 'learner';
|
|
34
|
-
startWith1Player?: boolean;
|
|
35
|
-
showFooter?: boolean;
|
|
36
38
|
}
|
|
37
39
|
export interface FeatureAttributesWallet extends FeatureAttributeCommon {
|
|
38
40
|
walletMode: 'setup' | 'main';
|
|
@@ -42,15 +44,17 @@ export interface FeatureAttributesLearnerSearch extends FeatureAttributeCommon {
|
|
|
42
44
|
isGo1MobileApp?: boolean;
|
|
43
45
|
experience?: 'learner';
|
|
44
46
|
}
|
|
45
|
-
export interface FeatureAttributesLibrary extends
|
|
47
|
+
export interface FeatureAttributesLibrary extends FeatureAttributesPreviewCommon, FeatureAttributesRetirement {
|
|
46
48
|
libraryEmptyStateDescription?: string;
|
|
47
49
|
shouldShowLibraryTabs?: boolean;
|
|
48
50
|
}
|
|
49
|
-
export interface FeatureAttributesRetirement extends
|
|
51
|
+
export interface FeatureAttributesRetirement extends FeatureAttributesPreviewCommon {
|
|
50
52
|
shouldShowAlternativesSearchButton?: boolean;
|
|
51
53
|
shouldShowNotificationEmailRegisterSwitch?: boolean;
|
|
52
54
|
}
|
|
53
|
-
export interface FeatureAttributesSearch extends
|
|
55
|
+
export interface FeatureAttributesSearch extends FeatureAttributesPreviewCommon {
|
|
56
|
+
}
|
|
57
|
+
export interface FeatureAttributesContentHub extends FeatureAttributesPreviewCommon {
|
|
54
58
|
}
|
|
55
59
|
export type FeatureAttributes = FeatureAttributesAIChat | FeatureAttributesPreview | FeatureAttributesWallet | FeatureAttributesLibrary | FeatureAttributesSearch;
|
|
56
60
|
export interface AdditionalUserInfo {
|