Skip to content

Commit a6eb1ed

Browse files
author
Agnieszka Figiel
committed
Data info content type for storing tooltips
1 parent ed12c93 commit a6eb1ed

File tree

9 files changed

+719
-111
lines changed

9 files changed

+719
-111
lines changed

cms/config/sync/admin-role.strapi-super-admin.json

+43
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,49 @@
33
"code": "strapi-super-admin",
44
"description": "Super Admins can access and manage all features and settings.",
55
"permissions": [
6+
{
7+
"action": "plugin::content-manager.explorer.create",
8+
"actionParameters": {},
9+
"subject": "api::data-info.data-info",
10+
"properties": {
11+
"fields": [
12+
"slug",
13+
"content"
14+
]
15+
},
16+
"conditions": []
17+
},
18+
{
19+
"action": "plugin::content-manager.explorer.delete",
20+
"actionParameters": {},
21+
"subject": "api::data-info.data-info",
22+
"properties": {},
23+
"conditions": []
24+
},
25+
{
26+
"action": "plugin::content-manager.explorer.read",
27+
"actionParameters": {},
28+
"subject": "api::data-info.data-info",
29+
"properties": {
30+
"fields": [
31+
"slug",
32+
"content"
33+
]
34+
},
35+
"conditions": []
36+
},
37+
{
38+
"action": "plugin::content-manager.explorer.update",
39+
"actionParameters": {},
40+
"subject": "api::data-info.data-info",
41+
"properties": {
42+
"fields": [
43+
"slug",
44+
"content"
45+
]
46+
},
47+
"conditions": []
48+
},
649
{
750
"action": "plugin::content-manager.explorer.create",
851
"actionParameters": {},
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
{
2+
"key": "plugin_content_manager_configuration_content_types::api::data-info.data-info",
3+
"value": {
4+
"uid": "api::data-info.data-info",
5+
"settings": {
6+
"bulkable": true,
7+
"filterable": true,
8+
"searchable": true,
9+
"pageSize": 10,
10+
"mainField": "slug",
11+
"defaultSortBy": "slug",
12+
"defaultSortOrder": "ASC"
13+
},
14+
"metadatas": {
15+
"id": {
16+
"edit": {},
17+
"list": {
18+
"label": "id",
19+
"searchable": true,
20+
"sortable": true
21+
}
22+
},
23+
"slug": {
24+
"edit": {
25+
"label": "slug",
26+
"description": "",
27+
"placeholder": "",
28+
"visible": true,
29+
"editable": true
30+
},
31+
"list": {
32+
"label": "slug",
33+
"searchable": true,
34+
"sortable": true
35+
}
36+
},
37+
"content": {
38+
"edit": {
39+
"label": "content",
40+
"description": "",
41+
"placeholder": "",
42+
"visible": true,
43+
"editable": true
44+
},
45+
"list": {
46+
"label": "content",
47+
"searchable": true,
48+
"sortable": true
49+
}
50+
},
51+
"createdAt": {
52+
"edit": {
53+
"label": "createdAt",
54+
"description": "",
55+
"placeholder": "",
56+
"visible": false,
57+
"editable": true
58+
},
59+
"list": {
60+
"label": "createdAt",
61+
"searchable": true,
62+
"sortable": true
63+
}
64+
},
65+
"updatedAt": {
66+
"edit": {
67+
"label": "updatedAt",
68+
"description": "",
69+
"placeholder": "",
70+
"visible": false,
71+
"editable": true
72+
},
73+
"list": {
74+
"label": "updatedAt",
75+
"searchable": true,
76+
"sortable": true
77+
}
78+
},
79+
"createdBy": {
80+
"edit": {
81+
"label": "createdBy",
82+
"description": "",
83+
"placeholder": "",
84+
"visible": false,
85+
"editable": true,
86+
"mainField": "firstname"
87+
},
88+
"list": {
89+
"label": "createdBy",
90+
"searchable": true,
91+
"sortable": true
92+
}
93+
},
94+
"updatedBy": {
95+
"edit": {
96+
"label": "updatedBy",
97+
"description": "",
98+
"placeholder": "",
99+
"visible": false,
100+
"editable": true,
101+
"mainField": "firstname"
102+
},
103+
"list": {
104+
"label": "updatedBy",
105+
"searchable": true,
106+
"sortable": true
107+
}
108+
}
109+
},
110+
"layouts": {
111+
"list": [
112+
"id",
113+
"slug",
114+
"content"
115+
],
116+
"edit": [
117+
[
118+
{
119+
"name": "slug",
120+
"size": 6
121+
}
122+
],
123+
[
124+
{
125+
"name": "content",
126+
"size": 6
127+
}
128+
]
129+
]
130+
}
131+
},
132+
"type": "object",
133+
"environment": null,
134+
"tag": null
135+
}

0 commit comments

Comments
 (0)