@forge/manifest
12.6.012.6.0-experimental-a6c6519
~
Modified (7 files)
Index: package/out/validators/modules-validators/global/validate-global-ui.js
===================================================================
--- package/out/validators/modules-validators/global/validate-global-ui.js
+++ package/out/validators/modules-validators/global/validate-global-ui.js
@@ -12,9 +12,9 @@
const globalUiModules = modules[moduleType] || [];
if (globalUiModules.length === 0) {
return validationErrors;
}
- if (app.installationTarget !== 'unit') {
+ if (!['unit', 'user'].includes(app.installationTarget)) {
validationErrors.push({
message: errorMessages.installationTargetRequired(),
reference: text_1.References.Modules,
level: 'error', Index: package/out/schema/basic-manifest-schema.json
===================================================================
--- package/out/schema/basic-manifest-schema.json
+++ package/out/schema/basic-manifest-schema.json
@@ -54,9 +54,10 @@
"installationTarget": {
"type": "string",
"enum": [
"site",
- "unit"
+ "unit",
+ "user"
],
"description": "The target of the app installation."
},
"compatibility": { File too large for inline diff
Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "@forge/manifest",
- "version": "12.6.0",
+ "version": "12.6.0-experimental-a6c6519",
"description": "Definitions and validations of the Forge manifest",
"main": "out/index.js",
"scripts": {
"build": "yarn run compile", File too large for inline diff
Index: package/out/schema/basic-manifest.d.ts
===================================================================
--- package/out/schema/basic-manifest.d.ts
+++ package/out/schema/basic-manifest.d.ts
@@ -60,9 +60,9 @@
runtime: Runtime;
/**
* The target of the app installation.
*/
- installationTarget?: 'site' | 'unit';
+ installationTarget?: 'site' | 'unit' | 'user';
compatibility?: Compatibility;
access?: Access;
licensing?: Licensing;
features?: Features; File too large for inline diff