Skip to content

Commit 3432a57

Browse files
committed
build and linter fixed
1 parent a9bf91e commit 3432a57

12 files changed

+145
-0
lines changed

package-lock.json

+70
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"testEnvironment": "node"
4242
},
4343
"devDependencies": {
44+
"@types/express": "^4.17.11",
4445
"@types/jest": "^26.0.23",
4546
"@types/node": "^15.0.2",
4647
"@types/oauth": "^0.9.1",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/**
2+
* A list of issue IDs and the value to update a custom field to. */
3+
export interface CustomFieldValueUpdate {
4+
/** The list of issue IDs. */
5+
issueIds: number[];
6+
/** The value for the custom field. The value must be compatible with the [custom field type](https://developer.atlassian.com/platform/forge/manifest-reference/modules/#data-types) as follows:
7+
8+
* `string` – the value must be a string.
9+
* `number` – the value must be a number.
10+
* `datetime` – the value must be a string that represents a date in the ISO format, for example `"2021-01-18T12:00:00-03:00"`.
11+
* `user` – the value must be an object that contains the `accountId` field.
12+
* `group` – the value must be an object that contains the group `name` field.
13+
14+
A list of appropriate values must be provided if the field is of the `list` [collection type](https://developer.atlassian.com/platform/forge/manifest-reference/modules/#collection-types). */
15+
value: any;
16+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { CustomFieldValueUpdate } from './customFieldValueUpdate';
2+
3+
/**
4+
* Details of updates for a custom field. */
5+
export interface CustomFieldValueUpdateRequest {
6+
/** The list of custom field update details. */
7+
updates?: CustomFieldValueUpdate[];
8+
}

src/version3/models/index.ts

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
export * from './customFieldValueUpdate';
2+
export * from './customFieldValueUpdateRequest';
3+
export * from './license';
4+
export * from './licensedApplication';
5+
export * from './projectFeaturesResponse';
6+
export * from './searchAutoCompleteFilter';
17
export * from './actorInputBean';
28
export * from './actorsMap';
39
export * from './addFieldBean';

src/version3/models/license.ts

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { LicensedApplication } from './licensedApplication';
2+
3+
/**
4+
* Details about a license for the Jira instance. */
5+
export interface License {
6+
/** The applications under this license. */
7+
applications: LicensedApplication[];
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/**
2+
* Details about a licensed Jira application. */
3+
export interface LicensedApplication {
4+
/** The ID of the application. */
5+
id: string;
6+
/** The licensing plan. */
7+
plan: string;
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { ProjectFeature } from './projectFeature';
2+
3+
/**
4+
* Container for the list of features on the project. */
5+
export interface ProjectFeaturesResponse {
6+
/** The list of features on the project. */
7+
features?: ProjectFeature[];
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/**
2+
* Details of how to filter and list search auto complete information. */
3+
export interface SearchAutoCompleteFilter {
4+
/** List of project IDs used to filter the visible field details returned. */
5+
projectIds?: number[];
6+
/** Include collapsed fields for fields that have non-unique names. */
7+
includeCollapsedFields?: boolean;
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import { WorkflowSchemeProjectAssociation } from '../models';
2+
3+
export interface AssignSchemeToProject extends WorkflowSchemeProjectAssociation {
4+
}

src/version3/parameters/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
export * from './assignSchemeToProject';
2+
export * from './updateCustomFieldValue';
13
export * from './getApplicationProperty';
24
export * from './setApplicationProperty';
35
export * from './getApplicationRole';
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { CustomFieldValueUpdateRequest } from '../models';
2+
3+
export interface UpdateCustomFieldValue extends CustomFieldValueUpdateRequest {
4+
/** The ID or key of the custom field. For example, `customfield_10010`. */
5+
fieldIdOrKey: string;
6+
}

0 commit comments

Comments
 (0)