OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
import { Injector } from '@angular/core';
import { Constructor } from 'core-app/core/util-types';
import { SimpleResource, SimpleResourceCollection } from 'core-app/core/apiv3/paths/path-resources';
export class BcfResourcePath extends SimpleResource {
constructor(readonly injector:Injector,
basePath:string,
readonly id:string|number) {
super(basePath, id);
}
}
export class BcfResourceCollectionPath<T extends BcfResourcePath> extends SimpleResourceCollection<T> {
constructor(readonly injector:Injector,
protected basePath:string,
segment:string,
protected resource?:Constructor<T>) {
super(basePath, segment, resource);
}
public id(id:string|number):T {
return new (this.resource || BcfResourcePath)(this.injector, this.path, id) as T;
}
}