OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/frontend/app/ng1-overwritten-injections.ts

22 lines
1.3 KiB

import {opServicesModule, opWorkPackagesModule} from 'core-app/angular-modules';
import {WorkPackageCacheService} from 'core-components/work-packages/work-package-cache.service';
import {SchemaCacheService} from 'core-components/schemas/schema-cache.service';
import {WorkPackageTableRefreshService} from 'core-components/wp-table/wp-table-refresh-request.service';
import {WorkPackageDisplayFieldService} from 'core-components/wp-display/wp-display-field/wp-display-field.service';
import {WorkPackageEditFieldService} from 'core-components/wp-edit/wp-edit-field/wp-edit-field.service';
class Ng1WorkPackageCacheService extends WorkPackageCacheService {}
class Ng1SchemaCacheService extends SchemaCacheService {}
class Ng1WorkPackageTableRefreshService extends WorkPackageTableRefreshService {}
class Ng1WorkPackageDisplayFieldService extends WorkPackageDisplayFieldService {}
class Ng1WorkPackageEditFieldService extends WorkPackageEditFieldService {}
angular
.module('openproject')
.service('wpDisplayField', Ng1WorkPackageDisplayFieldService);
angular
.module('openproject')
.service('wpEditField', Ng1WorkPackageEditFieldService);
opWorkPackagesModule.service('wpCacheService', Ng1WorkPackageCacheService);
opWorkPackagesModule.service('schemaCacheService', Ng1SchemaCacheService);
opServicesModule.service('wpTableRefresh', Ng1WorkPackageTableRefreshService);