diff --git a/modulecheck/module.json b/modulecheck/module.json index 2b647d1bcf42a0d104527184ca5823aad4c141a4..b8331ddf94eed0270d10ebd2308bbb2fc4e9bf76 100644 --- a/modulecheck/module.json +++ b/modulecheck/module.json @@ -1150,16 +1150,6 @@ } } }, - "extensionProcessMode": { - "description": "Indicates the extension support multi instance model.", - "type": "string", - "enum": [ - "instance", - "type", - "bundle" - ], - "default": "bundle" - }, "dataGroupIds": { "description": "Indicates the data group IDs associated with the extension ability.", "type": "array", @@ -1171,6 +1161,42 @@ "pattern": "^[\\x00-\\x7F]*$" } } + }, + "if": { + "properties": { + "type": { + "const": "statusBarView" + } + } + }, + "then": { + "properties": { + "extensionProcessMode": { + "description": "Indicates the extension support multi instance model.", + "type": "string", + "enum": [ + "instance", + "type", + "bundle", + "runWithMainProcess" + ], + "default": "instance" + } + } + }, + "else": { + "properties": { + "extensionProcessMode": { + "description": "Indicates the extension support multi instance model.", + "type": "string", + "enum": [ + "instance", + "type", + "bundle" + ], + "default": "instance" + } + } } } },