@forge/manifest

12.1.0-next.2-experimental-d99730712.1.0-next.3-experimental-44a932f
out/text/errors.js
out/text/errors.js
+4
Index: package/out/text/errors.js
===================================================================
--- package/out/text/errors.js
+++ package/out/text/errors.js
@@ -4,8 +4,11 @@
 const types_1 = require("../types");
 const utils_1 = require("../utils");
 exports.errors = {
     invalidManifest: (reason) => `manifest.yml failed to parse content - ${reason}`,
+    twgPreviewScopes: (scopes) => `This app requests Teamwork Graph scopes (${scopes.join(', ')}), which grant org-wide read access ` +
+        `across Jira, Confluence, Compass, JSM, Teams, Goals, Projects, and users. ` +
+        `End-user permissions are respected, but access is not limited to a single site or product.`,
     missingManifest: () => `To run this command, make sure you're in the top-level directory of your app, and the manifest.yml file is in the same directory.`,
     schemaError: (value, path, reason) => {
         if (value) {
             return `${path.join(' ')} '${value}' ${reason}`;
@@ -37,8 +40,9 @@
         deprecatedEgressPermission: (key) => `There are deprecated egress permission entries for '${key}' in the manifest.yml file`,
         globalUrlNotRecommended: (element) => `Global URL usage detected for '${element}' permission in the manifest.yml file. We recommend using a more specific URL.`,
         imageUrlNotRecommended: (element, value) => `Unnecessary URL detected for '${element}' permission in the manifest.yml file. Your app should not need the URL '${value}' to work properly.`,
         fontAndStylesNotRecommended: (element) => `Unnecessary usage of '${element}' permission in the manifest.yml file. You can avoid using this permission by packaging the fonts and styles with your app code.`,
+        backendEgressPathIgnored: (url) => `Detected a backend egress URL with a path in manifest.yml: '${url}'. Currently, backend egress only validates domains, so the path is ignored.`,
         malformedScope: (index) => `The scope definition at index '${index}' is malformed. Use either a string with the scope key, or an object with the scope key as the only key`
     },
     connectModules: {
         invalidConnectModule: (module) => `invalid value '${module}' in connectModules`,