@forge/manifest
13.9.0-next.413.9.0-next.5
out/validators/modules-validators/dashboards/validate-dashboard-modules.js~
out/validators/modules-validators/dashboards/validate-dashboard-modules.jsModified+12−2
Index: package/out/validators/modules-validators/dashboards/validate-dashboard-modules.js
===================================================================
--- package/out/validators/modules-validators/dashboards/validate-dashboard-modules.js
+++ package/out/validators/modules-validators/dashboards/validate-dashboard-modules.js
@@ -21,13 +21,23 @@
])
},
{
moduleType: types_1.AllModuleTypes.DashboardsFilter,
- allowedProperties: new Set(['key', 'title', 'icon', 'function', 'resource', 'render', 'edit', 'resolver'])
+ allowedProperties: new Set([
+ 'key',
+ 'title',
+ 'icon',
+ 'function',
+ 'resource',
+ 'render',
+ 'edit',
+ 'resolver',
+ 'migration'
+ ])
},
{
moduleType: types_1.AllModuleTypes.DashboardsBackgroundScript,
- allowedProperties: new Set(['key', 'resource', 'render', 'resolver', 'migration'])
+ allowedProperties: new Set(['key', 'resource', 'render', 'resolver'])
}
];
const isRecord = (value) => typeof value === 'object' && value !== null && !Array.isArray(value);
const buildAdditionalPropertyError = (moduleType, additionalProperty, moduleKey, yamlContentByLine) => ({