updated to strapi 4.0.5

This commit is contained in:
DrMint 2022-01-21 00:21:19 +01:00
parent cf09c6ee6f
commit ddf0b12ece
4 changed files with 2097 additions and 3354 deletions

5413
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -10,10 +10,10 @@
"strapi": "strapi"
},
"dependencies": {
"@strapi/plugin-graphql": "^4.0.2",
"@strapi/plugin-i18n": "4.0.2",
"@strapi/plugin-users-permissions": "4.0.2",
"@strapi/strapi": "4.0.2",
"@strapi/plugin-graphql": "^4.0.5",
"@strapi/plugin-i18n": "4.0.5",
"@strapi/plugin-users-permissions": "4.0.5",
"@strapi/strapi": "4.0.5",
"sqlite3": "5.0.2"
},
"author": {

View File

@ -90,14 +90,17 @@
"target": "api::library-content.library-content",
"mappedBy": "library_item"
},
"description": {
"type": "text"
},
"release_date": {
"type": "component",
"repeatable": false,
"component": "basics.datepicker",
"required": false
},
"descriptions": {
"displayName": "Library Items",
"type": "component",
"repeatable": true,
"component": "translations.library-items"
}
}
}

View File

@ -0,0 +1,19 @@
{
"collectionName": "components_translations_library_items",
"info": {
"displayName": "Library Items",
"icon": "feather-alt"
},
"options": {},
"attributes": {
"description": {
"type": "text",
"required": true
},
"language": {
"type": "relation",
"relation": "oneToOne",
"target": "api::language.language"
}
}
}