strapi-plugin-navigation 3.0.12 β 3.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -17
- package/dist/admin/index.js +267 -267
- package/dist/admin/index.mjs +5239 -5193
- package/dist/server/index.js +28 -28
- package/dist/server/index.mjs +2672 -2411
- package/dist/server/src/config/index.d.ts +0 -1
- package/dist/server/src/index.d.ts +0 -1
- package/dist/server/src/repositories/navigation-item.d.ts +13 -2
- package/dist/server/src/repositories/navigation.d.ts +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,19 +39,18 @@ Strapi Navigation Plugin provides a website navigation / menu builder feature fo
|
|
|
39
39
|
- [Settings page](#in-v203-and-newer)
|
|
40
40
|
- [Plugin file](#in-v202-and-older--default-configuration-state-for-v203-and-newer)
|
|
41
41
|
6. [π§ GraphQL Configuration](#-gql-configuration)
|
|
42
|
-
7. [
|
|
43
|
-
8. [
|
|
44
|
-
9. [
|
|
45
|
-
10. [πΈοΈ Public API specification](#%EF%B8%8F-public-api-specification)
|
|
42
|
+
7. [π€ RBAC](#-rbac)
|
|
43
|
+
8. [π Authorization strategy](#-authorization-strategy)
|
|
44
|
+
9. [πΈοΈ Public API specification](#%EF%B8%8F-public-api-specification)
|
|
46
45
|
- [REST API](#rest-api)
|
|
47
46
|
- [GraphQL API](#graphql-api)
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
47
|
+
10. [π Extensions](#-extensions)
|
|
48
|
+
11. [πΏ Model lifecycle hooks](#model-life-cycle-hooks)
|
|
49
|
+
12. [π§Ή REST Cache](#rest-cache)
|
|
50
|
+
13. [π§© Examples](#-examples)
|
|
51
|
+
14. [π¬ FAQ](#-faq)
|
|
52
|
+
15. [π€ Contributing](#-contributing-to-the-plugin)
|
|
53
|
+
16. [π¨βπ» Community support](#-community-support)
|
|
55
54
|
|
|
56
55
|
## π Versions
|
|
57
56
|
|
|
@@ -168,7 +167,6 @@ Config for this plugin is stored as a part of the `config/plugins.{js|ts}` or `c
|
|
|
168
167
|
- `contentTypesNameFields` - Definition of content type title fields like `'api::<collection name>.<content type name>': ['field_name_1', 'field_name_2']`, if not set titles are pulled from fields like `['title', 'subject', 'name']`. **TIP** - Proper content type uid you can find in the URL of Content Manager where you're managing relevant entities like: `admin/content-manager/collectionType/< THE UID HERE >?page=1&pageSize=10&sort=Title:ASC&plugins[i18n][locale]=en`
|
|
169
168
|
- `pathDefaultFields` - The attribute to copy the default path from per content type. Syntax: `'api::<collection name>.<content type name>': ['url_slug', 'path']`
|
|
170
169
|
- `gql` - If you're using GraphQL that's the right place to put all necessary settings. More **[ here ](#gql-configuration)**
|
|
171
|
-
- `i18nEnabled` - should you want to manage multi-locale content via navigation set this value `Enabled`. More **[ here ](#i18n)**
|
|
172
170
|
- `cascadeMenuAttached` - If you don't want "Menu attached" to cascade on child items set this value `Disabled`.
|
|
173
171
|
|
|
174
172
|
### Properties
|
|
@@ -205,11 +203,7 @@ gql: {
|
|
|
205
203
|
navigationItemRelated: ['Page', 'UploadFile'],
|
|
206
204
|
},
|
|
207
205
|
```
|
|
208
|
-
where `Page` and `UploadFile` are your type names for the **Content Types** you're referring by navigation items relations.
|
|
209
|
-
|
|
210
|
-
## π i18n
|
|
211
|
-
|
|
212
|
-
Fully integrated and follows the **[official i18n Strapi patterns](https://docs.strapi.io/dev-docs/i18n)**.
|
|
206
|
+
where `Page` and `UploadFile` are your type names for the **Content Types** you're referring by navigation items relations.
|
|
213
207
|
|
|
214
208
|
## π€ RBAC
|
|
215
209
|
Plugin provides granular permissions based on **Strapi RBAC** functionality within the editorial interface & **Admin API**. Those settings are editable via the _Setings_ -> _Administration Panel_ -> _Roles_.
|