X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=docs%2Fextension.schema.v2.json;h=6345632fcce6ab008ee14ad2f4b92a2a86a089d7;hb=7fdc3d09a3b6bbb7ae046f46e5dbf65fd7aca8e4;hp=d5a9b652157ca68add67a7ef9710988edc5da19a;hpb=2b5fe6e3f1d01d8b24a1856f016c3c6d120a8855;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/extension.schema.v2.json b/docs/extension.schema.v2.json index d5a9b65215..6345632fcc 100644 --- a/docs/extension.schema.v2.json +++ b/docs/extension.schema.v2.json @@ -318,7 +318,7 @@ } }, { - "description": "An arbitrary ResourceLoaderModule definition", + "description": "An arbitrary ResourceLoaderModule definition by class", "properties": { "class": { "type": "string", @@ -326,6 +326,16 @@ } }, "required": ["class"] + }, + { + "description": "An arbitrary ResourceLoaderModule definition with instantiator", + "properties": { + "factory": { + "type": "string", + "description": "A static instantiator function for creating the ResourceLoaderModule object." + } + }, + "required": ["factory"] } ] }