@forge/manifest

12.3.0-next.112.3.0-next.2
out/validators/entity-property-validator.js
~out/validators/entity-property-validator.jsModified
+3−2
Index: package/out/validators/entity-property-validator.js
===================================================================
--- package/out/validators/entity-property-validator.js
+++ package/out/validators/entity-property-validator.js
@@ -3,8 +3,9 @@
 exports.EntityPropertyValidator = void 0;
 const types_1 = require("../types");
 const text_1 = require("../text");
 const utils_1 = require("../utils");
+const MAX_ENTITY_PROPERTY_EXTRACTIONS_PER_APP = 100;
 const isManifestWithModules = (manifest) => {
     return !!manifest?.typedContent?.['modules'];
 };
 class EntityPropertyValidator {
@@ -12,11 +13,11 @@
         const validationErrors = [];
         if (manifest?.typedContent && isManifestWithModules(manifest)) {
             const { yamlContentByLine, typedContent: { modules } } = manifest;
             const appValuesLength = modules[types_1.AllModuleTypes.JiraEntityProperty]?.reduce((acc, module) => acc + module.values.length, 0) || 0;
-            if (appValuesLength > 30) {
+            if (appValuesLength > MAX_ENTITY_PROPERTY_EXTRACTIONS_PER_APP) {
                 validationErrors.push({
-                    message: text_1.errors.modules.jiraEntityProperty.maxExtractionsPerApp(30),
+                    message: text_1.errors.modules.jiraEntityProperty.maxExtractionsPerApp(MAX_ENTITY_PROPERTY_EXTRACTIONS_PER_APP),
                     reference: text_1.References.Modules,
                     level: 'error',
                     ...(0, utils_1.findPosition)('app', yamlContentByLine)
                 });