faros-airbyte-common 0.16.26 → 0.16.28
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/github/types.d.ts +16 -2
- package/lib/gitlab/index.d.ts +1 -0
- package/lib/gitlab/index.js +18 -0
- package/lib/gitlab/index.js.map +1 -0
- package/lib/gitlab/types.d.ts +37 -0
- package/lib/gitlab/types.js +3 -0
- package/lib/gitlab/types.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -1
package/lib/github/types.d.ts
CHANGED
|
@@ -116,7 +116,7 @@ export type CopilotSeat = {
|
|
|
116
116
|
teamLeftAt?: never;
|
|
117
117
|
startedAt?: string;
|
|
118
118
|
endedAt?: never;
|
|
119
|
-
} & Pick<CopilotSeatsResponse['seats'][0], 'pending_cancellation_date' | 'last_activity_at'>;
|
|
119
|
+
} & Pick<CopilotSeatsResponse['seats'][0], 'pending_cancellation_date' | 'last_activity_at' | 'plan_type'>;
|
|
120
120
|
export type CopilotSeatEnded = {
|
|
121
121
|
empty?: never;
|
|
122
122
|
org: string;
|
|
@@ -165,8 +165,22 @@ export type CopilotUsageSummary = {
|
|
|
165
165
|
active_users: number;
|
|
166
166
|
}[];
|
|
167
167
|
}[];
|
|
168
|
+
chat_breakdown?: {
|
|
169
|
+
editor: string;
|
|
170
|
+
chats: number;
|
|
171
|
+
chat_insertion_events: number;
|
|
172
|
+
chat_copy_events: number;
|
|
173
|
+
model_breakdown?: {
|
|
174
|
+
model: string;
|
|
175
|
+
chats: number;
|
|
176
|
+
chat_insertion_events: number;
|
|
177
|
+
chat_copy_events: number;
|
|
178
|
+
active_chat_users: number;
|
|
179
|
+
}[];
|
|
180
|
+
}[];
|
|
168
181
|
};
|
|
169
182
|
export type LanguageEditorBreakdown = CopilotUsageSummary['breakdown'][0];
|
|
183
|
+
export type ChatBreakdown = CopilotUsageSummary['chat_breakdown'][0];
|
|
170
184
|
export type CodeScanningAlert = {
|
|
171
185
|
org: string;
|
|
172
186
|
repo: string;
|
|
@@ -234,7 +248,7 @@ export type EnterpriseCopilotSeat = {
|
|
|
234
248
|
user: string;
|
|
235
249
|
assignee: CopilotSeatAssignee;
|
|
236
250
|
team?: string;
|
|
237
|
-
} & Pick<EnterpriseCopilotSeatsResponse['seats'][0], 'created_at' | 'updated_at' | 'pending_cancellation_date' | 'last_activity_at'>;
|
|
251
|
+
} & Pick<EnterpriseCopilotSeatsResponse['seats'][0], 'created_at' | 'updated_at' | 'pending_cancellation_date' | 'last_activity_at' | 'plan_type'>;
|
|
238
252
|
export type EnterpriseCopilotSeatsEmpty = {
|
|
239
253
|
empty: true;
|
|
240
254
|
enterprise: string;
|
|
@@ -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/gitlab/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export type GitLabToken = {
|
|
2
|
+
type: 'token';
|
|
3
|
+
personal_access_token: string;
|
|
4
|
+
};
|
|
5
|
+
export interface Group {
|
|
6
|
+
id: string;
|
|
7
|
+
parent_id: string | null;
|
|
8
|
+
name: string;
|
|
9
|
+
path: string;
|
|
10
|
+
web_url: string;
|
|
11
|
+
description: string | null;
|
|
12
|
+
visibility: string;
|
|
13
|
+
created_at: string;
|
|
14
|
+
updated_at: string;
|
|
15
|
+
}
|
|
16
|
+
export interface Project {
|
|
17
|
+
id: string;
|
|
18
|
+
name: string;
|
|
19
|
+
path: string;
|
|
20
|
+
path_with_namespace: string;
|
|
21
|
+
web_url: string;
|
|
22
|
+
description: string | null;
|
|
23
|
+
visibility: string;
|
|
24
|
+
created_at: string;
|
|
25
|
+
updated_at: string;
|
|
26
|
+
namespace: {
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
path: string;
|
|
30
|
+
kind: string;
|
|
31
|
+
full_path: string;
|
|
32
|
+
};
|
|
33
|
+
default_branch: string;
|
|
34
|
+
archived: boolean;
|
|
35
|
+
group_id: string;
|
|
36
|
+
syncRepoData?: boolean;
|
|
37
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/gitlab/types.ts"],"names":[],"mappings":""}
|