faros-airbyte-common 0.19.29 → 0.19.31
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.
- package/lib/gitlab/types.d.ts +26 -2
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/lib/gitlab/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Camelize, CommitSchema, DeploymentSchema, EventSchema, GroupSchema, IssueSchema, JobSchema, MergeRequestSchema, NoteSchema, PipelineSchema, ProjectSchema, ReleaseSchema, TagSchema, UserSchema } from '@gitbeaker/rest';
|
|
1
|
+
import { Camelize, CommitSchema, DeploymentSchema, EpicSchema, EventSchema, GroupSchema, IssueSchema, IterationEventSchema, IterationSchema, JobSchema, MergeRequestSchema, NoteSchema, PipelineSchema, ProjectSchema, ReleaseSchema, StateEventSchema, TagSchema, UserSchema } from '@gitbeaker/rest';
|
|
2
2
|
export type FarosProjectOutput = {
|
|
3
3
|
readonly __brand: 'FarosProject';
|
|
4
4
|
id: string;
|
|
@@ -53,13 +53,37 @@ export type FarosMergeRequestReviewOutput = {
|
|
|
53
53
|
group_id: string;
|
|
54
54
|
project_path: string;
|
|
55
55
|
} & Pick<EventSchema, 'action_name' | 'author_username' | 'created_at' | 'id' | 'target_iid' | 'target_type'>;
|
|
56
|
+
export type IssueStateEvent = {
|
|
57
|
+
author_username: string;
|
|
58
|
+
state: 'closed' | 'reopened';
|
|
59
|
+
} & Pick<StateEventSchema, 'id' | 'created_at'>;
|
|
60
|
+
export type IssueIterationEvent = {
|
|
61
|
+
author_username: string;
|
|
62
|
+
} & Pick<IterationEventSchema, 'id' | 'action' | 'iteration' | 'created_at'>;
|
|
56
63
|
export type FarosIssueOutput = {
|
|
57
64
|
readonly __brand: 'FarosIssue';
|
|
58
65
|
group_id: string;
|
|
59
66
|
project_path: string;
|
|
60
67
|
author_username: string;
|
|
61
68
|
assignee_usernames: string[];
|
|
62
|
-
|
|
69
|
+
epic?: {
|
|
70
|
+
id: number;
|
|
71
|
+
};
|
|
72
|
+
iteration?: {
|
|
73
|
+
id: number;
|
|
74
|
+
};
|
|
75
|
+
state_events: IssueStateEvent[];
|
|
76
|
+
iteration_events: IssueIterationEvent[];
|
|
77
|
+
} & Pick<IssueSchema, 'id' | 'title' | 'description' | 'state' | 'created_at' | 'updated_at' | 'closed_at' | 'labels' | 'issue_type' | 'web_url' | 'weight'>;
|
|
78
|
+
export type FarosEpicOutput = {
|
|
79
|
+
readonly __brand: 'FarosEpic';
|
|
80
|
+
group_id: string;
|
|
81
|
+
author_username: string | null;
|
|
82
|
+
} & Pick<EpicSchema, 'id' | 'iid' | 'title' | 'description' | 'state' | 'created_at' | 'updated_at' | 'web_url'>;
|
|
83
|
+
export type FarosIterationOutput = {
|
|
84
|
+
readonly __brand: 'FarosIteration';
|
|
85
|
+
group_id: string;
|
|
86
|
+
} & Pick<IterationSchema, 'id' | 'iid' | 'title' | 'description' | 'state' | 'start_date' | 'due_date' | 'updated_at'>;
|
|
63
87
|
export type FarosReleaseOutput = {
|
|
64
88
|
readonly __brand: 'FarosRelease';
|
|
65
89
|
author_username: string | null;
|