From b5200010e102d4b7e9363248afdf36b33852ca6c Mon Sep 17 00:00:00 2001 From: Ale C <11180418+alcaprar@users.noreply.github.com> Date: Sat, 3 Aug 2024 09:53:09 +0200 Subject: [PATCH] feat: add `strapi-config-sync` and init the config (#60) --- backend/.tmp/dev.data.db | Bin 1089536 -> 1089536 bytes .../config/sync/admin-role.strapi-author.json | 461 ++++++++++ .../config/sync/admin-role.strapi-editor.json | 401 ++++++++ .../sync/admin-role.strapi-super-admin.json | 860 ++++++++++++++++++ .../sync/core-store.core_admin_auth.json | 13 + ...nt_types##admin##api-token-permission.json | 135 +++ ...ation_content_types##admin##api-token.json | 249 +++++ ...tion_content_types##admin##permission.json | 217 +++++ ...figuration_content_types##admin##role.json | 194 ++++ ...pes##admin##transfer-token-permission.json | 135 +++ ..._content_types##admin##transfer-token.json | 231 +++++ ...figuration_content_types##admin##user.json | 297 ++++++ ...ion_content_types##api##client.client.json | 155 ++++ ...ent_types##api##order-item.order-item.json | 156 ++++ ...ation_content_types##api##order.order.json | 195 ++++ ...types##api##product-sale.product-sale.json | 213 +++++ ...n_content_types##api##product.product.json | 174 ++++ ...uration_content_types##api##sale.sale.json | 194 ++++ ...uration_content_types##api##shop.shop.json | 235 +++++ ...uration_content_types##api##unit.unit.json | 135 +++ ...ugin##content-releases.release-action.json | 193 ++++ ...pes##plugin##content-releases.release.json | 211 +++++ ...on_content_types##plugin##i18n.locale.json | 134 +++ ...on_content_types##plugin##upload.file.json | 405 +++++++++ ..._content_types##plugin##upload.folder.json | 213 +++++ ...#plugin##users-permissions.permission.json | 135 +++ ...types##plugin##users-permissions.role.json | 194 ++++ ...types##plugin##users-permissions.user.json | 274 ++++++ ...ore-store.plugin_documentation_config.json | 9 + ...core-store.plugin_i18n_default_locale.json | 7 + .../core-store.plugin_upload_settings.json | 11 + ...tore.plugin_upload_view_configuration.json | 10 + ...ore.plugin_users-permissions_advanced.json | 14 + ...-store.plugin_users-permissions_email.json | 34 + backend/config/sync/i18n-locale.en.json | 4 + .../config/sync/user-role.authenticated.json | 19 + backend/config/sync/user-role.public.json | 31 + backend/package.json | 1 + backend/yarn.lock | 211 ++++- 39 files changed, 6756 insertions(+), 4 deletions(-) create mode 100644 backend/config/sync/admin-role.strapi-author.json create mode 100644 backend/config/sync/admin-role.strapi-editor.json create mode 100644 backend/config/sync/admin-role.strapi-super-admin.json create mode 100644 backend/config/sync/core-store.core_admin_auth.json create mode 100644 backend/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##api-token-permission.json create mode 100644 backend/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##api-token.json create mode 100644 backend/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##permission.json create mode 100644 backend/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##role.json create mode 100644 backend/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##transfer-token-permission.json create mode 100644 backend/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##transfer-token.json create mode 100644 backend/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##user.json create mode 100644 backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##client.client.json create mode 100644 backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##order-item.order-item.json create mode 100644 backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##order.order.json create mode 100644 backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##product-sale.product-sale.json create mode 100644 backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##product.product.json create mode 100644 backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##sale.sale.json create mode 100644 backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##shop.shop.json create mode 100644 backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##unit.unit.json create mode 100644 backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##content-releases.release-action.json create mode 100644 backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##content-releases.release.json create mode 100644 backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##i18n.locale.json create mode 100644 backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##upload.file.json create mode 100644 backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##upload.folder.json create mode 100644 backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##users-permissions.permission.json create mode 100644 backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##users-permissions.role.json create mode 100644 backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##users-permissions.user.json create mode 100644 backend/config/sync/core-store.plugin_documentation_config.json create mode 100644 backend/config/sync/core-store.plugin_i18n_default_locale.json create mode 100644 backend/config/sync/core-store.plugin_upload_settings.json create mode 100644 backend/config/sync/core-store.plugin_upload_view_configuration.json create mode 100644 backend/config/sync/core-store.plugin_users-permissions_advanced.json create mode 100644 backend/config/sync/core-store.plugin_users-permissions_email.json create mode 100644 backend/config/sync/i18n-locale.en.json create mode 100644 backend/config/sync/user-role.authenticated.json create mode 100644 backend/config/sync/user-role.public.json diff --git a/backend/.tmp/dev.data.db b/backend/.tmp/dev.data.db index e41a7b46ed023929261c6868abac9163421e31b0..0d71eef5d1d4a8d43656a344a9534b7981e209eb 100644 GIT binary patch delta 1216 zcmbVLU1%It6ux)v%-)%uJ9BnhjI~A+M6?>SP0MbVY}8=I?MqS8QiO_aV!BP2B%3u& zKuKb=n4cmvG~{8xs*MkMX!Su|?UbE>Dg!{ z;?0=7i5(X&6?t<5RmCfKYI!v8znSvkb?N+E6$ z6gmvsA!=W=$Lt-pWzARztfaVw(o4cfTAb|CG(w#DXk`7iST@(%o$1Wvdg%C_^;I)I zezj3>@{}aCtckyTtRaB~o(Fwrh{7*y6Oq^IB0A+eO+f<+a0d5QaYp z#FD$CU;6+j5kBwoL0K`p7(R~`hmAG5sz@I3f`hDi`8Dl94ds_ze$AWKf*Fj`VxEzb5Mp)p@a>89h~wiS8)g$qtrAd3gOJJ>UHkQD%T=GjcMxd z%Ndx4>u?Rehi`FX7T^MWf;HX%XS&KTxPr@K;IhnB>4_k1io&1pEBu7Q-{6AH!3-97 z7e0h3OdE!ZkV*||SzM*4t(g8Ts(Tyt+ul9t{W`jrnrBee`-kqaz`IjEWQ26Xx6Xun zp;3?Dc0ESn4}9+*;4*ss3_gaB;2m(_Z5TuO98_{kBhrAXn|P2G3@-e?1RFiMSI00g z!Wbroz_8qtd+lfQfS*A~-A&cqa0HU}9yc;?f5-U#^*Tuw);hm0*fmx>UY$r(*H=G` zzb)>jMY}f4Gd>|I36Gf7iR9mp9en(dJG*2zHnICyg~RLM36HozHjlwq^N>BLf$76HMA@ISDk! zg6~2Evny>E)~XLFYC=CIn%0C0(jbeZA8-9xl*a?@Tu5?Vuzk`dmOAGBHqEM+6@0le>$?_V#xtHe8>gQu$Jt4ElaQfU*Qv$ z@)lmhIAkGTJsJ07|zFv$(U#=-Wwz?*Z4i`K}=18&7JbZ)C@B!=0!32!J2r_RL znX;|Gw9)Zxisgd4NJ?|C0zct9n!U&V$KeS)gfyg))CF{?T9?!UN#QjceNe67mVdnR zxaU8;6t&=`Xlx>=1aQS0=tenM#%Nz)2A6vQkKrEN0tyt}F2Y7d7df8ib(@O$G`wlH z#9*U>P!SqJN7xYt8*DU>g~2?@NhHq+$DtEyNuD{T%#TDWQ@GmLX1bg+D^1Je4p?rl z-@OZu#k|wzZcRY>5M9cdRfga1wtQ|+;Wa?06$U_Eh@ x>s0o@fsE5rLG;+BSdE=K;k06MD%Mdh#N^nX)YO$`YFe;0Q4#=F5^&77{03_r4O##I diff --git a/backend/config/sync/admin-role.strapi-author.json b/backend/config/sync/admin-role.strapi-author.json new file mode 100644 index 0000000..833e1da --- /dev/null +++ b/backend/config/sync/admin-role.strapi-author.json @@ -0,0 +1,461 @@ +{ + "name": "Author", + "code": "strapi-author", + "description": "Authors can manage the content they have created.", + "permissions": [ + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::client.client", + "properties": { + "fields": [ + "username", + "shop", + "name" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::client.client", + "properties": {}, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::client.client", + "properties": { + "fields": [ + "username", + "shop", + "name" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::client.client", + "properties": { + "fields": [ + "username", + "shop", + "name" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::order-item.order-item", + "properties": { + "fields": [ + "order", + "product_sale", + "quantity" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::order-item.order-item", + "properties": {}, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::order-item.order-item", + "properties": { + "fields": [ + "order", + "product_sale", + "quantity" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::order-item.order-item", + "properties": { + "fields": [ + "order", + "product_sale", + "quantity" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::order.order", + "properties": { + "fields": [ + "client", + "sale", + "order_items", + "notes" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::order.order", + "properties": {}, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::order.order", + "properties": { + "fields": [ + "client", + "sale", + "order_items", + "notes" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::order.order", + "properties": { + "fields": [ + "client", + "sale", + "order_items", + "notes" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::product-sale.product-sale", + "properties": { + "fields": [ + "product", + "total_available", + "amount_in_minor", + "sale", + "current_available", + "order_items" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::product-sale.product-sale", + "properties": {}, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::product-sale.product-sale", + "properties": { + "fields": [ + "product", + "total_available", + "amount_in_minor", + "sale", + "current_available", + "order_items" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::product-sale.product-sale", + "properties": { + "fields": [ + "product", + "total_available", + "amount_in_minor", + "sale", + "current_available", + "order_items" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::product.product", + "properties": { + "fields": [ + "name", + "shop", + "unit", + "product_sales" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::product.product", + "properties": {}, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::product.product", + "properties": { + "fields": [ + "name", + "shop", + "unit", + "product_sales" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::product.product", + "properties": { + "fields": [ + "name", + "shop", + "unit", + "product_sales" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::sale.sale", + "properties": { + "fields": [ + "startDate", + "endDate", + "orders", + "product_sales", + "shop" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::sale.sale", + "properties": {}, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::sale.sale", + "properties": { + "fields": [ + "startDate", + "endDate", + "orders", + "product_sales", + "shop" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::sale.sale", + "properties": { + "fields": [ + "startDate", + "endDate", + "orders", + "product_sales", + "shop" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::shop.shop", + "properties": { + "fields": [ + "name", + "products", + "clients", + "owner", + "slug", + "sales" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::shop.shop", + "properties": {}, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::shop.shop", + "properties": { + "fields": [ + "name", + "products", + "clients", + "owner", + "slug", + "sales" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::shop.shop", + "properties": { + "fields": [ + "name", + "products", + "clients", + "owner", + "slug", + "sales" + ] + }, + "conditions": [ + "admin::is-creator" + ] + }, + { + "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/backend/config/sync/admin-role.strapi-editor.json b/backend/config/sync/admin-role.strapi-editor.json new file mode 100644 index 0000000..67531fa --- /dev/null +++ b/backend/config/sync/admin-role.strapi-editor.json @@ -0,0 +1,401 @@ +{ + "name": "Editor", + "code": "strapi-editor", + "description": "Editors can manage and publish contents including those of other users.", + "permissions": [ + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::client.client", + "properties": { + "fields": [ + "username", + "shop", + "name" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::client.client", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::client.client", + "properties": { + "fields": [ + "username", + "shop", + "name" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::client.client", + "properties": { + "fields": [ + "username", + "shop", + "name" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::order-item.order-item", + "properties": { + "fields": [ + "order", + "product_sale", + "quantity" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::order-item.order-item", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::order-item.order-item", + "properties": { + "fields": [ + "order", + "product_sale", + "quantity" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::order-item.order-item", + "properties": { + "fields": [ + "order", + "product_sale", + "quantity" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::order.order", + "properties": { + "fields": [ + "client", + "sale", + "order_items", + "notes" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::order.order", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::order.order", + "properties": { + "fields": [ + "client", + "sale", + "order_items", + "notes" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::order.order", + "properties": { + "fields": [ + "client", + "sale", + "order_items", + "notes" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::product-sale.product-sale", + "properties": { + "fields": [ + "product", + "total_available", + "amount_in_minor", + "sale", + "current_available", + "order_items" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::product-sale.product-sale", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::product-sale.product-sale", + "properties": { + "fields": [ + "product", + "total_available", + "amount_in_minor", + "sale", + "current_available", + "order_items" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::product-sale.product-sale", + "properties": { + "fields": [ + "product", + "total_available", + "amount_in_minor", + "sale", + "current_available", + "order_items" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::product.product", + "properties": { + "fields": [ + "name", + "shop", + "unit", + "product_sales" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::product.product", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::product.product", + "properties": { + "fields": [ + "name", + "shop", + "unit", + "product_sales" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::product.product", + "properties": { + "fields": [ + "name", + "shop", + "unit", + "product_sales" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::sale.sale", + "properties": { + "fields": [ + "startDate", + "endDate", + "orders", + "product_sales", + "shop" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::sale.sale", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::sale.sale", + "properties": { + "fields": [ + "startDate", + "endDate", + "orders", + "product_sales", + "shop" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::sale.sale", + "properties": { + "fields": [ + "startDate", + "endDate", + "orders", + "product_sales", + "shop" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::shop.shop", + "properties": { + "fields": [ + "name", + "products", + "clients", + "owner", + "slug", + "sales" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::shop.shop", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::shop.shop", + "properties": { + "fields": [ + "name", + "products", + "clients", + "owner", + "slug", + "sales" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::shop.shop", + "properties": { + "fields": [ + "name", + "products", + "clients", + "owner", + "slug", + "sales" + ] + }, + "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": [] + } + ] +} \ No newline at end of file diff --git a/backend/config/sync/admin-role.strapi-super-admin.json b/backend/config/sync/admin-role.strapi-super-admin.json new file mode 100644 index 0000000..30a5d25 --- /dev/null +++ b/backend/config/sync/admin-role.strapi-super-admin.json @@ -0,0 +1,860 @@ +{ + "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::client.client", + "properties": { + "fields": [ + "username", + "shop", + "name" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::client.client", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::client.client", + "properties": { + "fields": [ + "username", + "shop", + "name" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::client.client", + "properties": { + "fields": [ + "username", + "shop", + "name" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::order-item.order-item", + "properties": { + "fields": [ + "order", + "product_sale", + "quantity" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::order-item.order-item", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::order-item.order-item", + "properties": { + "fields": [ + "order", + "product_sale", + "quantity" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::order-item.order-item", + "properties": { + "fields": [ + "order", + "product_sale", + "quantity" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::order.order", + "properties": { + "fields": [ + "client", + "sale", + "order_items", + "notes", + "last_confirmed_at" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::order.order", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::order.order", + "properties": { + "fields": [ + "client", + "sale", + "order_items", + "notes", + "last_confirmed_at" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::order.order", + "properties": { + "fields": [ + "client", + "sale", + "order_items", + "notes", + "last_confirmed_at" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::product-sale.product-sale", + "properties": { + "fields": [ + "product", + "total_available", + "amount_in_minor", + "sale", + "current_available", + "order_items" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::product-sale.product-sale", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::product-sale.product-sale", + "properties": { + "fields": [ + "product", + "total_available", + "amount_in_minor", + "sale", + "current_available", + "order_items" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::product-sale.product-sale", + "properties": { + "fields": [ + "product", + "total_available", + "amount_in_minor", + "sale", + "current_available", + "order_items" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::product.product", + "properties": { + "fields": [ + "name", + "shop", + "product_sales", + "unit" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::product.product", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::product.product", + "properties": { + "fields": [ + "name", + "shop", + "product_sales", + "unit" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::product.product", + "properties": { + "fields": [ + "name", + "shop", + "product_sales", + "unit" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::sale.sale", + "properties": { + "fields": [ + "startDate", + "endDate", + "orders", + "product_sales", + "shop" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::sale.sale", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::sale.sale", + "properties": { + "fields": [ + "startDate", + "endDate", + "orders", + "product_sales", + "shop" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::sale.sale", + "properties": { + "fields": [ + "startDate", + "endDate", + "orders", + "product_sales", + "shop" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::shop.shop", + "properties": { + "fields": [ + "name", + "products", + "clients", + "owner", + "slug", + "sales", + "units" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::shop.shop", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::shop.shop", + "properties": { + "fields": [ + "name", + "products", + "clients", + "owner", + "slug", + "sales", + "units" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::shop.shop", + "properties": { + "fields": [ + "name", + "products", + "clients", + "owner", + "slug", + "sales", + "units" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.create", + "actionParameters": {}, + "subject": "api::unit.unit", + "properties": { + "fields": [ + "name", + "shop" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.delete", + "actionParameters": {}, + "subject": "api::unit.unit", + "properties": {}, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.read", + "actionParameters": {}, + "subject": "api::unit.unit", + "properties": { + "fields": [ + "name", + "shop" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "api::unit.unit", + "properties": { + "fields": [ + "name", + "shop" + ] + }, + "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", + "shop" + ] + }, + "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", + "shop" + ] + }, + "conditions": [] + }, + { + "action": "plugin::content-manager.explorer.update", + "actionParameters": {}, + "subject": "plugin::users-permissions.user", + "properties": { + "fields": [ + "username", + "email", + "provider", + "password", + "resetPasswordToken", + "confirmationToken", + "confirmed", + "blocked", + "role", + "shop" + ] + }, + "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::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::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/backend/config/sync/core-store.core_admin_auth.json b/backend/config/sync/core-store.core_admin_auth.json new file mode 100644 index 0000000..1e1a1cc --- /dev/null +++ b/backend/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/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##api-token-permission.json b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##api-token-permission.json new file mode 100644 index 0000000..c3f5b22 --- /dev/null +++ b/backend/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": { + "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 + } + ] + ] + }, + "uid": "admin::api-token-permission" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##api-token.json b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##api-token.json new file mode 100644 index 0000000..2ba7ccc --- /dev/null +++ b/backend/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": { + "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 + } + ] + ] + }, + "uid": "admin::api-token" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##permission.json b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##permission.json new file mode 100644 index 0000000..d1cdde6 --- /dev/null +++ b/backend/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": { + "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 + } + ] + ] + }, + "uid": "admin::permission" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##role.json b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##role.json new file mode 100644 index 0000000..c6a71d9 --- /dev/null +++ b/backend/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": { + "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 + } + ] + ] + }, + "uid": "admin::role" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##transfer-token-permission.json b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##transfer-token-permission.json new file mode 100644 index 0000000..120b0b3 --- /dev/null +++ b/backend/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": { + "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 + } + ] + ] + }, + "uid": "admin::transfer-token-permission" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##transfer-token.json b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##transfer-token.json new file mode 100644 index 0000000..820b642 --- /dev/null +++ b/backend/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": { + "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 + } + ] + ] + }, + "uid": "admin::transfer-token" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##user.json b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##admin##user.json new file mode 100644 index 0000000..7d0fd24 --- /dev/null +++ b/backend/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": { + "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 + } + ] + ] + }, + "uid": "admin::user" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##client.client.json b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##client.client.json new file mode 100644 index 0000000..d3cdc76 --- /dev/null +++ b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##client.client.json @@ -0,0 +1,155 @@ +{ + "key": "plugin_content_manager_configuration_content_types::api::client.client", + "value": { + "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 + } + }, + "shop": { + "edit": { + "label": "shop", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "name" + }, + "list": { + "label": "shop", + "searchable": true, + "sortable": true + } + }, + "name": { + "edit": { + "label": "name", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "name", + "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", + "shop", + "name" + ], + "edit": [ + [ + { + "name": "username", + "size": 6 + }, + { + "name": "shop", + "size": 6 + } + ], + [ + { + "name": "name", + "size": 6 + } + ] + ] + }, + "uid": "api::client.client" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##order-item.order-item.json b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##order-item.order-item.json new file mode 100644 index 0000000..2bd707d --- /dev/null +++ b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##order-item.order-item.json @@ -0,0 +1,156 @@ +{ + "key": "plugin_content_manager_configuration_content_types::api::order-item.order-item", + "value": { + "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 + } + }, + "order": { + "edit": { + "label": "order", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "id" + }, + "list": { + "label": "order", + "searchable": true, + "sortable": true + } + }, + "product_sale": { + "edit": { + "label": "product_sale", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "id" + }, + "list": { + "label": "product_sale", + "searchable": true, + "sortable": true + } + }, + "quantity": { + "edit": { + "label": "quantity", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "quantity", + "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", + "order", + "product_sale", + "quantity" + ], + "edit": [ + [ + { + "name": "order", + "size": 6 + }, + { + "name": "product_sale", + "size": 6 + } + ], + [ + { + "name": "quantity", + "size": 4 + } + ] + ] + }, + "uid": "api::order-item.order-item" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##order.order.json b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##order.order.json new file mode 100644 index 0000000..8f9e944 --- /dev/null +++ b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##order.order.json @@ -0,0 +1,195 @@ +{ + "key": "plugin_content_manager_configuration_content_types::api::order.order", + "value": { + "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 + } + }, + "client": { + "edit": { + "label": "client", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "username" + }, + "list": { + "label": "client", + "searchable": true, + "sortable": true + } + }, + "sale": { + "edit": { + "label": "sale", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "id" + }, + "list": { + "label": "sale", + "searchable": true, + "sortable": true + } + }, + "order_items": { + "edit": { + "label": "order_items", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "id" + }, + "list": { + "label": "order_items", + "searchable": false, + "sortable": false + } + }, + "notes": { + "edit": { + "label": "notes", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "notes", + "searchable": true, + "sortable": true + } + }, + "last_confirmed_at": { + "edit": { + "label": "last_confirmed_at", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "last_confirmed_at", + "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", + "client", + "sale", + "order_items" + ], + "edit": [ + [ + { + "name": "client", + "size": 6 + }, + { + "name": "sale", + "size": 6 + } + ], + [ + { + "name": "order_items", + "size": 6 + }, + { + "name": "notes", + "size": 6 + } + ], + [ + { + "name": "last_confirmed_at", + "size": 6 + } + ] + ] + }, + "uid": "api::order.order" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##product-sale.product-sale.json b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##product-sale.product-sale.json new file mode 100644 index 0000000..d74afaa --- /dev/null +++ b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##product-sale.product-sale.json @@ -0,0 +1,213 @@ +{ + "key": "plugin_content_manager_configuration_content_types::api::product-sale.product-sale", + "value": { + "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 + } + }, + "product": { + "edit": { + "label": "product", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "name" + }, + "list": { + "label": "product", + "searchable": true, + "sortable": true + } + }, + "total_available": { + "edit": { + "label": "total_available", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "total_available", + "searchable": true, + "sortable": true + } + }, + "amount_in_minor": { + "edit": { + "label": "amount_in_minor", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "amount_in_minor", + "searchable": true, + "sortable": true + } + }, + "sale": { + "edit": { + "label": "sale", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "id" + }, + "list": { + "label": "sale", + "searchable": true, + "sortable": true + } + }, + "current_available": { + "edit": { + "label": "current_available", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "current_available", + "searchable": true, + "sortable": true + } + }, + "order_items": { + "edit": { + "label": "order_items", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "id" + }, + "list": { + "label": "order_items", + "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", + "product", + "total_available", + "amount_in_minor" + ], + "edit": [ + [ + { + "name": "product", + "size": 6 + }, + { + "name": "total_available", + "size": 4 + } + ], + [ + { + "name": "amount_in_minor", + "size": 4 + }, + { + "name": "sale", + "size": 6 + } + ], + [ + { + "name": "current_available", + "size": 4 + }, + { + "name": "order_items", + "size": 6 + } + ] + ] + }, + "uid": "api::product-sale.product-sale" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##product.product.json b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##product.product.json new file mode 100644 index 0000000..cb05eb9 --- /dev/null +++ b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##product.product.json @@ -0,0 +1,174 @@ +{ + "key": "plugin_content_manager_configuration_content_types::api::product.product", + "value": { + "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 + } + }, + "shop": { + "edit": { + "label": "shop", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "name" + }, + "list": { + "label": "shop", + "searchable": true, + "sortable": true + } + }, + "product_sales": { + "edit": { + "label": "product_sales", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "id" + }, + "list": { + "label": "product_sales", + "searchable": false, + "sortable": false + } + }, + "unit": { + "edit": { + "label": "unit", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "unit", + "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", + "shop", + "unit" + ], + "edit": [ + [ + { + "name": "name", + "size": 6 + }, + { + "name": "shop", + "size": 6 + } + ], + [ + { + "name": "unit", + "size": 6 + }, + { + "name": "product_sales", + "size": 6 + } + ] + ] + }, + "uid": "api::product.product" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##sale.sale.json b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##sale.sale.json new file mode 100644 index 0000000..018b957 --- /dev/null +++ b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##sale.sale.json @@ -0,0 +1,194 @@ +{ + "key": "plugin_content_manager_configuration_content_types::api::sale.sale", + "value": { + "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 + } + }, + "startDate": { + "edit": { + "label": "startDate", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "startDate", + "searchable": true, + "sortable": true + } + }, + "endDate": { + "edit": { + "label": "endDate", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "endDate", + "searchable": true, + "sortable": true + } + }, + "orders": { + "edit": { + "label": "orders", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "id" + }, + "list": { + "label": "orders", + "searchable": false, + "sortable": false + } + }, + "product_sales": { + "edit": { + "label": "product_sales", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "id" + }, + "list": { + "label": "product_sales", + "searchable": false, + "sortable": false + } + }, + "shop": { + "edit": { + "label": "shop", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "name" + }, + "list": { + "label": "shop", + "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", + "startDate", + "endDate" + ], + "edit": [ + [ + { + "name": "startDate", + "size": 6 + }, + { + "name": "endDate", + "size": 6 + } + ], + [ + { + "name": "orders", + "size": 6 + } + ], + [ + { + "name": "product_sales", + "size": 6 + }, + { + "name": "shop", + "size": 6 + } + ] + ] + }, + "uid": "api::sale.sale" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##shop.shop.json b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##shop.shop.json new file mode 100644 index 0000000..b7b41b5 --- /dev/null +++ b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##shop.shop.json @@ -0,0 +1,235 @@ +{ + "key": "plugin_content_manager_configuration_content_types::api::shop.shop", + "value": { + "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 + } + }, + "products": { + "edit": { + "label": "products", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "name" + }, + "list": { + "label": "products", + "searchable": false, + "sortable": false + } + }, + "clients": { + "edit": { + "label": "clients", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "username" + }, + "list": { + "label": "clients", + "searchable": false, + "sortable": false + } + }, + "owner": { + "edit": { + "label": "owner", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "username" + }, + "list": { + "label": "owner", + "searchable": true, + "sortable": true + } + }, + "slug": { + "edit": { + "label": "slug", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "slug", + "searchable": true, + "sortable": true + } + }, + "sales": { + "edit": { + "label": "sales", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "id" + }, + "list": { + "label": "sales", + "searchable": false, + "sortable": false + } + }, + "units": { + "edit": { + "label": "units", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "name" + }, + "list": { + "label": "units", + "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", + "products", + "clients" + ], + "edit": [ + [ + { + "name": "name", + "size": 6 + }, + { + "name": "products", + "size": 6 + } + ], + [ + { + "name": "clients", + "size": 6 + }, + { + "name": "owner", + "size": 6 + } + ], + [ + { + "name": "slug", + "size": 6 + }, + { + "name": "sales", + "size": 6 + } + ], + [ + { + "name": "units", + "size": 6 + } + ] + ] + }, + "uid": "api::shop.shop" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##unit.unit.json b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##unit.unit.json new file mode 100644 index 0000000..22051b5 --- /dev/null +++ b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##api##unit.unit.json @@ -0,0 +1,135 @@ +{ + "key": "plugin_content_manager_configuration_content_types::api::unit.unit", + "value": { + "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 + } + }, + "shop": { + "edit": { + "label": "shop", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "name" + }, + "list": { + "label": "shop", + "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", + "createdAt", + "updatedAt" + ], + "edit": [ + [ + { + "name": "name", + "size": 6 + }, + { + "name": "shop", + "size": 6 + } + ] + ] + }, + "uid": "api::unit.unit" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##content-releases.release-action.json b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##content-releases.release-action.json new file mode 100644 index 0000000..f489a49 --- /dev/null +++ b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##content-releases.release-action.json @@ -0,0 +1,193 @@ +{ + "key": "plugin_content_manager_configuration_content_types::plugin::content-releases.release-action", + "value": { + "settings": { + "bulkable": true, + "filterable": true, + "searchable": true, + "pageSize": 10, + "mainField": "contentType", + "defaultSortBy": "contentType", + "defaultSortOrder": "ASC" + }, + "metadatas": { + "id": { + "edit": {}, + "list": { + "label": "id", + "searchable": true, + "sortable": true + } + }, + "type": { + "edit": { + "label": "type", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "type", + "searchable": true, + "sortable": true + } + }, + "contentType": { + "edit": { + "label": "contentType", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "contentType", + "searchable": true, + "sortable": true + } + }, + "locale": { + "edit": { + "label": "locale", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "locale", + "searchable": true, + "sortable": true + } + }, + "release": { + "edit": { + "label": "release", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "name" + }, + "list": { + "label": "release", + "searchable": true, + "sortable": true + } + }, + "isEntryValid": { + "edit": { + "label": "isEntryValid", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "isEntryValid", + "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", + "type", + "contentType", + "locale" + ], + "edit": [ + [ + { + "name": "type", + "size": 6 + }, + { + "name": "contentType", + "size": 6 + } + ], + [ + { + "name": "locale", + "size": 6 + }, + { + "name": "release", + "size": 6 + } + ], + [ + { + "name": "isEntryValid", + "size": 4 + } + ] + ] + }, + "uid": "plugin::content-releases.release-action" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##content-releases.release.json b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##content-releases.release.json new file mode 100644 index 0000000..a607e0c --- /dev/null +++ b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##content-releases.release.json @@ -0,0 +1,211 @@ +{ + "key": "plugin_content_manager_configuration_content_types::plugin::content-releases.release", + "value": { + "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 + } + }, + "releasedAt": { + "edit": { + "label": "releasedAt", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "releasedAt", + "searchable": true, + "sortable": true + } + }, + "scheduledAt": { + "edit": { + "label": "scheduledAt", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "scheduledAt", + "searchable": true, + "sortable": true + } + }, + "timezone": { + "edit": { + "label": "timezone", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "timezone", + "searchable": true, + "sortable": true + } + }, + "status": { + "edit": { + "label": "status", + "description": "", + "placeholder": "", + "visible": true, + "editable": true + }, + "list": { + "label": "status", + "searchable": true, + "sortable": true + } + }, + "actions": { + "edit": { + "label": "actions", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "contentType" + }, + "list": { + "label": "actions", + "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", + "releasedAt", + "scheduledAt" + ], + "edit": [ + [ + { + "name": "name", + "size": 6 + }, + { + "name": "releasedAt", + "size": 6 + } + ], + [ + { + "name": "scheduledAt", + "size": 6 + }, + { + "name": "timezone", + "size": 6 + } + ], + [ + { + "name": "status", + "size": 6 + }, + { + "name": "actions", + "size": 6 + } + ] + ] + }, + "uid": "plugin::content-releases.release" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##i18n.locale.json b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##i18n.locale.json new file mode 100644 index 0000000..978af51 --- /dev/null +++ b/backend/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": { + "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 + } + ] + ] + }, + "uid": "plugin::i18n.locale" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##upload.file.json b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##upload.file.json new file mode 100644 index 0000000..83c0708 --- /dev/null +++ b/backend/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": { + "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 + } + ] + ] + }, + "uid": "plugin::upload.file" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##upload.folder.json b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##upload.folder.json new file mode 100644 index 0000000..8c4a906 --- /dev/null +++ b/backend/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": { + "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 + } + ] + ] + }, + "uid": "plugin::upload.folder" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##users-permissions.permission.json b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##users-permissions.permission.json new file mode 100644 index 0000000..00b9cdf --- /dev/null +++ b/backend/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": { + "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 + } + ] + ] + }, + "uid": "plugin::users-permissions.permission" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##users-permissions.role.json b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##users-permissions.role.json new file mode 100644 index 0000000..4ba069a --- /dev/null +++ b/backend/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": { + "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 + } + ] + ] + }, + "uid": "plugin::users-permissions.role" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##users-permissions.user.json b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##users-permissions.user.json new file mode 100644 index 0000000..899c139 --- /dev/null +++ b/backend/config/sync/core-store.plugin_content_manager_configuration_content_types##plugin##users-permissions.user.json @@ -0,0 +1,274 @@ +{ + "key": "plugin_content_manager_configuration_content_types::plugin::users-permissions.user", + "value": { + "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 + } + }, + "shop": { + "edit": { + "label": "shop", + "description": "", + "placeholder": "", + "visible": true, + "editable": true, + "mainField": "name" + }, + "list": { + "label": "shop", + "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 + } + ], + [ + { + "name": "shop", + "size": 6 + } + ] + ] + }, + "uid": "plugin::users-permissions.user" + }, + "type": "object", + "environment": null, + "tag": null +} \ No newline at end of file diff --git a/backend/config/sync/core-store.plugin_documentation_config.json b/backend/config/sync/core-store.plugin_documentation_config.json new file mode 100644 index 0000000..4183820 --- /dev/null +++ b/backend/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/backend/config/sync/core-store.plugin_i18n_default_locale.json b/backend/config/sync/core-store.plugin_i18n_default_locale.json new file mode 100644 index 0000000..c5f5fe5 --- /dev/null +++ b/backend/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/backend/config/sync/core-store.plugin_upload_settings.json b/backend/config/sync/core-store.plugin_upload_settings.json new file mode 100644 index 0000000..3285174 --- /dev/null +++ b/backend/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/backend/config/sync/core-store.plugin_upload_view_configuration.json b/backend/config/sync/core-store.plugin_upload_view_configuration.json new file mode 100644 index 0000000..9637f39 --- /dev/null +++ b/backend/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/backend/config/sync/core-store.plugin_users-permissions_advanced.json b/backend/config/sync/core-store.plugin_users-permissions_advanced.json new file mode 100644 index 0000000..74368cd --- /dev/null +++ b/backend/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/backend/config/sync/core-store.plugin_users-permissions_email.json b/backend/config/sync/core-store.plugin_users-permissions_email.json new file mode 100644 index 0000000..a8ebbe2 --- /dev/null +++ b/backend/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/backend/config/sync/i18n-locale.en.json b/backend/config/sync/i18n-locale.en.json new file mode 100644 index 0000000..674d0c8 --- /dev/null +++ b/backend/config/sync/i18n-locale.en.json @@ -0,0 +1,4 @@ +{ + "name": "English (en)", + "code": "en" +} \ No newline at end of file diff --git a/backend/config/sync/user-role.authenticated.json b/backend/config/sync/user-role.authenticated.json new file mode 100644 index 0000000..67f002d --- /dev/null +++ b/backend/config/sync/user-role.authenticated.json @@ -0,0 +1,19 @@ +{ + "name": "Authenticated", + "description": "Default role given to authenticated user.", + "type": "authenticated", + "permissions": [ + { + "action": "api::order-item.order-item.increment" + }, + { + "action": "api::order.order.updateNotes" + }, + { + "action": "plugin::users-permissions.auth.changePassword" + }, + { + "action": "plugin::users-permissions.user.me" + } + ] +} \ No newline at end of file diff --git a/backend/config/sync/user-role.public.json b/backend/config/sync/user-role.public.json new file mode 100644 index 0000000..40e41f9 --- /dev/null +++ b/backend/config/sync/user-role.public.json @@ -0,0 +1,31 @@ +{ + "name": "Public", + "description": "Default role given to unauthenticated user.", + "type": "public", + "permissions": [ + { + "action": "api::shop.shop.lastOrder" + }, + { + "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/backend/package.json b/backend/package.json index 53c98b7..2497b16 100644 --- a/backend/package.json +++ b/backend/package.json @@ -23,6 +23,7 @@ "react": "^18.0.0", "react-dom": "^18.0.0", "react-router-dom": "5.3.4", + "strapi-plugin-config-sync": "^1.2.5", "styled-components": "5.3.3" }, "devDependencies": {}, diff --git a/backend/yarn.lock b/backend/yarn.lock index ab7bcfe..a12250a 100644 --- a/backend/yarn.lock +++ b/backend/yarn.lock @@ -280,6 +280,23 @@ source-map "^0.5.7" stylis "4.2.0" +"@emotion/babel-plugin@^11.12.0": + version "11.12.0" + resolved "https://registry.yarnpkg.com/@emotion/babel-plugin/-/babel-plugin-11.12.0.tgz#7b43debb250c313101b3f885eba634f1d723fcc2" + integrity sha512-y2WQb+oP8Jqvvclh8Q55gLUyb7UFvgv7eJfsj7td5TToBrIUtPay2kMrZi4xjq9qw2vD0ZR5fSho0yqoFgX7Rw== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.2" + "@emotion/memoize" "^0.9.0" + "@emotion/serialize" "^1.2.0" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.2.0" + "@emotion/cache@^11.11.0", "@emotion/cache@^11.4.0": version "11.11.0" resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.11.0.tgz" @@ -291,11 +308,38 @@ "@emotion/weak-memoize" "^0.3.1" stylis "4.2.0" +"@emotion/cache@^11.13.0": + version "11.13.1" + resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-11.13.1.tgz#fecfc54d51810beebf05bf2a161271a1a91895d7" + integrity sha512-iqouYkuEblRcXmylXIwwOodiEK5Ifl7JcX7o6V4jI3iW4mLXX3dmt5xwBtIkJiQEXFAI+pC8X0i67yiPkH9Ucw== + dependencies: + "@emotion/memoize" "^0.9.0" + "@emotion/sheet" "^1.4.0" + "@emotion/utils" "^1.4.0" + "@emotion/weak-memoize" "^0.4.0" + stylis "4.2.0" + +"@emotion/css@^11.10.5": + version "11.13.0" + resolved "https://registry.yarnpkg.com/@emotion/css/-/css-11.13.0.tgz#3b44f008ce782dafa7cecff75b263af174d0c702" + integrity sha512-BUk99ylT+YHl+W/HN7nv1RCTkDYmKKqa1qbvM/qLSQEg61gipuBF5Hptk/2/ERmX2DCv0ccuFGhz9i0KSZOqPg== + dependencies: + "@emotion/babel-plugin" "^11.12.0" + "@emotion/cache" "^11.13.0" + "@emotion/serialize" "^1.3.0" + "@emotion/sheet" "^1.4.0" + "@emotion/utils" "^1.4.0" + "@emotion/hash@^0.9.1": version "0.9.1" resolved "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.1.tgz" integrity sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ== +"@emotion/hash@^0.9.2": + version "0.9.2" + resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.9.2.tgz#ff9221b9f58b4dfe61e619a7788734bd63f6898b" + integrity sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g== + "@emotion/is-prop-valid@^0.8.8": version "0.8.8" resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz" @@ -313,6 +357,11 @@ resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.1.tgz" integrity sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA== +"@emotion/memoize@^0.9.0": + version "0.9.0" + resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.9.0.tgz#745969d649977776b43fc7648c556aaa462b4102" + integrity sha512-30FAj7/EoJ5mwVPOWhAyCX+FPfMDrVecJAM+Iw9NRoSl4BBAQeqj4cApHHUXOVvIPgLVDsCFoz/hGD+5QQD1GQ== + "@emotion/react@^11.8.1": version "11.11.4" resolved "https://registry.npmjs.org/@emotion/react/-/react-11.11.4.tgz" @@ -338,11 +387,27 @@ "@emotion/utils" "^1.2.1" csstype "^3.0.2" +"@emotion/serialize@^1.2.0", "@emotion/serialize@^1.3.0": + version "1.3.0" + resolved "https://registry.yarnpkg.com/@emotion/serialize/-/serialize-1.3.0.tgz#e07cadfc967a4e7816e0c3ffaff4c6ce05cb598d" + integrity sha512-jACuBa9SlYajnpIVXB+XOXnfJHyckDfe6fOpORIM6yhBDlqGuExvDdZYHDQGoDf3bZXGv7tNr+LpLjJqiEQ6EA== + dependencies: + "@emotion/hash" "^0.9.2" + "@emotion/memoize" "^0.9.0" + "@emotion/unitless" "^0.9.0" + "@emotion/utils" "^1.4.0" + csstype "^3.0.2" + "@emotion/sheet@^1.2.2": version "1.2.2" resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.2.tgz" integrity sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA== +"@emotion/sheet@^1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-1.4.0.tgz#c9299c34d248bc26e82563735f78953d2efca83c" + integrity sha512-fTBW9/8r2w3dXWYM4HCB1Rdp8NLibOw2+XELH5m5+AkWiL/KqYX6dc0kKYlaYyKjrQ6ds33MCdMPEwgs2z1rqg== + "@emotion/stylis@^0.8.4": version "0.8.5" resolved "https://registry.npmjs.org/@emotion/stylis/-/stylis-0.8.5.tgz" @@ -358,6 +423,11 @@ resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.1.tgz" integrity sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ== +"@emotion/unitless@^0.9.0": + version "0.9.0" + resolved "https://registry.yarnpkg.com/@emotion/unitless/-/unitless-0.9.0.tgz#8e5548f072bd67b8271877e51c0f95c76a66cbe2" + integrity sha512-TP6GgNZtmtFaFcsOgExdnfxLLpRDla4Q66tnenA9CktvVSdNKDvMVuUah4QvWPIpNjrWsGg3qeGo9a43QooGZQ== + "@emotion/use-insertion-effect-with-fallbacks@^1.0.1": version "1.0.1" resolved "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.1.tgz" @@ -368,11 +438,21 @@ resolved "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.1.tgz" integrity sha512-Y2tGf3I+XVnajdItskUCn6LX+VUDmP6lTL4fcqsXAv43dnlbZiuW4MWQW38rW/BVWSE7Q/7+XQocmpnRYILUmg== +"@emotion/utils@^1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@emotion/utils/-/utils-1.4.0.tgz#262f1d02aaedb2ec91c83a0955dd47822ad5fbdd" + integrity sha512-spEnrA1b6hDR/C68lC2M7m6ALPUHZC0lIY7jAS/B/9DuuO1ZP04eov8SMv/6fwRd8pzmsn2AuJEznRREWlQrlQ== + "@emotion/weak-memoize@^0.3.1": version "0.3.1" resolved "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.1.tgz" integrity sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww== +"@emotion/weak-memoize@^0.4.0": + version "0.4.0" + resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.4.0.tgz#5e13fac887f08c44f76b0ccaf3370eb00fec9bb6" + integrity sha512-snKqtPW01tN0ui7yu9rGv69aJXr/a/Ywvl11sUjNtEcRc+ng/mQriFL0wLXMef74iHa/EkftbDzU9F8iFbH+zg== + "@esbuild/aix-ppc64@0.19.11": version "0.19.11" resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.19.11.tgz#2acd20be6d4f0458bc8c784103495ff24f13b1d3" @@ -3079,7 +3159,7 @@ chalk@^1.1.3: strip-ansi "^3.0.0" supports-color "^2.0.0" -chalk@^2.0.1, chalk@^2.4.2: +chalk@^2.0.1, chalk@^2.3.2, chalk@^2.4.2: version "2.4.2" resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -3162,6 +3242,11 @@ class-utils@^0.3.5: isobject "^3.0.0" static-extend "^0.1.1" +classnames@^2.3.1: + version "2.5.1" + resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.5.1.tgz#ba774c614be0f016da105c858e7159eae8e7687b" + integrity sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow== + clean-css@^5.2.2: version "5.3.3" resolved "https://registry.npmjs.org/clean-css/-/clean-css-5.3.3.tgz" @@ -3207,6 +3292,13 @@ cli-table3@0.6.2: optionalDependencies: "@colors/colors" "1.5.0" +cli-table@^0.3.6: + version "0.3.11" + resolved "https://registry.yarnpkg.com/cli-table/-/cli-table-0.3.11.tgz#ac69cdecbe81dccdba4889b9a18b7da312a9d3ee" + integrity sha512-IqLQi4lO0nIB4tcdTpN4LCB9FI3uqrJZK7RC515EnhZ6qBaglkIgICb1wjeAqpdoOabm1+SuQtkXIPdYC93jhQ== + dependencies: + colors "1.0.3" + cli-width@^3.0.0: version "3.0.0" resolved "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz" @@ -3346,6 +3438,11 @@ colorette@2.0.19, colorette@^2.0.10: resolved "https://registry.npmjs.org/colorette/-/colorette-2.0.19.tgz" integrity sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ== +colors@1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/colors/-/colors-1.0.3.tgz#0433f44d809680fdeb60ed260f1b0c262e82a40b" + integrity sha512-pFGrxThWcWQ2MsAz6RtgeWe4NK2kUE1WfsrvvlctdII745EW9I0yflqhe7++M5LEc7bV2c/9/5zc8sFcpL0Drw== + colorspace@1.1.x: version "1.1.4" resolved "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz" @@ -3881,6 +3978,16 @@ detect-node@^2.0.4, detect-node@^2.1.0: resolved "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz" integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g== +diff@^3.5.0: + version "3.5.0" + resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12" + integrity sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA== + +diff@^5.1.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/diff/-/diff-5.2.0.tgz#26ded047cd1179b78b9537d5ef725503ce1ae531" + integrity sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A== + dir-glob@^3.0.1: version "3.0.1" resolved "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz" @@ -4717,6 +4824,17 @@ getopts@2.3.0: resolved "https://registry.npmjs.org/getopts/-/getopts-2.3.0.tgz" integrity sha512-5eDf9fuSXwxBL6q5HX+dhDj+dslFGWzU5thZ9kNKUkcPtaPdatmUFKwHFrLb/uf/WpA4BHET+AX3Scl56cAjpA== +git-diff@^2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/git-diff/-/git-diff-2.0.6.tgz#4a8ece670d64d1f9f4e68191ad8b1013900f6c1e" + integrity sha512-/Iu4prUrydE3Pb3lCBMbcSNIf81tgGt0W1ZwknnyF62t3tHmtiJTRj0f+1ZIhp3+Rh0ktz1pJVoa7ZXUCskivA== + dependencies: + chalk "^2.3.2" + diff "^3.5.0" + loglevel "^1.6.1" + shelljs "^0.8.1" + shelljs.exec "^1.1.7" + git-hooks-list@^3.0.0: version "3.1.0" resolved "https://registry.npmjs.org/git-hooks-list/-/git-hooks-list-3.1.0.tgz" @@ -4754,7 +4872,7 @@ glob-to-regexp@^0.4.1: resolved "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz" integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== -glob@7.2.3, glob@^7.0.5, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: +glob@7.2.3, glob@^7.0.0, glob@^7.0.5, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: version "7.2.3" resolved "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz" integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== @@ -5230,6 +5348,11 @@ immer@^9.0.21: resolved "https://registry.npmjs.org/immer/-/immer-9.0.21.tgz" integrity sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA== +immutable@^3.8.2: + version "3.8.2" + resolved "https://registry.yarnpkg.com/immutable/-/immutable-3.8.2.tgz#c2439951455bb39913daf281376f1530e104adf3" + integrity sha512-15gZoQ38eYjEjxkorfbcgBKBL6R7T459OuK+CpcWt7O3KF4uPCx2tD0uFETlUDIyo+1789crbMhTvQBSR5yBMg== + import-fresh@^3.2.1, import-fresh@^3.3.0: version "3.3.0" resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz" @@ -5331,7 +5454,28 @@ inquirer@^7.1.0: strip-ansi "^6.0.0" through "^2.3.6" -interpret@^1.2.0: +inquirer@^8.2.0: + version "8.2.6" + resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.6.tgz#733b74888195d8d400a67ac332011b5fae5ea562" + integrity sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg== + dependencies: + ansi-escapes "^4.2.1" + chalk "^4.1.1" + cli-cursor "^3.1.0" + cli-width "^3.0.0" + external-editor "^3.0.3" + figures "^3.0.0" + lodash "^4.17.21" + mute-stream "0.0.8" + ora "^5.4.1" + run-async "^2.4.0" + rxjs "^7.5.5" + string-width "^4.1.0" + strip-ansi "^6.0.0" + through "^2.3.6" + wrap-ansi "^6.0.1" + +interpret@^1.0.0, interpret@^1.2.0: version "1.4.0" resolved "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz" integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== @@ -6173,6 +6317,11 @@ logform@^2.3.2, logform@^2.4.0: safe-stable-stringify "^2.3.1" triple-beam "^1.3.0" +loglevel@^1.6.1: + version "1.9.1" + resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.9.1.tgz#d63976ac9bcd03c7c873116d41c2a85bafff1be7" + integrity sha512-hP3I3kCrDIMuRwAwHltphhDM1r8i55H33GgqjXbrisuJhF4kRhW1dNuxsRklp4bXl8DSdLaNLuiL4A/LWRfxvg== + long-timeout@0.1.1: version "0.1.1" resolved "https://registry.npmjs.org/long-timeout/-/long-timeout-0.1.1.tgz" @@ -7572,6 +7721,17 @@ rc@1.2.8, rc@^1.2.7, rc@^1.2.8: minimist "^1.2.0" strip-json-comments "~2.0.1" +react-diff-viewer-continued@3.2.6: + version "3.2.6" + resolved "https://registry.yarnpkg.com/react-diff-viewer-continued/-/react-diff-viewer-continued-3.2.6.tgz#96382463b5de6838d95323c407442349b1c3a26e" + integrity sha512-GrzyqQnjIMoej+jMjWvtVSsQqhXgzEGqpXlJ2dAGfOk7Q26qcm8Gu6xtI430PBUyZsERe8BJSQf+7VZZo8IBNQ== + dependencies: + "@emotion/css" "^11.10.5" + classnames "^2.3.1" + diff "^5.1.0" + memoize-one "^6.0.0" + prop-types "^15.8.1" + react-dnd-html5-backend@16.0.1: version "16.0.1" resolved "https://registry.npmjs.org/react-dnd-html5-backend/-/react-dnd-html5-backend-16.0.1.tgz" @@ -7861,7 +8021,12 @@ rechoir@^0.8.0: dependencies: resolve "^1.20.0" -redux-thunk@^2.4.2: +redux-immutable@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/redux-immutable/-/redux-immutable-4.0.0.tgz#3a1a32df66366462b63691f0e1dc35e472bbc9f3" + integrity sha512-SchSn/DWfGb3oAejd+1hhHx01xUoxY+V7TeK0BKqpkLKiQPVFf7DYzEaKmrEVxsWxielKfSK9/Xq66YyxgR1cg== + +redux-thunk@^2.3.0, redux-thunk@^2.4.2: version "2.4.2" resolved "https://registry.npmjs.org/redux-thunk/-/redux-thunk-2.4.2.tgz" integrity sha512-+P3TjtnP0k/FEjcBL5FZpoovtvrTNT/UXd4/sluaSyrURlSlhLSzEdfsTBW7WsKB6yPvgd7q/iZPICFjW4o57Q== @@ -8325,6 +8490,20 @@ shell-quote@^1.8.1: resolved "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.1.tgz" integrity sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA== +shelljs.exec@^1.1.7: + version "1.1.8" + resolved "https://registry.yarnpkg.com/shelljs.exec/-/shelljs.exec-1.1.8.tgz#6f3c8dd017cb96d2dea82e712b758eab4fc2f68c" + integrity sha512-vFILCw+lzUtiwBAHV8/Ex8JsFjelFMdhONIsgKNLgTzeRckp2AOYRQtHJE/9LhNvdMmE27AGtzWx0+DHpwIwSw== + +shelljs@^0.8.1: + version "0.8.5" + resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.5.tgz#de055408d8361bed66c669d2f000538ced8ee20c" + integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow== + dependencies: + glob "^7.0.0" + interpret "^1.0.0" + rechoir "^0.6.2" + side-channel@^1.0.4, side-channel@^1.0.6: version "1.0.6" resolved "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz" @@ -8618,6 +8797,21 @@ statuses@2.0.1, statuses@^2.0.1: resolved "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz" integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== +strapi-plugin-config-sync@^1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/strapi-plugin-config-sync/-/strapi-plugin-config-sync-1.2.5.tgz#c76ca8a0f626b9ef25643c2eeed8b32a937f8dd4" + integrity sha512-1A3v7FJ0SUdZtU9NzK17duYlzgFhoGCmbJj3lfbAAkyPvT3nu2nDdJp1H0jLAa+jpKokyDKdbPnVt5tD8OKNVw== + dependencies: + chalk "^4.1.2" + cli-table "^0.3.6" + commander "^8.3.0" + git-diff "^2.0.6" + immutable "^3.8.2" + inquirer "^8.2.0" + react-diff-viewer-continued "3.2.6" + redux-immutable "^4.0.0" + redux-thunk "^2.3.0" + stream-chain@2.2.5, stream-chain@^2.2.5: version "2.2.5" resolved "https://registry.npmjs.org/stream-chain/-/stream-chain-2.2.5.tgz" @@ -9476,6 +9670,15 @@ wordwrap@^1.0.0: resolved "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz" integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q== +wrap-ansi@^6.0.1: + version "6.2.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" + integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz"