Skip to content

Commit

Permalink
atrapi config updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mluena committed Sep 16, 2024
1 parent 5b85b28 commit 6a500a5
Show file tree
Hide file tree
Showing 12 changed files with 3,257 additions and 3,082 deletions.
5 changes: 1 addition & 4 deletions client/src/containers/projects/form/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,7 @@ export default function ProjectForm() {
);

const { data: projectObjectives } = useGetObjectives(
{
"pagination[pageSize]": 300,
sort: "name:asc",
},
{},
{
query: {
select: (data) =>
Expand Down
6,185 changes: 3,129 additions & 3,056 deletions client/src/types/generated/strapi.schemas.ts

Large diffs are not rendered by default.

56 changes: 53 additions & 3 deletions cms/config/sync/admin-role.strapi-super-admin.json
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,8 @@
"value_type",
"dataset_edit_suggestions",
"dataset_values",
"category"
"category",
"colors"
]
},
"conditions": []
Expand Down Expand Up @@ -427,7 +428,8 @@
"value_type",
"dataset_edit_suggestions",
"dataset_values",
"category"
"category",
"colors"
]
},
"conditions": []
Expand All @@ -446,7 +448,8 @@
"value_type",
"dataset_edit_suggestions",
"dataset_values",
"category"
"category",
"colors"
]
},
"conditions": []
Expand Down Expand Up @@ -572,6 +575,53 @@
},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.create",
"actionParameters": {},
"subject": "api::objective.objective",
"properties": {
"fields": [
"type"
]
},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.delete",
"actionParameters": {},
"subject": "api::objective.objective",
"properties": {},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.publish",
"actionParameters": {},
"subject": "api::objective.objective",
"properties": {},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.read",
"actionParameters": {},
"subject": "api::objective.objective",
"properties": {
"fields": [
"type"
]
},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.update",
"actionParameters": {},
"subject": "api::objective.objective",
"properties": {
"fields": [
"type"
]
},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.create",
"actionParameters": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,6 @@
"sortable": false
}
},
"category": {
"edit": {
"label": "category",
"description": "",
"placeholder": "",
"visible": true,
"editable": true,
"mainField": "name"
},
"list": {
"label": "category",
"searchable": true,
"sortable": true
}
},
"description": {
"edit": {
"label": "description",
Expand Down Expand Up @@ -150,6 +135,35 @@
"sortable": false
}
},
"category": {
"edit": {
"label": "category",
"description": "",
"placeholder": "",
"visible": true,
"editable": true,
"mainField": "name"
},
"list": {
"label": "category",
"searchable": true,
"sortable": true
}
},
"colors": {
"edit": {
"label": "colors",
"description": "",
"placeholder": "",
"visible": true,
"editable": true
},
"list": {
"label": "colors",
"searchable": false,
"sortable": false
}
},
"createdAt": {
"edit": {
"label": "createdAt",
Expand Down Expand Up @@ -266,6 +280,12 @@
"name": "dataset_values",
"size": 6
}
],
[
{
"name": "colors",
"size": 12
}
]
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@
"layouts": {
"list": [
"id",
"type",
"createdAt",
"updatedAt",
"type"
"updatedAt"
],
"edit": [
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@
"description": "",
"placeholder": "",
"visible": true,
"editable": true
"editable": true,
"mainField": "type"
},
"list": {
"label": "objective",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@
"description": "",
"placeholder": "",
"visible": true,
"editable": true
"editable": true,
"mainField": "type"
},
"list": {
"label": "objective",
Expand Down
9 changes: 9 additions & 0 deletions cms/config/sync/core-store.plugin_upload_api-folder.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"key": "plugin_upload_api-folder",
"value": {
"id": 5
},
"type": "object",
"environment": null,
"tag": null
}
6 changes: 6 additions & 0 deletions cms/config/sync/user-role.admin.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,12 @@
{
"action": "api::layer.layer.update"
},
{
"action": "api::objective.objective.find"
},
{
"action": "api::objective.objective.findOne"
},
{
"action": "api::organization-type.organization-type.find"
},
Expand Down
6 changes: 6 additions & 0 deletions cms/config/sync/user-role.authenticated.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@
{
"action": "api::layer.layer.findOne"
},
{
"action": "api::objective.objective.find"
},
{
"action": "api::objective.objective.findOne"
},
{
"action": "api::organization-type.organization-type.find"
},
Expand Down
6 changes: 6 additions & 0 deletions cms/config/sync/user-role.contributor.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@
{
"action": "api::layer.layer.findOne"
},
{
"action": "api::objective.objective.find"
},
{
"action": "api::objective.objective.findOne"
},
{
"action": "api::organization-type.organization-type.find"
},
Expand Down
6 changes: 6 additions & 0 deletions cms/config/sync/user-role.public.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@
{
"action": "api::layer.layer.findOne"
},
{
"action": "api::objective.objective.find"
},
{
"action": "api::objective.objective.findOne"
},
{
"action": "api::organization-type.organization-type.find"
},
Expand Down

0 comments on commit 6a500a5

Please sign in to comment.