mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
add watching file in demo document list
This commit is contained in:
@@ -54,7 +54,7 @@
|
|||||||
"alfresco"
|
"alfresco"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"alfresco-js-api": "0.1.0",
|
"alfresco-js-api": "^0.1.0",
|
||||||
"@angular/common": "2.0.0-rc.3",
|
"@angular/common": "2.0.0-rc.3",
|
||||||
"@angular/compiler": "2.0.0-rc.3",
|
"@angular/compiler": "2.0.0-rc.3",
|
||||||
"@angular/core": "2.0.0-rc.3",
|
"@angular/core": "2.0.0-rc.3",
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"watch": [
|
"watch": [
|
||||||
"node_modules/ng2-alfresco-datatable/dist/**/*.{html,htm,css,js}",
|
"node_modules/ng2-alfresco-datatable/dist/**/*.{html,htm,css,js}",
|
||||||
|
"node_modules/ng2-alfresco-core/dist/**/*.{html,htm,css,js}",
|
||||||
"node_modules/ng2-alfresco-documentlist/dist/**/*.{html,htm,css,js}"
|
"node_modules/ng2-alfresco-documentlist/dist/**/*.{html,htm,css,js}"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -78,11 +78,11 @@ export class DocumentListService {
|
|||||||
relativePath: folder,
|
relativePath: folder,
|
||||||
include: ['path']
|
include: ['path']
|
||||||
};
|
};
|
||||||
return this.getAlfrescoApi().getNodeChildren(nodeId, opts);
|
return this.getAlfrescoApi().node.getNodeChildren(nodeId, opts);
|
||||||
}
|
}
|
||||||
|
|
||||||
deleteNode(nodeId: string) {
|
deleteNode(nodeId: string) {
|
||||||
return Observable.fromPromise(this.getAlfrescoApi().deleteNode(nodeId));
|
return Observable.fromPromise(this.getAlfrescoApi().node.deleteNode(nodeId));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -67,8 +67,8 @@
|
|||||||
"material-design-lite": "1.1.3",
|
"material-design-lite": "1.1.3",
|
||||||
"ng2-translate": "2.2.2",
|
"ng2-translate": "2.2.2",
|
||||||
|
|
||||||
"alfresco-js-api": "0.1.0",
|
"alfresco-js-api": "^0.1.0",
|
||||||
"ng2-alfresco-core": "0.1.36",
|
"ng2-alfresco-core": "^0.1.36",
|
||||||
"ng2-alfresco-login": "file:../"
|
"ng2-alfresco-login": "file:../"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
Reference in New Issue
Block a user