npm package diff
Package: @forge/manifest
Versions: 7.7.0-next.12 - 7.5.2-next.0-experimental-204139e
File: package/out/validators/modules-validators/jira/validate-full-admin-page.js
Index: package/out/validators/modules-validators/jira/validate-full-admin-page.js
===================================================================
--- package/out/validators/modules-validators/jira/validate-full-admin-page.js
+++ package/out/validators/modules-validators/jira/validate-full-admin-page.js
@@ -1,7 +1,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-exports.validateJiraFullAdminPage = void 0;
+exports.validateFullAdminPage = void 0;
const types_1 = require("../../../types");
const text_1 = require("../../../text");
const utils_1 = require("../../../utils");
const validate_subpages_in_module_1 = require("./validate-subpages-in-module");
@@ -33,9 +33,9 @@
}
}
return validationErrors;
};
-const validateJiraFullAdminPage = (modules, yamlContentByLine) => {
+const validateFullAdminPage = (modules, yamlContentByLine) => {
const validationErrors = [];
const moduleArray = modules[jiraAdminPageType];
const adminPageModules = moduleArray?.filter((module) => !module?.useAsGetStarted && !module?.useAsConfig);
const getStartedModules = moduleArray?.filter((module) => module?.useAsGetStarted);
@@ -50,5 +50,5 @@
validationErrors.push(...validateSeparateAdminPageModule('config', modules, configModules, text_1.errors.modules.singleEntryOfModuleWithConfigureParam(jiraAdminPageType), yamlContentByLine));
}
return validationErrors;
};
-exports.validateJiraFullAdminPage = validateJiraFullAdminPage;
+exports.validateFullAdminPage = validateFullAdminPage;