diff --git a/cms/config/sync/admin-role.strapi-author.json b/cms/config/sync/admin-role.strapi-author.json new file mode 100644 index 00000000..5e96e80b --- /dev/null +++ b/cms/config/sync/admin-role.strapi-author.json @@ -0,0 +1,53 @@ +{ + "name": "Author", + "code": "strapi-author", + "description": "Authors can manage the content they have created.", + "permissions": [ + { + "action": "plugin::upload.assets.copy-link", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::upload.assets.create", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::upload.assets.download", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::upload.assets.update", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::upload.configure-view", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::upload.read", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [ + "admin::is-creator" + ] + } + ] +} \ No newline at end of file diff --git a/cms/config/sync/admin-role.strapi-editor.json b/cms/config/sync/admin-role.strapi-editor.json new file mode 100644 index 00000000..30b6d5e0 --- /dev/null +++ b/cms/config/sync/admin-role.strapi-editor.json @@ -0,0 +1,49 @@ +{ + "name": "Editor", + "code": "strapi-editor", + "description": "Editors can manage and publish contents including those of other users.", + "permissions": [ + { + "action": "plugin::upload.assets.copy-link", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::upload.assets.create", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::upload.assets.download", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::upload.assets.update", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::upload.configure-view", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::upload.read", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + } + ] +} \ No newline at end of file diff --git a/cms/config/sync/admin-role.strapi-super-admin.json b/cms/config/sync/admin-role.strapi-super-admin.json new file mode 100644 index 00000000..65f8e2fa --- /dev/null +++ b/cms/config/sync/admin-role.strapi-super-admin.json @@ -0,0 +1,1077 @@ +{ + "name": "Super Admin", + "code": "strapi-super-admin", + "description": "Super Admins can access and manage all features and settings.", + "permissions": [ + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::fishing-protection-level-stat.fishing-protection-level-stat", + "properties": { + "fields": [ + "location", + "fishing_protection_level", + "area" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::fishing-protection-level-stat.fishing-protection-level-stat", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::fishing-protection-level-stat.fishing-protection-level-stat", + "properties": { + "fields": [ + "location", + "fishing_protection_level", + "area" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::fishing-protection-level-stat.fishing-protection-level-stat", + "properties": { + "fields": [ + "location", + "fishing_protection_level", + "area" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::fishing-protection-level.fishing-protection-level", + "properties": { + "fields": [ + "slug", + "name", + "info" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::fishing-protection-level.fishing-protection-level", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::fishing-protection-level.fishing-protection-level", + "properties": { + "fields": [ + "slug", + "name", + "info" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::fishing-protection-level.fishing-protection-level", + "properties": { + "fields": [ + "slug", + "name", + "info" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::habitat-stat.habitat-stat", + "properties": { + "fields": [ + "location", + "habitat", + "year", + "protectedArea", + "totalArea" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::habitat-stat.habitat-stat", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::habitat-stat.habitat-stat", + "properties": { + "fields": [ + "location", + "habitat", + "year", + "protectedArea", + "totalArea" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::habitat-stat.habitat-stat", + "properties": { + "fields": [ + "location", + "habitat", + "year", + "protectedArea", + "totalArea" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::habitat.habitat", + "properties": { + "fields": [ + "slug", + "name", + "info" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::habitat.habitat", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::habitat.habitat", + "properties": { + "fields": [ + "slug", + "name", + "info" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::habitat.habitat", + "properties": { + "fields": [ + "slug", + "name", + "info" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::location.location", + "properties": { + "fields": [ + "locationId", + "locationType", + "locationName", + "totalMarineArea" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::location.location", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::location.location", + "properties": { + "fields": [ + "locationId", + "locationType", + "locationName", + "totalMarineArea" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::location.location", + "properties": { + "fields": [ + "locationId", + "locationType", + "locationName", + "totalMarineArea" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::mpaa-establishment-stage-stat.mpaa-establishment-stage-stat", + "properties": { + "fields": [ + "location", + "mpaa_establishment_stage", + "protection_status", + "year", + "area" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::mpaa-establishment-stage-stat.mpaa-establishment-stage-stat", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::mpaa-establishment-stage-stat.mpaa-establishment-stage-stat", + "properties": { + "fields": [ + "location", + "mpaa_establishment_stage", + "protection_status", + "year", + "area" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::mpaa-establishment-stage-stat.mpaa-establishment-stage-stat", + "properties": { + "fields": [ + "location", + "mpaa_establishment_stage", + "protection_status", + "year", + "area" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::mpaa-establishment-stage.mpaa-establishment-stage", + "properties": { + "fields": [ + "slug", + "name", + "info" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::mpaa-establishment-stage.mpaa-establishment-stage", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::mpaa-establishment-stage.mpaa-establishment-stage", + "properties": { + "fields": [ + "slug", + "name", + "info" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::mpaa-establishment-stage.mpaa-establishment-stage", + "properties": { + "fields": [ + "slug", + "name", + "info" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::mpaa-protection-level-stat.mpaa-protection-level-stat", + "properties": { + "fields": [ + "location", + "mpaa_protection_level", + "area" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::mpaa-protection-level-stat.mpaa-protection-level-stat", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::mpaa-protection-level-stat.mpaa-protection-level-stat", + "properties": { + "fields": [ + "location", + "mpaa_protection_level", + "area" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::mpaa-protection-level-stat.mpaa-protection-level-stat", + "properties": { + "fields": [ + "location", + "mpaa_protection_level", + "area" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::mpaa-protection-level.mpaa-protection-level", + "properties": { + "fields": [ + "slug", + "name", + "info" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::mpaa-protection-level.mpaa-protection-level", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::mpaa-protection-level.mpaa-protection-level", + "properties": { + "fields": [ + "slug", + "name", + "info" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::mpaa-protection-level.mpaa-protection-level", + "properties": { + "fields": [ + "slug", + "name", + "info" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::protection-coverage-stat.protection-coverage-stat", + "properties": { + "fields": [ + "location", + "protection_status", + "year", + "cumSumProtectedArea", + "protectedArea", + "totalArea", + "globalContribution", + "localContribution" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::protection-coverage-stat.protection-coverage-stat", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::protection-coverage-stat.protection-coverage-stat", + "properties": { + "fields": [ + "location", + "protection_status", + "year", + "cumSumProtectedArea", + "protectedArea", + "totalArea", + "globalContribution", + "localContribution" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::protection-coverage-stat.protection-coverage-stat", + "properties": { + "fields": [ + "location", + "protection_status", + "year", + "cumSumProtectedArea", + "protectedArea", + "totalArea", + "globalContribution", + "localContribution" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::protection-status.protection-status", + "properties": { + "fields": [ + "slug", + "name", + "info" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::protection-status.protection-status", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::protection-status.protection-status", + "properties": { + "fields": [ + "slug", + "name", + "info" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::protection-status.protection-status", + "properties": { + "fields": [ + "slug", + "name", + "info" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::region-location.region-location", + "properties": { + "fields": [ + "region", + "location" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::region-location.region-location", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::region-location.region-location", + "properties": { + "fields": [ + "region", + "location" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::region-location.region-location", + "properties": { + "fields": [ + "region", + "location" + ] + }, + "conditions": [] + }, + { + "action": "admin::api-tokens.access", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::api-tokens.create", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::api-tokens.delete", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::api-tokens.read", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::api-tokens.regenerate", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::api-tokens.update", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::marketplace.read", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::project-settings.read", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::project-settings.update", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::roles.create", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::roles.delete", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::roles.read", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::roles.update", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::transfer.tokens.access", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::transfer.tokens.create", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::transfer.tokens.delete", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::transfer.tokens.read", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::transfer.tokens.regenerate", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::transfer.tokens.update", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::users.create", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::users.delete", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::users.read", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::users.update", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::webhooks.create", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::webhooks.delete", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::webhooks.read", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "admin::webhooks.update", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::config-sync.menu-link", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::config-sync.settings.read", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.collection-types.configure-view", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.components.configure-layout", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "plugin::users-permissions.user", + "properties": { + "fields": [ + "username", + "email", + "provider", + "password", + "resetPasswordToken", + "confirmationToken", + "confirmed", + "blocked", + "role" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "plugin::users-permissions.user", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "plugin::users-permissions.user", + "properties": { + "fields": [ + "username", + "email", + "provider", + "password", + "resetPasswordToken", + "confirmationToken", + "confirmed", + "blocked", + "role" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "plugin::users-permissions.user", + "properties": { + "fields": [ + "username", + "email", + "provider", + "password", + "resetPasswordToken", + "confirmationToken", + "confirmed", + "blocked", + "role" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.single-types.configure-view", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-type-builder.read", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::documentation.read", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::documentation.settings.read", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::documentation.settings.regenerate", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::documentation.settings.update", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::email.settings.read", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::i18n.locale.create", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::i18n.locale.delete", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::i18n.locale.read", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::i18n.locale.update", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::import-export-entries.export", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::import-export-entries.import", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::upload.assets.copy-link", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::upload.assets.create", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::upload.assets.download", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::upload.assets.update", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::upload.configure-view", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::upload.read", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::upload.settings.read", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::users-permissions.advanced-settings.read", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::users-permissions.advanced-settings.update", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::users-permissions.email-templates.read", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::users-permissions.email-templates.update", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::users-permissions.providers.read", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::users-permissions.providers.update", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::users-permissions.roles.create", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::users-permissions.roles.delete", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::users-permissions.roles.read", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::users-permissions.roles.update", + "actionParameters": {}, + "subject": null, + "properties": {}, + "conditions": [] + } + ] +} \ No newline at end of file diff --git a/cms/config/sync/core-store.core_admin_auth.json b/cms/config/sync/core-store.core_admin_auth.json new file mode 100644 index 00000000..1e1a1cc8 --- /dev/null +++ b/cms/config/sync/core-store.core_admin_auth.json @@ -0,0 +1,13 @@ +{ + "key": "core_admin_auth", + "value": { + "providers": { + "autoRegister": false, + "defaultRole": null, + "ssoLockedRoles": null + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_components##documentation.metadata.json b/cms/config/sync/core-store.plugin_content_manager_configuration_components##documentation.metadata.json new file mode 100644 index 00000000..cca12948 --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_components##documentation.metadata.json @@ -0,0 +1,157 @@ +{ + "key": "plugin_content_manager_configuration_components::documentation.metadata", + "value": { + "uid": "documentation.metadata", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "resolution", + "defaultSortBy": "resolution", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": false, + "sortable": false + } + }, + "description": { + "edit": { + "label": "description", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "description", + "searchable": false, + "sortable": false + } + }, + "citation": { + "edit": { + "label": "citation", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "citation", + "searchable": false, + "sortable": false + } + }, + "source": { + "edit": { + "label": "source", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "source", + "searchable": false, + "sortable": false + } + }, + "resolution": { + "edit": { + "label": "resolution", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "resolution", + "searchable": true, + "sortable": true + } + }, + "content_date": { + "edit": { + "label": "content_date", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "content_date", + "searchable": true, + "sortable": true + } + }, + "license": { + "edit": { + "label": "license", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "license", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "resolution", + "content_date", + "license" + ], + "edit": [ + [ + { + "name": "description", + "size": 12 + } + ], + [ + { + "name": "citation", + "size": 12 + } + ], + [ + { + "name": "source", + "size": 12 + } + ], + [ + { + "name": "resolution", + "size": 6 + }, + { + "name": "content_date", + "size": 4 + } + ], + [ + { + "name": "license", + "size": 6 + } + ] + ] + }, + "isComponent": true + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##api-token-permission.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##api-token-permission.json new file mode 100644 index 00000000..c675ce42 --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##api-token-permission.json @@ -0,0 +1,135 @@ +{ + "key": "plugin_content_manager_configuration_content_types::admin::api-token-permission", + "value": { + "uid": "admin::api-token-permission", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "action", + "defaultSortBy": "action", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "action": { + "edit": { + "label": "action", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "action", + "searchable": true, + "sortable": true + } + }, + "token": { + "edit": { + "label": "token", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "name" + }, + "list": { + "label": "token", + "searchable": true, + "sortable": true + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "action", + "token", + "createdAt" + ], + "edit": [ + [ + { + "name": "action", + "size": 6 + }, + { + "name": "token", + "size": 6 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##api-token.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##api-token.json new file mode 100644 index 00000000..535ca8f6 --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##api-token.json @@ -0,0 +1,249 @@ +{ + "key": "plugin_content_manager_configuration_content_types::admin::api-token", + "value": { + "uid": "admin::api-token", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "name", + "defaultSortBy": "name", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "name": { + "edit": { + "label": "name", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "name", + "searchable": true, + "sortable": true + } + }, + "description": { + "edit": { + "label": "description", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "description", + "searchable": true, + "sortable": true + } + }, + "type": { + "edit": { + "label": "type", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "type", + "searchable": true, + "sortable": true + } + }, + "accessKey": { + "edit": { + "label": "accessKey", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "accessKey", + "searchable": true, + "sortable": true + } + }, + "lastUsedAt": { + "edit": { + "label": "lastUsedAt", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "lastUsedAt", + "searchable": true, + "sortable": true + } + }, + "permissions": { + "edit": { + "label": "permissions", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "action" + }, + "list": { + "label": "permissions", + "searchable": false, + "sortable": false + } + }, + "expiresAt": { + "edit": { + "label": "expiresAt", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "expiresAt", + "searchable": true, + "sortable": true + } + }, + "lifespan": { + "edit": { + "label": "lifespan", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "lifespan", + "searchable": true, + "sortable": true + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "name", + "description", + "type" + ], + "edit": [ + [ + { + "name": "name", + "size": 6 + }, + { + "name": "description", + "size": 6 + } + ], + [ + { + "name": "type", + "size": 6 + }, + { + "name": "accessKey", + "size": 6 + } + ], + [ + { + "name": "lastUsedAt", + "size": 6 + }, + { + "name": "permissions", + "size": 6 + } + ], + [ + { + "name": "expiresAt", + "size": 6 + }, + { + "name": "lifespan", + "size": 4 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##permission.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##permission.json new file mode 100644 index 00000000..8b926e88 --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##permission.json @@ -0,0 +1,217 @@ +{ + "key": "plugin_content_manager_configuration_content_types::admin::permission", + "value": { + "uid": "admin::permission", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "action", + "defaultSortBy": "action", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "action": { + "edit": { + "label": "action", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "action", + "searchable": true, + "sortable": true + } + }, + "actionParameters": { + "edit": { + "label": "actionParameters", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "actionParameters", + "searchable": false, + "sortable": false + } + }, + "subject": { + "edit": { + "label": "subject", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "subject", + "searchable": true, + "sortable": true + } + }, + "properties": { + "edit": { + "label": "properties", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "properties", + "searchable": false, + "sortable": false + } + }, + "conditions": { + "edit": { + "label": "conditions", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "conditions", + "searchable": false, + "sortable": false + } + }, + "role": { + "edit": { + "label": "role", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "name" + }, + "list": { + "label": "role", + "searchable": true, + "sortable": true + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "action", + "subject", + "role" + ], + "edit": [ + [ + { + "name": "action", + "size": 6 + } + ], + [ + { + "name": "actionParameters", + "size": 12 + } + ], + [ + { + "name": "subject", + "size": 6 + } + ], + [ + { + "name": "properties", + "size": 12 + } + ], + [ + { + "name": "conditions", + "size": 12 + } + ], + [ + { + "name": "role", + "size": 6 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##role.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##role.json new file mode 100644 index 00000000..73d989c5 --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##role.json @@ -0,0 +1,194 @@ +{ + "key": "plugin_content_manager_configuration_content_types::admin::role", + "value": { + "uid": "admin::role", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "name", + "defaultSortBy": "name", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "name": { + "edit": { + "label": "name", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "name", + "searchable": true, + "sortable": true + } + }, + "code": { + "edit": { + "label": "code", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "code", + "searchable": true, + "sortable": true + } + }, + "description": { + "edit": { + "label": "description", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "description", + "searchable": true, + "sortable": true + } + }, + "users": { + "edit": { + "label": "users", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "users", + "searchable": false, + "sortable": false + } + }, + "permissions": { + "edit": { + "label": "permissions", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "action" + }, + "list": { + "label": "permissions", + "searchable": false, + "sortable": false + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "name", + "code", + "description" + ], + "edit": [ + [ + { + "name": "name", + "size": 6 + }, + { + "name": "code", + "size": 6 + } + ], + [ + { + "name": "description", + "size": 6 + }, + { + "name": "users", + "size": 6 + } + ], + [ + { + "name": "permissions", + "size": 6 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##transfer-token-permission.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##transfer-token-permission.json new file mode 100644 index 00000000..5d8dc820 --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##transfer-token-permission.json @@ -0,0 +1,135 @@ +{ + "key": "plugin_content_manager_configuration_content_types::admin::transfer-token-permission", + "value": { + "uid": "admin::transfer-token-permission", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "action", + "defaultSortBy": "action", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "action": { + "edit": { + "label": "action", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "action", + "searchable": true, + "sortable": true + } + }, + "token": { + "edit": { + "label": "token", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "name" + }, + "list": { + "label": "token", + "searchable": true, + "sortable": true + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "action", + "token", + "createdAt" + ], + "edit": [ + [ + { + "name": "action", + "size": 6 + }, + { + "name": "token", + "size": 6 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##transfer-token.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##transfer-token.json new file mode 100644 index 00000000..a003e275 --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##transfer-token.json @@ -0,0 +1,231 @@ +{ + "key": "plugin_content_manager_configuration_content_types::admin::transfer-token", + "value": { + "uid": "admin::transfer-token", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "name", + "defaultSortBy": "name", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "name": { + "edit": { + "label": "name", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "name", + "searchable": true, + "sortable": true + } + }, + "description": { + "edit": { + "label": "description", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "description", + "searchable": true, + "sortable": true + } + }, + "accessKey": { + "edit": { + "label": "accessKey", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "accessKey", + "searchable": true, + "sortable": true + } + }, + "lastUsedAt": { + "edit": { + "label": "lastUsedAt", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "lastUsedAt", + "searchable": true, + "sortable": true + } + }, + "permissions": { + "edit": { + "label": "permissions", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "action" + }, + "list": { + "label": "permissions", + "searchable": false, + "sortable": false + } + }, + "expiresAt": { + "edit": { + "label": "expiresAt", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "expiresAt", + "searchable": true, + "sortable": true + } + }, + "lifespan": { + "edit": { + "label": "lifespan", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "lifespan", + "searchable": true, + "sortable": true + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "name", + "description", + "accessKey" + ], + "edit": [ + [ + { + "name": "name", + "size": 6 + }, + { + "name": "description", + "size": 6 + } + ], + [ + { + "name": "accessKey", + "size": 6 + }, + { + "name": "lastUsedAt", + "size": 6 + } + ], + [ + { + "name": "permissions", + "size": 6 + }, + { + "name": "expiresAt", + "size": 6 + } + ], + [ + { + "name": "lifespan", + "size": 4 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##user.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##user.json new file mode 100644 index 00000000..7e9d6593 --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##user.json @@ -0,0 +1,297 @@ +{ + "key": "plugin_content_manager_configuration_content_types::admin::user", + "value": { + "uid": "admin::user", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "firstname", + "defaultSortBy": "firstname", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "firstname": { + "edit": { + "label": "firstname", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "firstname", + "searchable": true, + "sortable": true + } + }, + "lastname": { + "edit": { + "label": "lastname", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "lastname", + "searchable": true, + "sortable": true + } + }, + "username": { + "edit": { + "label": "username", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "username", + "searchable": true, + "sortable": true + } + }, + "email": { + "edit": { + "label": "email", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "email", + "searchable": true, + "sortable": true + } + }, + "password": { + "edit": { + "label": "password", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "password", + "searchable": true, + "sortable": true + } + }, + "resetPasswordToken": { + "edit": { + "label": "resetPasswordToken", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "resetPasswordToken", + "searchable": true, + "sortable": true + } + }, + "registrationToken": { + "edit": { + "label": "registrationToken", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "registrationToken", + "searchable": true, + "sortable": true + } + }, + "isActive": { + "edit": { + "label": "isActive", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "isActive", + "searchable": true, + "sortable": true + } + }, + "roles": { + "edit": { + "label": "roles", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "name" + }, + "list": { + "label": "roles", + "searchable": false, + "sortable": false + } + }, + "blocked": { + "edit": { + "label": "blocked", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "blocked", + "searchable": true, + "sortable": true + } + }, + "preferedLanguage": { + "edit": { + "label": "preferedLanguage", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "preferedLanguage", + "searchable": true, + "sortable": true + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "firstname", + "lastname", + "username" + ], + "edit": [ + [ + { + "name": "firstname", + "size": 6 + }, + { + "name": "lastname", + "size": 6 + } + ], + [ + { + "name": "username", + "size": 6 + }, + { + "name": "email", + "size": 6 + } + ], + [ + { + "name": "password", + "size": 6 + }, + { + "name": "isActive", + "size": 4 + } + ], + [ + { + "name": "roles", + "size": 6 + }, + { + "name": "blocked", + "size": 4 + } + ], + [ + { + "name": "preferedLanguage", + "size": 6 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##fishing-protection-level-stat.fishing-protection-level-stat.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##fishing-protection-level-stat.fishing-protection-level-stat.json new file mode 100644 index 00000000..c6d727f5 --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##fishing-protection-level-stat.fishing-protection-level-stat.json @@ -0,0 +1,156 @@ +{ + "key": "plugin_content_manager_configuration_content_types::api::fishing-protection-level-stat.fishing-protection-level-stat", + "value": { + "uid": "api::fishing-protection-level-stat.fishing-protection-level-stat", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "id", + "defaultSortBy": "id", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "location": { + "edit": { + "label": "location", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "locationId" + }, + "list": { + "label": "location", + "searchable": true, + "sortable": true + } + }, + "area": { + "edit": { + "label": "area", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "area", + "searchable": true, + "sortable": true + } + }, + "fishing_protection_level": { + "edit": { + "label": "fishing_protection_level", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "slug" + }, + "list": { + "label": "fishing_protection_level", + "searchable": true, + "sortable": true + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "location", + "area", + "fishing_protection_level" + ], + "edit": [ + [ + { + "name": "location", + "size": 6 + } + ], + [ + { + "name": "area", + "size": 4 + }, + { + "name": "fishing_protection_level", + "size": 6 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##fishing-protection-level.fishing-protection-level.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##fishing-protection-level.fishing-protection-level.json new file mode 100644 index 00000000..6aff2cf1 --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##fishing-protection-level.fishing-protection-level.json @@ -0,0 +1,154 @@ +{ + "key": "plugin_content_manager_configuration_content_types::api::fishing-protection-level.fishing-protection-level", + "value": { + "uid": "api::fishing-protection-level.fishing-protection-level", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "slug", + "defaultSortBy": "slug", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "slug": { + "edit": { + "label": "slug", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "slug", + "searchable": true, + "sortable": true + } + }, + "name": { + "edit": { + "label": "name", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "name", + "searchable": true, + "sortable": true + } + }, + "info": { + "edit": { + "label": "info", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "info", + "searchable": true, + "sortable": true + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "slug", + "name", + "info" + ], + "edit": [ + [ + { + "name": "slug", + "size": 6 + }, + { + "name": "name", + "size": 6 + } + ], + [ + { + "name": "info", + "size": 6 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##habitat-stat.habitat-stat.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##habitat-stat.habitat-stat.json new file mode 100644 index 00000000..a5d568e6 --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##habitat-stat.habitat-stat.json @@ -0,0 +1,192 @@ +{ + "key": "plugin_content_manager_configuration_content_types::api::habitat-stat.habitat-stat", + "value": { + "uid": "api::habitat-stat.habitat-stat", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "id", + "defaultSortBy": "id", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "location": { + "edit": { + "label": "location", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "locationId" + }, + "list": { + "label": "location", + "searchable": true, + "sortable": true + } + }, + "habitat": { + "edit": { + "label": "habitat", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "slug" + }, + "list": { + "label": "habitat", + "searchable": true, + "sortable": true + } + }, + "year": { + "edit": { + "label": "year", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "year", + "searchable": true, + "sortable": true + } + }, + "protectedArea": { + "edit": { + "label": "protectedArea", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "protectedArea", + "searchable": true, + "sortable": true + } + }, + "totalArea": { + "edit": { + "label": "totalArea", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "totalArea", + "searchable": true, + "sortable": true + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "location", + "habitat", + "year" + ], + "edit": [ + [ + { + "name": "location", + "size": 6 + }, + { + "name": "habitat", + "size": 6 + } + ], + [ + { + "name": "year", + "size": 4 + }, + { + "name": "protectedArea", + "size": 4 + }, + { + "name": "totalArea", + "size": 4 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##habitat.habitat.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##habitat.habitat.json new file mode 100644 index 00000000..0fa5a230 --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##habitat.habitat.json @@ -0,0 +1,154 @@ +{ + "key": "plugin_content_manager_configuration_content_types::api::habitat.habitat", + "value": { + "uid": "api::habitat.habitat", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "slug", + "defaultSortBy": "slug", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "slug": { + "edit": { + "label": "slug", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "slug", + "searchable": true, + "sortable": true + } + }, + "name": { + "edit": { + "label": "name", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "name", + "searchable": true, + "sortable": true + } + }, + "info": { + "edit": { + "label": "info", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "info", + "searchable": true, + "sortable": true + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "edit": [ + [ + { + "name": "slug", + "size": 6 + }, + { + "name": "name", + "size": 6 + } + ], + [ + { + "name": "info", + "size": 6 + } + ] + ], + "list": [ + "id", + "name", + "info", + "slug" + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##location.location.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##location.location.json new file mode 100644 index 00000000..830e3c3b --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##location.location.json @@ -0,0 +1,172 @@ +{ + "key": "plugin_content_manager_configuration_content_types::api::location.location", + "value": { + "uid": "api::location.location", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "locationId", + "defaultSortBy": "locationId", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "locationId": { + "edit": { + "label": "locationId", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "locationId", + "searchable": true, + "sortable": true + } + }, + "locationType": { + "edit": { + "label": "locationType", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "locationType", + "searchable": true, + "sortable": true + } + }, + "locationName": { + "edit": { + "label": "locationName", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "locationName", + "searchable": true, + "sortable": true + } + }, + "totalMarineArea": { + "edit": { + "label": "totalMarineArea", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "totalMarineArea", + "searchable": true, + "sortable": true + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "locationId", + "locationType", + "locationName" + ], + "edit": [ + [ + { + "name": "locationId", + "size": 6 + }, + { + "name": "locationType", + "size": 6 + } + ], + [ + { + "name": "locationName", + "size": 6 + }, + { + "name": "totalMarineArea", + "size": 4 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##mpaa-establishment-stage-stat.mpaa-establishment-stage-stat.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##mpaa-establishment-stage-stat.mpaa-establishment-stage-stat.json new file mode 100644 index 00000000..1654f132 --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##mpaa-establishment-stage-stat.mpaa-establishment-stage-stat.json @@ -0,0 +1,195 @@ +{ + "key": "plugin_content_manager_configuration_content_types::api::mpaa-establishment-stage-stat.mpaa-establishment-stage-stat", + "value": { + "uid": "api::mpaa-establishment-stage-stat.mpaa-establishment-stage-stat", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "id", + "defaultSortBy": "id", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "location": { + "edit": { + "label": "location", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "locationId" + }, + "list": { + "label": "location", + "searchable": true, + "sortable": true + } + }, + "mpaa_establishment_stage": { + "edit": { + "label": "mpaa_establishment_stage", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "slug" + }, + "list": { + "label": "mpaa_establishment_stage", + "searchable": true, + "sortable": true + } + }, + "protection_status": { + "edit": { + "label": "protection_status", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "slug" + }, + "list": { + "label": "protection_status", + "searchable": true, + "sortable": true + } + }, + "year": { + "edit": { + "label": "year", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "year", + "searchable": true, + "sortable": true + } + }, + "area": { + "edit": { + "label": "area", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "area", + "searchable": true, + "sortable": true + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "location", + "mpaa_establishment_stage", + "protection_status" + ], + "edit": [ + [ + { + "name": "location", + "size": 6 + }, + { + "name": "mpaa_establishment_stage", + "size": 6 + } + ], + [ + { + "name": "protection_status", + "size": 6 + }, + { + "name": "year", + "size": 4 + } + ], + [ + { + "name": "area", + "size": 4 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##mpaa-establishment-stage.mpaa-establishment-stage.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##mpaa-establishment-stage.mpaa-establishment-stage.json new file mode 100644 index 00000000..e631ce7e --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##mpaa-establishment-stage.mpaa-establishment-stage.json @@ -0,0 +1,154 @@ +{ + "key": "plugin_content_manager_configuration_content_types::api::mpaa-establishment-stage.mpaa-establishment-stage", + "value": { + "uid": "api::mpaa-establishment-stage.mpaa-establishment-stage", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "slug", + "defaultSortBy": "slug", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "slug": { + "edit": { + "label": "slug", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "slug", + "searchable": true, + "sortable": true + } + }, + "name": { + "edit": { + "label": "name", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "name", + "searchable": true, + "sortable": true + } + }, + "info": { + "edit": { + "label": "info", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "info", + "searchable": true, + "sortable": true + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "slug", + "name", + "info" + ], + "edit": [ + [ + { + "name": "slug", + "size": 6 + }, + { + "name": "name", + "size": 6 + } + ], + [ + { + "name": "info", + "size": 6 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##mpaa-protection-level-stat.mpaa-protection-level-stat.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##mpaa-protection-level-stat.mpaa-protection-level-stat.json new file mode 100644 index 00000000..e3611312 --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##mpaa-protection-level-stat.mpaa-protection-level-stat.json @@ -0,0 +1,156 @@ +{ + "key": "plugin_content_manager_configuration_content_types::api::mpaa-protection-level-stat.mpaa-protection-level-stat", + "value": { + "uid": "api::mpaa-protection-level-stat.mpaa-protection-level-stat", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "id", + "defaultSortBy": "id", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "location": { + "edit": { + "label": "location", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "locationId" + }, + "list": { + "label": "location", + "searchable": true, + "sortable": true + } + }, + "mpaa_protection_level": { + "edit": { + "label": "mpaa_protection_level", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "slug" + }, + "list": { + "label": "mpaa_protection_level", + "searchable": true, + "sortable": true + } + }, + "area": { + "edit": { + "label": "area", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "area", + "searchable": true, + "sortable": true + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "location", + "mpaa_protection_level", + "area" + ], + "edit": [ + [ + { + "name": "location", + "size": 6 + }, + { + "name": "mpaa_protection_level", + "size": 6 + } + ], + [ + { + "name": "area", + "size": 4 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##mpaa-protection-level.mpaa-protection-level.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##mpaa-protection-level.mpaa-protection-level.json new file mode 100644 index 00000000..7efcfe06 --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##mpaa-protection-level.mpaa-protection-level.json @@ -0,0 +1,154 @@ +{ + "key": "plugin_content_manager_configuration_content_types::api::mpaa-protection-level.mpaa-protection-level", + "value": { + "uid": "api::mpaa-protection-level.mpaa-protection-level", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "slug", + "defaultSortBy": "slug", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "slug": { + "edit": { + "label": "slug", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "slug", + "searchable": true, + "sortable": true + } + }, + "name": { + "edit": { + "label": "name", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "name", + "searchable": true, + "sortable": true + } + }, + "info": { + "edit": { + "label": "info", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "info", + "searchable": true, + "sortable": true + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "slug", + "name", + "info" + ], + "edit": [ + [ + { + "name": "slug", + "size": 6 + }, + { + "name": "name", + "size": 6 + } + ], + [ + { + "name": "info", + "size": 6 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##protection-coverage-stat.protection-coverage-stat.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##protection-coverage-stat.protection-coverage-stat.json new file mode 100644 index 00000000..89cc7d3f --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##protection-coverage-stat.protection-coverage-stat.json @@ -0,0 +1,248 @@ +{ + "key": "plugin_content_manager_configuration_content_types::api::protection-coverage-stat.protection-coverage-stat", + "value": { + "uid": "api::protection-coverage-stat.protection-coverage-stat", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "id", + "defaultSortBy": "id", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "location": { + "edit": { + "label": "location", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "locationId" + }, + "list": { + "label": "location", + "searchable": true, + "sortable": true + } + }, + "protection_status": { + "edit": { + "label": "protection_status", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "slug" + }, + "list": { + "label": "protection_status", + "searchable": true, + "sortable": true + } + }, + "year": { + "edit": { + "label": "year", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "year", + "searchable": true, + "sortable": true + } + }, + "cumSumProtectedArea": { + "edit": { + "label": "cumSumProtectedArea", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "cumSumProtectedArea", + "searchable": true, + "sortable": true + } + }, + "protectedArea": { + "edit": { + "label": "protectedArea", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "protectedArea", + "searchable": true, + "sortable": true + } + }, + "totalArea": { + "edit": { + "label": "totalArea", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "totalArea", + "searchable": true, + "sortable": true + } + }, + "globalContribution": { + "edit": { + "label": "globalContribution", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "globalContribution", + "searchable": true, + "sortable": true + } + }, + "localContribution": { + "edit": { + "label": "localContribution", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "localContribution", + "searchable": true, + "sortable": true + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "location", + "protection_status", + "year" + ], + "edit": [ + [ + { + "name": "location", + "size": 6 + }, + { + "name": "protection_status", + "size": 6 + } + ], + [ + { + "name": "year", + "size": 4 + }, + { + "name": "cumSumProtectedArea", + "size": 4 + }, + { + "name": "protectedArea", + "size": 4 + } + ], + [ + { + "name": "totalArea", + "size": 4 + }, + { + "name": "globalContribution", + "size": 4 + }, + { + "name": "localContribution", + "size": 4 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##protection-status.protection-status.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##protection-status.protection-status.json new file mode 100644 index 00000000..bc7f4b05 --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##protection-status.protection-status.json @@ -0,0 +1,154 @@ +{ + "key": "plugin_content_manager_configuration_content_types::api::protection-status.protection-status", + "value": { + "uid": "api::protection-status.protection-status", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "slug", + "defaultSortBy": "slug", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "slug": { + "edit": { + "label": "slug", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "slug", + "searchable": true, + "sortable": true + } + }, + "name": { + "edit": { + "label": "name", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "name", + "searchable": true, + "sortable": true + } + }, + "info": { + "edit": { + "label": "info", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "info", + "searchable": true, + "sortable": true + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "slug", + "name", + "info" + ], + "edit": [ + [ + { + "name": "slug", + "size": 6 + }, + { + "name": "name", + "size": 6 + } + ], + [ + { + "name": "info", + "size": 6 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##region-location.region-location.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##region-location.region-location.json new file mode 100644 index 00000000..a33e3311 --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##api##region-location.region-location.json @@ -0,0 +1,136 @@ +{ + "key": "plugin_content_manager_configuration_content_types::api::region-location.region-location", + "value": { + "uid": "api::region-location.region-location", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "id", + "defaultSortBy": "id", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "region": { + "edit": { + "label": "region", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "locationId" + }, + "list": { + "label": "region", + "searchable": true, + "sortable": true + } + }, + "location": { + "edit": { + "label": "location", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "locationId" + }, + "list": { + "label": "location", + "searchable": true, + "sortable": true + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "region", + "location", + "createdAt" + ], + "edit": [ + [ + { + "name": "region", + "size": 6 + }, + { + "name": "location", + "size": 6 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##i18n.locale.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##i18n.locale.json new file mode 100644 index 00000000..d9940ce3 --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##i18n.locale.json @@ -0,0 +1,134 @@ +{ + "key": "plugin_content_manager_configuration_content_types::plugin::i18n.locale", + "value": { + "uid": "plugin::i18n.locale", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "name", + "defaultSortBy": "name", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "name": { + "edit": { + "label": "name", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "name", + "searchable": true, + "sortable": true + } + }, + "code": { + "edit": { + "label": "code", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "code", + "searchable": true, + "sortable": true + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "name", + "code", + "createdAt" + ], + "edit": [ + [ + { + "name": "name", + "size": 6 + }, + { + "name": "code", + "size": 6 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##upload.file.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##upload.file.json new file mode 100644 index 00000000..14a9466d --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##upload.file.json @@ -0,0 +1,405 @@ +{ + "key": "plugin_content_manager_configuration_content_types::plugin::upload.file", + "value": { + "uid": "plugin::upload.file", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "name", + "defaultSortBy": "name", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "name": { + "edit": { + "label": "name", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "name", + "searchable": true, + "sortable": true + } + }, + "alternativeText": { + "edit": { + "label": "alternativeText", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "alternativeText", + "searchable": true, + "sortable": true + } + }, + "caption": { + "edit": { + "label": "caption", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "caption", + "searchable": true, + "sortable": true + } + }, + "width": { + "edit": { + "label": "width", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "width", + "searchable": true, + "sortable": true + } + }, + "height": { + "edit": { + "label": "height", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "height", + "searchable": true, + "sortable": true + } + }, + "formats": { + "edit": { + "label": "formats", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "formats", + "searchable": false, + "sortable": false + } + }, + "hash": { + "edit": { + "label": "hash", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "hash", + "searchable": true, + "sortable": true + } + }, + "ext": { + "edit": { + "label": "ext", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "ext", + "searchable": true, + "sortable": true + } + }, + "mime": { + "edit": { + "label": "mime", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "mime", + "searchable": true, + "sortable": true + } + }, + "size": { + "edit": { + "label": "size", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "size", + "searchable": true, + "sortable": true + } + }, + "url": { + "edit": { + "label": "url", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "url", + "searchable": true, + "sortable": true + } + }, + "previewUrl": { + "edit": { + "label": "previewUrl", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "previewUrl", + "searchable": true, + "sortable": true + } + }, + "provider": { + "edit": { + "label": "provider", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "provider", + "searchable": true, + "sortable": true + } + }, + "provider_metadata": { + "edit": { + "label": "provider_metadata", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "provider_metadata", + "searchable": false, + "sortable": false + } + }, + "folder": { + "edit": { + "label": "folder", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "name" + }, + "list": { + "label": "folder", + "searchable": true, + "sortable": true + } + }, + "folderPath": { + "edit": { + "label": "folderPath", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "folderPath", + "searchable": true, + "sortable": true + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "name", + "alternativeText", + "caption" + ], + "edit": [ + [ + { + "name": "name", + "size": 6 + }, + { + "name": "alternativeText", + "size": 6 + } + ], + [ + { + "name": "caption", + "size": 6 + }, + { + "name": "width", + "size": 4 + } + ], + [ + { + "name": "height", + "size": 4 + } + ], + [ + { + "name": "formats", + "size": 12 + } + ], + [ + { + "name": "hash", + "size": 6 + }, + { + "name": "ext", + "size": 6 + } + ], + [ + { + "name": "mime", + "size": 6 + }, + { + "name": "size", + "size": 4 + } + ], + [ + { + "name": "url", + "size": 6 + }, + { + "name": "previewUrl", + "size": 6 + } + ], + [ + { + "name": "provider", + "size": 6 + } + ], + [ + { + "name": "provider_metadata", + "size": 12 + } + ], + [ + { + "name": "folder", + "size": 6 + }, + { + "name": "folderPath", + "size": 6 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##upload.folder.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##upload.folder.json new file mode 100644 index 00000000..a60922f6 --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##upload.folder.json @@ -0,0 +1,213 @@ +{ + "key": "plugin_content_manager_configuration_content_types::plugin::upload.folder", + "value": { + "uid": "plugin::upload.folder", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "name", + "defaultSortBy": "name", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "name": { + "edit": { + "label": "name", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "name", + "searchable": true, + "sortable": true + } + }, + "pathId": { + "edit": { + "label": "pathId", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "pathId", + "searchable": true, + "sortable": true + } + }, + "parent": { + "edit": { + "label": "parent", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "name" + }, + "list": { + "label": "parent", + "searchable": true, + "sortable": true + } + }, + "children": { + "edit": { + "label": "children", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "name" + }, + "list": { + "label": "children", + "searchable": false, + "sortable": false + } + }, + "files": { + "edit": { + "label": "files", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "name" + }, + "list": { + "label": "files", + "searchable": false, + "sortable": false + } + }, + "path": { + "edit": { + "label": "path", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "path", + "searchable": true, + "sortable": true + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "name", + "pathId", + "parent" + ], + "edit": [ + [ + { + "name": "name", + "size": 6 + }, + { + "name": "pathId", + "size": 4 + } + ], + [ + { + "name": "parent", + "size": 6 + }, + { + "name": "children", + "size": 6 + } + ], + [ + { + "name": "files", + "size": 6 + }, + { + "name": "path", + "size": 6 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##users-permissions.permission.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##users-permissions.permission.json new file mode 100644 index 00000000..1e437f93 --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##users-permissions.permission.json @@ -0,0 +1,135 @@ +{ + "key": "plugin_content_manager_configuration_content_types::plugin::users-permissions.permission", + "value": { + "uid": "plugin::users-permissions.permission", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "action", + "defaultSortBy": "action", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "action": { + "edit": { + "label": "action", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "action", + "searchable": true, + "sortable": true + } + }, + "role": { + "edit": { + "label": "role", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "name" + }, + "list": { + "label": "role", + "searchable": true, + "sortable": true + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "action", + "role", + "createdAt" + ], + "edit": [ + [ + { + "name": "action", + "size": 6 + }, + { + "name": "role", + "size": 6 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##users-permissions.role.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##users-permissions.role.json new file mode 100644 index 00000000..d6fac89a --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##users-permissions.role.json @@ -0,0 +1,194 @@ +{ + "key": "plugin_content_manager_configuration_content_types::plugin::users-permissions.role", + "value": { + "uid": "plugin::users-permissions.role", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "name", + "defaultSortBy": "name", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "name": { + "edit": { + "label": "name", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "name", + "searchable": true, + "sortable": true + } + }, + "description": { + "edit": { + "label": "description", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "description", + "searchable": true, + "sortable": true + } + }, + "type": { + "edit": { + "label": "type", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "type", + "searchable": true, + "sortable": true + } + }, + "permissions": { + "edit": { + "label": "permissions", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "action" + }, + "list": { + "label": "permissions", + "searchable": false, + "sortable": false + } + }, + "users": { + "edit": { + "label": "users", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "username" + }, + "list": { + "label": "users", + "searchable": false, + "sortable": false + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "name", + "description", + "type" + ], + "edit": [ + [ + { + "name": "name", + "size": 6 + }, + { + "name": "description", + "size": 6 + } + ], + [ + { + "name": "type", + "size": 6 + }, + { + "name": "permissions", + "size": 6 + } + ], + [ + { + "name": "users", + "size": 6 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##users-permissions.user.json b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##users-permissions.user.json new file mode 100644 index 00000000..0a7859c1 --- /dev/null +++ b/cms/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##users-permissions.user.json @@ -0,0 +1,253 @@ +{ + "key": "plugin_content_manager_configuration_content_types::plugin::users-permissions.user", + "value": { + "uid": "plugin::users-permissions.user", + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "username", + "defaultSortBy": "username", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "username": { + "edit": { + "label": "username", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "username", + "searchable": true, + "sortable": true + } + }, + "email": { + "edit": { + "label": "email", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "email", + "searchable": true, + "sortable": true + } + }, + "provider": { + "edit": { + "label": "provider", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "provider", + "searchable": true, + "sortable": true + } + }, + "password": { + "edit": { + "label": "password", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "password", + "searchable": true, + "sortable": true + } + }, + "resetPasswordToken": { + "edit": { + "label": "resetPasswordToken", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "resetPasswordToken", + "searchable": true, + "sortable": true + } + }, + "confirmationToken": { + "edit": { + "label": "confirmationToken", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "confirmationToken", + "searchable": true, + "sortable": true + } + }, + "confirmed": { + "edit": { + "label": "confirmed", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "confirmed", + "searchable": true, + "sortable": true + } + }, + "blocked": { + "edit": { + "label": "blocked", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "blocked", + "searchable": true, + "sortable": true + } + }, + "role": { + "edit": { + "label": "role", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "name" + }, + "list": { + "label": "role", + "searchable": true, + "sortable": true + } + }, + "createdAt": { + "edit": { + "label": "createdAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "createdAt", + "searchable": true, + "sortable": true + } + }, + "updatedAt": { + "edit": { + "label": "updatedAt", + "description": "", + "placeholder": "", + "visible": false, + "editable": true + }, + "list": { + "label": "updatedAt", + "searchable": true, + "sortable": true + } + }, + "createdBy": { + "edit": { + "label": "createdBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "createdBy", + "searchable": true, + "sortable": true + } + }, + "updatedBy": { + "edit": { + "label": "updatedBy", + "description": "", + "placeholder": "", + "visible": false, + "editable": true, + "mainField": "firstname" + }, + "list": { + "label": "updatedBy", + "searchable": true, + "sortable": true + } + } + }, + "layouts": { + "list": [ + "id", + "username", + "email", + "confirmed" + ], + "edit": [ + [ + { + "name": "username", + "size": 6 + }, + { + "name": "email", + "size": 6 + } + ], + [ + { + "name": "password", + "size": 6 + }, + { + "name": "confirmed", + "size": 4 + } + ], + [ + { + "name": "blocked", + "size": 4 + }, + { + "name": "role", + "size": 6 + } + ] + ] + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_documentation_config.json b/cms/config/sync/core-store.plugin_documentation_config.json new file mode 100644 index 00000000..4183820d --- /dev/null +++ b/cms/config/sync/core-store.plugin_documentation_config.json @@ -0,0 +1,9 @@ +{ + "key": "plugin_documentation_config", + "value": { + "restrictedAccess": false + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_i18n_default_locale.json b/cms/config/sync/core-store.plugin_i18n_default_locale.json new file mode 100644 index 00000000..c5f5fe53 --- /dev/null +++ b/cms/config/sync/core-store.plugin_i18n_default_locale.json @@ -0,0 +1,7 @@ +{ + "key": "plugin_i18n_default_locale", + "value": "en", + "type": "string", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_upload_settings.json b/cms/config/sync/core-store.plugin_upload_settings.json new file mode 100644 index 00000000..3285174d --- /dev/null +++ b/cms/config/sync/core-store.plugin_upload_settings.json @@ -0,0 +1,11 @@ +{ + "key": "plugin_upload_settings", + "value": { + "sizeOptimization": true, + "responsiveDimensions": true, + "autoOrientation": false + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_upload_view_configuration.json b/cms/config/sync/core-store.plugin_upload_view_configuration.json new file mode 100644 index 00000000..9637f39c --- /dev/null +++ b/cms/config/sync/core-store.plugin_upload_view_configuration.json @@ -0,0 +1,10 @@ +{ + "key": "plugin_upload_view_configuration", + "value": { + "pageSize": 10, + "sort": "createdAt:DESC" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_users-permissions_advanced.json b/cms/config/sync/core-store.plugin_users-permissions_advanced.json new file mode 100644 index 00000000..74368cd1 --- /dev/null +++ b/cms/config/sync/core-store.plugin_users-permissions_advanced.json @@ -0,0 +1,14 @@ +{ + "key": "plugin_users-permissions_advanced", + "value": { + "unique_email": true, + "allow_register": true, + "email_confirmation": false, + "email_reset_password": null, + "email_confirmation_redirection": null, + "default_role": "authenticated" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/core-store.plugin_users-permissions_email.json b/cms/config/sync/core-store.plugin_users-permissions_email.json new file mode 100644 index 00000000..a8ebbe2d --- /dev/null +++ b/cms/config/sync/core-store.plugin_users-permissions_email.json @@ -0,0 +1,34 @@ +{ + "key": "plugin_users-permissions_email", + "value": { + "reset_password": { + "display": "Email.template.reset_password", + "icon": "sync", + "options": { + "from": { + "name": "Administration Panel", + "email": "no-reply@strapi.io" + }, + "response_email": "", + "object": "Reset password", + "message": "

We heard that you lost your password. Sorry about that!

\n\n

But don’t worry! You can use the following link to reset your password:

\n

<%= URL %>?code=<%= TOKEN %>

\n\n

Thanks.

" + } + }, + "email_confirmation": { + "display": "Email.template.email_confirmation", + "icon": "check-square", + "options": { + "from": { + "name": "Administration Panel", + "email": "no-reply@strapi.io" + }, + "response_email": "", + "object": "Account confirmation", + "message": "

Thank you for registering!

\n\n

You have to confirm your email address. Please click on the link below.

\n\n

<%= URL %>?confirmation=<%= CODE %>

\n\n

Thanks.

" + } + } + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/cms/config/sync/i18n-locale.en.json b/cms/config/sync/i18n-locale.en.json new file mode 100644 index 00000000..674d0c8a --- /dev/null +++ b/cms/config/sync/i18n-locale.en.json @@ -0,0 +1,4 @@ +{ + "name": "English (en)", + "code": "en" +} \ No newline at end of file diff --git a/cms/config/sync/user-role.authenticated.json b/cms/config/sync/user-role.authenticated.json new file mode 100644 index 00000000..36bec0f3 --- /dev/null +++ b/cms/config/sync/user-role.authenticated.json @@ -0,0 +1,19 @@ +{ + "name": "Authenticated", + "description": "Default role given to authenticated user.", + "type": "authenticated", + "permissions": [ + { + "action": "api::location.location.find" + }, + { + "action": "api::location.location.findOne" + }, + { + "action": "plugin::users-permissions.auth.changePassword" + }, + { + "action": "plugin::users-permissions.user.me" + } + ] +} \ No newline at end of file diff --git a/cms/config/sync/user-role.public.json b/cms/config/sync/user-role.public.json new file mode 100644 index 00000000..505f9733 --- /dev/null +++ b/cms/config/sync/user-role.public.json @@ -0,0 +1,100 @@ +{ + "name": "Public", + "description": "Default role given to unauthenticated user.", + "type": "public", + "permissions": [ + { + "action": "api::fishing-protection-level-stat.fishing-protection-level-stat.find" + }, + { + "action": "api::fishing-protection-level-stat.fishing-protection-level-stat.findOne" + }, + { + "action": "api::fishing-protection-level.fishing-protection-level.find" + }, + { + "action": "api::fishing-protection-level.fishing-protection-level.findOne" + }, + { + "action": "api::habitat-stat.habitat-stat.find" + }, + { + "action": "api::habitat-stat.habitat-stat.findOne" + }, + { + "action": "api::habitat.habitat.find" + }, + { + "action": "api::habitat.habitat.findOne" + }, + { + "action": "api::location.location.find" + }, + { + "action": "api::location.location.findOne" + }, + { + "action": "api::mpaa-establishment-stage-stat.mpaa-establishment-stage-stat.find" + }, + { + "action": "api::mpaa-establishment-stage-stat.mpaa-establishment-stage-stat.findOne" + }, + { + "action": "api::mpaa-establishment-stage.mpaa-establishment-stage.find" + }, + { + "action": "api::mpaa-establishment-stage.mpaa-establishment-stage.findOne" + }, + { + "action": "api::mpaa-protection-level-stat.mpaa-protection-level-stat.find" + }, + { + "action": "api::mpaa-protection-level-stat.mpaa-protection-level-stat.findOne" + }, + { + "action": "api::mpaa-protection-level.mpaa-protection-level.find" + }, + { + "action": "api::mpaa-protection-level.mpaa-protection-level.findOne" + }, + { + "action": "api::protection-coverage-stat.protection-coverage-stat.find" + }, + { + "action": "api::protection-coverage-stat.protection-coverage-stat.findOne" + }, + { + "action": "api::protection-status.protection-status.find" + }, + { + "action": "api::protection-status.protection-status.findOne" + }, + { + "action": "api::region-location.region-location.find" + }, + { + "action": "api::region-location.region-location.findOne" + }, + { + "action": "plugin::users-permissions.auth.callback" + }, + { + "action": "plugin::users-permissions.auth.connect" + }, + { + "action": "plugin::users-permissions.auth.emailConfirmation" + }, + { + "action": "plugin::users-permissions.auth.forgotPassword" + }, + { + "action": "plugin::users-permissions.auth.register" + }, + { + "action": "plugin::users-permissions.auth.resetPassword" + }, + { + "action": "plugin::users-permissions.auth.sendEmailConfirmation" + } + ] +} \ No newline at end of file diff --git a/cms/src/api/dataset-group/content-types/dataset-group/schema.json b/cms/src/api/dataset-group/content-types/dataset-group/schema.json deleted file mode 100644 index 6b3c0dc6..00000000 --- a/cms/src/api/dataset-group/content-types/dataset-group/schema.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "kind": "collectionType", - "collectionName": "dataset_groups", - "info": { - "singularName": "dataset-group", - "pluralName": "dataset-groups", - "displayName": "Dataset group", - "description": "" - }, - "options": { - "draftAndPublish": true - }, - "pluginOptions": {}, - "attributes": { - "title": { - "type": "string" - }, - "datasets": { - "type": "relation", - "relation": "oneToMany", - "target": "api::dataset.dataset", - "mappedBy": "dataset_group" - } - } -} diff --git a/cms/src/api/dataset-group/controllers/dataset-group.ts b/cms/src/api/dataset-group/controllers/dataset-group.ts deleted file mode 100644 index 82b05560..00000000 --- a/cms/src/api/dataset-group/controllers/dataset-group.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * dataset-group controller - */ - -import { factories } from '@strapi/strapi' - -export default factories.createCoreController('api::dataset-group.dataset-group'); diff --git a/cms/src/api/dataset-group/routes/dataset-group.ts b/cms/src/api/dataset-group/routes/dataset-group.ts deleted file mode 100644 index efcc723c..00000000 --- a/cms/src/api/dataset-group/routes/dataset-group.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * dataset-group router - */ - -import { factories } from '@strapi/strapi'; - -export default factories.createCoreRouter('api::dataset-group.dataset-group'); diff --git a/cms/src/api/dataset-group/services/dataset-group.ts b/cms/src/api/dataset-group/services/dataset-group.ts deleted file mode 100644 index 6718d214..00000000 --- a/cms/src/api/dataset-group/services/dataset-group.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * dataset-group service - */ - -import { factories } from '@strapi/strapi'; - -export default factories.createCoreService('api::dataset-group.dataset-group'); diff --git a/cms/src/api/dataset/content-types/dataset/schema.json b/cms/src/api/dataset/content-types/dataset/schema.json deleted file mode 100644 index 7e08e338..00000000 --- a/cms/src/api/dataset/content-types/dataset/schema.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "kind": "collectionType", - "collectionName": "datasets", - "info": { - "singularName": "dataset", - "pluralName": "datasets", - "displayName": "Dataset", - "description": "" - }, - "options": { - "draftAndPublish": true - }, - "pluginOptions": {}, - "attributes": { - "title": { - "type": "string", - "required": true - }, - "dataset_group": { - "type": "relation", - "relation": "manyToOne", - "target": "api::dataset-group.dataset-group", - "inversedBy": "datasets" - }, - "layers": { - "type": "relation", - "relation": "oneToMany", - "target": "api::layer.layer", - "mappedBy": "dataset" - }, - "metadata": { - "type": "component", - "repeatable": false, - "component": "documentation.metadata" - } - } -} diff --git a/cms/src/api/dataset/controllers/dataset.ts b/cms/src/api/dataset/controllers/dataset.ts deleted file mode 100644 index 61723614..00000000 --- a/cms/src/api/dataset/controllers/dataset.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * dataset controller - */ - -import { factories } from '@strapi/strapi' - -export default factories.createCoreController('api::dataset.dataset'); diff --git a/cms/src/api/dataset/routes/dataset.ts b/cms/src/api/dataset/routes/dataset.ts deleted file mode 100644 index 07795028..00000000 --- a/cms/src/api/dataset/routes/dataset.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * dataset router - */ - -import { factories } from '@strapi/strapi'; - -export default factories.createCoreRouter('api::dataset.dataset'); diff --git a/cms/src/api/dataset/services/dataset.ts b/cms/src/api/dataset/services/dataset.ts deleted file mode 100644 index 859ab90a..00000000 --- a/cms/src/api/dataset/services/dataset.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * dataset service - */ - -import { factories } from '@strapi/strapi'; - -export default factories.createCoreService('api::dataset.dataset'); diff --git a/cms/src/api/fishing-protection-level-stat/content-types/fishing-protection-level-stat/schema.json b/cms/src/api/fishing-protection-level-stat/content-types/fishing-protection-level-stat/schema.json new file mode 100644 index 00000000..c1889f6a --- /dev/null +++ b/cms/src/api/fishing-protection-level-stat/content-types/fishing-protection-level-stat/schema.json @@ -0,0 +1,29 @@ +{ + "kind": "collectionType", + "collectionName": "fishing_protection_level_stats", + "info": { + "singularName": "fishing-protection-level-stat", + "pluralName": "fishing-protection-level-stats", + "displayName": "Fishing Protection Level Stats", + "description": "Calculation of area of protection by location and fishing protection level" + }, + "options": { + "draftAndPublish": false + }, + "pluginOptions": {}, + "attributes": { + "location": { + "type": "relation", + "relation": "oneToOne", + "target": "api::location.location" + }, + "fishing_protection_level": { + "type": "relation", + "relation": "oneToOne", + "target": "api::fishing-protection-level.fishing-protection-level" + }, + "area": { + "type": "decimal" + } + } +} diff --git a/cms/src/api/fishing-protection-level-stat/controllers/fishing-protection-level-stat.ts b/cms/src/api/fishing-protection-level-stat/controllers/fishing-protection-level-stat.ts new file mode 100644 index 00000000..5b543a56 --- /dev/null +++ b/cms/src/api/fishing-protection-level-stat/controllers/fishing-protection-level-stat.ts @@ -0,0 +1,7 @@ +/** + * fishing-protection-level-stat controller + */ + +import { factories } from '@strapi/strapi' + +export default factories.createCoreController('api::fishing-protection-level-stat.fishing-protection-level-stat'); diff --git a/cms/src/api/fishing-protection-level-stat/documentation/1.0.0/fishing-protection-level-stat.json b/cms/src/api/fishing-protection-level-stat/documentation/1.0.0/fishing-protection-level-stat.json new file mode 100644 index 00000000..d2cd47cd --- /dev/null +++ b/cms/src/api/fishing-protection-level-stat/documentation/1.0.0/fishing-protection-level-stat.json @@ -0,0 +1,507 @@ +{ + "/fishing-protection-level-stats": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FishingProtectionLevelStatListResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Fishing-protection-level-stat" + ], + "parameters": [ + { + "name": "sort", + "in": "query", + "description": "Sort by attributes ascending (asc) or descending (desc)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "pagination[withCount]", + "in": "query", + "description": "Return page/pageSize (default: true)", + "deprecated": false, + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "pagination[page]", + "in": "query", + "description": "Page number (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[pageSize]", + "in": "query", + "description": "Page size (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[start]", + "in": "query", + "description": "Offset value (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[limit]", + "in": "query", + "description": "Number of entities to return (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "fields", + "in": "query", + "description": "Fields to return (ex: title,author)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "populate", + "in": "query", + "description": "Relations to return", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "filters", + "in": "query", + "description": "Filters to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "object" + }, + "style": "deepObject" + }, + { + "name": "locale", + "in": "query", + "description": "Locale to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + } + ], + "operationId": "get/fishing-protection-level-stats" + }, + "post": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FishingProtectionLevelStatResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Fishing-protection-level-stat" + ], + "parameters": [], + "operationId": "post/fishing-protection-level-stats", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FishingProtectionLevelStatRequest" + } + } + } + } + } + }, + "/fishing-protection-level-stats/{id}": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FishingProtectionLevelStatResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Fishing-protection-level-stat" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "get/fishing-protection-level-stats/{id}" + }, + "put": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FishingProtectionLevelStatResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Fishing-protection-level-stat" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "put/fishing-protection-level-stats/{id}", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FishingProtectionLevelStatRequest" + } + } + } + } + }, + "delete": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "integer", + "format": "int64" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Fishing-protection-level-stat" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "delete/fishing-protection-level-stats/{id}" + } + } +} diff --git a/cms/src/api/fishing-protection-level-stat/routes/fishing-protection-level-stat.ts b/cms/src/api/fishing-protection-level-stat/routes/fishing-protection-level-stat.ts new file mode 100644 index 00000000..13909321 --- /dev/null +++ b/cms/src/api/fishing-protection-level-stat/routes/fishing-protection-level-stat.ts @@ -0,0 +1,7 @@ +/** + * fishing-protection-level-stat router + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreRouter('api::fishing-protection-level-stat.fishing-protection-level-stat'); diff --git a/cms/src/api/fishing-protection-level-stat/services/fishing-protection-level-stat.ts b/cms/src/api/fishing-protection-level-stat/services/fishing-protection-level-stat.ts new file mode 100644 index 00000000..51f126bf --- /dev/null +++ b/cms/src/api/fishing-protection-level-stat/services/fishing-protection-level-stat.ts @@ -0,0 +1,7 @@ +/** + * fishing-protection-level-stat service + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreService('api::fishing-protection-level-stat.fishing-protection-level-stat'); diff --git a/cms/src/api/fishing-protection-level/content-types/fishing-protection-level/schema.json b/cms/src/api/fishing-protection-level/content-types/fishing-protection-level/schema.json new file mode 100644 index 00000000..4f8f11ab --- /dev/null +++ b/cms/src/api/fishing-protection-level/content-types/fishing-protection-level/schema.json @@ -0,0 +1,27 @@ +{ + "kind": "collectionType", + "collectionName": "fishing_protection_levels", + "info": { + "singularName": "fishing-protection-level", + "pluralName": "fishing-protection-levels", + "displayName": "Fishing Protection Level" + }, + "options": { + "draftAndPublish": false + }, + "pluginOptions": {}, + "attributes": { + "slug": { + "type": "string", + "required": true, + "unique": true + }, + "name": { + "type": "string", + "required": true + }, + "info": { + "type": "text" + } + } +} diff --git a/cms/src/api/fishing-protection-level/controllers/fishing-protection-level.ts b/cms/src/api/fishing-protection-level/controllers/fishing-protection-level.ts new file mode 100644 index 00000000..20497b2f --- /dev/null +++ b/cms/src/api/fishing-protection-level/controllers/fishing-protection-level.ts @@ -0,0 +1,7 @@ +/** + * fishing-protection-level controller + */ + +import { factories } from '@strapi/strapi' + +export default factories.createCoreController('api::fishing-protection-level.fishing-protection-level'); diff --git a/cms/src/api/fishing-protection-level/documentation/1.0.0/fishing-protection-level.json b/cms/src/api/fishing-protection-level/documentation/1.0.0/fishing-protection-level.json new file mode 100644 index 00000000..bf1ab54a --- /dev/null +++ b/cms/src/api/fishing-protection-level/documentation/1.0.0/fishing-protection-level.json @@ -0,0 +1,507 @@ +{ + "/fishing-protection-levels": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FishingProtectionLevelListResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Fishing-protection-level" + ], + "parameters": [ + { + "name": "sort", + "in": "query", + "description": "Sort by attributes ascending (asc) or descending (desc)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "pagination[withCount]", + "in": "query", + "description": "Return page/pageSize (default: true)", + "deprecated": false, + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "pagination[page]", + "in": "query", + "description": "Page number (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[pageSize]", + "in": "query", + "description": "Page size (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[start]", + "in": "query", + "description": "Offset value (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[limit]", + "in": "query", + "description": "Number of entities to return (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "fields", + "in": "query", + "description": "Fields to return (ex: title,author)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "populate", + "in": "query", + "description": "Relations to return", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "filters", + "in": "query", + "description": "Filters to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "object" + }, + "style": "deepObject" + }, + { + "name": "locale", + "in": "query", + "description": "Locale to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + } + ], + "operationId": "get/fishing-protection-levels" + }, + "post": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FishingProtectionLevelResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Fishing-protection-level" + ], + "parameters": [], + "operationId": "post/fishing-protection-levels", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FishingProtectionLevelRequest" + } + } + } + } + } + }, + "/fishing-protection-levels/{id}": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FishingProtectionLevelResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Fishing-protection-level" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "get/fishing-protection-levels/{id}" + }, + "put": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FishingProtectionLevelResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Fishing-protection-level" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "put/fishing-protection-levels/{id}", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FishingProtectionLevelRequest" + } + } + } + } + }, + "delete": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "integer", + "format": "int64" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Fishing-protection-level" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "delete/fishing-protection-levels/{id}" + } + } +} diff --git a/cms/src/api/fishing-protection-level/routes/fishing-protection-level.ts b/cms/src/api/fishing-protection-level/routes/fishing-protection-level.ts new file mode 100644 index 00000000..49fc3081 --- /dev/null +++ b/cms/src/api/fishing-protection-level/routes/fishing-protection-level.ts @@ -0,0 +1,7 @@ +/** + * fishing-protection-level router + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreRouter('api::fishing-protection-level.fishing-protection-level'); diff --git a/cms/src/api/fishing-protection-level/services/fishing-protection-level.ts b/cms/src/api/fishing-protection-level/services/fishing-protection-level.ts new file mode 100644 index 00000000..7977bdf9 --- /dev/null +++ b/cms/src/api/fishing-protection-level/services/fishing-protection-level.ts @@ -0,0 +1,7 @@ +/** + * fishing-protection-level service + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreService('api::fishing-protection-level.fishing-protection-level'); diff --git a/cms/src/api/habitat-stat/content-types/habitat-stat/schema.json b/cms/src/api/habitat-stat/content-types/habitat-stat/schema.json new file mode 100644 index 00000000..972663c3 --- /dev/null +++ b/cms/src/api/habitat-stat/content-types/habitat-stat/schema.json @@ -0,0 +1,40 @@ +{ + "kind": "collectionType", + "collectionName": "habitat_stats", + "info": { + "singularName": "habitat-stat", + "pluralName": "habitat-stats", + "displayName": "Habitat Stats", + "description": "Calculation of area of protection by location, habitat and year" + }, + "options": { + "draftAndPublish": false + }, + "pluginOptions": {}, + "attributes": { + "location": { + "type": "relation", + "relation": "oneToOne", + "target": "api::location.location" + }, + "habitat": { + "type": "relation", + "relation": "oneToOne", + "target": "api::habitat.habitat" + }, + "year": { + "type": "integer", + "required": true + }, + "protectedArea": { + "type": "decimal", + "required": true, + "min": 0 + }, + "totalArea": { + "type": "decimal", + "required": true, + "min": 0 + } + } +} diff --git a/cms/src/api/habitat-stat/controllers/habitat-stat.ts b/cms/src/api/habitat-stat/controllers/habitat-stat.ts new file mode 100644 index 00000000..5bd6dac3 --- /dev/null +++ b/cms/src/api/habitat-stat/controllers/habitat-stat.ts @@ -0,0 +1,7 @@ +/** + * habitat-stat controller + */ + +import { factories } from '@strapi/strapi' + +export default factories.createCoreController('api::habitat-stat.habitat-stat'); diff --git a/cms/src/api/dataset-group/documentation/1.0.0/dataset-group.json b/cms/src/api/habitat-stat/documentation/1.0.0/habitat-stat.json similarity index 93% rename from cms/src/api/dataset-group/documentation/1.0.0/dataset-group.json rename to cms/src/api/habitat-stat/documentation/1.0.0/habitat-stat.json index 200a163a..6e724c11 100644 --- a/cms/src/api/dataset-group/documentation/1.0.0/dataset-group.json +++ b/cms/src/api/habitat-stat/documentation/1.0.0/habitat-stat.json @@ -1,5 +1,5 @@ { - "/dataset-groups": { + "/habitat-stats": { "get": { "responses": { "200": { @@ -7,7 +7,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DatasetGroupListResponse" + "$ref": "#/components/schemas/HabitatStatListResponse" } } } @@ -64,7 +64,7 @@ } }, "tags": [ - "Dataset-group" + "Habitat-stat" ], "parameters": [ { @@ -169,7 +169,7 @@ } } ], - "operationId": "get/dataset-groups" + "operationId": "get/habitat-stats" }, "post": { "responses": { @@ -178,7 +178,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DatasetGroupResponse" + "$ref": "#/components/schemas/HabitatStatResponse" } } } @@ -235,23 +235,23 @@ } }, "tags": [ - "Dataset-group" + "Habitat-stat" ], "parameters": [], - "operationId": "post/dataset-groups", + "operationId": "post/habitat-stats", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DatasetGroupRequest" + "$ref": "#/components/schemas/HabitatStatRequest" } } } } } }, - "/dataset-groups/{id}": { + "/habitat-stats/{id}": { "get": { "responses": { "200": { @@ -259,7 +259,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DatasetGroupResponse" + "$ref": "#/components/schemas/HabitatStatResponse" } } } @@ -316,7 +316,7 @@ } }, "tags": [ - "Dataset-group" + "Habitat-stat" ], "parameters": [ { @@ -330,7 +330,7 @@ } } ], - "operationId": "get/dataset-groups/{id}" + "operationId": "get/habitat-stats/{id}" }, "put": { "responses": { @@ -339,7 +339,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DatasetGroupResponse" + "$ref": "#/components/schemas/HabitatStatResponse" } } } @@ -396,7 +396,7 @@ } }, "tags": [ - "Dataset-group" + "Habitat-stat" ], "parameters": [ { @@ -410,13 +410,13 @@ } } ], - "operationId": "put/dataset-groups/{id}", + "operationId": "put/habitat-stats/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DatasetGroupRequest" + "$ref": "#/components/schemas/HabitatStatRequest" } } } @@ -487,7 +487,7 @@ } }, "tags": [ - "Dataset-group" + "Habitat-stat" ], "parameters": [ { @@ -501,7 +501,7 @@ } } ], - "operationId": "delete/dataset-groups/{id}" + "operationId": "delete/habitat-stats/{id}" } } } diff --git a/cms/src/api/habitat-stat/routes/habitat-stat.ts b/cms/src/api/habitat-stat/routes/habitat-stat.ts new file mode 100644 index 00000000..23628e1c --- /dev/null +++ b/cms/src/api/habitat-stat/routes/habitat-stat.ts @@ -0,0 +1,7 @@ +/** + * habitat-stat router + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreRouter('api::habitat-stat.habitat-stat'); diff --git a/cms/src/api/habitat-stat/services/habitat-stat.ts b/cms/src/api/habitat-stat/services/habitat-stat.ts new file mode 100644 index 00000000..5563836f --- /dev/null +++ b/cms/src/api/habitat-stat/services/habitat-stat.ts @@ -0,0 +1,7 @@ +/** + * habitat-stat service + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreService('api::habitat-stat.habitat-stat'); diff --git a/cms/src/api/habitat/content-types/habitat/schema.json b/cms/src/api/habitat/content-types/habitat/schema.json new file mode 100644 index 00000000..3b5292a5 --- /dev/null +++ b/cms/src/api/habitat/content-types/habitat/schema.json @@ -0,0 +1,28 @@ +{ + "kind": "collectionType", + "collectionName": "habitats", + "info": { + "singularName": "habitat", + "pluralName": "habitats", + "displayName": "Habitat", + "description": "" + }, + "options": { + "draftAndPublish": false + }, + "pluginOptions": {}, + "attributes": { + "slug": { + "type": "string", + "required": true, + "unique": true + }, + "name": { + "type": "string", + "required": true + }, + "info": { + "type": "text" + } + } +} diff --git a/cms/src/api/habitat/controllers/habitat.ts b/cms/src/api/habitat/controllers/habitat.ts new file mode 100644 index 00000000..189b6f58 --- /dev/null +++ b/cms/src/api/habitat/controllers/habitat.ts @@ -0,0 +1,7 @@ +/** + * habitat controller + */ + +import { factories } from '@strapi/strapi' + +export default factories.createCoreController('api::habitat.habitat'); diff --git a/cms/src/api/dataset/documentation/1.0.0/dataset.json b/cms/src/api/habitat/documentation/1.0.0/habitat.json similarity index 94% rename from cms/src/api/dataset/documentation/1.0.0/dataset.json rename to cms/src/api/habitat/documentation/1.0.0/habitat.json index 2d8138ca..c278d0e5 100644 --- a/cms/src/api/dataset/documentation/1.0.0/dataset.json +++ b/cms/src/api/habitat/documentation/1.0.0/habitat.json @@ -1,5 +1,5 @@ { - "/datasets": { + "/habitats": { "get": { "responses": { "200": { @@ -7,7 +7,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DatasetListResponse" + "$ref": "#/components/schemas/HabitatListResponse" } } } @@ -64,7 +64,7 @@ } }, "tags": [ - "Dataset" + "Habitat" ], "parameters": [ { @@ -169,7 +169,7 @@ } } ], - "operationId": "get/datasets" + "operationId": "get/habitats" }, "post": { "responses": { @@ -178,7 +178,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DatasetResponse" + "$ref": "#/components/schemas/HabitatResponse" } } } @@ -235,23 +235,23 @@ } }, "tags": [ - "Dataset" + "Habitat" ], "parameters": [], - "operationId": "post/datasets", + "operationId": "post/habitats", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DatasetRequest" + "$ref": "#/components/schemas/HabitatRequest" } } } } } }, - "/datasets/{id}": { + "/habitats/{id}": { "get": { "responses": { "200": { @@ -259,7 +259,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DatasetResponse" + "$ref": "#/components/schemas/HabitatResponse" } } } @@ -316,7 +316,7 @@ } }, "tags": [ - "Dataset" + "Habitat" ], "parameters": [ { @@ -330,7 +330,7 @@ } } ], - "operationId": "get/datasets/{id}" + "operationId": "get/habitats/{id}" }, "put": { "responses": { @@ -339,7 +339,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DatasetResponse" + "$ref": "#/components/schemas/HabitatResponse" } } } @@ -396,7 +396,7 @@ } }, "tags": [ - "Dataset" + "Habitat" ], "parameters": [ { @@ -410,13 +410,13 @@ } } ], - "operationId": "put/datasets/{id}", + "operationId": "put/habitats/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DatasetRequest" + "$ref": "#/components/schemas/HabitatRequest" } } } @@ -487,7 +487,7 @@ } }, "tags": [ - "Dataset" + "Habitat" ], "parameters": [ { @@ -501,7 +501,7 @@ } } ], - "operationId": "delete/datasets/{id}" + "operationId": "delete/habitats/{id}" } } } diff --git a/cms/src/api/habitat/routes/habitat.ts b/cms/src/api/habitat/routes/habitat.ts new file mode 100644 index 00000000..13f279c8 --- /dev/null +++ b/cms/src/api/habitat/routes/habitat.ts @@ -0,0 +1,7 @@ +/** + * habitat router + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreRouter('api::habitat.habitat'); diff --git a/cms/src/api/habitat/services/habitat.ts b/cms/src/api/habitat/services/habitat.ts new file mode 100644 index 00000000..06da745d --- /dev/null +++ b/cms/src/api/habitat/services/habitat.ts @@ -0,0 +1,7 @@ +/** + * habitat service + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreService('api::habitat.habitat'); diff --git a/cms/src/api/layer/content-types/layer/schema.json b/cms/src/api/layer/content-types/layer/schema.json deleted file mode 100644 index f95e68ea..00000000 --- a/cms/src/api/layer/content-types/layer/schema.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "kind": "collectionType", - "collectionName": "layers", - "info": { - "singularName": "layer", - "pluralName": "layers", - "displayName": "Layer", - "description": "" - }, - "options": { - "draftAndPublish": true - }, - "pluginOptions": {}, - "attributes": { - "title": { - "type": "string", - "required": true - }, - "type": { - "type": "enumeration", - "enum": [ - "deckgl", - "mapbox", - "carto" - ], - "required": true, - "default": "mapbox" - }, - "dataset": { - "type": "relation", - "relation": "manyToOne", - "target": "api::dataset.dataset", - "inversedBy": "layers" - }, - "config": { - "type": "json", - "required": true - }, - "params_config": { - "type": "json" - }, - "legend_config": { - "type": "json", - "required": true - }, - "interaction_config": { - "type": "json" - }, - "metadata": { - "type": "component", - "repeatable": false, - "component": "documentation.metadata" - } - } -} diff --git a/cms/src/api/layer/controllers/layer.ts b/cms/src/api/layer/controllers/layer.ts deleted file mode 100644 index 629cae6b..00000000 --- a/cms/src/api/layer/controllers/layer.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * layer controller - */ - -import { factories } from '@strapi/strapi' - -export default factories.createCoreController('api::layer.layer'); diff --git a/cms/src/api/layer/routes/layer.ts b/cms/src/api/layer/routes/layer.ts deleted file mode 100644 index 634b99b8..00000000 --- a/cms/src/api/layer/routes/layer.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * layer router - */ - -import { factories } from '@strapi/strapi'; - -export default factories.createCoreRouter('api::layer.layer'); diff --git a/cms/src/api/layer/services/layer.ts b/cms/src/api/layer/services/layer.ts deleted file mode 100644 index 26e87eeb..00000000 --- a/cms/src/api/layer/services/layer.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * layer service - */ - -import { factories } from '@strapi/strapi'; - -export default factories.createCoreService('api::layer.layer'); diff --git a/cms/src/api/location/content-types/location/schema.json b/cms/src/api/location/content-types/location/schema.json new file mode 100644 index 00000000..e8d821a5 --- /dev/null +++ b/cms/src/api/location/content-types/location/schema.json @@ -0,0 +1,34 @@ +{ + "kind": "collectionType", + "collectionName": "locations", + "info": { + "singularName": "location", + "pluralName": "locations", + "displayName": "Location", + "description": "Stores names of geographical locations of different types (worldwide, country, region)." + }, + "options": { + "draftAndPublish": false + }, + "pluginOptions": {}, + "attributes": { + "code": { + "type": "string", + "required": true, + "unique": true, + "description": "Unique textual identifier for the location, e.g. iso3 code for countries." + }, + "name": { + "type": "string", + "required": true + }, + "totalMarineArea": { + "type": "integer", + "description": "Total marine area in km2" + }, + "type": { + "type": "string", + "required": true + } + } +} diff --git a/cms/src/api/location/controllers/location.ts b/cms/src/api/location/controllers/location.ts new file mode 100644 index 00000000..28c78a4e --- /dev/null +++ b/cms/src/api/location/controllers/location.ts @@ -0,0 +1,7 @@ +/** + * location controller + */ + +import { factories } from '@strapi/strapi' + +export default factories.createCoreController('api::location.location'); diff --git a/cms/src/api/layer/documentation/1.0.0/layer.json b/cms/src/api/location/documentation/1.0.0/location.json similarity index 94% rename from cms/src/api/layer/documentation/1.0.0/layer.json rename to cms/src/api/location/documentation/1.0.0/location.json index 39fdb729..f5779270 100644 --- a/cms/src/api/layer/documentation/1.0.0/layer.json +++ b/cms/src/api/location/documentation/1.0.0/location.json @@ -1,5 +1,5 @@ { - "/layers": { + "/locations": { "get": { "responses": { "200": { @@ -7,7 +7,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LayerListResponse" + "$ref": "#/components/schemas/LocationListResponse" } } } @@ -64,7 +64,7 @@ } }, "tags": [ - "Layer" + "Location" ], "parameters": [ { @@ -169,7 +169,7 @@ } } ], - "operationId": "get/layers" + "operationId": "get/locations" }, "post": { "responses": { @@ -178,7 +178,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LayerResponse" + "$ref": "#/components/schemas/LocationResponse" } } } @@ -235,23 +235,23 @@ } }, "tags": [ - "Layer" + "Location" ], "parameters": [], - "operationId": "post/layers", + "operationId": "post/locations", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LayerRequest" + "$ref": "#/components/schemas/LocationRequest" } } } } } }, - "/layers/{id}": { + "/locations/{id}": { "get": { "responses": { "200": { @@ -259,7 +259,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LayerResponse" + "$ref": "#/components/schemas/LocationResponse" } } } @@ -316,7 +316,7 @@ } }, "tags": [ - "Layer" + "Location" ], "parameters": [ { @@ -330,7 +330,7 @@ } } ], - "operationId": "get/layers/{id}" + "operationId": "get/locations/{id}" }, "put": { "responses": { @@ -339,7 +339,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LayerResponse" + "$ref": "#/components/schemas/LocationResponse" } } } @@ -396,7 +396,7 @@ } }, "tags": [ - "Layer" + "Location" ], "parameters": [ { @@ -410,13 +410,13 @@ } } ], - "operationId": "put/layers/{id}", + "operationId": "put/locations/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LayerRequest" + "$ref": "#/components/schemas/LocationRequest" } } } @@ -487,7 +487,7 @@ } }, "tags": [ - "Layer" + "Location" ], "parameters": [ { @@ -501,7 +501,7 @@ } } ], - "operationId": "delete/layers/{id}" + "operationId": "delete/locations/{id}" } } } diff --git a/cms/src/api/location/routes/location.ts b/cms/src/api/location/routes/location.ts new file mode 100644 index 00000000..8485c07a --- /dev/null +++ b/cms/src/api/location/routes/location.ts @@ -0,0 +1,7 @@ +/** + * location router + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreRouter('api::location.location'); diff --git a/cms/src/api/location/services/location.ts b/cms/src/api/location/services/location.ts new file mode 100644 index 00000000..4b69f4cf --- /dev/null +++ b/cms/src/api/location/services/location.ts @@ -0,0 +1,7 @@ +/** + * location service + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreService('api::location.location'); diff --git a/cms/src/api/mpaa-establishment-stage-stat/content-types/mpaa-establishment-stage-stat/schema.json b/cms/src/api/mpaa-establishment-stage-stat/content-types/mpaa-establishment-stage-stat/schema.json new file mode 100644 index 00000000..bd317bde --- /dev/null +++ b/cms/src/api/mpaa-establishment-stage-stat/content-types/mpaa-establishment-stage-stat/schema.json @@ -0,0 +1,40 @@ +{ + "kind": "collectionType", + "collectionName": "mpaa_establishment_stage_stats", + "info": { + "singularName": "mpaa-establishment-stage-stat", + "pluralName": "mpaa-establishment-stage-stats", + "displayName": "MPAA Establishment Stage Stats" + }, + "options": { + "draftAndPublish": false + }, + "pluginOptions": {}, + "attributes": { + "location": { + "type": "relation", + "relation": "oneToOne", + "target": "api::location.location" + }, + "mpaa_establishment_stage": { + "type": "relation", + "relation": "oneToOne", + "target": "api::mpaa-establishment-stage.mpaa-establishment-stage" + }, + "protection_status": { + "type": "relation", + "relation": "oneToOne", + "target": "api::protection-status.protection-status" + }, + "year": { + "type": "integer", + "required": true, + "min": 0 + }, + "area": { + "type": "decimal", + "required": true, + "min": 0 + } + } +} diff --git a/cms/src/api/mpaa-establishment-stage-stat/controllers/mpaa-establishment-stage-stat.ts b/cms/src/api/mpaa-establishment-stage-stat/controllers/mpaa-establishment-stage-stat.ts new file mode 100644 index 00000000..7a0a29c1 --- /dev/null +++ b/cms/src/api/mpaa-establishment-stage-stat/controllers/mpaa-establishment-stage-stat.ts @@ -0,0 +1,7 @@ +/** + * mpaa-establishment-stage-stat controller + */ + +import { factories } from '@strapi/strapi' + +export default factories.createCoreController('api::mpaa-establishment-stage-stat.mpaa-establishment-stage-stat'); diff --git a/cms/src/api/mpaa-establishment-stage-stat/documentation/1.0.0/mpaa-establishment-stage-stat.json b/cms/src/api/mpaa-establishment-stage-stat/documentation/1.0.0/mpaa-establishment-stage-stat.json new file mode 100644 index 00000000..f457ef93 --- /dev/null +++ b/cms/src/api/mpaa-establishment-stage-stat/documentation/1.0.0/mpaa-establishment-stage-stat.json @@ -0,0 +1,507 @@ +{ + "/mpaa-establishment-stage-stats": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaEstablishmentStageStatListResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Mpaa-establishment-stage-stat" + ], + "parameters": [ + { + "name": "sort", + "in": "query", + "description": "Sort by attributes ascending (asc) or descending (desc)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "pagination[withCount]", + "in": "query", + "description": "Return page/pageSize (default: true)", + "deprecated": false, + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "pagination[page]", + "in": "query", + "description": "Page number (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[pageSize]", + "in": "query", + "description": "Page size (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[start]", + "in": "query", + "description": "Offset value (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[limit]", + "in": "query", + "description": "Number of entities to return (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "fields", + "in": "query", + "description": "Fields to return (ex: title,author)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "populate", + "in": "query", + "description": "Relations to return", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "filters", + "in": "query", + "description": "Filters to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "object" + }, + "style": "deepObject" + }, + { + "name": "locale", + "in": "query", + "description": "Locale to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + } + ], + "operationId": "get/mpaa-establishment-stage-stats" + }, + "post": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaEstablishmentStageStatResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Mpaa-establishment-stage-stat" + ], + "parameters": [], + "operationId": "post/mpaa-establishment-stage-stats", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaEstablishmentStageStatRequest" + } + } + } + } + } + }, + "/mpaa-establishment-stage-stats/{id}": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaEstablishmentStageStatResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Mpaa-establishment-stage-stat" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "get/mpaa-establishment-stage-stats/{id}" + }, + "put": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaEstablishmentStageStatResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Mpaa-establishment-stage-stat" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "put/mpaa-establishment-stage-stats/{id}", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaEstablishmentStageStatRequest" + } + } + } + } + }, + "delete": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "integer", + "format": "int64" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Mpaa-establishment-stage-stat" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "delete/mpaa-establishment-stage-stats/{id}" + } + } +} diff --git a/cms/src/api/mpaa-establishment-stage-stat/routes/mpaa-establishment-stage-stat.ts b/cms/src/api/mpaa-establishment-stage-stat/routes/mpaa-establishment-stage-stat.ts new file mode 100644 index 00000000..12cb3ea1 --- /dev/null +++ b/cms/src/api/mpaa-establishment-stage-stat/routes/mpaa-establishment-stage-stat.ts @@ -0,0 +1,7 @@ +/** + * mpaa-establishment-stage-stat router + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreRouter('api::mpaa-establishment-stage-stat.mpaa-establishment-stage-stat'); diff --git a/cms/src/api/mpaa-establishment-stage-stat/services/mpaa-establishment-stage-stat.ts b/cms/src/api/mpaa-establishment-stage-stat/services/mpaa-establishment-stage-stat.ts new file mode 100644 index 00000000..7656bbf6 --- /dev/null +++ b/cms/src/api/mpaa-establishment-stage-stat/services/mpaa-establishment-stage-stat.ts @@ -0,0 +1,7 @@ +/** + * mpaa-establishment-stage-stat service + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreService('api::mpaa-establishment-stage-stat.mpaa-establishment-stage-stat'); diff --git a/cms/src/api/mpaa-establishment-stage/content-types/mpaa-establishment-stage/schema.json b/cms/src/api/mpaa-establishment-stage/content-types/mpaa-establishment-stage/schema.json new file mode 100644 index 00000000..b9fa0f75 --- /dev/null +++ b/cms/src/api/mpaa-establishment-stage/content-types/mpaa-establishment-stage/schema.json @@ -0,0 +1,27 @@ +{ + "kind": "collectionType", + "collectionName": "mpaa_establishment_stages", + "info": { + "singularName": "mpaa-establishment-stage", + "pluralName": "mpaa-establishment-stages", + "displayName": "MPAA Establishment Stage" + }, + "options": { + "draftAndPublish": false + }, + "pluginOptions": {}, + "attributes": { + "slug": { + "type": "string", + "required": true, + "unique": true + }, + "name": { + "type": "string", + "required": true + }, + "info": { + "type": "text" + } + } +} diff --git a/cms/src/api/mpaa-establishment-stage/controllers/mpaa-establishment-stage.ts b/cms/src/api/mpaa-establishment-stage/controllers/mpaa-establishment-stage.ts new file mode 100644 index 00000000..8fbcd7e2 --- /dev/null +++ b/cms/src/api/mpaa-establishment-stage/controllers/mpaa-establishment-stage.ts @@ -0,0 +1,7 @@ +/** + * mpaa-establishment-stage controller + */ + +import { factories } from '@strapi/strapi' + +export default factories.createCoreController('api::mpaa-establishment-stage.mpaa-establishment-stage'); diff --git a/cms/src/api/mpaa-establishment-stage/documentation/1.0.0/mpaa-establishment-stage.json b/cms/src/api/mpaa-establishment-stage/documentation/1.0.0/mpaa-establishment-stage.json new file mode 100644 index 00000000..8af4a20c --- /dev/null +++ b/cms/src/api/mpaa-establishment-stage/documentation/1.0.0/mpaa-establishment-stage.json @@ -0,0 +1,507 @@ +{ + "/mpaa-establishment-stages": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaEstablishmentStageListResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Mpaa-establishment-stage" + ], + "parameters": [ + { + "name": "sort", + "in": "query", + "description": "Sort by attributes ascending (asc) or descending (desc)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "pagination[withCount]", + "in": "query", + "description": "Return page/pageSize (default: true)", + "deprecated": false, + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "pagination[page]", + "in": "query", + "description": "Page number (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[pageSize]", + "in": "query", + "description": "Page size (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[start]", + "in": "query", + "description": "Offset value (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[limit]", + "in": "query", + "description": "Number of entities to return (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "fields", + "in": "query", + "description": "Fields to return (ex: title,author)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "populate", + "in": "query", + "description": "Relations to return", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "filters", + "in": "query", + "description": "Filters to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "object" + }, + "style": "deepObject" + }, + { + "name": "locale", + "in": "query", + "description": "Locale to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + } + ], + "operationId": "get/mpaa-establishment-stages" + }, + "post": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaEstablishmentStageResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Mpaa-establishment-stage" + ], + "parameters": [], + "operationId": "post/mpaa-establishment-stages", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaEstablishmentStageRequest" + } + } + } + } + } + }, + "/mpaa-establishment-stages/{id}": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaEstablishmentStageResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Mpaa-establishment-stage" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "get/mpaa-establishment-stages/{id}" + }, + "put": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaEstablishmentStageResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Mpaa-establishment-stage" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "put/mpaa-establishment-stages/{id}", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaEstablishmentStageRequest" + } + } + } + } + }, + "delete": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "integer", + "format": "int64" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Mpaa-establishment-stage" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "delete/mpaa-establishment-stages/{id}" + } + } +} diff --git a/cms/src/api/mpaa-establishment-stage/routes/mpaa-establishment-stage.ts b/cms/src/api/mpaa-establishment-stage/routes/mpaa-establishment-stage.ts new file mode 100644 index 00000000..ed47b108 --- /dev/null +++ b/cms/src/api/mpaa-establishment-stage/routes/mpaa-establishment-stage.ts @@ -0,0 +1,7 @@ +/** + * mpaa-establishment-stage router + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreRouter('api::mpaa-establishment-stage.mpaa-establishment-stage'); diff --git a/cms/src/api/mpaa-establishment-stage/services/mpaa-establishment-stage.ts b/cms/src/api/mpaa-establishment-stage/services/mpaa-establishment-stage.ts new file mode 100644 index 00000000..bfc577ec --- /dev/null +++ b/cms/src/api/mpaa-establishment-stage/services/mpaa-establishment-stage.ts @@ -0,0 +1,7 @@ +/** + * mpaa-establishment-stage service + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreService('api::mpaa-establishment-stage.mpaa-establishment-stage'); diff --git a/cms/src/api/mpaa-protection-level-stat/content-types/mpaa-protection-level-stat/schema.json b/cms/src/api/mpaa-protection-level-stat/content-types/mpaa-protection-level-stat/schema.json new file mode 100644 index 00000000..7ce7a9c2 --- /dev/null +++ b/cms/src/api/mpaa-protection-level-stat/content-types/mpaa-protection-level-stat/schema.json @@ -0,0 +1,30 @@ +{ + "kind": "collectionType", + "collectionName": "mpaa_protection_level_stats", + "info": { + "singularName": "mpaa-protection-level-stat", + "pluralName": "mpaa-protection-level-stats", + "displayName": "MPAA Protection Level Stats" + }, + "options": { + "draftAndPublish": false + }, + "pluginOptions": {}, + "attributes": { + "location": { + "type": "relation", + "relation": "oneToOne", + "target": "api::location.location" + }, + "mpaa_protection_level": { + "type": "relation", + "relation": "oneToOne", + "target": "api::mpaa-protection-level.mpaa-protection-level" + }, + "area": { + "type": "decimal", + "required": true, + "min": 0 + } + } +} diff --git a/cms/src/api/mpaa-protection-level-stat/controllers/mpaa-protection-level-stat.ts b/cms/src/api/mpaa-protection-level-stat/controllers/mpaa-protection-level-stat.ts new file mode 100644 index 00000000..cdbdc28d --- /dev/null +++ b/cms/src/api/mpaa-protection-level-stat/controllers/mpaa-protection-level-stat.ts @@ -0,0 +1,7 @@ +/** + * mpaa-protection-level-stat controller + */ + +import { factories } from '@strapi/strapi' + +export default factories.createCoreController('api::mpaa-protection-level-stat.mpaa-protection-level-stat'); diff --git a/cms/src/api/mpaa-protection-level-stat/documentation/1.0.0/mpaa-protection-level-stat.json b/cms/src/api/mpaa-protection-level-stat/documentation/1.0.0/mpaa-protection-level-stat.json new file mode 100644 index 00000000..4791277d --- /dev/null +++ b/cms/src/api/mpaa-protection-level-stat/documentation/1.0.0/mpaa-protection-level-stat.json @@ -0,0 +1,507 @@ +{ + "/mpaa-protection-level-stats": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaProtectionLevelStatListResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Mpaa-protection-level-stat" + ], + "parameters": [ + { + "name": "sort", + "in": "query", + "description": "Sort by attributes ascending (asc) or descending (desc)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "pagination[withCount]", + "in": "query", + "description": "Return page/pageSize (default: true)", + "deprecated": false, + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "pagination[page]", + "in": "query", + "description": "Page number (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[pageSize]", + "in": "query", + "description": "Page size (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[start]", + "in": "query", + "description": "Offset value (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[limit]", + "in": "query", + "description": "Number of entities to return (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "fields", + "in": "query", + "description": "Fields to return (ex: title,author)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "populate", + "in": "query", + "description": "Relations to return", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "filters", + "in": "query", + "description": "Filters to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "object" + }, + "style": "deepObject" + }, + { + "name": "locale", + "in": "query", + "description": "Locale to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + } + ], + "operationId": "get/mpaa-protection-level-stats" + }, + "post": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaProtectionLevelStatResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Mpaa-protection-level-stat" + ], + "parameters": [], + "operationId": "post/mpaa-protection-level-stats", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaProtectionLevelStatRequest" + } + } + } + } + } + }, + "/mpaa-protection-level-stats/{id}": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaProtectionLevelStatResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Mpaa-protection-level-stat" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "get/mpaa-protection-level-stats/{id}" + }, + "put": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaProtectionLevelStatResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Mpaa-protection-level-stat" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "put/mpaa-protection-level-stats/{id}", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaProtectionLevelStatRequest" + } + } + } + } + }, + "delete": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "integer", + "format": "int64" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Mpaa-protection-level-stat" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "delete/mpaa-protection-level-stats/{id}" + } + } +} diff --git a/cms/src/api/mpaa-protection-level-stat/routes/mpaa-protection-level-stat.ts b/cms/src/api/mpaa-protection-level-stat/routes/mpaa-protection-level-stat.ts new file mode 100644 index 00000000..a9f1f440 --- /dev/null +++ b/cms/src/api/mpaa-protection-level-stat/routes/mpaa-protection-level-stat.ts @@ -0,0 +1,7 @@ +/** + * mpaa-protection-level-stat router + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreRouter('api::mpaa-protection-level-stat.mpaa-protection-level-stat'); diff --git a/cms/src/api/mpaa-protection-level-stat/services/mpaa-protection-level-stat.ts b/cms/src/api/mpaa-protection-level-stat/services/mpaa-protection-level-stat.ts new file mode 100644 index 00000000..3f87af47 --- /dev/null +++ b/cms/src/api/mpaa-protection-level-stat/services/mpaa-protection-level-stat.ts @@ -0,0 +1,7 @@ +/** + * mpaa-protection-level-stat service + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreService('api::mpaa-protection-level-stat.mpaa-protection-level-stat'); diff --git a/cms/src/api/mpaa-protection-level/content-types/mpaa-protection-level/schema.json b/cms/src/api/mpaa-protection-level/content-types/mpaa-protection-level/schema.json new file mode 100644 index 00000000..9d2d4816 --- /dev/null +++ b/cms/src/api/mpaa-protection-level/content-types/mpaa-protection-level/schema.json @@ -0,0 +1,27 @@ +{ + "kind": "collectionType", + "collectionName": "mpaa_protection_levels", + "info": { + "singularName": "mpaa-protection-level", + "pluralName": "mpaa-protection-levels", + "displayName": "MPAA Protection Level" + }, + "options": { + "draftAndPublish": false + }, + "pluginOptions": {}, + "attributes": { + "slug": { + "type": "string", + "required": true, + "unique": true + }, + "name": { + "type": "string", + "required": true + }, + "info": { + "type": "text" + } + } +} diff --git a/cms/src/api/mpaa-protection-level/controllers/mpaa-protection-level.ts b/cms/src/api/mpaa-protection-level/controllers/mpaa-protection-level.ts new file mode 100644 index 00000000..91bbba51 --- /dev/null +++ b/cms/src/api/mpaa-protection-level/controllers/mpaa-protection-level.ts @@ -0,0 +1,7 @@ +/** + * mpaa-protection-level controller + */ + +import { factories } from '@strapi/strapi' + +export default factories.createCoreController('api::mpaa-protection-level.mpaa-protection-level'); diff --git a/cms/src/api/mpaa-protection-level/documentation/1.0.0/mpaa-protection-level.json b/cms/src/api/mpaa-protection-level/documentation/1.0.0/mpaa-protection-level.json new file mode 100644 index 00000000..456d501c --- /dev/null +++ b/cms/src/api/mpaa-protection-level/documentation/1.0.0/mpaa-protection-level.json @@ -0,0 +1,507 @@ +{ + "/mpaa-protection-levels": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaProtectionLevelListResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Mpaa-protection-level" + ], + "parameters": [ + { + "name": "sort", + "in": "query", + "description": "Sort by attributes ascending (asc) or descending (desc)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "pagination[withCount]", + "in": "query", + "description": "Return page/pageSize (default: true)", + "deprecated": false, + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "pagination[page]", + "in": "query", + "description": "Page number (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[pageSize]", + "in": "query", + "description": "Page size (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[start]", + "in": "query", + "description": "Offset value (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[limit]", + "in": "query", + "description": "Number of entities to return (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "fields", + "in": "query", + "description": "Fields to return (ex: title,author)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "populate", + "in": "query", + "description": "Relations to return", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "filters", + "in": "query", + "description": "Filters to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "object" + }, + "style": "deepObject" + }, + { + "name": "locale", + "in": "query", + "description": "Locale to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + } + ], + "operationId": "get/mpaa-protection-levels" + }, + "post": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaProtectionLevelResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Mpaa-protection-level" + ], + "parameters": [], + "operationId": "post/mpaa-protection-levels", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaProtectionLevelRequest" + } + } + } + } + } + }, + "/mpaa-protection-levels/{id}": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaProtectionLevelResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Mpaa-protection-level" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "get/mpaa-protection-levels/{id}" + }, + "put": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaProtectionLevelResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Mpaa-protection-level" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "put/mpaa-protection-levels/{id}", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/MpaaProtectionLevelRequest" + } + } + } + } + }, + "delete": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "integer", + "format": "int64" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Mpaa-protection-level" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "delete/mpaa-protection-levels/{id}" + } + } +} diff --git a/cms/src/api/mpaa-protection-level/routes/mpaa-protection-level.ts b/cms/src/api/mpaa-protection-level/routes/mpaa-protection-level.ts new file mode 100644 index 00000000..1e41bc85 --- /dev/null +++ b/cms/src/api/mpaa-protection-level/routes/mpaa-protection-level.ts @@ -0,0 +1,7 @@ +/** + * mpaa-protection-level router + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreRouter('api::mpaa-protection-level.mpaa-protection-level'); diff --git a/cms/src/api/mpaa-protection-level/services/mpaa-protection-level.ts b/cms/src/api/mpaa-protection-level/services/mpaa-protection-level.ts new file mode 100644 index 00000000..384eb1ce --- /dev/null +++ b/cms/src/api/mpaa-protection-level/services/mpaa-protection-level.ts @@ -0,0 +1,7 @@ +/** + * mpaa-protection-level service + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreService('api::mpaa-protection-level.mpaa-protection-level'); diff --git a/cms/src/api/protection-coverage-stat/content-types/protection-coverage-stat/schema.json b/cms/src/api/protection-coverage-stat/content-types/protection-coverage-stat/schema.json new file mode 100644 index 00000000..0d7a38d7 --- /dev/null +++ b/cms/src/api/protection-coverage-stat/content-types/protection-coverage-stat/schema.json @@ -0,0 +1,46 @@ +{ + "kind": "collectionType", + "collectionName": "protection_coverage_stats", + "info": { + "singularName": "protection-coverage-stat", + "pluralName": "protection-coverage-stats", + "displayName": "Protection Coverage Stats", + "description": "" + }, + "options": { + "draftAndPublish": false + }, + "pluginOptions": {}, + "attributes": { + "location": { + "type": "relation", + "relation": "oneToOne", + "target": "api::location.location" + }, + "protection_status": { + "type": "relation", + "relation": "oneToOne", + "target": "api::protection-status.protection-status" + }, + "year": { + "type": "integer", + "required": true, + "min": 0 + }, + "cumSumProtectedArea": { + "type": "decimal", + "required": true, + "min": 0 + }, + "protectedArea": { + "type": "decimal", + "required": true, + "min": 0 + }, + "totalArea": { + "type": "decimal", + "required": true, + "min": 0 + } + } +} diff --git a/cms/src/api/protection-coverage-stat/controllers/protection-coverage-stat.ts b/cms/src/api/protection-coverage-stat/controllers/protection-coverage-stat.ts new file mode 100644 index 00000000..432da8db --- /dev/null +++ b/cms/src/api/protection-coverage-stat/controllers/protection-coverage-stat.ts @@ -0,0 +1,7 @@ +/** + * protection-coverage-stat controller + */ + +import { factories } from '@strapi/strapi' + +export default factories.createCoreController('api::protection-coverage-stat.protection-coverage-stat'); diff --git a/cms/src/api/protection-coverage-stat/documentation/1.0.0/protection-coverage-stat.json b/cms/src/api/protection-coverage-stat/documentation/1.0.0/protection-coverage-stat.json new file mode 100644 index 00000000..2c293302 --- /dev/null +++ b/cms/src/api/protection-coverage-stat/documentation/1.0.0/protection-coverage-stat.json @@ -0,0 +1,507 @@ +{ + "/protection-coverage-stats": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProtectionCoverageStatListResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Protection-coverage-stat" + ], + "parameters": [ + { + "name": "sort", + "in": "query", + "description": "Sort by attributes ascending (asc) or descending (desc)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "pagination[withCount]", + "in": "query", + "description": "Return page/pageSize (default: true)", + "deprecated": false, + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "pagination[page]", + "in": "query", + "description": "Page number (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[pageSize]", + "in": "query", + "description": "Page size (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[start]", + "in": "query", + "description": "Offset value (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[limit]", + "in": "query", + "description": "Number of entities to return (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "fields", + "in": "query", + "description": "Fields to return (ex: title,author)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "populate", + "in": "query", + "description": "Relations to return", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "filters", + "in": "query", + "description": "Filters to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "object" + }, + "style": "deepObject" + }, + { + "name": "locale", + "in": "query", + "description": "Locale to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + } + ], + "operationId": "get/protection-coverage-stats" + }, + "post": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProtectionCoverageStatResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Protection-coverage-stat" + ], + "parameters": [], + "operationId": "post/protection-coverage-stats", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProtectionCoverageStatRequest" + } + } + } + } + } + }, + "/protection-coverage-stats/{id}": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProtectionCoverageStatResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Protection-coverage-stat" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "get/protection-coverage-stats/{id}" + }, + "put": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProtectionCoverageStatResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Protection-coverage-stat" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "put/protection-coverage-stats/{id}", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProtectionCoverageStatRequest" + } + } + } + } + }, + "delete": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "integer", + "format": "int64" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Protection-coverage-stat" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "delete/protection-coverage-stats/{id}" + } + } +} diff --git a/cms/src/api/protection-coverage-stat/routes/protection-coverage-stat.ts b/cms/src/api/protection-coverage-stat/routes/protection-coverage-stat.ts new file mode 100644 index 00000000..22d9fb55 --- /dev/null +++ b/cms/src/api/protection-coverage-stat/routes/protection-coverage-stat.ts @@ -0,0 +1,7 @@ +/** + * protection-coverage-stat router + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreRouter('api::protection-coverage-stat.protection-coverage-stat'); diff --git a/cms/src/api/protection-coverage-stat/services/protection-coverage-stat.ts b/cms/src/api/protection-coverage-stat/services/protection-coverage-stat.ts new file mode 100644 index 00000000..2174cf74 --- /dev/null +++ b/cms/src/api/protection-coverage-stat/services/protection-coverage-stat.ts @@ -0,0 +1,7 @@ +/** + * protection-coverage-stat service + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreService('api::protection-coverage-stat.protection-coverage-stat'); diff --git a/cms/src/api/protection-status/content-types/protection-status/schema.json b/cms/src/api/protection-status/content-types/protection-status/schema.json new file mode 100644 index 00000000..3cb55e17 --- /dev/null +++ b/cms/src/api/protection-status/content-types/protection-status/schema.json @@ -0,0 +1,27 @@ +{ + "kind": "collectionType", + "collectionName": "protection_statuses", + "info": { + "singularName": "protection-status", + "pluralName": "protection-statuses", + "displayName": "Protection Status" + }, + "options": { + "draftAndPublish": false + }, + "pluginOptions": {}, + "attributes": { + "slug": { + "type": "string", + "required": true, + "unique": true + }, + "name": { + "type": "string", + "required": true + }, + "info": { + "type": "text" + } + } +} diff --git a/cms/src/api/protection-status/controllers/protection-status.ts b/cms/src/api/protection-status/controllers/protection-status.ts new file mode 100644 index 00000000..c30a5432 --- /dev/null +++ b/cms/src/api/protection-status/controllers/protection-status.ts @@ -0,0 +1,7 @@ +/** + * protection-status controller + */ + +import { factories } from '@strapi/strapi' + +export default factories.createCoreController('api::protection-status.protection-status'); diff --git a/cms/src/api/protection-status/documentation/1.0.0/protection-status.json b/cms/src/api/protection-status/documentation/1.0.0/protection-status.json new file mode 100644 index 00000000..dd35b157 --- /dev/null +++ b/cms/src/api/protection-status/documentation/1.0.0/protection-status.json @@ -0,0 +1,507 @@ +{ + "/protection-statuses": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProtectionStatusListResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Protection-status" + ], + "parameters": [ + { + "name": "sort", + "in": "query", + "description": "Sort by attributes ascending (asc) or descending (desc)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "pagination[withCount]", + "in": "query", + "description": "Return page/pageSize (default: true)", + "deprecated": false, + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "pagination[page]", + "in": "query", + "description": "Page number (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[pageSize]", + "in": "query", + "description": "Page size (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[start]", + "in": "query", + "description": "Offset value (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[limit]", + "in": "query", + "description": "Number of entities to return (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "fields", + "in": "query", + "description": "Fields to return (ex: title,author)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "populate", + "in": "query", + "description": "Relations to return", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "filters", + "in": "query", + "description": "Filters to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "object" + }, + "style": "deepObject" + }, + { + "name": "locale", + "in": "query", + "description": "Locale to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + } + ], + "operationId": "get/protection-statuses" + }, + "post": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProtectionStatusResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Protection-status" + ], + "parameters": [], + "operationId": "post/protection-statuses", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProtectionStatusRequest" + } + } + } + } + } + }, + "/protection-statuses/{id}": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProtectionStatusResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Protection-status" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "get/protection-statuses/{id}" + }, + "put": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProtectionStatusResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Protection-status" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "put/protection-statuses/{id}", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ProtectionStatusRequest" + } + } + } + } + }, + "delete": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "integer", + "format": "int64" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Protection-status" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "delete/protection-statuses/{id}" + } + } +} diff --git a/cms/src/api/protection-status/routes/protection-status.ts b/cms/src/api/protection-status/routes/protection-status.ts new file mode 100644 index 00000000..86bec890 --- /dev/null +++ b/cms/src/api/protection-status/routes/protection-status.ts @@ -0,0 +1,7 @@ +/** + * protection-status router + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreRouter('api::protection-status.protection-status'); diff --git a/cms/src/api/protection-status/services/protection-status.ts b/cms/src/api/protection-status/services/protection-status.ts new file mode 100644 index 00000000..a6508bdb --- /dev/null +++ b/cms/src/api/protection-status/services/protection-status.ts @@ -0,0 +1,7 @@ +/** + * protection-status service + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreService('api::protection-status.protection-status'); diff --git a/cms/src/api/region-location/content-types/region-location/schema.json b/cms/src/api/region-location/content-types/region-location/schema.json new file mode 100644 index 00000000..acfceb4b --- /dev/null +++ b/cms/src/api/region-location/content-types/region-location/schema.json @@ -0,0 +1,26 @@ +{ + "kind": "collectionType", + "collectionName": "region_locations", + "info": { + "singularName": "region-location", + "pluralName": "region-locations", + "displayName": "Region Location", + "description": "" + }, + "options": { + "draftAndPublish": false + }, + "pluginOptions": {}, + "attributes": { + "region": { + "type": "relation", + "relation": "oneToOne", + "target": "api::location.location" + }, + "location": { + "type": "relation", + "relation": "oneToOne", + "target": "api::location.location" + } + } +} diff --git a/cms/src/api/region-location/controllers/region-location.ts b/cms/src/api/region-location/controllers/region-location.ts new file mode 100644 index 00000000..4ab8acc8 --- /dev/null +++ b/cms/src/api/region-location/controllers/region-location.ts @@ -0,0 +1,7 @@ +/** + * region-location controller + */ + +import { factories } from '@strapi/strapi' + +export default factories.createCoreController('api::region-location.region-location'); diff --git a/cms/src/api/region-location/documentation/1.0.0/region-location.json b/cms/src/api/region-location/documentation/1.0.0/region-location.json new file mode 100644 index 00000000..64fa433f --- /dev/null +++ b/cms/src/api/region-location/documentation/1.0.0/region-location.json @@ -0,0 +1,507 @@ +{ + "/region-locations": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RegionLocationListResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Region-location" + ], + "parameters": [ + { + "name": "sort", + "in": "query", + "description": "Sort by attributes ascending (asc) or descending (desc)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "pagination[withCount]", + "in": "query", + "description": "Return page/pageSize (default: true)", + "deprecated": false, + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "pagination[page]", + "in": "query", + "description": "Page number (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[pageSize]", + "in": "query", + "description": "Page size (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[start]", + "in": "query", + "description": "Offset value (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[limit]", + "in": "query", + "description": "Number of entities to return (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "fields", + "in": "query", + "description": "Fields to return (ex: title,author)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "populate", + "in": "query", + "description": "Relations to return", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "filters", + "in": "query", + "description": "Filters to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "object" + }, + "style": "deepObject" + }, + { + "name": "locale", + "in": "query", + "description": "Locale to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + } + ], + "operationId": "get/region-locations" + }, + "post": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RegionLocationResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Region-location" + ], + "parameters": [], + "operationId": "post/region-locations", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RegionLocationRequest" + } + } + } + } + } + }, + "/region-locations/{id}": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RegionLocationResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Region-location" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "get/region-locations/{id}" + }, + "put": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RegionLocationResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Region-location" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "put/region-locations/{id}", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RegionLocationRequest" + } + } + } + } + }, + "delete": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "integer", + "format": "int64" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Region-location" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "delete/region-locations/{id}" + } + } +} diff --git a/cms/src/api/region-location/routes/region-location.ts b/cms/src/api/region-location/routes/region-location.ts new file mode 100644 index 00000000..12823395 --- /dev/null +++ b/cms/src/api/region-location/routes/region-location.ts @@ -0,0 +1,7 @@ +/** + * region-location router + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreRouter('api::region-location.region-location'); diff --git a/cms/src/api/region-location/services/region-location.ts b/cms/src/api/region-location/services/region-location.ts new file mode 100644 index 00000000..90088125 --- /dev/null +++ b/cms/src/api/region-location/services/region-location.ts @@ -0,0 +1,7 @@ +/** + * region-location service + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreService('api::region-location.region-location');