switched to resource-types for annotations to get around circular dependency issues

This commit is contained in:
Art Lowel
2020-01-22 11:11:02 +01:00
committed by Art Lowel
parent 56c3d12497
commit 1d31cae970
30 changed files with 80 additions and 64 deletions

View File

@@ -19,7 +19,7 @@ import { WorkspaceItem } from './models/workspaceitem.model';
* A service that provides methods to make REST requests with workspaceitems endpoint.
*/
@Injectable()
@dataService(WorkspaceItem)
@dataService(WorkspaceItem.type)
export class WorkspaceitemDataService extends DataService<WorkspaceItem> {
protected linkPath = 'workspaceitems';
protected responseMsToLive = 10 * 1000;