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

Commit

Permalink
Merge pull request #177 from Alfresco/development
Browse files Browse the repository at this point in the history
1.1.1
  • Loading branch information
magemello committed Jan 27, 2017
2 parents aab3101 + 67fcb6f commit 16baafa
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 16 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

Alfresco JS API

<a name="1.1.1"></a>
# [1.1.1](https://github.com/Alfresco/alfresco-js-api/releases/tag/1.1.1) (27-01-2017)
## Fix
- [AlfrescoApiConfig make optional parameters in the declaration file #174](https://github.com/Alfresco/alfresco-js-api/pull/174)

_This project provides a JavaScript client API into the v1 Alfresco REST API_
<a name="1.1.0"></a>
# [1.1.0](https://github.com/Alfresco/alfresco-js-api/releases/tag/1.1.0) (26-01-2017)
Expand Down
39 changes: 23 additions & 16 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,16 +203,23 @@ declare namespace AlfrescoApi {
export interface NodesApi {
new(client: ApiClient): NodesApi;

getNodeInfo(nodeId: string, opts?: any): Promise<MinimalNodeEntryEntity>;
addNode(nodeId: string, nodeBody: any, opts?: any): Promise<MinimalNodeEntity>;
copyNode(nodeId: string, copyBody: any, opts?: any): Promise<MinimalNodeEntity>;
deleteNode(nodeId: string): Promise<void>;
getDeletedNode(nodeId: string, opts?: any): Promise<DeletedNodeEntity>;
getDeletedNodes(opts?: any): Promise<DeletedNodesPaging>;
getFileContent(nodeId: string, opts?: any): Promise<any>;
getNode(nodeId: string, opts?: any): Promise<MinimalNodeEntity>;
getNodeChildren(nodeId: string, opts?: any): Promise<NodePaging>;
deleteNode(nodeId: string): Promise<any>;
createFolder(name: string, relativePath: string, nodeId?: string, opts?: any): Promise<MinimalNodeEntryEntity>;
getNode(nodeId: string, opts: any): Promise<MinimalNodeEntity>;
getDeletedNodes(opts: any): Promise<DeletedNodesPaging>;
purgeDeletedNode(nodeId: string): Promise<any>;
getDeletedNode(nodeId: string, opts: any): Promise<DeletedNodeEntity>;
moveNode(nodeId: string, moveBody: any, opts?: any): Promise<MinimalNodeEntity>;
purgeDeletedNode(nodeId: string): Promise<void>;
restoreNode(nodeId: string): Promise<MinimalNodeEntity>;
addNode(nodeId: string, nodeBody: any, opts: any): any;
updateFileContent(nodeId: string, contentBody: string, opts?: any): Promise<MinimalNodeEntity>;
updateNode(nodeId: string, nodeBody: any, opts?: any): Promise<MinimalNodeEntity>;
getNodeInfo(nodeId: string, opts?: any): Promise<MinimalNodeEntryEntity>;
deleteNodePermanent(nodeId: string): Promise<void>;
createFolder(name: string, relativePath: string, nodeId?: string, opts?: any): Promise<MinimalNodeEntity>;
createFolderAutoRename(name: string, relativePath: string, nodeId: string, opts): Promise<MinimalNodeEntity>;
}

export interface ApiClient {
Expand Down Expand Up @@ -485,14 +492,14 @@ declare namespace AlfrescoApi {
}

export interface AlfrescoApiConfig {
hostEcm: string;
hostBpm: string;
contextRoot: string;
contextRootBpm: string;
provider: string;
ticketEcm: string;
ticketBpm: string;
disableCsrf: boolean;
hostEcm?: string;
hostBpm?: string;
contextRoot?: string;
contextRootBpm?: string;
provider?: string;
ticketEcm?: string;
ticketBpm?: string;
disableCsrf?: boolean;
}

export interface ContentApi {
Expand Down

0 comments on commit 16baafa

Please sign in to comment.