-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
81c91a8
commit 7d15f55
Showing
22 changed files
with
446 additions
and
262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
import { Attachment } from '../../version3/models'; | ||
import { Epic } from './epic'; | ||
import { FixVersion } from './fixVersion'; | ||
import { Issue } from './issue'; | ||
import { IssueType } from './issueType'; | ||
import { Progress } from './progress'; | ||
import { Project } from './project'; | ||
import { Sprint } from './sprint'; | ||
import { Status } from './status'; | ||
import { User } from './user'; | ||
import { Version } from './version'; | ||
import { | ||
Comment, | ||
IssueLink, | ||
Priority, | ||
ProjectComponent, | ||
Resolution, | ||
RichText, | ||
TimeTrackingDetails, | ||
Votes, | ||
Watchers, | ||
Worklog, | ||
} from '../../version2/models'; | ||
|
||
export interface Fields { | ||
[key: string]: any; | ||
|
||
aggregateprogress: Progress; | ||
aggregatetimeestimate: number | null; | ||
aggregatetimeoriginalestimate: number | null; | ||
aggregatetimespent: number | null; | ||
assignee: User; | ||
attachment: Attachment[]; | ||
comment: { | ||
comments: Comment[]; | ||
self: string; | ||
maxResults: number; | ||
total: number; | ||
startAt: number; | ||
}; | ||
components: ProjectComponent[]; | ||
created: string; | ||
creator: User; | ||
description: string | null; | ||
duedate: string | null; | ||
environment: RichText | null; | ||
epic: Epic | null; | ||
fixVersions: FixVersion[]; | ||
flagged: boolean; | ||
issuelinks: IssueLink[]; | ||
issuerestriction: { | ||
issuerestrictions: any; | ||
shouldDisplay: boolean; | ||
}; | ||
issuetype: IssueType; | ||
labels: string[]; | ||
lastViewed: string | null; | ||
priority: Priority; | ||
progress: Progress; | ||
project: Project; | ||
reporter: User; | ||
resolution: Resolution | null; | ||
resolutiondate: string | null; | ||
security: any | null; | ||
sprint: Sprint; | ||
status: Status; | ||
statuscategorychangedate: string; | ||
subtasks: Issue[]; | ||
summary: string; | ||
timeestimate: number | null; | ||
timeoriginalestimate: any | null; | ||
timespent: number | null; | ||
timetracking: TimeTrackingDetails; | ||
updated: string; | ||
versions: Version[]; | ||
votes: Votes; | ||
watches: Watchers; | ||
worklog: { | ||
startAt: number; | ||
maxResults: number; | ||
total: number; | ||
worklogs: Worklog[]; | ||
}; | ||
workratio: number; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/** Represents a fix version in a Jira project. */ | ||
export interface FixVersion { | ||
/** The URL of the fix version details. */ | ||
self: string; | ||
/** The unique identifier of the fix version. */ | ||
id: string; | ||
/** The description of the fix version. */ | ||
description: string; | ||
/** The name of the fix version. */ | ||
name: string; | ||
/** Whether the fix version is archived. */ | ||
archived: boolean; | ||
/** Whether the fix version is released. */ | ||
released: boolean; | ||
/** The release date of the fix version, if applicable. */ | ||
releaseDate?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/** Details about an issue type. */ | ||
export interface IssueType { | ||
/** The URL of the issue type. */ | ||
self: string; | ||
/** The unique identifier of the issue type. */ | ||
id: string; | ||
/** The description of the issue type. */ | ||
description: string; | ||
/** The URL of the icon for the issue type. */ | ||
iconUrl: string; | ||
/** The name of the issue type. */ | ||
name: string; | ||
/** Whether the issue type is a subtask type. */ | ||
subtask: boolean; | ||
/** The ID of the avatar for the issue type. */ | ||
avatarId: number; | ||
/** The ID of the entity for the issue type. */ | ||
entityId: string; | ||
/** The hierarchy level of the issue type. */ | ||
hierarchyLevel: number; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/** Represents the progress of a task. */ | ||
export interface Progress { | ||
/** The current progress value. */ | ||
progress: number; | ||
/** The total progress value. */ | ||
total: number; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { AvatarUrls } from './avatarUrls'; | ||
|
||
/** Details about a project. */ | ||
export interface Project { | ||
/** The URL of the project details. */ | ||
self: string; | ||
/** The ID of the project. */ | ||
id: string; | ||
/** The key of the project. */ | ||
key: string; | ||
/** The name of the project. */ | ||
name: string; | ||
/** | ||
* The [project | ||
* type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes) of the | ||
* project. | ||
*/ | ||
projectTypeKey: string; | ||
/** Whether the project is simplified. */ | ||
simplified: boolean; | ||
/** The avatar URLs of the project. */ | ||
avatarUrls: AvatarUrls; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { StatusCategory } from './statusCategory'; | ||
|
||
export interface Status { | ||
self: string; | ||
description: string; | ||
iconUrl: string; | ||
name: string; | ||
id: string; | ||
statusCategory: StatusCategory; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export interface StatusCategory { | ||
self: string; | ||
id: number; | ||
key: string; | ||
colorName: string; | ||
name: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.