docs: Fix issue in readme

pull/106/head
Boaz Poolman 2023-10-14 17:49:31 +02:00
parent 4581bf1751
commit a153f87fba
1 changed files with 8 additions and 8 deletions

View File

@ -346,14 +346,6 @@ Example:
> `required:` NO | `type:` array
#### JSON fields
This property can accept an array of field names from the type. It is meant to specify the JSON fields on the type so the plugin can better format the field values when calculating the config difference.
###### Key: `jsonFields`
> `required:` NO | `type:` array
#### Components
This property can accept an array of component names from the type. Strapi Components can be included in the export/import process. With "." nested components can also be included in the process.
@ -364,11 +356,19 @@ customTypes: [{
uid: 'name',
components: ['ParentComponentA', 'ParentComponentA.ChildComponent', 'ParentComponentB']
}],
```
###### Key: `components`
> `required:` NO | `type:` array
#### JSON fields
This property can accept an array of field names from the type. It is meant to specify the JSON fields on the type so the plugin can better format the field values when calculating the config difference.
###### Key: `jsonFields`
> `required:` NO | `type:` array
## 🔍 Naming convention
All the config files written in the sync directory have the same naming convention. It goes as follows: