mirror of
https://github.com/strapi/strapi.git
synced 2025-10-19 12:02:38 +00:00
Fix PR feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
This commit is contained in:
parent
8016364c60
commit
48f6b55eb3
@ -14,9 +14,19 @@
|
|||||||
],
|
],
|
||||||
"comment": ""
|
"comment": ""
|
||||||
},
|
},
|
||||||
|
"pluginOptions": {
|
||||||
|
"i18n": {
|
||||||
|
"localized": true
|
||||||
|
}
|
||||||
|
},
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"postal_coder": {
|
"postal_coder": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"pluginOptions": {
|
||||||
|
"i18n": {
|
||||||
|
"localized": true
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"categories": {
|
"categories": {
|
||||||
"collection": "category",
|
"collection": "category",
|
||||||
@ -33,7 +43,11 @@
|
|||||||
],
|
],
|
||||||
"plugin": "upload",
|
"plugin": "upload",
|
||||||
"required": false,
|
"required": false,
|
||||||
"pluginOptions": {}
|
"pluginOptions": {
|
||||||
|
"i18n": {
|
||||||
|
"localized": true
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"images": {
|
"images": {
|
||||||
"collection": "file",
|
"collection": "file",
|
||||||
@ -43,22 +57,70 @@
|
|||||||
],
|
],
|
||||||
"plugin": "upload",
|
"plugin": "upload",
|
||||||
"required": false,
|
"required": false,
|
||||||
"pluginOptions": {}
|
"pluginOptions": {
|
||||||
|
"i18n": {
|
||||||
|
"localized": true
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"city": {
|
"city": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"required": true,
|
"required": true,
|
||||||
"maxLength": 200
|
"maxLength": 200,
|
||||||
|
"pluginOptions": {
|
||||||
|
"i18n": {
|
||||||
|
"localized": true
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"likes": {
|
"likes": {
|
||||||
"collection": "like",
|
"collection": "like",
|
||||||
"via": "address"
|
"via": "address"
|
||||||
},
|
},
|
||||||
"json": {
|
"json": {
|
||||||
"type": "json"
|
"type": "json",
|
||||||
|
"pluginOptions": {
|
||||||
|
"i18n": {
|
||||||
|
"localized": true
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"slug": {
|
"slug": {
|
||||||
"type": "uid"
|
"type": "uid"
|
||||||
|
},
|
||||||
|
"notrepeat_req": {
|
||||||
|
"type": "component",
|
||||||
|
"repeatable": false,
|
||||||
|
"pluginOptions": {
|
||||||
|
"i18n": {
|
||||||
|
"localized": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"component": "blog.test-como",
|
||||||
|
"required": true
|
||||||
|
},
|
||||||
|
"repeat_req": {
|
||||||
|
"type": "component",
|
||||||
|
"repeatable": true,
|
||||||
|
"pluginOptions": {
|
||||||
|
"i18n": {
|
||||||
|
"localized": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"component": "blog.test-como",
|
||||||
|
"required": true
|
||||||
|
},
|
||||||
|
"repeat_req_min": {
|
||||||
|
"type": "component",
|
||||||
|
"repeatable": true,
|
||||||
|
"pluginOptions": {
|
||||||
|
"i18n": {
|
||||||
|
"localized": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"component": "blog.test-como",
|
||||||
|
"required": false,
|
||||||
|
"min": 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -45,10 +45,10 @@ module.exports = () => {
|
|||||||
...config,
|
...config,
|
||||||
snapshot: {
|
snapshot: {
|
||||||
managedPaths: [
|
managedPaths: [
|
||||||
path.resolve(__dirname, '../core/@strapi/plugin/content-manager'),
|
path.resolve(__dirname, '../content-manager'),
|
||||||
path.resolve(__dirname, '../core/@strapi/plugin/content-type-builder'),
|
path.resolve(__dirname, '../content-type-builder'),
|
||||||
path.resolve(__dirname, '../core/@strapi/plugin/upload'),
|
path.resolve(__dirname, '../upload'),
|
||||||
path.resolve(__dirname, '../core/@strapi/helper-plugin'),
|
path.resolve(__dirname, '../helper-plugin'),
|
||||||
],
|
],
|
||||||
buildDependencies: {
|
buildDependencies: {
|
||||||
hash: true,
|
hash: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user