faros-airbyte-common 0.3.1
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,98 @@
|
|
|
1
|
+
declare type HRefs = {
|
|
2
|
+
self?: {
|
|
3
|
+
href: string;
|
|
4
|
+
}[];
|
|
5
|
+
};
|
|
6
|
+
export declare function selfHRef(links: HRefs): string | undefined;
|
|
7
|
+
export interface Commit {
|
|
8
|
+
readonly id: string;
|
|
9
|
+
readonly author: User;
|
|
10
|
+
readonly authorTimestamp: number;
|
|
11
|
+
readonly committer: User;
|
|
12
|
+
readonly committerTimestamp: number;
|
|
13
|
+
readonly message: string;
|
|
14
|
+
readonly computedProperties: {
|
|
15
|
+
readonly repository: {
|
|
16
|
+
readonly fullName: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export interface PullRequestActivity {
|
|
21
|
+
readonly id: number;
|
|
22
|
+
readonly createdDate: number;
|
|
23
|
+
readonly user: User;
|
|
24
|
+
readonly action: string;
|
|
25
|
+
readonly computedProperties: {
|
|
26
|
+
readonly pullRequest: {
|
|
27
|
+
readonly id: number;
|
|
28
|
+
readonly repository: {
|
|
29
|
+
readonly fullName: string;
|
|
30
|
+
};
|
|
31
|
+
readonly updatedDate: number;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
interface PullRequestComment extends PullRequestActivity {
|
|
36
|
+
readonly comment: {
|
|
37
|
+
readonly text: string;
|
|
38
|
+
readonly createdDate: number;
|
|
39
|
+
readonly updatedDate: number;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export declare function isPullRequestComment(activity: PullRequestActivity): activity is PullRequestComment;
|
|
43
|
+
interface PullRequestMerge extends PullRequestActivity {
|
|
44
|
+
readonly commit: Commit;
|
|
45
|
+
}
|
|
46
|
+
export declare function isPullRequestMerge(activity: PullRequestActivity): activity is PullRequestMerge;
|
|
47
|
+
export declare function isPullRequestReview(activity: PullRequestActivity): boolean;
|
|
48
|
+
export interface PullRequest {
|
|
49
|
+
readonly author: {
|
|
50
|
+
readonly user: User;
|
|
51
|
+
};
|
|
52
|
+
readonly id: number;
|
|
53
|
+
readonly title: string;
|
|
54
|
+
readonly description: string;
|
|
55
|
+
readonly state: string;
|
|
56
|
+
readonly createdDate: number;
|
|
57
|
+
readonly updatedDate: number;
|
|
58
|
+
readonly properties: {
|
|
59
|
+
readonly commentCount: number;
|
|
60
|
+
};
|
|
61
|
+
readonly links: HRefs;
|
|
62
|
+
readonly computedProperties: {
|
|
63
|
+
readonly repository: {
|
|
64
|
+
readonly fullName: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
export interface Repository {
|
|
69
|
+
readonly slug: string;
|
|
70
|
+
readonly name: string;
|
|
71
|
+
readonly description: string;
|
|
72
|
+
readonly project: Project;
|
|
73
|
+
readonly public: boolean;
|
|
74
|
+
readonly links: HRefs;
|
|
75
|
+
readonly computedProperties: {
|
|
76
|
+
readonly fullName: string;
|
|
77
|
+
readonly mainBranch: string;
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
export interface Project {
|
|
81
|
+
readonly key: string;
|
|
82
|
+
readonly name: string;
|
|
83
|
+
readonly links: HRefs;
|
|
84
|
+
}
|
|
85
|
+
export interface User {
|
|
86
|
+
readonly displayName: string;
|
|
87
|
+
readonly emailAddress: string;
|
|
88
|
+
readonly name: string;
|
|
89
|
+
readonly slug: string;
|
|
90
|
+
readonly links: HRefs;
|
|
91
|
+
}
|
|
92
|
+
export interface ProjectUser {
|
|
93
|
+
readonly user: User;
|
|
94
|
+
readonly project: {
|
|
95
|
+
readonly key: string;
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// TODO: Deduplicate shared types for other source/converter pairs
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.isPullRequestReview = exports.isPullRequestMerge = exports.isPullRequestComment = exports.selfHRef = void 0;
|
|
5
|
+
function selfHRef(links) {
|
|
6
|
+
var _a, _b;
|
|
7
|
+
return (_b = (_a = links.self) === null || _a === void 0 ? void 0 : _a.find((l) => l.href)) === null || _b === void 0 ? void 0 : _b.href;
|
|
8
|
+
}
|
|
9
|
+
exports.selfHRef = selfHRef;
|
|
10
|
+
function isPullRequestComment(activity) {
|
|
11
|
+
return activity.action === 'COMMENTED';
|
|
12
|
+
}
|
|
13
|
+
exports.isPullRequestComment = isPullRequestComment;
|
|
14
|
+
function isPullRequestMerge(activity) {
|
|
15
|
+
return activity.action === 'MERGED';
|
|
16
|
+
}
|
|
17
|
+
exports.isPullRequestMerge = isPullRequestMerge;
|
|
18
|
+
function isPullRequestReview(activity) {
|
|
19
|
+
return (activity.action === 'APPROVED' ||
|
|
20
|
+
activity.action === 'DECLINED' ||
|
|
21
|
+
activity.action === 'REVIEWED');
|
|
22
|
+
}
|
|
23
|
+
exports.isPullRequestReview = isPullRequestReview;
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/bitbucket-server/index.ts"],"names":[],"mappings":";AAAA,kEAAkE;;;AAGlE,SAAgB,QAAQ,CAAC,KAAY;;IACnC,OAAO,MAAA,MAAA,KAAK,CAAC,IAAI,0CAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,0CAAE,IAAI,CAAC;AAC/C,CAAC;AAFD,4BAEC;AAoCD,SAAgB,oBAAoB,CAClC,QAA6B;IAE7B,OAAO,QAAQ,CAAC,MAAM,KAAK,WAAW,CAAC;AACzC,CAAC;AAJD,oDAIC;AAMD,SAAgB,kBAAkB,CAChC,QAA6B;IAE7B,OAAO,QAAQ,CAAC,MAAM,KAAK,QAAQ,CAAC;AACtC,CAAC;AAJD,gDAIC;AAED,SAAgB,mBAAmB,CAAC,QAA6B;IAC/D,OAAO,CACL,QAAQ,CAAC,MAAM,KAAK,UAAU;QAC9B,QAAQ,CAAC,MAAM,KAAK,UAAU;QAC9B,QAAQ,CAAC,MAAM,KAAK,UAAU,CAC/B,CAAC;AACJ,CAAC;AAND,kDAMC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/typescript/lib/lib.es2019.full.d.ts","../src/bitbucket-server/index.ts","../../node_modules/@types/analytics-node/index.d.ts","../../node_modules/@babel/types/lib/index.d.ts","../../node_modules/@types/babel__generator/index.d.ts","../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../node_modules/@types/babel__template/index.d.ts","../../node_modules/@types/babel__traverse/index.d.ts","../../node_modules/@types/babel__core/index.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/@types/buffer-from/index.d.ts","../../node_modules/keyv/src/index.d.ts","../../node_modules/@types/http-cache-semantics/index.d.ts","../../node_modules/@types/responselike/index.d.ts","../../node_modules/@types/cacheable-request/index.d.ts","../../node_modules/@types/cors/index.d.ts","../../node_modules/@types/eslint/helpers.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/eslint/index.d.ts","../../node_modules/@types/fast-redact/index.d.ts","../../node_modules/@types/fs-extra/index.d.ts","../../node_modules/@types/graceful-fs/index.d.ts","../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../node_modules/@types/istanbul-lib-report/index.d.ts","../../node_modules/@types/istanbul-reports/index.d.ts","../../node_modules/@types/jenkins/index.d.ts","../../node_modules/chalk/index.d.ts","../../node_modules/jest-diff/build/cleanupSemantic.d.ts","../../node_modules/pretty-format/build/types.d.ts","../../node_modules/pretty-format/build/index.d.ts","../../node_modules/jest-diff/build/types.d.ts","../../node_modules/jest-diff/build/diffLines.d.ts","../../node_modules/jest-diff/build/printDiffs.d.ts","../../node_modules/jest-diff/build/index.d.ts","../../node_modules/jest-matcher-utils/build/index.d.ts","../../node_modules/@types/jest/index.d.ts","../../node_modules/@types/json5/index.d.ts","../../node_modules/@types/keyv/index.d.ts","../../node_modules/@types/lodash/common/common.d.ts","../../node_modules/@types/lodash/common/array.d.ts","../../node_modules/@types/lodash/common/collection.d.ts","../../node_modules/@types/lodash/common/date.d.ts","../../node_modules/@types/lodash/common/function.d.ts","../../node_modules/@types/lodash/common/lang.d.ts","../../node_modules/@types/lodash/common/math.d.ts","../../node_modules/@types/lodash/common/number.d.ts","../../node_modules/@types/lodash/common/object.d.ts","../../node_modules/@types/lodash/common/seq.d.ts","../../node_modules/@types/lodash/common/string.d.ts","../../node_modules/@types/lodash/common/util.d.ts","../../node_modules/@types/lodash/index.d.ts","../../node_modules/@types/luxon/src/zone.d.ts","../../node_modules/@types/luxon/src/misc.d.ts","../../node_modules/@types/luxon/src/duration.d.ts","../../node_modules/@types/luxon/src/interval.d.ts","../../node_modules/@types/luxon/src/datetime.d.ts","../../node_modules/@types/luxon/src/info.d.ts","../../node_modules/@types/luxon/src/settings.d.ts","../../node_modules/@types/luxon/src/luxon.d.ts","../../node_modules/@types/luxon/index.d.ts","../../node_modules/@types/minimatch/index.d.ts","../../node_modules/@types/minimist/index.d.ts","../../node_modules/@types/normalize-package-data/index.d.ts","../../node_modules/@types/pako/index.d.ts","../../node_modules/@types/parse-json/index.d.ts","../../node_modules/@types/parse-link-header/index.d.ts","../../node_modules/@types/prettier/index.d.ts","../../node_modules/@types/stack-utils/index.d.ts","../../node_modules/@types/toposort/index.d.ts","../../node_modules/@types/traverse/index.d.ts","../../node_modules/@types/turndown/index.d.ts","../../node_modules/@types/uuid/index.d.ts","../../node_modules/@types/verror/index.d.ts","../../node_modules/@types/ws/index.d.ts","../../node_modules/@types/yargs-parser/index.d.ts","../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"f5c28122bee592cfaf5c72ed7bcc47f453b79778ffa6e301f45d21a0970719d4","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3f149f903dd20dfeb7c80e228b659f0e436532de772469980dbd00702cc05cc1","affectsGlobalScope":true},{"version":"1272277fe7daa738e555eb6cc45ded42cc2d0f76c07294142283145d49e96186","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"cd483c056da900716879771893a3c9772b66c3c88f8943b4205aec738a94b1d0","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"c37f8a49593a0030eecb51bbfa270e709bec9d79a6cc3bb851ef348d4e6b26f8","affectsGlobalScope":true},"1f03b495671c3a1bd24510f38b8947f0991dfd6bf0278c68eca14af15b306e1f",{"version":"040a69870efafd7ffe07354cf7417dd416845f84ba9fb4763b59866c3927a70f","signature":"293dd59844ea5a1082c8e72009c62cb6d757b6b24368d0806468f888abcc62f4"},"c2f7d5ca465f0b3accaf7ad5e40f0afd1886643ef72f6f67757e6d6243130632","e432b56911b58550616fc4d54c1606f65fe98c74875b81d74601f5f965767c60","cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","a46a2e69d12afe63876ec1e58d70e5dbee6d3e74132f4468f570c3d69f809f1c","93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","fc72135da24040641388fb5f2c2a7a99aa5b962c0fa125bd96fabeec63dd2e63","5426e62886b7be7806312d31a00e8f7dccd6fe63ba9bbefe99ee2eab29cc48a3","0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"2f6c9750131d5d2fdaba85c164a930dc07d2d7e7e8970b89d32864aa6c72620c","affectsGlobalScope":true},"56d13f223ab40f71840795f5bef2552a397a70666ee60878222407f3893fb8d0",{"version":"aeeee3998c5a730f8689f04038d41cf4245c9edbf6ef29a698e45b36e399b8ed","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","3a0c45fe95e8f0e2c5247d48acf3a522d2ef29f1ab0effb3c59a9c4fdd5edbcd","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","c993aac3b6d4a4620ef9651497069eb84806a131420e4f158ea9396fb8eb9b8c","76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","06ccebc2c2db57d6bdbca63b71c4ae5e6ddc42d972fd8f122d4c1a28aa111b25",{"version":"81e8508d1e82278f5d3fee936f267e00c308af36219bfcee2631f9513c9c4017","affectsGlobalScope":true},"413a4be7f94f631235bbc83dad36c4d15e5a2ff02bca1efdbd03636d6454631b","20c468256fd68d3ef1fa53526e76d51d6aa91711e84d72c0343589b99238287e","a5f6d22760eef0178bebc5b5b5664a403109615a9c49da879ccd84438bd55223","8d4c16a26d59e3ce49741a7d4a6e8206b884e226cf308667c7778a0b2c0fee7f","ee3bad055a79f188626b1a7046f04ab151fdd3581e55c51d32face175bd9d06f","d61c7c41eb1960b1285e242fd102c162b65c0522985b839fadda59874308a170",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"11c8be5993cd30dbb5310d95ba6c54dbb8724221eed0c4b2e4a7d6a4f9a032dd","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","fb0989383c6109f20281b3d31265293daefdd76d0d30551782c1654e93704f48","a4210a84a82b3e7a8cec5b2f3616e46d523f4f10cc1576d8f2fb89d0987b341e",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","02b3239cf1b1ff8737e383ed5557f0247499d15f5bd21ab849b1a24687b6100c","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"33eee034727baf564056b4ea719075c23d3b4767d0b5f9c6933b81f3d77774d2","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637","a4471d2bdba495b2a6a30b8765d5e0282fa7009d88345a9528f73c37869d3b93",{"version":"aee7013623e7632fba449d4df1da92925b27d9b816cb05546044dbfe54c88ef4","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","c9d70d3d7191a66a81cb554557f8ed1cf736ea8397c44a864fe52689de18865a","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4",{"version":"1aad825534c73852a1f3275e527d729a2c0640f539198fdfdfeb83b839851910","affectsGlobalScope":true},"badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"3a4c859c27b2aaedcd27173220d66590fa7da27ee45d84e365fb0fe7f2c2f72c","a17b39fc912f9f37e5f7d6ed44b7215ee5633520c63e39de81e85bfd5c51d41c","a7d9d2a35530516e191ade6dc804d7de42d45ff6620c0319cfb4469dbdbd8044","cab425b5559edac18327eb2c3c0f47e7e9f71b667290b7689faafd28aac69eae","3cfb0cb51cc2c2e1b313d7c4df04dbf7e5bda0a133c6b309bf6af77cf614b971","f992cd6cc0bcbaa4e6c810468c90f2d8595f8c6c3cf050c806397d3de8585562","6fbd58e4015b9ae31ea977d4d549eb24a1102cc798b57ec5d70868b542c06612",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"a1c79f857f5c7754e14c93949dad8cfefcd7df2ecc0dc9dd79a30fd493e28449","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","2d474dfb84cd28ea43f27fe684da8c00382cbd40cee45e1dad4e9f41f6c437b6","e482c3b05982b434d9efa302a7c745f4aeabb973a0c76565d7cd364b3862219e","ed19da84b7dbf00952ad0b98ce5c194f1903bcf7c94d8103e8e0d63b271543ae","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","aeaacb35b06dbb63484af10beaeb2b71ae5f1eb153e5a3024f0c6bda65a2f3b5","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","462bccdf75fcafc1ae8c30400c9425e1a4681db5d605d1a0edb4f990a54d8094","5923d8facbac6ecf7c84739a5c701a57af94a6f6648d6229a6c768cf28f0f8cb","7adecb2c3238794c378d336a8182d4c3dd2c4fa6fa1785e2797a3db550edea62","dc12dc0e5aa06f4e1a7692149b78f89116af823b9e1f1e4eae140cd3e0e674e6","1bfc6565b90c8771615cd8cfcf9b36efc0275e5e83ac7d9181307e96eb495161","8a8a96898906f065f296665e411f51010b51372fa260d5373bf9f64356703190","7f82ef88bdb67d9a850dd1c7cd2d690f33e0f0acd208e3c9eba086f3670d4f73",{"version":"ccfd8774cd9b929f63ff7dcf657977eb0652e3547f1fcac1b3a1dc5db22d4d58","affectsGlobalScope":true},"96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","fec943fdb3275eb6e006b35e04a8e2e99e9adf3f4b969ddf15315ac7575a93e4","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","fe4a2042d087990ebfc7dc0142d5aaf5a152e4baea86b45f283f103ec1e871ea","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","ca59fe42b81228a317812e95a2e72ccc8c7f1911b5f0c2a032adf41a0161ec5d","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","ae9930989ed57478eb03b9b80ad3efa7a3eacdfeff0f78ecf7894c4963a64f93","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3e59f00ab03c33717b3130066d4debb272da90eeded4935ff0604c2bc25a5cae","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9",{"version":"f2eff8704452659641164876c1ef0df4174659ce7311b0665798ea3f556fa9ad","affectsGlobalScope":true},"45938045285af93edb0065d83c44410e18b34fd1285b5ce46e025a46d5042a46","52ed17fe2c0a4bb27a4f13e99234b3d1f364dc27f9bd7964946d5ec62792a0cc","347c99f9511fb30c62af9a051ac54ac1a4b851f73cd9f5b0834ba2d2d4006c45","2f007f7338e8e2fe4691511ab9564fa8924d2ed4294f195bc4848a43bba8c004","bc023eb1ae2169ca909c728614935eeff39d1654b08389033e04963d25f104a7","ed4be5a31cd8dbb8e31ccde91e7b8c1552eb191c4787d19ed028763577674772","d40e7cb322841e538e686b8a39f05e8b3e0b6d5b7c6687efa69f0cbf9124c4ec","c5641bb951da5d5252e7d8a806ec3c84f42555b5bd6a0879dbf1c7df1b8bd850","501df3ff1166189ef3611db2d498048e6d6783eb8c4ae29d04d79f6caef0308a","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","4e9d375d05a75efefcdae0a6a7be76861b5c96683acd31d1c8b120f60c0f6194","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","9f647f992d4a70de8a4faa87f73748ae5c65b5d0240ef5312ceba1420ba4aec2","f1d8b21cdf08726021c8cce0cd6159486236cf1d633eeabbc435b5b2e5869c2e","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","1d84555c17c5f9130c232f700e0776f2c5ade64f84baf35fc67b2968b49f5a1a","97cad055446113b65658aa07fac62e03dee7645dafec7f8e1e627500d5d8ee6d","9110d0556f9c55643de40c874641fe455177dee183538b4b6e7214c78e2112c3","fab58e600970e66547644a44bc9918e3223aa2cbd9e8763cec004b2cfb48827e","4b5e3faff10d6bbeac24f4ceec4b5fc6212159aef9cbd650e480b09513430cbd","b4358a89fcd9c579f84a6c68e2ce44ca91b07e4db3f8f403c2b7a72c1a1e04b6","70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e","6ba73232c9d3267ca36ddb83e335d474d2c0e167481e3dec416c782894e11438"],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"module":1,"noImplicitAny":false,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"strictNullChecks":false,"target":6},"fileIdsList":[[98],[48,98],[48,49,50,51,52,98],[48,50,98],[98,105],[69,72,97,98,105,107,108,109],[72,98],[98,112,113,114],[70,98,105],[98,119],[98,120],[98,126,131],[69,98,105],[98,135,137,138,139,140,141,142,143,144,145,146,147],[98,135,136,138,139,140,141,142,143,144,145,146,147],[98,136,137,138,139,140,141,142,143,144,145,146,147],[98,135,136,137,139,140,141,142,143,144,145,146,147],[98,135,136,137,138,140,141,142,143,144,145,146,147],[98,135,136,137,138,139,141,142,143,144,145,146,147],[98,135,136,137,138,139,140,142,143,144,145,146,147],[98,135,136,137,138,139,140,141,143,144,145,146,147],[98,135,136,137,138,139,140,141,142,144,145,146,147],[98,135,136,137,138,139,140,141,142,143,145,146,147],[98,135,136,137,138,139,140,141,142,143,144,146,147],[98,135,136,137,138,139,140,141,142,143,144,145,147],[98,135,136,137,138,139,140,141,142,143,144,145,146],[98,155],[98,148,150,151,156],[98,149,152],[98,148,149],[98,150,152],[98,148,149,150,151,152,153,154],[98,148],[54,98],[57,98],[58,63,98],[59,69,70,77,86,97,98],[59,60,69,77,98],[61,98],[62,63,70,78,98],[63,86,94,98],[64,66,69,77,98],[65,98],[66,67,98],[68,69,98],[69,98],[69,70,71,86,97,98],[69,70,71,86,98],[72,77,86,97,98],[69,70,72,73,77,86,94,97,98],[72,74,86,94,97,98],[54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],[69,75,98],[76,97,98],[66,69,77,86,98],[78,98],[79,98],[57,80,98],[81,96,98,102],[82,98],[83,98],[69,84,98],[84,85,98,100],[69,86,87,88,98],[86,88,98],[86,87,98],[89,98],[90,98],[69,92,93,98],[92,93,98],[63,77,94,98],[95,98],[77,96,98],[58,72,83,97,98],[63,98],[86,98,99],[98,100],[98,101],[58,63,69,71,80,86,97,98,100,102],[86,98,103],[72,86,98,105],[69,72,74,86,94,97,98,103,105],[98,171],[98,124,127],[98,124,127,128,129],[98,126],[98,123,130],[98,125]],"referencedMap":[[46,1],[50,2],[48,1],[47,1],[53,3],[49,2],[51,4],[52,2],[106,5],[110,6],[111,7],[112,1],[115,8],[113,1],[116,1],[117,9],[118,9],[108,1],[119,1],[120,10],[121,11],[122,5],[132,12],[114,1],[133,1],[134,13],[136,14],[137,15],[135,16],[138,17],[139,18],[140,19],[141,20],[142,21],[143,22],[144,23],[145,24],[146,25],[147,26],[156,27],[152,28],[150,29],[153,30],[151,31],[155,32],[149,1],[154,33],[148,1],[157,1],[158,1],[54,34],[55,34],[57,35],[58,36],[59,37],[60,38],[61,39],[62,40],[63,41],[64,42],[65,43],[66,44],[67,44],[68,45],[69,46],[70,47],[71,48],[56,1],[104,1],[72,49],[73,50],[74,51],[105,52],[75,53],[76,54],[77,55],[78,56],[79,57],[80,58],[81,59],[82,60],[83,61],[84,62],[85,63],[86,64],[88,65],[87,66],[89,67],[90,68],[91,1],[92,69],[93,70],[94,71],[95,72],[96,73],[97,74],[98,75],[99,76],[100,77],[101,78],[102,79],[103,80],[159,1],[160,1],[161,1],[162,1],[163,1],[109,81],[164,1],[165,1],[166,1],[167,1],[168,1],[169,1],[170,82],[171,1],[172,83],[123,1],[124,1],[128,84],[130,85],[129,84],[127,86],[131,87],[107,46],[126,88],[125,1],[8,1],[9,1],[13,1],[12,1],[2,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[3,1],[4,1],[25,1],[22,1],[23,1],[24,1],[26,1],[27,1],[28,1],[5,1],[29,1],[30,1],[31,1],[32,1],[6,1],[45,1],[33,1],[34,1],[35,1],[36,1],[7,1],[37,1],[42,1],[43,1],[38,1],[39,1],[40,1],[41,1],[1,1],[44,1],[11,1],[10,1]],"exportedModulesMap":[[50,2],[48,1],[47,1],[53,3],[49,2],[51,4],[52,2],[106,5],[110,6],[111,7],[112,1],[115,8],[113,1],[116,1],[117,9],[118,9],[108,1],[119,1],[120,10],[121,11],[122,5],[132,12],[114,1],[133,1],[134,13],[136,14],[137,15],[135,16],[138,17],[139,18],[140,19],[141,20],[142,21],[143,22],[144,23],[145,24],[146,25],[147,26],[156,27],[152,28],[150,29],[153,30],[151,31],[155,32],[149,1],[154,33],[148,1],[157,1],[158,1],[54,34],[55,34],[57,35],[58,36],[59,37],[60,38],[61,39],[62,40],[63,41],[64,42],[65,43],[66,44],[67,44],[68,45],[69,46],[70,47],[71,48],[56,1],[104,1],[72,49],[73,50],[74,51],[105,52],[75,53],[76,54],[77,55],[78,56],[79,57],[80,58],[81,59],[82,60],[83,61],[84,62],[85,63],[86,64],[88,65],[87,66],[89,67],[90,68],[91,1],[92,69],[93,70],[94,71],[95,72],[96,73],[97,74],[98,75],[99,76],[100,77],[101,78],[102,79],[103,80],[159,1],[160,1],[161,1],[162,1],[163,1],[109,81],[164,1],[165,1],[166,1],[167,1],[168,1],[169,1],[170,82],[171,1],[172,83],[123,1],[124,1],[128,84],[130,85],[129,84],[127,86],[131,87],[107,46],[126,88],[125,1],[8,1],[9,1],[13,1],[12,1],[2,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[3,1],[4,1],[25,1],[22,1],[23,1],[24,1],[26,1],[27,1],[28,1],[5,1],[29,1],[30,1],[31,1],[32,1],[6,1],[45,1],[33,1],[34,1],[35,1],[36,1],[7,1],[37,1],[42,1],[43,1],[38,1],[39,1],[40,1],[41,1],[1,1],[44,1],[11,1],[10,1]],"semanticDiagnosticsPerFile":[46,50,48,47,53,49,51,52,106,110,111,112,115,113,116,117,118,108,119,120,121,122,132,114,133,134,136,137,135,138,139,140,141,142,143,144,145,146,147,156,152,150,153,151,155,149,154,148,157,158,54,55,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,56,104,72,73,74,105,75,76,77,78,79,80,81,82,83,84,85,86,88,87,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,159,160,161,162,163,109,164,165,166,167,168,169,170,171,172,123,124,128,130,129,127,131,107,126,125,8,9,13,12,2,14,15,16,17,18,19,20,21,3,4,25,22,23,24,26,27,28,5,29,30,31,32,6,45,33,34,35,36,7,37,42,43,38,39,40,41,1,44,11,10]},"version":"4.7.4"}
|
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "faros-airbyte-common",
|
|
3
|
+
"version": "0.3.1",
|
|
4
|
+
"description": "Faros Airbyte Connector shared utilities",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"airbyte",
|
|
7
|
+
"faros"
|
|
8
|
+
],
|
|
9
|
+
"homepage": "https://www.faros.ai",
|
|
10
|
+
"author": "Faros AI, Inc.",
|
|
11
|
+
"license": "Apache-2.0",
|
|
12
|
+
"repository": "https://github.com/faros-ai/airbyte-connectors",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/faros-ai/airbyte-connectors/issues"
|
|
15
|
+
},
|
|
16
|
+
"directories": {
|
|
17
|
+
"lib": "lib",
|
|
18
|
+
"test": "test"
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"lib/"
|
|
22
|
+
],
|
|
23
|
+
"main": "./lib",
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=16"
|
|
26
|
+
},
|
|
27
|
+
"exports": {
|
|
28
|
+
"./bitbucket-server": "./lib/bitbucket-server/index.js"
|
|
29
|
+
},
|
|
30
|
+
"typesVersions": {
|
|
31
|
+
"*": {
|
|
32
|
+
"bitbucket-server": [
|
|
33
|
+
"./lib/bitbucket-server/index.d.ts"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "tsc -p src",
|
|
39
|
+
"clean": "rm -rf lib node_modules out",
|
|
40
|
+
"fix": "prettier --write 'src/**/*.ts' 'test/**/*.ts' && npm run lint -- --fix",
|
|
41
|
+
"lint": "eslint 'src/**/*.ts' 'test/**/*.ts'",
|
|
42
|
+
"prepare": "npm run build",
|
|
43
|
+
"test": "jest --verbose --color",
|
|
44
|
+
"test-cov": "jest --coverage --verbose --color",
|
|
45
|
+
"watch": "tsc -b -w src test"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {},
|
|
48
|
+
"jest": {
|
|
49
|
+
"coverageDirectory": "out/coverage",
|
|
50
|
+
"coveragePathIgnorePatterns": [
|
|
51
|
+
"<rootDir>/node_modules/",
|
|
52
|
+
"<rootDir>/test/"
|
|
53
|
+
],
|
|
54
|
+
"preset": "ts-jest",
|
|
55
|
+
"testEnvironment": "node",
|
|
56
|
+
"testPathIgnorePatterns": [
|
|
57
|
+
".d.ts",
|
|
58
|
+
".js"
|
|
59
|
+
],
|
|
60
|
+
"testTimeout": 10000,
|
|
61
|
+
"globals": {
|
|
62
|
+
"ts-jest": {
|
|
63
|
+
"tsconfig": "test/tsconfig.json"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|