mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-] update library to use new js-api 3.0.0 (#4097)
This commit is contained in:
committed by
Eugenio Romano
parent
2acd1b4e26
commit
3ef7d3b7ea
@@ -15,17 +15,13 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Pagination } from 'alfresco-js-api';
|
||||
import { Pagination } from '@alfresco/js-api';
|
||||
|
||||
export class PaginationModel implements Pagination {
|
||||
count?: number;
|
||||
hasMoreItems?: boolean;
|
||||
export class PaginationModel extends Pagination {
|
||||
merge?: boolean;
|
||||
totalItems?: number;
|
||||
skipCount?: number;
|
||||
maxItems?: number;
|
||||
|
||||
constructor(obj?: any) {
|
||||
super(obj);
|
||||
if (obj) {
|
||||
this.count = obj.count;
|
||||
this.hasMoreItems = obj.hasMoreItems ? obj.hasMoreItems : false;
|
||||
|
Reference in New Issue
Block a user