@variantic/player 0.0.12 → 0.0.13
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.
|
@@ -52,7 +52,7 @@ export type TViewerApi = {
|
|
|
52
52
|
/**
|
|
53
53
|
* Returns a list of materials matching the given filter ID, optionally grouped by the specified query ID.
|
|
54
54
|
*/
|
|
55
|
-
getMaterialsList(filterId
|
|
55
|
+
getMaterialsList({ filterId, groupingQueryId, page, perPage, }: TGetMaterialsListParams): Promise<TMaterialsList>;
|
|
56
56
|
/**
|
|
57
57
|
* Returns the current layout settings configuration.
|
|
58
58
|
*/
|
|
@@ -180,6 +180,12 @@ export type TViewerApiEvents = TWebComponentEvents<{
|
|
|
180
180
|
state: boolean;
|
|
181
181
|
};
|
|
182
182
|
}>;
|
|
183
|
+
export type TGetMaterialsListParams = {
|
|
184
|
+
filterId: number;
|
|
185
|
+
groupingQueryId?: number;
|
|
186
|
+
page?: number;
|
|
187
|
+
perPage?: number;
|
|
188
|
+
};
|
|
183
189
|
export type TGetConfigurationParams = {
|
|
184
190
|
/**
|
|
185
191
|
* Specifies whether to include hidden items
|