@variantic/player 0.0.13 → 0.0.15
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.
|
@@ -15,6 +15,10 @@ export type TViewerApi = {
|
|
|
15
15
|
* Returns the current price value.
|
|
16
16
|
*/
|
|
17
17
|
getPrice(): number;
|
|
18
|
+
/**
|
|
19
|
+
* Returns the current price formatted with set rounding settings.
|
|
20
|
+
*/
|
|
21
|
+
getRoundedPrice(): number;
|
|
18
22
|
/**
|
|
19
23
|
* Returns the current price formatted with the appropriate currency symbol.
|
|
20
24
|
*/
|
|
@@ -53,6 +57,7 @@ export type TViewerApi = {
|
|
|
53
57
|
* Returns a list of materials matching the given filter ID, optionally grouped by the specified query ID.
|
|
54
58
|
*/
|
|
55
59
|
getMaterialsList({ filterId, groupingQueryId, page, perPage, }: TGetMaterialsListParams): Promise<TMaterialsList>;
|
|
60
|
+
getMaterialsList(filterId: number, groupingQueryId?: number, page?: number, perPage?: number): Promise<TMaterialsList>;
|
|
56
61
|
/**
|
|
57
62
|
* Returns the current layout settings configuration.
|
|
58
63
|
*/
|