mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3351] angular 7 (#3956)
* upgrade Angular CLI * upgrade material and fix breaking changes * upgrade lib dependencies * upgrade i18n * update test * disable flaky tests * try fix notification test * update package-lock * code and dependency fixes * card view e2e fixes * udpate e2e tests * fix e2e utils * updated e2e typings * test fixes * notification fixes * update tests
This commit is contained in:
committed by
Eugenio Romano
parent
811a3f1f7d
commit
220930d27b
@@ -34,10 +34,10 @@ export class FileModel {
|
||||
secondPageText = resources.Files.ADF_DOCUMENTS.PDF.second_page_text;
|
||||
lastPageNumber = resources.Files.ADF_DOCUMENTS.PDF.last_page_number;
|
||||
createdAt = '';
|
||||
createdByUser = {};
|
||||
modifiedByUser = {};
|
||||
content = {};
|
||||
properties = {};
|
||||
createdByUser = new CreatedByModel();
|
||||
modifiedByUser = new CreatedByModel();
|
||||
content: ContentModel = {};
|
||||
properties: ContentPropertiesModel = {};
|
||||
|
||||
constructor(details?: any) {
|
||||
Object.assign(this, details);
|
||||
@@ -89,19 +89,19 @@ export class FileModel {
|
||||
return this.lastPageNumber;
|
||||
}
|
||||
|
||||
getCreatedByUser() {
|
||||
getCreatedByUser(): CreatedByModel {
|
||||
return this.createdByUser;
|
||||
}
|
||||
|
||||
getModifiedByUser() {
|
||||
getModifiedByUser(): CreatedByModel {
|
||||
return this.modifiedByUser;
|
||||
}
|
||||
|
||||
getContent() {
|
||||
getContent(): ContentModel {
|
||||
return this.content;
|
||||
}
|
||||
|
||||
getProperties() {
|
||||
getProperties(): ContentPropertiesModel {
|
||||
return this.properties;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user