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; import IQService = angular.IQService;
interface WorkPackageResourceEmbedded { interface WorkPackageResourceEmbedded {
activities:HalResource; activities:HalResource|any;
assignee:HalResource; assignee:HalResource|any;
attachments:HalResource; attachments:HalResource|any;
author:HalResource; author:HalResource|any;
availableWatchers:HalResource; availableWatchers:HalResource|any;
category:HalResource; category:HalResource|any;
children:HalResource[]; children:HalResource[]|any;
parent:HalResource; parent:HalResource|any;
priority:HalResource; priority:HalResource|any;
project:HalResource; project:HalResource|any;
responsible:HalResource; responsible:HalResource|any;
schema:HalResource; schema:HalResource|any;
status:HalResource; status:HalResource|any;
timeEntries:HalResource[]; timeEntries:HalResource[]|any;
type:HalResource; type:HalResource|any;
version:HalResource; version:HalResource|any;
watchers:HalResource[]; watchers:HalResource[]|any;
} }
interface WorkPackageResourceLinks extends WorkPackageResourceEmbedded { 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_) { function wpResource(_$q_, _apiWorkPackages_, _wpCacheService_, _NotificationsService_) {
$q = _$q_; $q = _$q_;
apiWorkPackages = _apiWorkPackages_; apiWorkPackages = _apiWorkPackages_;

Loading…
Cancel
Save