@ef2/strapi
Advanced tools
Comparing version 2.1.6 to 2.1.8
@@ -6,3 +6,3 @@ { | ||
{ | ||
"activePatchIndex": 7, | ||
"activePatchIndex": 8, | ||
"patches": [ | ||
@@ -40,2 +40,6 @@ { | ||
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -7,17 +7,15 @@\n }\n },\n content: { enabled: true },\n navigation: { enabled: true },\n+ \"slug-localization\": {\n+ enabled: true,\n+ },\n graphql: {\n enabled: true,\n- config: {\n- depthLimit: 100\n- }\n },\n- 'slug-localization': {\n- enabled: true\n- },\n+\n webforms: { enabled: true },\n email: {\n enabled: true,\n config: {\n" | ||
}, | ||
{ | ||
"date": 1682329065612, | ||
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -13,9 +13,8 @@\n },\n graphql: {\n enabled: true\n },\n-\n webforms: { enabled: true },\n email: {\n enabled: true,\n config: {\n" | ||
} | ||
@@ -42,0 +46,0 @@ ], |
@@ -6,3 +6,3 @@ { | ||
{ | ||
"activePatchIndex": 1, | ||
"activePatchIndex": 2, | ||
"patches": [ | ||
@@ -16,2 +16,6 @@ { | ||
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -9,10 +9,13 @@\n },\n \"options\": {\n \"draftAndPublish\": true\n },\n- \"pluginOptions\": {},\n- \"attributes\": {\n+ \"pluginOptions\": {\n+ \"i18n\": {\n+ \"localized\": true\n+ }\n+ }, \"attributes\": {\n \"title\": {\n \"type\": \"string\",\n \"required\": true\n },\n" | ||
}, | ||
{ | ||
"date": 1682335224012, | ||
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -20,12 +20,17 @@\n \"type\": \"string\",\n \"required\": true\n },\n \"slug\": {\n- \"type\": \"uid\",\n- \"targetField\": \"title\",\n- \"required\": true\n- },\n+ \"required\": true,\n+ \"pluginOptions\": {\n+ \"i18n\": {\n+ \"localized\": true\n+ }\n+ },\n+ \"type\": \"customField\",\n+ \"customField\": \"plugin::slug-localization.slug-localization\"\n+ },\n \"seo\": {\n \"type\": \"component\",\n \"repeatable\": false,\n \"component\": \"shared.seo\",\n" | ||
} | ||
@@ -18,0 +22,0 @@ ], |
{ | ||
"name": "@ef2/strapi", | ||
"description": "Strapi EF2 template", | ||
"version": "2.1.6", | ||
"version": "2.1.8", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "devDependencies": { |
@@ -17,3 +17,2 @@ export default { | ||
}, | ||
webforms: { enabled: true }, | ||
@@ -20,0 +19,0 @@ email: { |
@@ -24,5 +24,10 @@ { | ||
"slug": { | ||
"type": "uid", | ||
"targetField": "title", | ||
"required": true | ||
"required": true, | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
}, | ||
"type": "customField", | ||
"customField": "plugin::slug-localization.slug-localization" | ||
}, | ||
@@ -29,0 +34,0 @@ "seo": { |
@@ -11,4 +11,10 @@ //@ts-nocheck | ||
strapi.config.set('plugin.graphql', { | ||
endpoint: '/graphql', | ||
shadowCRUD: true, | ||
playgroundAlways: false, | ||
depthLimit: 100, | ||
amountLimit: 100 | ||
amountLimit: 100, | ||
apolloServer: { | ||
tracing: true | ||
} | ||
}); | ||
@@ -15,0 +21,0 @@ }, |
84585
1200
56