Add exportable WorkPackageResourceInterface (#4499)

This should resolve any TypeScript code completion issues.
pull/4502/head
Alex Dik 9 years ago
parent 566333ab34
commit e881ab5ffd
  1. 37
      frontend/app/components/api/api-v3/hal-resources/work-package-resource.service.ts

@ -33,23 +33,23 @@ import {ApiWorkPackagesService} from "../../api-work-packages/api-work-packages.
import IQService = angular.IQService;
interface WorkPackageResourceEmbedded {
activities:HalResource;
assignee:HalResource;
attachments:HalResource;
author:HalResource;
availableWatchers:HalResource;
category:HalResource;
children:HalResource[];
parent:HalResource;
priority:HalResource;
project:HalResource;
responsible:HalResource;
schema:HalResource;
status:HalResource;
timeEntries:HalResource[];
type:HalResource;
version:HalResource;
watchers:HalResource[];
activities:HalResource|any;
assignee:HalResource|any;
attachments:HalResource|any;
author:HalResource|any;
availableWatchers:HalResource|any;
category:HalResource|any;
children:HalResource[]|any;
parent:HalResource|any;
priority:HalResource|any;
project:HalResource|any;
responsible:HalResource|any;
schema:HalResource|any;
status:HalResource|any;
timeEntries:HalResource[]|any;
type:HalResource|any;
version:HalResource|any;
watchers:HalResource[]|any;
}
interface WorkPackageResourceLinks extends WorkPackageResourceEmbedded {
@ -302,6 +302,9 @@ export class WorkPackageResource extends HalResource {
}
}
export interface WorkPackageResourceInterface extends WorkPackageResourceLinks, WorkPackageResourceEmbedded, WorkPackageResource {
}
function wpResource(_$q_, _apiWorkPackages_, _wpCacheService_, _NotificationsService_) {
$q = _$q_;
apiWorkPackages = _apiWorkPackages_;

Loading…
Cancel
Save