schema autoload
This commit is contained in:
Generated
+22
@@ -28,6 +28,28 @@
|
||||
<Item>
|
||||
<option name="path" value="schema/routes.json" />
|
||||
</Item>
|
||||
<Item>
|
||||
<option name="path" value="schema/autoload.json" />
|
||||
</Item>
|
||||
</list>
|
||||
</option>
|
||||
</SchemaInfo>
|
||||
</value>
|
||||
</entry>
|
||||
<entry key="autoload">
|
||||
<value>
|
||||
<SchemaInfo>
|
||||
<option name="generatedName" value="New Schema" />
|
||||
<option name="name" value="autoload" />
|
||||
<option name="relativePathToSchema" value="schema/autoload.json" />
|
||||
<option name="schemaVersion" value="JSON Schema version 7" />
|
||||
<option name="patterns">
|
||||
<list>
|
||||
<Item>
|
||||
<option name="pattern" value="true" />
|
||||
<option name="path" value="*/Resources/autoload.json" />
|
||||
<option name="mappingKind" value="Pattern" />
|
||||
</Item>
|
||||
</list>
|
||||
</option>
|
||||
</SchemaInfo>
|
||||
|
||||
Vendored
+6
@@ -1,5 +1,11 @@
|
||||
{
|
||||
"json.schemas": [
|
||||
{
|
||||
"fileMatch": [
|
||||
"*/Resources/autoload.json"
|
||||
],
|
||||
"url": "./schema/autoload.json"
|
||||
},
|
||||
{
|
||||
"fileMatch": [
|
||||
"*/Resources/routes.json"
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://www.espocrm.com/schema/autoload.json",
|
||||
"title": "autoload",
|
||||
"description": "Composer definitions.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"psr-4": {
|
||||
"description": "A PSR-4 mapping. Example: {\"SomeLib\\\\\": \"custom/Espo/Modules/MyModule/vendor/some-lib/src\"}",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"psr-0": {
|
||||
"description": "A PSR-0 mapping.",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"autoloadFileList": {
|
||||
"description": "Autoload PHP files.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"classmap": {
|
||||
"description": "A class-name => file-path mapping.",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user