faros-airbyte-common 0.9.53 → 0.9.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/jira/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
@@ -0,0 +1,111 @@
1
+ import { AgileModels } from 'jira.js/out/agile';
2
+ import { Version2Models } from 'jira.js/out/version2';
3
+ export interface IssueCompact {
4
+ readonly id?: string;
5
+ readonly key: string;
6
+ readonly fields?: any;
7
+ readonly created?: Date;
8
+ readonly updated?: Date;
9
+ readonly boardId?: string;
10
+ }
11
+ export interface Issue extends IssueCompact {
12
+ readonly type: string;
13
+ readonly status: Status;
14
+ readonly creator: string;
15
+ readonly project: string;
16
+ readonly priority: string;
17
+ readonly labels: ReadonlyArray<string>;
18
+ readonly dependencies: ReadonlyArray<Dependency>;
19
+ readonly subtasks: ReadonlyArray<string>;
20
+ readonly parent?: Parent;
21
+ readonly statusChanged?: Date;
22
+ readonly statusChangelog: ReadonlyArray<[Status, Date]>;
23
+ readonly keyChangelog: ReadonlyArray<[string, Date]>;
24
+ readonly summary?: string;
25
+ readonly description?: string;
26
+ readonly assignees?: ReadonlyArray<Assignee>;
27
+ readonly assigned?: Date;
28
+ readonly points?: number;
29
+ readonly epic?: string;
30
+ readonly sprintInfo?: SprintInfo;
31
+ readonly additionalFields: ReadonlyArray<[string, string]>;
32
+ readonly url: string;
33
+ readonly resolution: string;
34
+ readonly resolutionDate: Date;
35
+ }
36
+ export interface Parent {
37
+ key: string;
38
+ type?: string;
39
+ }
40
+ export interface Dependency {
41
+ readonly key: string;
42
+ readonly inward: string;
43
+ readonly outward: string;
44
+ }
45
+ export interface Status {
46
+ readonly category: string;
47
+ readonly detail: string;
48
+ }
49
+ export interface Assignee {
50
+ readonly uid: string;
51
+ readonly assignedAt: Date;
52
+ }
53
+ export interface SprintHistory {
54
+ readonly uid: string;
55
+ readonly addedAt: Date;
56
+ readonly removedAt?: Date;
57
+ }
58
+ export interface SprintInfo {
59
+ readonly currentSprintId: string;
60
+ readonly history: ReadonlyArray<SprintHistory>;
61
+ }
62
+ export declare enum RepoSource {
63
+ BITBUCKET = "Bitbucket",
64
+ GITHUB = "GitHub",
65
+ GIT_FOR_JIRA_CLOUD = "GitForJiraCloud",
66
+ GITLAB = "GitLab",
67
+ VCS = "VCS"
68
+ }
69
+ export interface Repo {
70
+ readonly source: RepoSource;
71
+ readonly org: string;
72
+ readonly name: string;
73
+ }
74
+ export interface PullRequestIssue {
75
+ readonly key: string;
76
+ readonly updated: Date;
77
+ readonly project: string;
78
+ }
79
+ export interface PullRequest {
80
+ readonly repo: Repo;
81
+ readonly number: number;
82
+ readonly issue?: PullRequestIssue;
83
+ }
84
+ export interface Sprint extends AgileModels.Sprint {
85
+ readonly activatedDate?: string;
86
+ }
87
+ export interface SprintReport {
88
+ readonly id: number;
89
+ readonly boardId?: string;
90
+ readonly closedAt?: Date;
91
+ readonly completedPoints?: number;
92
+ readonly completedInAnotherSprintPoints?: number;
93
+ readonly notCompletedPoints?: number;
94
+ readonly puntedPoints?: number;
95
+ readonly plannedPoints?: number;
96
+ readonly issues: SprintIssue[];
97
+ }
98
+ export interface SprintIssue {
99
+ readonly key: string;
100
+ readonly points: number;
101
+ readonly status: string;
102
+ readonly addedDuringSprint?: boolean;
103
+ }
104
+ export interface IssueField {
105
+ readonly id: string;
106
+ readonly name: string;
107
+ readonly value?: string;
108
+ }
109
+ export interface User extends Version2Models.User {
110
+ id: string;
111
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RepoSource = void 0;
4
+ var RepoSource;
5
+ (function (RepoSource) {
6
+ RepoSource["BITBUCKET"] = "Bitbucket";
7
+ RepoSource["GITHUB"] = "GitHub";
8
+ RepoSource["GIT_FOR_JIRA_CLOUD"] = "GitForJiraCloud";
9
+ RepoSource["GITLAB"] = "GitLab";
10
+ RepoSource["VCS"] = "VCS";
11
+ })(RepoSource || (exports.RepoSource = RepoSource = {}));
12
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/jira/types.ts"],"names":[],"mappings":";;;AAsEA,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,qCAAuB,CAAA;IACvB,+BAAiB,CAAA;IACjB,oDAAsC,CAAA;IACtC,+BAAiB,CAAA;IACjB,yBAAW,CAAA;AACb,CAAC,EANW,UAAU,0BAAV,UAAU,QAMrB"}