@wscsports/blaze-web-sdk 0.29.0 → 0.31.0
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/package.json +1 -1
- package/publish/index.d.ts +6 -3
- package/publish/index.js +1 -1
package/package.json
CHANGED
package/publish/index.d.ts
CHANGED
|
@@ -387,7 +387,7 @@ export type BlazeAbTestType = {
|
|
|
387
387
|
id: string;
|
|
388
388
|
variant: string;
|
|
389
389
|
};
|
|
390
|
-
export type BlazeSourceType = "labels" | "ids" | "recommendations";
|
|
390
|
+
export type BlazeSourceType = "labels" | "ids" | "recommendations" | "text";
|
|
391
391
|
export type AdvancedOrdering = "LiveFirst";
|
|
392
392
|
export interface BlazeDataSourceType {
|
|
393
393
|
sourceType: BlazeSourceType;
|
|
@@ -399,6 +399,7 @@ export interface BlazeDataSourceType {
|
|
|
399
399
|
advancedOrdering?: AdvancedOrdering;
|
|
400
400
|
personalized?: BlazePersonalized;
|
|
401
401
|
recommendations?: BlazeRecommendations;
|
|
402
|
+
text?: string;
|
|
402
403
|
}
|
|
403
404
|
export interface IBlazeWidgetLabel {
|
|
404
405
|
readonly _type: "BlazeWidgetLabel";
|
|
@@ -658,10 +659,12 @@ export interface IDataSourceBuilder {
|
|
|
658
659
|
labels: (params: LabelsDataSourceParams) => BlazeDataSourceType;
|
|
659
660
|
ids: (params: IdsDataSourceParams) => BlazeDataSourceType;
|
|
660
661
|
recommendations: (params: RecommendationsDataSourceParams) => BlazeDataSourceType;
|
|
662
|
+
text: (params: TextDataSourceParams) => BlazeDataSourceType;
|
|
661
663
|
}
|
|
662
664
|
export type LabelsDataSourceParams = Omit<BlazeDataSourceType, "sourceType" | "ids" | "recommendations">;
|
|
663
|
-
export type IdsDataSourceParams = Omit<BlazeDataSourceType, "sourceType" | "labels" | "recommendations" | "labelsPriority" | "maxItems">;
|
|
664
|
-
export type RecommendationsDataSourceParams = Omit<BlazeDataSourceType, "sourceType" | "ids" | "labels">;
|
|
665
|
+
export type IdsDataSourceParams = Omit<BlazeDataSourceType, "sourceType" | "labels" | "recommendations" | "labelsPriority" | "maxItems" | "text">;
|
|
666
|
+
export type RecommendationsDataSourceParams = Omit<BlazeDataSourceType, "sourceType" | "ids" | "labels" | "text">;
|
|
667
|
+
export type TextDataSourceParams = Omit<BlazeDataSourceType, "sourceType" | "ids" | "recommendations" | "labels" | "labelsPriority">;
|
|
665
668
|
export type BaseBlazeIcons = {
|
|
666
669
|
play: string;
|
|
667
670
|
pause: string;
|