extension.schema.v2: Fix schemas for 'templates'

Synchronize the definitions for ResourceModules and QUnitTestModule.

I previously had to fix a similar problem with 'packageFiles':
I6c3d186de1877f73d4a4e3fec7d6d632a5d5fa83. And there are many other
differences. I don't have the time right now to compare them all
and decide which ones are right.

Change-Id: I9153851fe162c012967fda00d3e1f81964a8dce9
This commit is contained in:
Bartosz Dziewoński 2020-02-25 01:18:20 +01:00
parent 73862de93b
commit ee1f4f8ea3

View file

@ -295,7 +295,10 @@
},
"templates": {
"type": ["object", "array"],
"description": "Templates to be loaded for client-side usage"
"description": "Templates to be loaded for client-side usage",
"items": {
"type": "string"
}
},
"targets": {
"type": ["string", "array"],
@ -479,8 +482,8 @@
}
},
"templates": {
"type": ["object"],
"description": "templates to load",
"type": ["object", "array"],
"description": "Templates to be loaded for client-side usage",
"items": {
"type": "string"
}