|
|
@ -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_; |
|
|
|