[ADF-1004] The process service definition file in the alfresco-js-api is incomplete (#2488)

* correction after new declaration file for PS

* remove unused jasmine

* commit ifx initial pipe

* fix tasklist test

* fix tasklist test

* reinsert test
This commit is contained in:
Eugenio Romano
2017-10-18 09:20:19 +01:00
committed by Denys Vuika
parent 0cc578ba0e
commit 036c63e43d
86 changed files with 1136 additions and 1162 deletions

View File

@@ -41,11 +41,8 @@ describe('User info component', () => {
let element: HTMLElement;
let stubAuthService: AlfrescoAuthenticationService;
let stubContent: AlfrescoContentService;
let componentHandler;
beforeEach(async(() => {
componentHandler = jasmine.createSpyObj('componentHandler', ['upgradeAllRegistered', 'upgradeElement']);
window['componentHandler'] = componentHandler;
TestBed.configureTestingModule({
imports: [
CoreModule,

View File

@@ -15,11 +15,13 @@
* limitations under the License.
*/
export class BpmUserModel {
import { UserRepresentation } from 'alfresco-js-api';
export class BpmUserModel implements UserRepresentation {
apps: any;
capabilities: string;
capabilities: string[];
company: string;
created: string;
created: Date;
email: string;
externalId: string;
firstName: string;
@@ -28,14 +30,14 @@ export class BpmUserModel {
fullNameDisplay: string;
groups: any;
id: string;
lastUpdate: string;
latestSyncTimeStamp: string;
lastUpdate: Date;
latestSyncTimeStamp: Date;
password: string;
pictureId: string;
pictureId: number;
status: string;
tenantId: string;
tenantId: number;
tenantName: string;
tenantPictureId: string;
tenantPictureId: number;
type: string;
constructor(obj?: any) {