@microsoft/teamsfx-core 2.0.7-alpha.bdb04bd16.0 → 2.0.7-alpha.c341ae107.0
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/build/common/constants.d.ts +3 -1
- package/build/common/constants.d.ts.map +1 -1
- package/build/common/constants.js +3 -1
- package/build/common/constants.js.map +1 -1
- package/build/common/featureFlags.d.ts +1 -0
- package/build/common/featureFlags.d.ts.map +1 -1
- package/build/common/featureFlags.js +5 -1
- package/build/common/featureFlags.js.map +1 -1
- package/build/common/local/packageJsonHelper.d.ts.map +1 -1
- package/build/common/local/packageJsonHelper.js +1 -2
- package/build/common/local/packageJsonHelper.js.map +1 -1
- package/build/common/m365/packageService.d.ts +1 -0
- package/build/common/m365/packageService.d.ts.map +1 -1
- package/build/common/m365/packageService.js +13 -0
- package/build/common/m365/packageService.js.map +1 -1
- package/build/common/projectTypeChecker.d.ts.map +1 -1
- package/build/common/projectTypeChecker.js +1 -2
- package/build/common/projectTypeChecker.js.map +1 -1
- package/build/common/samples.d.ts +3 -2
- package/build/common/samples.d.ts.map +1 -1
- package/build/common/samples.js +84 -40
- package/build/common/samples.js.map +1 -1
- package/build/common/templates-config.json +1 -1
- package/build/component/coordinator/index.d.ts +8 -1
- package/build/component/coordinator/index.d.ts.map +1 -1
- package/build/component/coordinator/index.js +36 -4
- package/build/component/coordinator/index.js.map +1 -1
- package/build/component/driver/aad/utility/aadAppClient.d.ts +1 -0
- package/build/component/driver/aad/utility/aadAppClient.d.ts.map +1 -1
- package/build/component/driver/aad/utility/aadAppClient.js +14 -0
- package/build/component/driver/aad/utility/aadAppClient.js.map +1 -1
- package/build/component/driver/apiKey/create.js +2 -2
- package/build/component/driver/apiKey/create.js.map +1 -1
- package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.d.ts.map +1 -1
- package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js +5 -5
- package/build/component/driver/deploy/azure/impl/AzureZipDeployImpl.js.map +1 -1
- package/build/component/driver/teamsApp/clients/appStudioClient.d.ts +30 -0
- package/build/component/driver/teamsApp/clients/appStudioClient.d.ts.map +1 -1
- package/build/component/driver/teamsApp/clients/appStudioClient.js +63 -0
- package/build/component/driver/teamsApp/clients/appStudioClient.js.map +1 -1
- package/build/component/driver/teamsApp/constants.d.ts +3 -0
- package/build/component/driver/teamsApp/constants.d.ts.map +1 -1
- package/build/component/driver/teamsApp/constants.js +3 -0
- package/build/component/driver/teamsApp/constants.js.map +1 -1
- package/build/component/driver/teamsApp/createAppPackage.d.ts +3 -0
- package/build/component/driver/teamsApp/createAppPackage.d.ts.map +1 -1
- package/build/component/driver/teamsApp/createAppPackage.js +63 -14
- package/build/component/driver/teamsApp/createAppPackage.js.map +1 -1
- package/build/component/driver/teamsApp/interfaces/AsyncAppValidationDetailsResponse.d.ts +21 -0
- package/build/component/driver/teamsApp/interfaces/AsyncAppValidationDetailsResponse.d.ts.map +1 -0
- package/build/component/driver/teamsApp/interfaces/AsyncAppValidationDetailsResponse.js +5 -0
- package/build/component/driver/teamsApp/interfaces/AsyncAppValidationDetailsResponse.js.map +1 -0
- package/build/component/driver/teamsApp/interfaces/AsyncAppValidationResponse.d.ts +17 -0
- package/build/component/driver/teamsApp/interfaces/AsyncAppValidationResponse.d.ts.map +1 -0
- package/build/component/driver/teamsApp/interfaces/AsyncAppValidationResponse.js +16 -0
- package/build/component/driver/teamsApp/interfaces/AsyncAppValidationResponse.js.map +1 -0
- package/build/component/driver/teamsApp/interfaces/AsyncAppValidationResultsResponse.d.ts +41 -0
- package/build/component/driver/teamsApp/interfaces/AsyncAppValidationResultsResponse.d.ts.map +1 -0
- package/build/component/driver/teamsApp/interfaces/AsyncAppValidationResultsResponse.js +5 -0
- package/build/component/driver/teamsApp/interfaces/AsyncAppValidationResultsResponse.js.map +1 -0
- package/build/component/generator/copilotPlugin/generator.d.ts +3 -2
- package/build/component/generator/copilotPlugin/generator.d.ts.map +1 -1
- package/build/component/generator/copilotPlugin/generator.js +31 -15
- package/build/component/generator/copilotPlugin/generator.js.map +1 -1
- package/build/component/generator/copilotPlugin/helper.d.ts +1 -1
- package/build/component/generator/copilotPlugin/helper.js +19 -19
- package/build/component/generator/copilotPlugin/helper.js.map +1 -1
- package/build/component/generator/error.d.ts +1 -1
- package/build/component/generator/error.d.ts.map +1 -1
- package/build/component/generator/error.js +4 -4
- package/build/component/generator/error.js.map +1 -1
- package/build/component/generator/generator.d.ts +5 -0
- package/build/component/generator/generator.d.ts.map +1 -1
- package/build/component/generator/generator.js +27 -25
- package/build/component/generator/generator.js.map +1 -1
- package/build/component/generator/generatorAction.d.ts +5 -15
- package/build/component/generator/generatorAction.d.ts.map +1 -1
- package/build/component/generator/generatorAction.js +44 -92
- package/build/component/generator/generatorAction.js.map +1 -1
- package/build/component/generator/officeAddin/config/projectProperties.d.ts +1 -0
- package/build/component/generator/officeAddin/config/projectProperties.d.ts.map +1 -1
- package/build/component/generator/officeAddin/config/projectProperties.js +1 -0
- package/build/component/generator/officeAddin/config/projectProperties.js.map +1 -1
- package/build/component/generator/officeAddin/config/projectsJsonData.d.ts +1 -4
- package/build/component/generator/officeAddin/config/projectsJsonData.d.ts.map +1 -1
- package/build/component/generator/officeAddin/config/projectsJsonData.js +4 -11
- package/build/component/generator/officeAddin/config/projectsJsonData.js.map +1 -1
- package/build/component/generator/officeAddin/generator.d.ts.map +1 -1
- package/build/component/generator/officeAddin/generator.js +7 -6
- package/build/component/generator/officeAddin/generator.js.map +1 -1
- package/build/component/generator/officeAddin/helperMethods.d.ts +2 -1
- package/build/component/generator/officeAddin/helperMethods.d.ts.map +1 -1
- package/build/component/generator/officeAddin/helperMethods.js +21 -10
- package/build/component/generator/officeAddin/helperMethods.js.map +1 -1
- package/build/component/generator/utils.d.ts +0 -1
- package/build/component/generator/utils.d.ts.map +1 -1
- package/build/component/generator/utils.js +26 -18
- package/build/component/generator/utils.js.map +1 -1
- package/build/core/FxCore.js +3 -3
- package/build/core/FxCore.js.map +1 -1
- package/build/error/arm.d.ts.map +1 -1
- package/build/error/arm.js +0 -2
- package/build/error/arm.js.map +1 -1
- package/build/error/common.d.ts.map +1 -1
- package/build/error/common.js +1 -1
- package/build/error/common.js.map +1 -1
- package/build/error/deploy.d.ts.map +1 -1
- package/build/error/deploy.js +17 -6
- package/build/error/deploy.js.map +1 -1
- package/build/question/create.d.ts +17 -0
- package/build/question/create.d.ts.map +1 -1
- package/build/question/create.js +293 -35
- package/build/question/create.js.map +1 -1
- package/build/question/inputs/CreateProjectInputs.d.ts +16 -4
- package/build/question/inputs/CreateProjectInputs.d.ts.map +1 -1
- package/build/question/options/CreateProjectOptions.d.ts.map +1 -1
- package/build/question/options/CreateProjectOptions.js +52 -8
- package/build/question/options/CreateProjectOptions.js.map +1 -1
- package/build/question/questionNames.d.ts +9 -1
- package/build/question/questionNames.d.ts.map +1 -1
- package/build/question/questionNames.js +8 -0
- package/build/question/questionNames.js.map +1 -1
- package/package.json +6 -6
- package/resource/package.nls.json +100 -56
- package/templates/fallback/common.zip +0 -0
- package/templates/fallback/csharp.zip +0 -0
- package/templates/fallback/js.zip +0 -0
- package/templates/fallback/ts.zip +0 -0
- package/templates/plugins/resource/aad/auth/V3/Enable SSO.txt +1 -1
- package/build/common/spec-parser/adaptiveCardGenerator.d.ts +0 -7
- package/build/common/spec-parser/adaptiveCardGenerator.d.ts.map +0 -1
- package/build/common/spec-parser/adaptiveCardGenerator.js +0 -168
- package/build/common/spec-parser/adaptiveCardGenerator.js.map +0 -1
- package/build/common/spec-parser/adaptiveCardWrapper.d.ts +0 -15
- package/build/common/spec-parser/adaptiveCardWrapper.d.ts.map +0 -1
- package/build/common/spec-parser/adaptiveCardWrapper.js +0 -98
- package/build/common/spec-parser/adaptiveCardWrapper.js.map +0 -1
- package/build/common/spec-parser/constants.d.ts +0 -41
- package/build/common/spec-parser/constants.d.ts.map +0 -1
- package/build/common/spec-parser/constants.js +0 -95
- package/build/common/spec-parser/constants.js.map +0 -1
- package/build/common/spec-parser/index.browser.d.ts +0 -6
- package/build/common/spec-parser/index.browser.d.ts.map +0 -1
- package/build/common/spec-parser/index.browser.js +0 -16
- package/build/common/spec-parser/index.browser.js.map +0 -1
- package/build/common/spec-parser/index.d.ts +0 -5
- package/build/common/spec-parser/index.d.ts.map +0 -1
- package/build/common/spec-parser/index.js +0 -16
- package/build/common/spec-parser/index.js.map +0 -1
- package/build/common/spec-parser/interfaces.d.ts +0 -180
- package/build/common/spec-parser/interfaces.d.ts.map +0 -1
- package/build/common/spec-parser/interfaces.js +0 -51
- package/build/common/spec-parser/interfaces.js.map +0 -1
- package/build/common/spec-parser/manifestUpdater.d.ts +0 -7
- package/build/common/spec-parser/manifestUpdater.d.ts.map +0 -1
- package/build/common/spec-parser/manifestUpdater.js +0 -98
- package/build/common/spec-parser/manifestUpdater.js.map +0 -1
- package/build/common/spec-parser/specFilter.d.ts +0 -3
- package/build/common/spec-parser/specFilter.d.ts.map +0 -1
- package/build/common/spec-parser/specFilter.js +0 -40
- package/build/common/spec-parser/specFilter.js.map +0 -1
- package/build/common/spec-parser/specParser.browser.d.ts +0 -46
- package/build/common/spec-parser/specParser.browser.d.ts.map +0 -1
- package/build/common/spec-parser/specParser.browser.js +0 -139
- package/build/common/spec-parser/specParser.browser.js.map +0 -1
- package/build/common/spec-parser/specParser.d.ts +0 -46
- package/build/common/spec-parser/specParser.d.ts.map +0 -1
- package/build/common/spec-parser/specParser.js +0 -244
- package/build/common/spec-parser/specParser.js.map +0 -1
- package/build/common/spec-parser/specParserError.d.ts +0 -6
- package/build/common/spec-parser/specParserError.d.ts.map +0 -1
- package/build/common/spec-parser/specParserError.js +0 -13
- package/build/common/spec-parser/specParserError.js.map +0 -1
- package/build/common/spec-parser/utils.d.ts +0 -43
- package/build/common/spec-parser/utils.d.ts.map +0 -1
- package/build/common/spec-parser/utils.js +0 -587
- package/build/common/spec-parser/utils.js.map +0 -1
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT license.
|
|
3
|
-
"use strict";
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.inferPreviewCardTemplate = exports.wrapAdaptiveCard = void 0;
|
|
6
|
-
const constants_1 = require("./constants");
|
|
7
|
-
const utils_1 = require("./utils");
|
|
8
|
-
function wrapAdaptiveCard(card, jsonPath) {
|
|
9
|
-
const result = {
|
|
10
|
-
version: constants_1.ConstantString.WrappedCardVersion,
|
|
11
|
-
$schema: constants_1.ConstantString.WrappedCardSchema,
|
|
12
|
-
jsonPath: jsonPath,
|
|
13
|
-
responseLayout: constants_1.ConstantString.WrappedCardResponseLayout,
|
|
14
|
-
responseCardTemplate: card,
|
|
15
|
-
previewCardTemplate: inferPreviewCardTemplate(card),
|
|
16
|
-
};
|
|
17
|
-
return result;
|
|
18
|
-
}
|
|
19
|
-
exports.wrapAdaptiveCard = wrapAdaptiveCard;
|
|
20
|
-
/**
|
|
21
|
-
* Infers the preview card template from an Adaptive Card and a JSON path.
|
|
22
|
-
* The preview card template includes a title and an optional subtitle and image.
|
|
23
|
-
* It populates the preview card template with the first text block that matches
|
|
24
|
-
* each well-known name, in the order of title, subtitle, and image.
|
|
25
|
-
* If no text block matches the title or subtitle, it uses the first two text block as the title and subtitle.
|
|
26
|
-
* If the title is still empty and the subtitle is not empty, it uses subtitle as the title.
|
|
27
|
-
* @param card The Adaptive Card to infer the preview card template from.
|
|
28
|
-
* @param jsonPath The JSON path to the root object in the card body.
|
|
29
|
-
* @returns The inferred preview card template.
|
|
30
|
-
*/
|
|
31
|
-
function inferPreviewCardTemplate(card) {
|
|
32
|
-
var _a;
|
|
33
|
-
const result = {
|
|
34
|
-
title: "",
|
|
35
|
-
};
|
|
36
|
-
const textBlockElements = new Set();
|
|
37
|
-
let rootObject;
|
|
38
|
-
if (((_a = card.body[0]) === null || _a === void 0 ? void 0 : _a.type) === constants_1.ConstantString.ContainerType) {
|
|
39
|
-
rootObject = card.body[0].items;
|
|
40
|
-
}
|
|
41
|
-
else {
|
|
42
|
-
rootObject = card.body;
|
|
43
|
-
}
|
|
44
|
-
for (const element of rootObject) {
|
|
45
|
-
if (element.type === constants_1.ConstantString.TextBlockType) {
|
|
46
|
-
const textElement = element;
|
|
47
|
-
const index = textElement.text.indexOf("${if(");
|
|
48
|
-
if (index > 0) {
|
|
49
|
-
textElement.text = textElement.text.substring(index);
|
|
50
|
-
textBlockElements.add(textElement);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
for (const element of textBlockElements) {
|
|
55
|
-
const text = element.text;
|
|
56
|
-
if (!result.title && utils_1.isWellKnownName(text, constants_1.ConstantString.WellknownTitleName)) {
|
|
57
|
-
result.title = text;
|
|
58
|
-
textBlockElements.delete(element);
|
|
59
|
-
}
|
|
60
|
-
else if (!result.subtitle && utils_1.isWellKnownName(text, constants_1.ConstantString.WellknownSubtitleName)) {
|
|
61
|
-
result.subtitle = text;
|
|
62
|
-
textBlockElements.delete(element);
|
|
63
|
-
}
|
|
64
|
-
else if (!result.image && utils_1.isWellKnownName(text, constants_1.ConstantString.WellknownImageName)) {
|
|
65
|
-
const match = text.match(/\${if\(([^,]+),/);
|
|
66
|
-
const property = match ? match[1] : "";
|
|
67
|
-
if (property) {
|
|
68
|
-
result.image = {
|
|
69
|
-
url: `\${${property}}`,
|
|
70
|
-
alt: text,
|
|
71
|
-
$when: `\${${property} != null}`,
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
textBlockElements.delete(element);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
for (const element of textBlockElements) {
|
|
78
|
-
const text = element.text;
|
|
79
|
-
if (!result.title) {
|
|
80
|
-
result.title = text;
|
|
81
|
-
textBlockElements.delete(element);
|
|
82
|
-
}
|
|
83
|
-
else if (!result.subtitle) {
|
|
84
|
-
result.subtitle = text;
|
|
85
|
-
textBlockElements.delete(element);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
if (!result.title && result.subtitle) {
|
|
89
|
-
result.title = result.subtitle;
|
|
90
|
-
delete result.subtitle;
|
|
91
|
-
}
|
|
92
|
-
if (!result.title) {
|
|
93
|
-
result.title = "result";
|
|
94
|
-
}
|
|
95
|
-
return result;
|
|
96
|
-
}
|
|
97
|
-
exports.inferPreviewCardTemplate = inferPreviewCardTemplate;
|
|
98
|
-
//# sourceMappingURL=adaptiveCardWrapper.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"adaptiveCardWrapper.js","sourceRoot":"","sources":["../../../src/common/spec-parser/adaptiveCardWrapper.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,YAAY,CAAC;;;AAEb,2CAA6C;AAS7C,mCAA0C;AAE1C,SAAgB,gBAAgB,CAAC,IAAkB,EAAE,QAAgB;IACnE,MAAM,MAAM,GAAwB;QAClC,OAAO,EAAE,0BAAc,CAAC,kBAAkB;QAC1C,OAAO,EAAE,0BAAc,CAAC,iBAAiB;QACzC,QAAQ,EAAE,QAAQ;QAClB,cAAc,EAAE,0BAAc,CAAC,yBAAyB;QACxD,oBAAoB,EAAE,IAAI;QAC1B,mBAAmB,EAAE,wBAAwB,CAAC,IAAI,CAAC;KACpD,CAAC;IAEF,OAAO,MAAM,CAAC;AAChB,CAAC;AAXD,4CAWC;AAED;;;;;;;;;;GAUG;AACH,SAAgB,wBAAwB,CAAC,IAAkB;;IACzD,MAAM,MAAM,GAAwB;QAClC,KAAK,EAAE,EAAE;KACV,CAAC;IACF,MAAM,iBAAiB,GAAG,IAAI,GAAG,EAAoB,CAAC;IAEtD,IAAI,UAA8D,CAAC;IACnE,IAAI,CAAA,MAAA,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,0CAAE,IAAI,MAAK,0BAAc,CAAC,aAAa,EAAE;QACvD,UAAU,GAAI,IAAI,CAAC,IAAI,CAAC,CAAC,CAAkB,CAAC,KAAK,CAAC;KACnD;SAAM;QACL,UAA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,EAAE;gBACZ,MAAM,CAAC,KAAK,GAAG;oBACb,GAAG,EAAE,MAAM,QAAQ,GAAG;oBACtB,GAAG,EAAE,IAAI;oBACT,KAAK,EAAE,MAAM,QAAQ,WAAW;iBACjC,CAAC;aACH;YACD,iBAAiB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;SACnC;KACF;IAED,KAAK,MAAM,OAAO,IAAI,iBAAiB,EAAE;QACvC,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;QAC1B,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE;YACjB,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC;YACpB,iBAAiB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;SACnC;aAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE;YAC3B,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC;YACvB,iBAAiB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;SACnC;KACF;IAED,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,QAAQ,EAAE;QACpC,MAAM,CAAC,KAAK,GAAG,MAAM,CAAC,QAAQ,CAAC;QAC/B,OAAO,MAAM,CAAC,QAAQ,CAAC;KACxB;IAED,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE;QACjB,MAAM,CAAC,KAAK,GAAG,QAAQ,CAAC;KACzB;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAnED,4DAmEC"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export declare class ConstantString {
|
|
2
|
-
static readonly CancelledMessage = "Operation is cancelled.";
|
|
3
|
-
static readonly NoServerInformation = "No server information is found in the OpenAPI description document.";
|
|
4
|
-
static readonly RemoteRefNotSupported = "Remote reference is not supported: %s.";
|
|
5
|
-
static readonly MissingOperationId = "Missing operationIds: %s.";
|
|
6
|
-
static readonly NoSupportedApi = "No supported API is found in the OpenAPI description document: only GET and POST methods are supported, additionally, there can be at most one required parameter, and no auth is allowed.";
|
|
7
|
-
static readonly AdditionalPropertiesNotSupported = "'additionalProperties' is not supported, and will be ignored.";
|
|
8
|
-
static readonly SchemaNotSupported = "'oneOf', 'anyOf', and 'not' schema are not supported: %s.";
|
|
9
|
-
static readonly UnknownSchema = "Unknown schema: %s.";
|
|
10
|
-
static readonly UrlProtocolNotSupported = "Server url is not correct: protocol %s is not supported, you should use https protocol instead.";
|
|
11
|
-
static readonly RelativeServerUrlNotSupported = "Server url is not correct: relative server url is not supported.";
|
|
12
|
-
static readonly ResolveServerUrlFailed = "Unable to resolve the server URL: please make sure that the environment variable %s is defined.";
|
|
13
|
-
static readonly OperationOnlyContainsOptionalParam = "Operation %s contains multiple optional parameters. The first optional parameter is used for this command.";
|
|
14
|
-
static readonly ConvertSwaggerToOpenAPI = "The Swagger 2.0 file has been converted to OpenAPI 3.0.";
|
|
15
|
-
static readonly SwaggerNotSupported = "Swagger 2.0 is not supported. Please convert to OpenAPI 3.0 manually before proceeding.";
|
|
16
|
-
static readonly MultipleAPIKeyNotSupported = "Multiple API keys are not supported. Please make sure that all selected APIs use the same API key.";
|
|
17
|
-
static readonly WrappedCardVersion = "devPreview";
|
|
18
|
-
static readonly WrappedCardSchema = "https://developer.microsoft.com/json-schemas/teams/vDevPreview/MicrosoftTeams.ResponseRenderingTemplate.schema.json";
|
|
19
|
-
static readonly WrappedCardResponseLayout = "list";
|
|
20
|
-
static readonly GetMethod = "get";
|
|
21
|
-
static readonly PostMethod = "post";
|
|
22
|
-
static readonly AdaptiveCardVersion = "1.5";
|
|
23
|
-
static readonly AdaptiveCardSchema = "http://adaptivecards.io/schemas/adaptive-card.json";
|
|
24
|
-
static readonly AdaptiveCardType = "AdaptiveCard";
|
|
25
|
-
static readonly TextBlockType = "TextBlock";
|
|
26
|
-
static readonly ContainerType = "Container";
|
|
27
|
-
static readonly RegistrationIdPostfix = "REGISTRATION_ID";
|
|
28
|
-
static readonly ResponseCodeFor20X: string[];
|
|
29
|
-
static readonly AllOperationMethods: string[];
|
|
30
|
-
static readonly WellknownResultNames: string[];
|
|
31
|
-
static readonly WellknownTitleName: string[];
|
|
32
|
-
static readonly WellknownSubtitleName: string[];
|
|
33
|
-
static readonly WellknownImageName: string[];
|
|
34
|
-
static readonly ShortDescriptionMaxLens = 80;
|
|
35
|
-
static readonly FullDescriptionMaxLens = 4000;
|
|
36
|
-
static readonly CommandDescriptionMaxLens = 128;
|
|
37
|
-
static readonly ParameterDescriptionMaxLens = 128;
|
|
38
|
-
static readonly CommandTitleMaxLens = 32;
|
|
39
|
-
static readonly ParameterTitleMaxLens = 32;
|
|
40
|
-
}
|
|
41
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/common/spec-parser/constants.ts"],"names":[],"mappings":"AAIA,qBAAa,cAAc;IACzB,MAAM,CAAC,QAAQ,CAAC,gBAAgB,6BAA6B;IAC7D,MAAM,CAAC,QAAQ,CAAC,mBAAmB,yEACqC;IACxE,MAAM,CAAC,QAAQ,CAAC,qBAAqB,4CAA4C;IACjF,MAAM,CAAC,QAAQ,CAAC,kBAAkB,+BAA+B;IACjE,MAAM,CAAC,QAAQ,CAAC,cAAc,gMACiK;IAE/L,MAAM,CAAC,QAAQ,CAAC,gCAAgC,mEACkB;IAClE,MAAM,CAAC,QAAQ,CAAC,kBAAkB,+DAA+D;IACjG,MAAM,CAAC,QAAQ,CAAC,aAAa,yBAAyB;IAEtD,MAAM,CAAC,QAAQ,CAAC,uBAAuB,qGAC6D;IACpG,MAAM,CAAC,QAAQ,CAAC,6BAA6B,sEACwB;IACrE,MAAM,CAAC,QAAQ,CAAC,sBAAsB,qGAC8D;IACpG,MAAM,CAAC,QAAQ,CAAC,kCAAkC,gHAC6D;IAC/G,MAAM,CAAC,QAAQ,CAAC,uBAAuB,6DACqB;IAE5D,MAAM,CAAC,QAAQ,CAAC,mBAAmB,6FACyD;IAE5F,MAAM,CAAC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ineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.ConstantString = void 0;
|
|
6
|
-
class ConstantString {
|
|
7
|
-
}
|
|
8
|
-
exports.ConstantString = ConstantString;
|
|
9
|
-
ConstantString.CancelledMessage = "Operation is cancelled.";
|
|
10
|
-
ConstantString.NoServerInformation = "No server information is found in the OpenAPI description document.";
|
|
11
|
-
ConstantString.RemoteRefNotSupported = "Remote reference is not supported: %s.";
|
|
12
|
-
ConstantString.MissingOperationId = "Missing operationIds: %s.";
|
|
13
|
-
ConstantString.NoSupportedApi = "No supported API is found in the OpenAPI description document: only GET and POST methods are supported, additionally, there can be at most one required parameter, and no auth is allowed.";
|
|
14
|
-
ConstantString.AdditionalPropertiesNotSupported = "'additionalProperties' is not supported, and will be ignored.";
|
|
15
|
-
ConstantString.SchemaNotSupported = "'oneOf', 'anyOf', and 'not' schema are not supported: %s.";
|
|
16
|
-
ConstantString.UnknownSchema = "Unknown schema: %s.";
|
|
17
|
-
ConstantString.UrlProtocolNotSupported = "Server url is not correct: protocol %s is not supported, you should use https protocol instead.";
|
|
18
|
-
ConstantString.RelativeServerUrlNotSupported = "Server url is not correct: relative server url is not supported.";
|
|
19
|
-
ConstantString.ResolveServerUrlFailed = "Unable to resolve the server URL: please make sure that the environment variable %s is defined.";
|
|
20
|
-
ConstantString.OperationOnlyContainsOptionalParam = "Operation %s contains multiple optional parameters. The first optional parameter is used for this command.";
|
|
21
|
-
ConstantString.ConvertSwaggerToOpenAPI = "The Swagger 2.0 file has been converted to OpenAPI 3.0.";
|
|
22
|
-
ConstantString.SwaggerNotSupported = "Swagger 2.0 is not supported. Please convert to OpenAPI 3.0 manually before proceeding.";
|
|
23
|
-
ConstantString.MultipleAPIKeyNotSupported = "Multiple API keys are not supported. Please make sure that all selected APIs use the same API key.";
|
|
24
|
-
ConstantString.WrappedCardVersion = "devPreview";
|
|
25
|
-
ConstantString.WrappedCardSchema = "https://developer.microsoft.com/json-schemas/teams/vDevPreview/MicrosoftTeams.ResponseRenderingTemplate.schema.json";
|
|
26
|
-
ConstantString.WrappedCardResponseLayout = "list";
|
|
27
|
-
ConstantString.GetMethod = "get";
|
|
28
|
-
ConstantString.PostMethod = "post";
|
|
29
|
-
ConstantString.AdaptiveCardVersion = "1.5";
|
|
30
|
-
ConstantString.AdaptiveCardSchema = "http://adaptivecards.io/schemas/adaptive-card.json";
|
|
31
|
-
ConstantString.AdaptiveCardType = "AdaptiveCard";
|
|
32
|
-
ConstantString.TextBlockType = "TextBlock";
|
|
33
|
-
ConstantString.ContainerType = "Container";
|
|
34
|
-
ConstantString.RegistrationIdPostfix = "REGISTRATION_ID";
|
|
35
|
-
ConstantString.ResponseCodeFor20X = [
|
|
36
|
-
"200",
|
|
37
|
-
"201",
|
|
38
|
-
"202",
|
|
39
|
-
"203",
|
|
40
|
-
"204",
|
|
41
|
-
"205",
|
|
42
|
-
"206",
|
|
43
|
-
"207",
|
|
44
|
-
"208",
|
|
45
|
-
"226",
|
|
46
|
-
"default",
|
|
47
|
-
];
|
|
48
|
-
ConstantString.AllOperationMethods = [
|
|
49
|
-
"get",
|
|
50
|
-
"post",
|
|
51
|
-
"put",
|
|
52
|
-
"delete",
|
|
53
|
-
"patch",
|
|
54
|
-
"head",
|
|
55
|
-
"options",
|
|
56
|
-
"trace",
|
|
57
|
-
];
|
|
58
|
-
// TODO: update after investigating the usage of these constants.
|
|
59
|
-
ConstantString.WellknownResultNames = [
|
|
60
|
-
"result",
|
|
61
|
-
"data",
|
|
62
|
-
"items",
|
|
63
|
-
"root",
|
|
64
|
-
"matches",
|
|
65
|
-
"queries",
|
|
66
|
-
"list",
|
|
67
|
-
"output",
|
|
68
|
-
];
|
|
69
|
-
ConstantString.WellknownTitleName = ["title", "name", "summary", "caption", "subject", "label"];
|
|
70
|
-
ConstantString.WellknownSubtitleName = [
|
|
71
|
-
"subtitle",
|
|
72
|
-
"id",
|
|
73
|
-
"uid",
|
|
74
|
-
"description",
|
|
75
|
-
"desc",
|
|
76
|
-
"detail",
|
|
77
|
-
];
|
|
78
|
-
ConstantString.WellknownImageName = [
|
|
79
|
-
"image",
|
|
80
|
-
"icon",
|
|
81
|
-
"avatar",
|
|
82
|
-
"picture",
|
|
83
|
-
"photo",
|
|
84
|
-
"logo",
|
|
85
|
-
"pic",
|
|
86
|
-
"thumbnail",
|
|
87
|
-
"img",
|
|
88
|
-
];
|
|
89
|
-
ConstantString.ShortDescriptionMaxLens = 80;
|
|
90
|
-
ConstantString.FullDescriptionMaxLens = 4000;
|
|
91
|
-
ConstantString.CommandDescriptionMaxLens = 128;
|
|
92
|
-
ConstantString.ParameterDescriptionMaxLens = 128;
|
|
93
|
-
ConstantString.CommandTitleMaxLens = 32;
|
|
94
|
-
ConstantString.ParameterTitleMaxLens = 32;
|
|
95
|
-
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/common/spec-parser/constants.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,YAAY,CAAC;;;AAEb,MAAa,cAAc;;AAA3B,wCA0GC;AAzGiB,+BAAgB,GAAG,yBAAyB,CAAC;AAC7C,kCAAmB,GACjC,qEAAqE,CAAC;AACxD,oCAAqB,GAAG,wCAAwC,CAAC;AACjE,iCAAkB,GAAG,2BAA2B,CAAC;AACjD,6BAAc,GAC5B,4LAA4L,CAAC;AAE/K,+CAAgC,GAC9C,+DAA+D,CAAC;AAClD,iCAAkB,GAAG,2DAA2D,CAAC;AACjF,4BAAa,GAAG,qBAAqB,CAAC;AAEtC,sCAAuB,GACrC,iGAAiG,CAAC;AACpF,4CAA6B,GAC3C,kEAAkE,CAAC;AACrD,qCAAsB,GACpC,iGAAiG,CAAC;AACpF,iDAAkC,GAChD,4GAA4G,CAAC;AAC/F,sCAAuB,GACrC,yDAAyD,CAAC;AAE5C,kCAAmB,GACjC,yFAAyF,CAAC;AAE5E,yCAA0B,GACxC,oGAAoG,CAAC;AAE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CAAC;AAClC,kCAAmB,GAAG,EAAE,CAAC;AACzB,oCAAqB,GAAG,EAAE,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { SpecParser } from "./specParser.browser";
|
|
2
|
-
export { SpecParserError } from "./specParserError";
|
|
3
|
-
export { ValidationStatus, WarningType, ErrorType, ListAPIResult } from "./interfaces";
|
|
4
|
-
export type { ErrorResult, APIInfo, ValidateResult, WarningResult } from "./interfaces";
|
|
5
|
-
export { ConstantString } from "./constants";
|
|
6
|
-
//# sourceMappingURL=index.browser.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.browser.d.ts","sourceRoot":"","sources":["../../../src/common/spec-parser/index.browser.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AACvF,YAAY,EAAE,WAAW,EAAE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AACxF,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT license.
|
|
3
|
-
"use strict";
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.ConstantString = exports.ErrorType = exports.WarningType = exports.ValidationStatus = exports.SpecParserError = exports.SpecParser = void 0;
|
|
6
|
-
var specParser_browser_1 = require("./specParser.browser");
|
|
7
|
-
Object.defineProperty(exports, "SpecParser", { enumerable: true, get: function () { return specParser_browser_1.SpecParser; } });
|
|
8
|
-
var specParserError_1 = require("./specParserError");
|
|
9
|
-
Object.defineProperty(exports, "SpecParserError", { enumerable: true, get: function () { return specParserError_1.SpecParserError; } });
|
|
10
|
-
var interfaces_1 = require("./interfaces");
|
|
11
|
-
Object.defineProperty(exports, "ValidationStatus", { enumerable: true, get: function () { return interfaces_1.ValidationStatus; } });
|
|
12
|
-
Object.defineProperty(exports, "WarningType", { enumerable: true, get: function () { return interfaces_1.WarningType; } });
|
|
13
|
-
Object.defineProperty(exports, "ErrorType", { enumerable: true, get: function () { return interfaces_1.ErrorType; } });
|
|
14
|
-
var constants_1 = require("./constants");
|
|
15
|
-
Object.defineProperty(exports, "ConstantString", { enumerable: true, get: function () { return constants_1.ConstantString; } });
|
|
16
|
-
//# sourceMappingURL=index.browser.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.browser.js","sourceRoot":"","sources":["../../../src/common/spec-parser/index.browser.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,YAAY,CAAC;;;AAEb,2DAAkD;AAAzC,gHAAA,UAAU,OAAA;AACnB,qDAAoD;AAA3C,kHAAA,eAAe,OAAA;AACxB,2CAAuF;AAA9E,8GAAA,gBAAgB,OAAA;AAAE,yGAAA,WAAW,OAAA;AAAE,uGAAA,SAAS,OAAA;AAEjD,yCAA6C;AAApC,2GAAA,cAAc,OAAA"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { SpecParser } from "./specParser";
|
|
2
|
-
export { SpecParserError } from "./specParserError";
|
|
3
|
-
export { ValidationStatus, WarningType, ErrorType, WarningResult, ErrorResult, ListAPIResult, } from "./interfaces";
|
|
4
|
-
export { ConstantString } from "./constants";
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/common/spec-parser/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,SAAS,EACT,aAAa,EACb,WAAW,EACX,aAAa,GACd,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT license.
|
|
3
|
-
"use strict";
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.ConstantString = exports.ErrorType = exports.WarningType = exports.ValidationStatus = exports.SpecParserError = exports.SpecParser = void 0;
|
|
6
|
-
var specParser_1 = require("./specParser");
|
|
7
|
-
Object.defineProperty(exports, "SpecParser", { enumerable: true, get: function () { return specParser_1.SpecParser; } });
|
|
8
|
-
var specParserError_1 = require("./specParserError");
|
|
9
|
-
Object.defineProperty(exports, "SpecParserError", { enumerable: true, get: function () { return specParserError_1.SpecParserError; } });
|
|
10
|
-
var interfaces_1 = require("./interfaces");
|
|
11
|
-
Object.defineProperty(exports, "ValidationStatus", { enumerable: true, get: function () { return interfaces_1.ValidationStatus; } });
|
|
12
|
-
Object.defineProperty(exports, "WarningType", { enumerable: true, get: function () { return interfaces_1.WarningType; } });
|
|
13
|
-
Object.defineProperty(exports, "ErrorType", { enumerable: true, get: function () { return interfaces_1.ErrorType; } });
|
|
14
|
-
var constants_1 = require("./constants");
|
|
15
|
-
Object.defineProperty(exports, "ConstantString", { enumerable: true, get: function () { return constants_1.ConstantString; } });
|
|
16
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/spec-parser/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,YAAY,CAAC;;;AAEb,2CAA0C;AAAjC,wGAAA,UAAU,OAAA;AACnB,qDAAoD;AAA3C,kHAAA,eAAe,OAAA;AACxB,2CAOsB;AANpB,8GAAA,gBAAgB,OAAA;AAChB,yGAAA,WAAW,OAAA;AACX,uGAAA,SAAS,OAAA;AAKX,yCAA6C;AAApC,2GAAA,cAAc,OAAA"}
|
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
import { OpenAPIV3 } from "openapi-types";
|
|
2
|
-
/**
|
|
3
|
-
* An interface that represents the result of validating an OpenAPI specification file.
|
|
4
|
-
*/
|
|
5
|
-
export interface ValidateResult {
|
|
6
|
-
/**
|
|
7
|
-
* The validation status of the OpenAPI specification file.
|
|
8
|
-
*/
|
|
9
|
-
status: ValidationStatus;
|
|
10
|
-
/**
|
|
11
|
-
* An array of warning results generated during validation.
|
|
12
|
-
*/
|
|
13
|
-
warnings: WarningResult[];
|
|
14
|
-
/**
|
|
15
|
-
* An array of error results generated during validation.
|
|
16
|
-
*/
|
|
17
|
-
errors: ErrorResult[];
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* An interface that represents a warning result generated during validation.
|
|
21
|
-
*/
|
|
22
|
-
export interface WarningResult {
|
|
23
|
-
/**
|
|
24
|
-
* The type of warning.
|
|
25
|
-
*/
|
|
26
|
-
type: WarningType;
|
|
27
|
-
/**
|
|
28
|
-
* The content of the warning.
|
|
29
|
-
*/
|
|
30
|
-
content: string;
|
|
31
|
-
/**
|
|
32
|
-
* data of the warning.
|
|
33
|
-
*/
|
|
34
|
-
data?: any;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* An interface that represents an error result generated during validation.
|
|
38
|
-
*/
|
|
39
|
-
export interface ErrorResult {
|
|
40
|
-
/**
|
|
41
|
-
* The type of error.
|
|
42
|
-
*/
|
|
43
|
-
type: ErrorType;
|
|
44
|
-
/**
|
|
45
|
-
* The content of the error.
|
|
46
|
-
*/
|
|
47
|
-
content: string;
|
|
48
|
-
/**
|
|
49
|
-
* data of the error.
|
|
50
|
-
*/
|
|
51
|
-
data?: any;
|
|
52
|
-
}
|
|
53
|
-
export interface GenerateResult {
|
|
54
|
-
allSuccess: boolean;
|
|
55
|
-
warnings: WarningResult[];
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* An enum that represents the types of errors that can occur during validation.
|
|
59
|
-
*/
|
|
60
|
-
export declare enum ErrorType {
|
|
61
|
-
SpecNotValid = "spec-not-valid",
|
|
62
|
-
RemoteRefNotSupported = "remote-ref-not-supported",
|
|
63
|
-
NoServerInformation = "no-server-information",
|
|
64
|
-
UrlProtocolNotSupported = "url-protocol-not-supported",
|
|
65
|
-
RelativeServerUrlNotSupported = "relative-server-url-not-supported",
|
|
66
|
-
NoSupportedApi = "no-supported-api",
|
|
67
|
-
NoExtraAPICanBeAdded = "no-extra-api-can-be-added",
|
|
68
|
-
ResolveServerUrlFailed = "resolve-server-url-failed",
|
|
69
|
-
SwaggerNotSupported = "swagger-not-supported",
|
|
70
|
-
MultipleAPIKeyNotSupported = "multiple-api-key-not-supported",
|
|
71
|
-
ListFailed = "list-failed",
|
|
72
|
-
listSupportedAPIInfoFailed = "list-supported-api-info-failed",
|
|
73
|
-
FilterSpecFailed = "filter-spec-failed",
|
|
74
|
-
UpdateManifestFailed = "update-manifest-failed",
|
|
75
|
-
GenerateAdaptiveCardFailed = "generate-adaptive-card-failed",
|
|
76
|
-
GenerateFailed = "generate-failed",
|
|
77
|
-
ValidateFailed = "validate-failed",
|
|
78
|
-
Cancelled = "cancelled",
|
|
79
|
-
Unknown = "unknown"
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* An enum that represents the types of warnings that can occur during validation.
|
|
83
|
-
*/
|
|
84
|
-
export declare enum WarningType {
|
|
85
|
-
OperationIdMissing = "operationid-missing",
|
|
86
|
-
GenerateCardFailed = "generate-card-failed",
|
|
87
|
-
OperationOnlyContainsOptionalParam = "operation-only-contains-optional-param",
|
|
88
|
-
ConvertSwaggerToOpenAPI = "convert-swagger-to-openapi",
|
|
89
|
-
Unknown = "unknown"
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* An enum that represents the validation status of an OpenAPI specification file.
|
|
93
|
-
*/
|
|
94
|
-
export declare enum ValidationStatus {
|
|
95
|
-
Valid = 0,
|
|
96
|
-
Warning = 1,
|
|
97
|
-
Error = 2
|
|
98
|
-
}
|
|
99
|
-
export interface TextBlockElement {
|
|
100
|
-
type: string;
|
|
101
|
-
text: string;
|
|
102
|
-
wrap: boolean;
|
|
103
|
-
}
|
|
104
|
-
export interface ImageElement {
|
|
105
|
-
type: string;
|
|
106
|
-
url: string;
|
|
107
|
-
$when: string;
|
|
108
|
-
}
|
|
109
|
-
export interface ArrayElement {
|
|
110
|
-
type: string;
|
|
111
|
-
$data: string;
|
|
112
|
-
items: Array<TextBlockElement | ImageElement | ArrayElement>;
|
|
113
|
-
}
|
|
114
|
-
export interface AdaptiveCard {
|
|
115
|
-
type: string;
|
|
116
|
-
$schema: string;
|
|
117
|
-
version: string;
|
|
118
|
-
body: Array<TextBlockElement | ImageElement | ArrayElement>;
|
|
119
|
-
}
|
|
120
|
-
export interface PreviewCardTemplate {
|
|
121
|
-
title: string;
|
|
122
|
-
subtitle?: string;
|
|
123
|
-
image?: {
|
|
124
|
-
url: string;
|
|
125
|
-
alt?: string;
|
|
126
|
-
$when?: string;
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
export interface WrappedAdaptiveCard {
|
|
130
|
-
version: string;
|
|
131
|
-
$schema?: string;
|
|
132
|
-
jsonPath?: string;
|
|
133
|
-
responseLayout: string;
|
|
134
|
-
responseCardTemplate: AdaptiveCard;
|
|
135
|
-
previewCardTemplate: PreviewCardTemplate;
|
|
136
|
-
}
|
|
137
|
-
export interface ChoicesItem {
|
|
138
|
-
title: string;
|
|
139
|
-
value: string;
|
|
140
|
-
}
|
|
141
|
-
export interface Parameter {
|
|
142
|
-
name: string;
|
|
143
|
-
title: string;
|
|
144
|
-
description: string;
|
|
145
|
-
inputType?: "text" | "textarea" | "number" | "date" | "time" | "toggle" | "choiceset";
|
|
146
|
-
value?: string;
|
|
147
|
-
choices?: ChoicesItem[];
|
|
148
|
-
}
|
|
149
|
-
export interface CheckParamResult {
|
|
150
|
-
requiredNum: number;
|
|
151
|
-
optionalNum: number;
|
|
152
|
-
isValid: boolean;
|
|
153
|
-
}
|
|
154
|
-
export interface ParseOptions {
|
|
155
|
-
allowMissingId?: boolean;
|
|
156
|
-
allowSwagger?: boolean;
|
|
157
|
-
allowAPIKeyAuth?: boolean;
|
|
158
|
-
allowMultipleParameters?: boolean;
|
|
159
|
-
allowOauth2?: boolean;
|
|
160
|
-
}
|
|
161
|
-
export interface APIInfo {
|
|
162
|
-
method: string;
|
|
163
|
-
path: string;
|
|
164
|
-
title: string;
|
|
165
|
-
id: string;
|
|
166
|
-
parameters: Parameter[];
|
|
167
|
-
description: string;
|
|
168
|
-
warning?: WarningResult;
|
|
169
|
-
}
|
|
170
|
-
export interface ListAPIResult {
|
|
171
|
-
api: string;
|
|
172
|
-
server: string;
|
|
173
|
-
operationId: string;
|
|
174
|
-
auth?: OpenAPIV3.SecuritySchemeObject;
|
|
175
|
-
}
|
|
176
|
-
export interface AuthSchema {
|
|
177
|
-
authSchema: OpenAPIV3.SecuritySchemeObject;
|
|
178
|
-
name: string;
|
|
179
|
-
}
|
|
180
|
-
//# sourceMappingURL=interfaces.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/common/spec-parser/interfaces.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,MAAM,EAAE,gBAAgB,CAAC;IAEzB;;OAEG;IACH,QAAQ,EAAE,aAAa,EAAE,CAAC;IAE1B;;OAEG;IACH,MAAM,EAAE,WAAW,EAAE,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,IAAI,EAAE,WAAW,CAAC;IAElB;;OAEG;IACH,OAAO,EAAE,MA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AE,WAAW,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,YAAY;IAC3B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,OAAO;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB;AAED,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,SAAS,CAAC,oBAAoB,CAAC;CACvC;AAED,MAAM,WAAW,UAAU;IACzB,UAAU,EAAE,SAAS,CAAC,oBAAoB,CAAC;IAC3C,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Microsoft Corporation.
|
|
2
|
-
// Licensed under the MIT license.
|
|
3
|
-
"use strict";
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.ValidationStatus = exports.WarningType = exports.ErrorType = void 0;
|
|
6
|
-
/**
|
|
7
|
-
* An enum that represents the types of errors that can occur during validation.
|
|
8
|
-
*/
|
|
9
|
-
var ErrorType;
|
|
10
|
-
(function (ErrorType) {
|
|
11
|
-
ErrorType["SpecNotValid"] = "spec-not-valid";
|
|
12
|
-
ErrorType["RemoteRefNotSupported"] = "remote-ref-not-supported";
|
|
13
|
-
ErrorType["NoServerInformation"] = "no-server-information";
|
|
14
|
-
ErrorType["UrlProtocolNotSupported"] = "url-protocol-not-supported";
|
|
15
|
-
ErrorType["RelativeServerUrlNotSupported"] = "relative-server-url-not-supported";
|
|
16
|
-
ErrorType["NoSupportedApi"] = "no-supported-api";
|
|
17
|
-
ErrorType["NoExtraAPICanBeAdded"] = "no-extra-api-can-be-added";
|
|
18
|
-
ErrorType["ResolveServerUrlFailed"] = "resolve-server-url-failed";
|
|
19
|
-
ErrorType["SwaggerNotSupported"] = "swagger-not-supported";
|
|
20
|
-
ErrorType["MultipleAPIKeyNotSupported"] = "multiple-api-key-not-supported";
|
|
21
|
-
ErrorType["ListFailed"] = "list-failed";
|
|
22
|
-
ErrorType["listSupportedAPIInfoFailed"] = "list-supported-api-info-failed";
|
|
23
|
-
ErrorType["FilterSpecFailed"] = "filter-spec-failed";
|
|
24
|
-
ErrorType["UpdateManifestFailed"] = "update-manifest-failed";
|
|
25
|
-
ErrorType["GenerateAdaptiveCardFailed"] = "generate-adaptive-card-failed";
|
|
26
|
-
ErrorType["GenerateFailed"] = "generate-failed";
|
|
27
|
-
ErrorType["ValidateFailed"] = "validate-failed";
|
|
28
|
-
ErrorType["Cancelled"] = "cancelled";
|
|
29
|
-
ErrorType["Unknown"] = "unknown";
|
|
30
|
-
})(ErrorType = exports.ErrorType || (exports.ErrorType = {}));
|
|
31
|
-
/**
|
|
32
|
-
* An enum that represents the types of warnings that can occur during validation.
|
|
33
|
-
*/
|
|
34
|
-
var WarningType;
|
|
35
|
-
(function (WarningType) {
|
|
36
|
-
WarningType["OperationIdMissing"] = "operationid-missing";
|
|
37
|
-
WarningType["GenerateCardFailed"] = "generate-card-failed";
|
|
38
|
-
WarningType["OperationOnlyContainsOptionalParam"] = "operation-only-contains-optional-param";
|
|
39
|
-
WarningType["ConvertSwaggerToOpenAPI"] = "convert-swagger-to-openapi";
|
|
40
|
-
WarningType["Unknown"] = "unknown";
|
|
41
|
-
})(WarningType = exports.WarningType || (exports.WarningType = {}));
|
|
42
|
-
/**
|
|
43
|
-
* An enum that represents the validation status of an OpenAPI specification file.
|
|
44
|
-
*/
|
|
45
|
-
var ValidationStatus;
|
|
46
|
-
(function (ValidationStatus) {
|
|
47
|
-
ValidationStatus[ValidationStatus["Valid"] = 0] = "Valid";
|
|
48
|
-
ValidationStatus[ValidationStatus["Warning"] = 1] = "Warning";
|
|
49
|
-
ValidationStatus[ValidationStatus["Error"] = 2] = "Error";
|
|
50
|
-
})(ValidationStatus = exports.ValidationStatus || (exports.ValidationStatus = {}));
|
|
51
|
-
//# sourceMappingURL=interfaces.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/common/spec-parser/interfaces.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,YAAY,CAAC;;;AAqEb;;GAEG;AACH,IAAY,SAsBX;AAtBD,WAAY,SAAS;IACnB,4CAA+B,CAAA;IAC/B,+DAAkD,CAAA;IAClD,0DAA6C,CAAA;IAC7C,mEAAsD,CAAA;IACtD,gFAAmE,CAAA;IACnE,gDAAmC,CAAA;IACnC,+DAAkD,CAAA;IAClD,iEAAoD,CAAA;IACpD,0DAA6C,CAAA;IAC7C,0EAA6D,CAAA;IAE7D,uCAA0B,CAAA;IAC1B,0EAA6D,CAAA;IAC7D,oDAAuC,CAAA;IACvC,4DAA+C,CAAA;IAC/C,yEAA4D,CAAA;IAC5D,+CAAkC,CAAA;IAClC,+CAAkC,CAAA;IAElC,oCAAuB,CAAA;IACvB,gCAAmB,CAAA;AACrB,CAAC,EAtBW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAsBpB;AAED;;GAEG;AACH,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,yDAA0C,CAAA;IAC1C,0DAA2C,CAAA;IAC3C,4FAA6E,CAAA;IAC7E,qEAAsD,CAAA;IACtD,kCAAmB,CAAA;AACrB,CAAC,EANW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAMtB;AAED;;GAEG;AACH,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,yDAAK,CAAA;IACL,6DAAO,CAAA;IACP,yDAAK,CAAA;AACP,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { OpenAPIV3 } from "openapi-types";
|
|
2
|
-
import { WarningResult } from "./interfaces";
|
|
3
|
-
import { IMessagingExtensionCommand, TeamsAppManifest } from "@microsoft/teamsfx-api";
|
|
4
|
-
export declare function updateManifest(manifestPath: string, outputSpecPath: string, adaptiveCardFolder: string, spec: OpenAPIV3.Document, allowMultipleParameters: boolean, auth?: OpenAPIV3.SecuritySchemeObject): Promise<[TeamsAppManifest, WarningResult[]]>;
|
|
5
|
-
export declare function generateCommands(spec: OpenAPIV3.Document, adaptiveCardFolder: string, manifestPath: string, allowMultipleParameters: boolean): Promise<[IMessagingExtensionCommand[], WarningResult[]]>;
|
|
6
|
-
export declare function getRelativePath(from: string, to: string): string;
|
|
7
|
-
//# sourceMappingURL=manifestUpdater.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"manifestUpdater.d.ts","sourceRoot":"","sources":["../../../src/common/spec-parser/manifestUpdater.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG1C,OAAO,EAAa,aAAa,EAAE,MAAM,cAAc,CAAC;AASxD,OAAO,EAEL,0BAA0B,EAC1B,gBAAgB,EACjB,MAAM,wBAAwB,CAAC;AAEhC,wBAAsB,cAAc,CAClC,YAAY,EAAE,MAAM,EACpB,cAAc,EAAE,MAAM,EACtB,kBAAkB,EAAE,MAAM,EAC1B,IAAI,EAAE,SAAS,CAAC,QAAQ,EACxB,uBAAuB,EAAE,OAAO,EAChC,IAAI,CAAC,EAAE,SAAS,CAAC,oBAAoB,GACpC,OAAO,CAAC,CAAC,gBAAgB,EAAE,aAAa,EAAE,CAAC,CAAC,CA2D9C;AAED,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,SAAS,CAAC,QAAQ,EACxB,kBAAkB,EAAE,MAAM,EAC1B,YAAY,EAAE,MAAM,EACpB,uBAAuB,EAAE,OAAO,GAC/B,OAAO,CAAC,CAAC,0BAA0B,EAAE,EAAE,aAAa,EAAE,CAAC,CAAC,CAmC1D;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAGhE"}
|