faros-airbyte-common 0.16.38 → 0.16.39
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 +42 -81
- package/lib/googledrive/index.d.ts +1 -0
- package/lib/googledrive/index.js +18 -0
- package/lib/googledrive/index.js.map +1 -0
- package/lib/googledrive/types.d.ts +4 -0
- package/lib/googledrive/types.js +3 -0
- package/lib/googledrive/types.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -1
package/lib/gitlab/types.d.ts
CHANGED
|
@@ -1,90 +1,51 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
export interface User {
|
|
6
|
-
id: number;
|
|
7
|
-
username: string;
|
|
8
|
-
name?: string;
|
|
9
|
-
email?: string;
|
|
10
|
-
state: string;
|
|
11
|
-
web_url: string;
|
|
12
|
-
created_at?: string;
|
|
13
|
-
updated_at?: string;
|
|
14
|
-
group_id?: string;
|
|
15
|
-
}
|
|
16
|
-
export interface Group {
|
|
17
|
-
id: string;
|
|
18
|
-
parent_id: string | null;
|
|
19
|
-
name: string;
|
|
20
|
-
path: string;
|
|
21
|
-
web_url: string;
|
|
22
|
-
description: string | null;
|
|
23
|
-
visibility: string;
|
|
24
|
-
created_at: string;
|
|
25
|
-
updated_at: string;
|
|
26
|
-
}
|
|
27
|
-
export interface Project {
|
|
1
|
+
import { Camelize, CommitSchema, EventSchema, GroupSchema, IssueSchema, MergeRequestSchema, NoteSchema, ProjectSchema, TagSchema, UserSchema } from '@gitbeaker/rest';
|
|
2
|
+
export type FarosProjectOutput = {
|
|
3
|
+
readonly __brand: 'FarosProject';
|
|
28
4
|
id: string;
|
|
29
|
-
name: string;
|
|
30
|
-
path: string;
|
|
31
|
-
path_with_namespace: string;
|
|
32
|
-
web_url: string;
|
|
33
|
-
description: string | null;
|
|
34
|
-
visibility: string;
|
|
35
|
-
created_at: string;
|
|
36
|
-
updated_at: string;
|
|
37
|
-
namespace: {
|
|
38
|
-
id: string;
|
|
39
|
-
name: string;
|
|
40
|
-
path: string;
|
|
41
|
-
kind: string;
|
|
42
|
-
full_path: string;
|
|
43
|
-
};
|
|
44
|
-
default_branch: string;
|
|
45
|
-
archived: boolean;
|
|
46
5
|
group_id: string;
|
|
47
|
-
empty_repo: boolean;
|
|
48
6
|
syncRepoData?: boolean;
|
|
49
|
-
}
|
|
50
|
-
export
|
|
7
|
+
} & Pick<ProjectSchema, 'archived' | 'created_at' | 'default_branch' | 'description' | 'empty_repo' | 'name' | 'namespace' | 'owner' | 'path' | 'path_with_namespace' | 'updated_at' | 'visibility' | 'web_url'>;
|
|
8
|
+
export type FarosUserOutput = {
|
|
9
|
+
readonly __brand: 'FarosUser';
|
|
10
|
+
group_id?: string;
|
|
11
|
+
} & Pick<UserSchema, 'username'> & Partial<Pick<UserSchema, 'email' | 'name' | 'state' | 'web_url'>>;
|
|
12
|
+
export type FarosGroupOutput = {
|
|
13
|
+
readonly __brand: 'FarosGroup';
|
|
51
14
|
id: string;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
15
|
+
parent_id: string | null;
|
|
16
|
+
} & Pick<GroupSchema, 'created_at' | 'description' | 'name' | 'path' | 'updated_at' | 'visibility' | 'web_url'>;
|
|
17
|
+
export type FarosCommitOutput = {
|
|
18
|
+
readonly __brand: 'FarosCommit';
|
|
19
|
+
author_username: string | null;
|
|
20
|
+
branch: string;
|
|
21
|
+
group_id: string;
|
|
22
|
+
project_path: string;
|
|
23
|
+
} & Pick<CommitSchema, 'id' | 'message' | 'created_at' | 'web_url'>;
|
|
24
|
+
export type FarosTagOutput = {
|
|
25
|
+
readonly __brand: 'FarosTag';
|
|
26
|
+
commit_id?: string;
|
|
27
|
+
group_id: string;
|
|
28
|
+
project_path: string;
|
|
29
|
+
} & Pick<TagSchema, 'name' | 'message' | 'target' | 'title'>;
|
|
30
|
+
export type FarosMergeRequestOutput = {
|
|
31
|
+
readonly __brand: 'FarosMergeRequest';
|
|
32
|
+
author_username: string;
|
|
64
33
|
group_id: string;
|
|
65
34
|
project_path: string;
|
|
66
|
-
branch: string;
|
|
67
|
-
author_username?: string;
|
|
68
|
-
}
|
|
69
|
-
export interface Tag {
|
|
70
|
-
name: string;
|
|
71
|
-
title: string;
|
|
72
|
-
commit_id: string;
|
|
73
|
-
}
|
|
74
|
-
export interface Issue {
|
|
75
|
-
id: number;
|
|
76
|
-
title: string;
|
|
77
|
-
description?: string;
|
|
78
|
-
state: string;
|
|
79
|
-
created_at: string;
|
|
80
|
-
updated_at: string;
|
|
81
35
|
labels: string[];
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}[];
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
36
|
+
notes: ({
|
|
37
|
+
author_username: string;
|
|
38
|
+
} & Pick<NoteSchema, 'id' | 'body' | 'created_at' | 'updated_at'>)[];
|
|
39
|
+
} & Pick<Camelize<MergeRequestSchema>, 'iid' | 'title' | 'description' | 'state' | 'webUrl' | 'createdAt' | 'updatedAt' | 'mergedAt' | 'commitCount' | 'userNotesCount' | 'diffStatsSummary' | 'mergeCommitSha'>;
|
|
40
|
+
export type FarosMergeRequestReviewOutput = {
|
|
41
|
+
readonly __brand: 'FarosMergeRequestReview';
|
|
42
|
+
group_id: string;
|
|
43
|
+
project_path: string;
|
|
44
|
+
} & Pick<EventSchema, 'action_name' | 'author_username' | 'created_at' | 'id' | 'target_iid' | 'target_type'>;
|
|
45
|
+
export type FarosIssueOutput = {
|
|
46
|
+
readonly __brand: 'FarosIssue';
|
|
88
47
|
group_id: string;
|
|
89
48
|
project_path: string;
|
|
90
|
-
|
|
49
|
+
author_username: string;
|
|
50
|
+
assignee_usernames: string[];
|
|
51
|
+
} & Pick<IssueSchema, 'id' | 'title' | 'description' | 'state' | 'created_at' | 'updated_at' | 'labels'>;
|
|
@@ -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/googledrive/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/googledrive/types.ts"],"names":[],"mappings":""}
|