Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
[ADF-3214] path element fixes (#352)
Browse files Browse the repository at this point in the history
* [ADF-3383] Incorrect datatype for password in PersonBodyCreate in index.d.ts

* add missing path element properties

* update changelog
  • Loading branch information
DenysVuika authored and eromano committed Jul 23, 2018
1 parent 37fa869 commit d5acbab
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
[Sites API - update Site details](https://issues.alfresco.com/jira/browse/ADF-3366)

## Fixes
[AppsDefinitionApi contains two methods with same name and different firms](https://issues.alfresco.com/jira/browse/ADF-3289)
- [AppsDefinitionApi contains two methods with same name and different firms](https://issues.alfresco.com/jira/browse/ADF-3289)
- [Incorrect datatype for password in PersonBodyCreate in index.d.ts](https://issues.alfresco.com/jira/browse/ADF-3383)
- [PathElementEntity is missing properties](https://issues.alfresco.com/jira/browse/ADF-3214)


<a name="2.4.0"></a>
Expand Down
5 changes: 4 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ declare namespace AlfrescoApi {
firstName: string;
lastName: string;
email: string;
password: number;
password: string;
properties: any;
}

Expand Down Expand Up @@ -1293,6 +1293,9 @@ declare namespace AlfrescoApi {

id?: string;
name?: string;

nodeType?: string;
aspectNames?: Array<string>;
}

export class PathInfo {
Expand Down
14 changes: 14 additions & 0 deletions src/alfresco-core-rest-api/src/model/PathElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@
if (data.hasOwnProperty('name')) {
obj['name'] = ApiClient.convertToType(data['name'], 'String');
}
if (data.hasOwnProperty('nodeType')) {
obj['nodeType'] = ApiClient.convertToType(data['nodeType'], 'String');
}
if (data.hasOwnProperty('aspectNames')) {
obj['aspectNames'] = ApiClient.convertToType(data['aspectNames'], ['String']);
}
}
return obj;
}
Expand All @@ -64,7 +70,15 @@
*/
exports.prototype['name'] = undefined;

/**
* @member {String} nodeType
*/
exports.prototype['nodeType'] = undefined;

/**
* @member {string[]} aspectNames
*/
exports.prototype['aspectNames'] = undefined;


return exports;
Expand Down

0 comments on commit d5acbab

Please sign in to comment.