UNPKG

3.29 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("./atomistWebhook");
23exports.postAtomistWebhook = atomistWebhook_1.postAtomistWebhook;
24exports.webhookBaseUrl = atomistWebhook_1.webhookBaseUrl;
25var configuration_1 = require("./configuration");
26exports.configurationValue = configuration_1.configurationValue;
27exports.getUserConfig = configuration_1.getUserConfig;
28exports.resolveWorkspaceIds = configuration_1.resolveWorkspaceIds;
29exports.userConfigPath = configuration_1.userConfigPath;
30exports.writeUserConfig = configuration_1.writeUserConfig;
31var decorators_1 = require("./decorators");
32exports.CommandHandler = decorators_1.CommandHandler;
33exports.ConfigurableCommandHandler = decorators_1.ConfigurableCommandHandler;
34exports.EventHandler = decorators_1.EventHandler;
35exports.MappedParameter = decorators_1.MappedParameter;
36exports.MappedParameters = decorators_1.MappedParameters;
37exports.Parameter = decorators_1.Parameter;
38exports.Parameters = decorators_1.Parameters;
39exports.Secret = decorators_1.Secret;
40exports.Secrets = decorators_1.Secrets;
41exports.Value = decorators_1.Value;
42exports.Tags = decorators_1.Tags;
43var globals_1 = require("./globals");
44exports.automationClientInstance = globals_1.automationClientInstance;
45const GraphQL = require("./graph/graphQL");
46exports.GraphQL = GraphQL;
47var HandlerResult_1 = require("./HandlerResult");
48exports.failure = HandlerResult_1.failure;
49exports.Failure = HandlerResult_1.Failure;
50exports.FailurePromise = HandlerResult_1.FailurePromise;
51exports.reduceResults = HandlerResult_1.reduceResults;
52exports.success = HandlerResult_1.success;
53exports.Success = HandlerResult_1.Success;
54exports.SuccessPromise = HandlerResult_1.SuccessPromise;
55var gitInfo_1 = require("./internal/env/gitInfo");
56exports.obtainGitInfo = gitInfo_1.obtainGitInfo;
57var logger_1 = require("./internal/util/logger");
58exports.logger = logger_1.logger;
59exports.LoggingConfig = logger_1.LoggingConfig;
60var BitBucketRepoRef_1 = require("./operations/common/BitBucketRepoRef");
61exports.BitBucketRepoRef = BitBucketRepoRef_1.BitBucketRepoRef;
62var BitBucketServerRepoRef_1 = require("./operations/common/BitBucketServerRepoRef");
63exports.BitBucketServerRepoRef = BitBucketServerRepoRef_1.BitBucketServerRepoRef;
64var GitHubRepoRef_1 = require("./operations/common/GitHubRepoRef");
65exports.GitHubRepoRef = GitHubRepoRef_1.GitHubRepoRef;
66__export(require("./spi/message/MessageClient"));
67//# sourceMappingURL=index.js.map
\No newline at end of file