@sensinum/strapi-plugin-multi-domain 5.3.2 → 5.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/README.md +23 -0
  2. package/dist/admin/{About-DfCon-RP.mjs → About--uEAqLIX.mjs} +3 -3
  3. package/dist/admin/{About-DfcPwQ3q.js → About-CpMJJUxU.js} +1 -1
  4. package/dist/admin/{Settings-tt-Wetcr.js → Settings-SyBK2mXN.js} +1 -1
  5. package/dist/admin/{Settings-Dj3h2ayB.mjs → Settings-yCKWEkTW.mjs} +2 -2
  6. package/dist/admin/{TenantCustomField-Bf6uUoKE.js → TenantCustomField-DLQLr0HX.js} +1 -1
  7. package/dist/admin/{TenantCustomField-CS8x0CkO.mjs → TenantCustomField-zLI8HKGa.mjs} +1 -1
  8. package/dist/admin/{TenantEdit-BY_7PPAr.mjs → TenantEdit-Bhpv-xqt.mjs} +4 -4
  9. package/dist/admin/{TenantEdit-BT3-tB_B.js → TenantEdit-DUZWciyV.js} +1 -1
  10. package/dist/admin/{TenantList-DrfJNPpi.js → TenantList-Cs5Agguv.js} +1 -1
  11. package/dist/admin/{TenantList-dIxGcZPl.mjs → TenantList-DFa4aJ9w.mjs} +4 -4
  12. package/dist/admin/{index-Cci_046h.js → index-B7hXre99.js} +1 -1
  13. package/dist/admin/{index-Doprxev-.mjs → index-CSqflswp.mjs} +1 -1
  14. package/dist/admin/{index-7tHbI_K_.mjs → index-ChZO7NH2.mjs} +4 -4
  15. package/dist/admin/{index-oNXgzV7S.js → index-DjpG-ImS.js} +1 -1
  16. package/dist/admin/index.js +1 -1
  17. package/dist/admin/index.mjs +1 -1
  18. package/dist/admin/useGetMessage-C-9R7SfL.js +1 -0
  19. package/dist/admin/{useGetMessage-CTdHvgbI.mjs → useGetMessage-CToHlpPZ.mjs} +1 -1
  20. package/dist/admin/{useSettings-bLTyn7Pl.mjs → useSettings-FYcMKMRt.mjs} +1 -1
  21. package/dist/admin/{useSettings-C7vR1hfw.js → useSettings-Rpo2aG-K.js} +1 -1
  22. package/dist/admin/{useTenants-vVkOIEvT.js → useTenants-BU_qERzP.js} +1 -1
  23. package/dist/admin/{useTenants-Da8khjOe.mjs → useTenants-CmlcxJMg.mjs} +2 -2
  24. package/dist/server/index.js +3 -4
  25. package/dist/server/index.mjs +3706 -3311
  26. package/package.json +1 -1
  27. package/dist/admin/useGetMessage-DS88gOrN.js +0 -1
package/README.md CHANGED
@@ -259,6 +259,7 @@ This plugin provides domain-scoped data isolation for the following third-party
259
259
  - [strapi-plugin-navigation](https://github.com/VirtusLab-Open-Source/strapi-plugin-navigation)
260
260
  - [strapi-plugin-comments](https://github.com/VirtusLab-Open-Source/strapi-plugin-comments)
261
261
  - [strapi-plugin-reactions](https://github.com/VirtusLab-Open-Source/strapi-plugin-reactions)
262
+ - [strapi-plugin-cross-environment-content-promotion](https://github.com/VirtusLab-Open-Source/strapi-plugin-cross-environment-content-promotion) (XECP)
262
263
 
263
264
  ### strapi-plugin-navigation
264
265
 
@@ -284,6 +285,28 @@ X-Author-Authorization: Bearer <users-permissions-jwt>
284
285
 
285
286
  This header is processed on reaction endpoints: listing, creating, deleting, and toggling reactions. If the token is valid, the resolved Strapi user is set as the reaction author. The reactions plugin also supports its own `X-Reactions-Author` header for custom (non-Strapi) users. When `X-Reactions-Author` is present, `X-Author-Authorization` is ignored — custom author identification takes precedence.
286
287
 
288
+ ### strapi-plugin-cross-environment-content-promotion (XECP)
289
+
290
+ When XECP is installed alongside multi-domain, the integration activates automatically, no extra multi-domain configuration is needed.
291
+ Sync jobs, entity snapshots, and XECP operations are scoped to the **domain selected in the admin panel**, the same way Content Manager entries are created. Choose a real domain before using XECP operations from the Super Admin domain are blocked.
292
+ The sync queue is **shared across the whole instance**: only one job runs at a time, but each domain can queue its own jobs including the same content type on different domains. When a sync finishes, the next queued job from any domain is picked up automatically. Cancel and resume apply only to jobs that belong to your current domain.
293
+
294
+ **Required XECP configuration**
295
+ Domain records are local to each environment and must not be promoted or synced like regular content. Add your domain content-type UID to XECP `nonPromotableContentTypes` (default: `plugin::multi-domain.domain`). If you customized `shared/pluginIds.ts` or the plugin name in `package.json`, use the matching UID `plugin::<pluginId>.<modelId>`.
296
+
297
+ ```javascript
298
+ // config/plugins.js
299
+ module.exports = {
300
+ 'strapi-plugin-cross-environment-content-promotion': {
301
+ enabled: true,
302
+ config: {
303
+ // encryptionKey, contentTypes, remoteUrl, ...
304
+ nonPromotableContentTypes: ['plugin::multi-domain.domain'],
305
+ },
306
+ },
307
+ };
308
+ ```
309
+
287
310
  ## 📝 License
288
311
 
289
312
  All rights reserved. Copyright (c) [VirtusLab Ltd](https://virtuslab.com/).
@@ -3,9 +3,9 @@ import { Page as l, Layouts as a } from "@strapi/admin/strapi-admin";
3
3
  import { Typography as A, Flex as n, Divider as g, Box as D, ProgressBar as h, Link as X } from "@strapi/design-system";
4
4
  import { useMemo as j } from "react";
5
5
  import H from "styled-components";
6
- import { p as P, a as z } from "./index-7tHbI_K_.mjs";
7
- import { u as C } from "./useGetMessage-CTdHvgbI.mjs";
8
- import { u as m } from "./useSettings-bLTyn7Pl.mjs";
6
+ import { p as P, a as z } from "./index-ChZO7NH2.mjs";
7
+ import { u as C } from "./useGetMessage-CToHlpPZ.mjs";
8
+ import { u as m } from "./useSettings-FYcMKMRt.mjs";
9
9
  import { Q as x } from "./QueryProvider-oO97LaUB.mjs";
10
10
  const R = () => /* @__PURE__ */ d("svg", { width: "19", height: "15", viewBox: "0 0 19 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ d(
11
11
  "path",