@pagopa/danger-plugin
Version:
Shared rules for DangerJS, used in the PagoPA projects
56 lines (55 loc) • 1.57 kB
TypeScript
/**
* type definition for Jira tickets / stories
*/
import * as t from "io-ts";
export declare const JiraIssueTypeName: t.KeyofC<{
Story: null;
Epic: null;
Bug: null;
Sottotask: null;
"Sub-task": null;
Task: null;
}>;
export declare type JiraIssueTypeName = t.TypeOf<typeof JiraIssueTypeName>;
export declare const JiraIssueResponse: t.ExactC<t.TypeC<{
key: t.StringC;
fields: t.IntersectionC<[t.TypeC<{
summary: t.StringC;
issuetype: t.TypeC<{
name: t.KeyofC<{
Story: null;
Epic: null;
Bug: null;
Sottotask: null;
"Sub-task": null;
Task: null;
}>;
subtask: t.BooleanC;
}>;
labels: t.ArrayC<t.StringC>;
project: t.TypeC<{
name: t.StringC;
key: t.StringC;
id: t.StringC;
}>;
}>, t.PartialC<{
parent: t.TypeC<{
key: t.StringC;
fields: t.TypeC<{
summary: t.StringC;
issuetype: t.TypeC<{
name: t.KeyofC<{
Story: null;
Epic: null;
Bug: null;
Sottotask: null;
"Sub-task": null;
Task: null;
}>;
subtask: t.BooleanC;
}>;
}>;
}>;
}>]>;
}>>;
export declare type JiraIssueResponse = t.TypeOf<typeof JiraIssueResponse>;