UNPKG

6.49 kBJavaScriptView Raw
1"use strict";
2/*
3 * Copyright © 2018 Atomist, Inc.
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <https://www.gnu.org/licenses/>.
17 */
18function __export(m) {
19 for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
20}
21Object.defineProperty(exports, "__esModule", { value: true });
22var atomistWebhook_1 = require("./lib/atomistWebhook");
23exports.webhookBaseUrl = atomistWebhook_1.webhookBaseUrl;
24var automationClient_1 = require("./lib/automationClient");
25exports.AutomationClient = automationClient_1.AutomationClient;
26var configuration_1 = require("./lib/configuration");
27exports.configurationValue = configuration_1.configurationValue;
28var decorators_1 = require("./lib/decorators");
29exports.MappedParameter = decorators_1.MappedParameter;
30exports.MappedParameters = decorators_1.MappedParameters;
31exports.Parameter = decorators_1.Parameter;
32exports.Parameters = decorators_1.Parameters;
33exports.Secret = decorators_1.Secret;
34exports.Secrets = decorators_1.Secrets;
35exports.Tags = decorators_1.Tags;
36exports.Value = decorators_1.Value;
37var globals_1 = require("./lib/globals");
38exports.automationClientInstance = globals_1.automationClientInstance;
39const GraphQL = require("./lib/graph/graphQL");
40exports.GraphQL = GraphQL;
41var HandlerResult_1 = require("./lib/HandlerResult");
42exports.failure = HandlerResult_1.failure;
43exports.Failure = HandlerResult_1.Failure;
44exports.FailurePromise = HandlerResult_1.FailurePromise;
45exports.reduceResults = HandlerResult_1.reduceResults;
46exports.success = HandlerResult_1.success;
47exports.Success = HandlerResult_1.Success;
48exports.SuccessPromise = HandlerResult_1.SuccessPromise;
49var shutdown_1 = require("./lib/internal/util/shutdown");
50exports.registerShutdownHook = shutdown_1.registerShutdownHook;
51var string_1 = require("./lib/internal/util/string");
52exports.guid = string_1.guid;
53exports.toStringArray = string_1.toStringArray;
54var BitBucketServerRepoRef_1 = require("./lib/operations/common/BitBucketServerRepoRef");
55exports.BitBucketServerRepoRef = BitBucketServerRepoRef_1.BitBucketServerRepoRef;
56var gitHubRepoLoader_1 = require("./lib/operations/common/gitHubRepoLoader");
57exports.gitHubRepoLoader = gitHubRepoLoader_1.gitHubRepoLoader;
58var GitHubRepoRef_1 = require("./lib/operations/common/GitHubRepoRef");
59exports.GitHubRepoRef = GitHubRepoRef_1.GitHubRepoRef;
60const validationPatterns = require("./lib/operations/common/params/validationPatterns");
61exports.validationPatterns = validationPatterns;
62var RepoId_1 = require("./lib/operations/common/RepoId");
63exports.SimpleRepoId = RepoId_1.SimpleRepoId;
64const editModes = require("./lib/operations/edit/editModes");
65exports.editModes = editModes;
66var GitlabRepoCreationParameters_1 = require("./lib/operations/generate/GitlabRepoCreationParameters");
67exports.GitlabRepoCreationParameters = GitlabRepoCreationParameters_1.GitlabRepoCreationParameters;
68var addAtomistWebhook_1 = require("./lib/operations/generate/support/addAtomistWebhook");
69exports.addAtomistWebhook = addAtomistWebhook_1.addAtomistWebhook;
70var ReviewResult_1 = require("./lib/operations/review/ReviewResult");
71exports.DefaultReviewComment = ReviewResult_1.DefaultReviewComment;
72var Tagger_1 = require("./lib/operations/tagger/Tagger");
73exports.unifiedTagger = Tagger_1.unifiedTagger;
74__export(require("./lib/project/fileGlobs"));
75var GitCommandGitProject_1 = require("./lib/project/git/GitCommandGitProject");
76exports.GitCommandGitProject = GitCommandGitProject_1.GitCommandGitProject;
77var LocalProject_1 = require("./lib/project/local/LocalProject");
78exports.isLocalProject = LocalProject_1.isLocalProject;
79var NodeFsLocalProject_1 = require("./lib/project/local/NodeFsLocalProject");
80exports.NodeFsLocalProject = NodeFsLocalProject_1.NodeFsLocalProject;
81var InMemoryFile_1 = require("./lib/project/mem/InMemoryFile");
82exports.InMemoryProjectFile = InMemoryFile_1.InMemoryFile;
83var InMemoryProject_1 = require("./lib/project/mem/InMemoryProject");
84exports.InMemoryProject = InMemoryProject_1.InMemoryProject;
85var jsonUtils_1 = require("./lib/project/util/jsonUtils");
86exports.doWithJson = jsonUtils_1.doWithJson;
87const parseUtils = require("./lib/project/util/parseUtils");
88exports.parseUtils = parseUtils;
89const projectUtils = require("./lib/project/util/projectUtils");
90exports.projectUtils = projectUtils;
91const secured = require("./lib/secured");
92exports.secured = secured;
93var AutomationEventListener_1 = require("./lib/server/AutomationEventListener");
94exports.AutomationEventListenerSupport = AutomationEventListener_1.AutomationEventListenerSupport;
95var SmartParameters_1 = require("./lib/SmartParameters");
96exports.NoParameters = SmartParameters_1.NoParameters;
97__export(require("./lib/spi/graph/GraphClient"));
98__export(require("./lib/spi/http/axiosHttpClient"));
99__export(require("./lib/spi/http/curlHttpClient"));
100__export(require("./lib/spi/http/httpClient"));
101__export(require("./lib/spi/message/MessageClient"));
102const astUtils = require("./lib/tree/ast/astUtils");
103exports.astUtils = astUtils;
104var FileHits_1 = require("./lib/tree/ast/FileHits");
105exports.ZapTrailingWhitespace = FileHits_1.ZapTrailingWhitespace;
106var TypeScriptFileParser_1 = require("./lib/tree/ast/typescript/TypeScriptFileParser");
107exports.TypeScriptES6FileParser = TypeScriptFileParser_1.TypeScriptES6FileParser;
108__export(require("./lib/util/exec"));
109var gitHub_1 = require("./lib/util/gitHub");
110exports.deepLink = gitHub_1.deepLink;
111exports.raiseIssue = gitHub_1.raiseIssue;
112__export(require("./lib/util/logger"));
113var retry_1 = require("./lib/util/retry");
114exports.doWithRetry = retry_1.doWithRetry;
115__export(require("./lib/util/spawn"));
116__export(require("./lib/operations/common/gitlabRepoLoader"));
117__export(require("./lib/operations/common/GitlabPrivateTokenCredentials"));
118__export(require("./lib/operations/common/GitlabRepoRef"));
119__export(require("./lib/operations/generate/GitlabRepoCreationParameters"));
120//# sourceMappingURL=index.js.map
\No newline at end of file