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/components/work-package-states.service.ts

25 lines
684 B

import { MultiState, initStates } from '../helpers/reactive-fassade';
import {RelationResource} from './api/api-v3/hal-resources/relation-resource.service';
import {whenDebugging} from '../helpers/debug_output';
import { opServicesModule } from '../angular-modules';
import { RelationsStateValue } from "./wp-relations/wp-relations.service";
/* /api/v3/work_packages */
export class WorkPackageStates {
/* /:id/relations */
relations = new MultiState<RelationsStateValue>();
constructor() {
initStates(this, function (msg: any) {
whenDebugging(() => {
console.debug(msg);
});
});
}
}
opServicesModule.service('wpStates', WorkPackageStates);