@meshmakers/octo-ui 3.4.730 → 3.4.770
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
CHANGED
|
@@ -614,6 +614,14 @@ declare abstract class OctoGraphQlDataSource<TDto> extends DataSourceTyped<TDto
|
|
|
614
614
|
protected constructor(listViewComponent: ListViewComponent);
|
|
615
615
|
protected get searchFilterAttributePaths(): string[];
|
|
616
616
|
protected set searchFilterAttributePaths(value: string[]);
|
|
617
|
+
/**
|
|
618
|
+
* The OctoMesh API rejects a page window that lies beyond the result set
|
|
619
|
+
* with an INCOMPLETE_SLICE GraphQL error (e.g. a persisted page offset
|
|
620
|
+
* combined with filters that now match fewer rows). Reporting it here lets
|
|
621
|
+
* MmListViewDataBindingDirective recover by resetting to page 1 instead of
|
|
622
|
+
* silently keeping the previous rows on screen.
|
|
623
|
+
*/
|
|
624
|
+
isPageOutOfRangeError(error: unknown): boolean;
|
|
617
625
|
protected getFieldFilterDefinitions(state: State): FieldFilterDto[] | null;
|
|
618
626
|
protected getSearchFilterDefinitions(textSearchValue: string | null): SearchFilterDto | null;
|
|
619
627
|
protected getSortDefinitions(state: State): SortDto[] | null;
|