@getlupa/client 0.7.0-alpha-3 → 0.7.0-alpha-4
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.
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Document } from "@getlupa/client-sdk/Types";
|
|
2
1
|
import { AnchorPosition } from "./SearchResultsProductCardOptions";
|
|
3
2
|
export declare type SearchResultBadgeType = "text" | "image" | "customHtml";
|
|
4
3
|
export declare type BadgeOptions = {
|
|
@@ -32,7 +31,7 @@ export declare type ImageBadgeElement<T = any> = BaseBadgeElement<T> & {
|
|
|
32
31
|
export declare type CustomHtmlBadgeElement<T = any> = BaseBadgeElement<T> & {
|
|
33
32
|
type: "customHtml";
|
|
34
33
|
className?: string;
|
|
35
|
-
html: (doc:
|
|
34
|
+
html: (doc: T) => string;
|
|
36
35
|
};
|
|
37
36
|
export declare type BadgeElement = BaseBadgeElement | TextBadgeElement;
|
|
38
37
|
export declare enum BadgeType {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Document } from "@getlupa/client-sdk/Types";
|
|
2
1
|
import { AnchorPosition } from "./SearchResultsProductCardOptions";
|
|
3
2
|
export declare type SearchResultBadgeType = "text" | "image" | "customHtml";
|
|
4
3
|
export declare type BadgeOptions = {
|
|
@@ -32,7 +31,7 @@ export declare type ImageBadgeElement<T = any> = BaseBadgeElement<T> & {
|
|
|
32
31
|
export declare type CustomHtmlBadgeElement<T = any> = BaseBadgeElement<T> & {
|
|
33
32
|
type: "customHtml";
|
|
34
33
|
className?: string;
|
|
35
|
-
html: (doc:
|
|
34
|
+
html: (doc: T) => string;
|
|
36
35
|
};
|
|
37
36
|
export declare type BadgeElement = BaseBadgeElement | TextBadgeElement;
|
|
38
37
|
export declare enum BadgeType {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Document } from "@getlupa/client-sdk/Types";
|
|
2
1
|
import { AnchorPosition } from "./SearchResultsProductCardOptions";
|
|
3
2
|
export declare type SearchResultBadgeType = "text" | "image" | "customHtml";
|
|
4
3
|
export declare type BadgeOptions = {
|
|
@@ -32,7 +31,7 @@ export declare type ImageBadgeElement<T = any> = BaseBadgeElement<T> & {
|
|
|
32
31
|
export declare type CustomHtmlBadgeElement<T = any> = BaseBadgeElement<T> & {
|
|
33
32
|
type: "customHtml";
|
|
34
33
|
className?: string;
|
|
35
|
-
html: (doc:
|
|
34
|
+
html: (doc: T) => string;
|
|
36
35
|
};
|
|
37
36
|
export declare type BadgeElement = BaseBadgeElement | TextBadgeElement;
|
|
38
37
|
export declare enum BadgeType {
|