Compare commits
3 Commits
26ae1c7f06
...
55914bf7d2
Author | SHA1 | Date | |
---|---|---|---|
55914bf7d2 | |||
26ca9be4e7 | |||
0ed342404e |
@ -22,8 +22,8 @@ export class FolderService {
|
||||
return this.httpClient.get<IListItem>(`${this.ApiEndpoint()}/api/v1/folders/${code}`);
|
||||
}
|
||||
|
||||
getMyRoot(): Observable<IListItem[]> {
|
||||
return this.httpClient.get<IListItem[]>(`${this.ApiEndpoint()}/api/v1/folders/my_root`);
|
||||
getMyRoot(): Observable<IListItem> {
|
||||
return this.httpClient.get<IListItem>(`${this.ApiEndpoint()}/api/v1/folders/my_root`);
|
||||
}
|
||||
|
||||
getMyRoots(): Observable<IListItem[]> {
|
||||
|
@ -94,7 +94,7 @@ export class ItemService {
|
||||
return this.httpClient.get<IItem[]>(`${this.ApiEndpoint()}/api/v1/items/`, { params: params });
|
||||
}
|
||||
|
||||
getChildItemList(parentcode: string, itemType: string, dataFilter?: any, level = 1, deep = true,
|
||||
getChildItemList(parentcode: string, itemType?: string, dataFilter?: any, level = 1, deep = true,
|
||||
startDate?: Date, endDate?: Date, skip?: number, take?: number): Observable<IItem[]> {
|
||||
let params = new HttpParams();
|
||||
if(itemType != null) {
|
||||
@ -113,7 +113,7 @@ export class ItemService {
|
||||
return this.httpClient.get<IItem[]>(`${this.ApiEndpoint()}/api/v1/items/${parentcode}/children`, { params: params });
|
||||
}
|
||||
|
||||
getChildItemListCount(parentcode: string, itemType: string,dataFilter?: any): Observable<number> {
|
||||
getChildItemListCount(parentcode: string, itemType?: string,dataFilter?: any): Observable<number> {
|
||||
let params = new HttpParams();
|
||||
params = params.append("it", itemType);
|
||||
if (dataFilter != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user