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/wp-relations/wp-relations.interfaces.ts

28 lines
707 B

import {WorkPackageResourceInterface} from '../api/api-v3/hal-resources/work-package-resource.service';
import {HalResource} from '../api/api-v3/hal-resources/hal-resource.service';
export interface RelatedWorkPackage extends WorkPackageResourceInterface {
relatedBy: RelationResource;
}
export interface RelatedWorkPackagesGroup {
[key: string] : Array<RelatedWorkPackage>;
}
export interface RelationResource extends HalResource {
_type: string;
description: string;
updateRelation(params:Object): ng.IPromise<any>;
remove(): ng.IPromise<any>;
}
export interface RelationType {
name: string;
id?: string;
type: string;
}
export interface RelationTitle {
[key: string]: string;
}