@microsoft/m365-spec-parser 0.2.2-alpha.746b3b22c.0 → 0.2.2-alpha.7ed8295c4.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.
@@ -16,6 +16,7 @@ export declare class ConstantString {
16
16
  static readonly SpecVersionNotSupported = "Unsupported OpenAPI version %s. Please use version 3.0.x.";
17
17
  static readonly MultipleAuthNotSupported = "Multiple authentication methods are unsupported. Ensure all selected APIs use identical authentication.";
18
18
  static readonly UnsupportedSchema = "Unsupported schema in %s %s: %s";
19
+ static readonly FuncDescriptionTooLong = "The description of the function '%s' is too long. The current length is %s characters, while the maximum allowed length is %s characters.";
19
20
  static readonly WrappedCardVersion = "devPreview";
20
21
  static readonly WrappedCardSchema = "https://developer.microsoft.com/json-schemas/teams/vDevPreview/MicrosoftTeams.ResponseRenderingTemplate.schema.json";
21
22
  static readonly WrappedCardResponseLayout = "list";
@@ -44,6 +45,7 @@ export declare class ConstantString {
44
45
  static readonly CommandTitleMaxLens = 32;
45
46
  static readonly ParameterTitleMaxLens = 32;
46
47
  static readonly SMERequiredParamsMaxNum = 5;
48
+ static readonly FunctionDescriptionMaxLens = 100;
47
49
  static readonly DefaultPluginId = "plugin_1";
48
50
  static readonly PluginManifestSchema = "https://aka.ms/json-schemas/copilot-extensions/v2.1/plugin.schema.json";
49
51
  }
@@ -116,6 +116,7 @@ export declare enum WarningType {
116
116
  GenerateCardFailed = "generate-card-failed",
117
117
  OperationOnlyContainsOptionalParam = "operation-only-contains-optional-param",
118
118
  ConvertSwaggerToOpenAPI = "convert-swagger-to-openapi",
119
+ FuncDescriptionTooLong = "function-description-too-long",
119
120
  Unknown = "unknown"
120
121
  }
121
122
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/m365-spec-parser",
3
- "version": "0.2.2-alpha.746b3b22c.0",
3
+ "version": "0.2.2-alpha.7ed8295c4.0",
4
4
  "description": "OpenAPI specification files Parser for M365 Apps",
5
5
  "main": "dist/index.node.cjs.js",
6
6
  "browser": "dist/index.esm2017.js",
@@ -39,7 +39,7 @@
39
39
  "sideEffects": false,
40
40
  "dependencies": {
41
41
  "@apidevtools/swagger-parser": "^10.1.0",
42
- "@microsoft/teams-manifest": "0.1.6-alpha.746b3b22c.0",
42
+ "@microsoft/teams-manifest": "0.1.6-alpha.7ed8295c4.0",
43
43
  "fs-extra": "^11.2.0",
44
44
  "js-yaml": "^4.1.0",
45
45
  "openapi-types": "^7.2.3",
@@ -147,5 +147,5 @@
147
147
  "npx eslint --cache --fix --quiet"
148
148
  ]
149
149
  },
150
- "gitHead": "595d001418db10bb5823004ad148b111f0fea1fa"
150
+ "gitHead": "d433294afe68404f94213500883b41ddc2b2bc4e"
151
151
  }