@go1/go1-embedding-react-sdk 0.0.54 → 0.0.56
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 +3 -4
- package/dist/common/types.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -87,7 +87,7 @@ export interface Go1Message {
|
|
|
87
87
|
payload?: any;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export type Experience = 'manager' | 'learner' | '
|
|
90
|
+
export type Experience = 'manager' | 'learner' | 'role-aware'
|
|
91
91
|
|
|
92
92
|
interface FeatureAttributeCommon {
|
|
93
93
|
shouldSuppressPreview?: boolean;
|
package/dist/README.md
CHANGED
|
@@ -87,7 +87,7 @@ export interface Go1Message {
|
|
|
87
87
|
payload?: any;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export type Experience = 'manager' | 'learner' | '
|
|
90
|
+
export type Experience = 'manager' | 'learner' | 'role-aware'
|
|
91
91
|
|
|
92
92
|
interface FeatureAttributeCommon {
|
|
93
93
|
shouldSuppressPreview?: boolean;
|
package/dist/common/types.d.ts
CHANGED
|
@@ -20,10 +20,10 @@ export interface Go1Message {
|
|
|
20
20
|
payload?: any;
|
|
21
21
|
}
|
|
22
22
|
type go1OnlyEnabledFeatures = Array<'ai-chat' | 'library' | 'my-playlists' | 'search'>;
|
|
23
|
-
export type
|
|
23
|
+
export type ExternalExperience = 'manager' | 'learner' | 'role-aware';
|
|
24
24
|
export interface FeatureAttributeCommon {
|
|
25
25
|
shouldSuppressPreview?: boolean;
|
|
26
|
-
experience?:
|
|
26
|
+
experience?: ExternalExperience;
|
|
27
27
|
featureName?: string;
|
|
28
28
|
contentScope?: 'subscription' | 'library';
|
|
29
29
|
}
|
|
@@ -51,7 +51,6 @@ export interface FeatureAttributesWallet extends FeatureAttributeCommon {
|
|
|
51
51
|
}
|
|
52
52
|
export interface FeatureAttributesLearnerSearch extends FeatureAttributeCommon {
|
|
53
53
|
isGo1MobileApp?: boolean;
|
|
54
|
-
experience?: 'learner';
|
|
55
54
|
}
|
|
56
55
|
export interface FeatureAttributesLibrary extends FeatureAttributesPreviewCommon, FeatureAttributesRetirement {
|
|
57
56
|
libraryEmptyStateDescription?: string;
|
|
@@ -77,7 +76,7 @@ export type FeatureAttributes = FeatureAttributesAIChat | FeatureAttributesPrevi
|
|
|
77
76
|
export interface AdditionalUserInfo {
|
|
78
77
|
jobTitle: string;
|
|
79
78
|
}
|
|
80
|
-
export declare const features: readonly ["ai-chat", "content-hub", "preview", "library", "search", "wallet", "content-retirement", "my-playlists", "activity-feed", "my-learning"];
|
|
79
|
+
export declare const features: readonly ["ai-chat", "content-hub", "preview", "library", "search", "wallet", "content-retirement", "my-playlists", "activity-feed", "my-learning", "insights"];
|
|
81
80
|
export type FeatureType = (typeof features)[number];
|
|
82
81
|
export interface InitOptions {
|
|
83
82
|
feature: FeatureType;
|
package/dist/common/types.js
CHANGED