Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2025-06-25T11:55:58.705Z\n"
"PO-Revision-Date: 2025-06-25T11:55:58.705Z\n"
"POT-Creation-Date: 2025-07-29T11:53:44.041Z\n"
"PO-Revision-Date: 2025-07-29T11:53:44.041Z\n"

msgid ""
"THIS NEW RELEASE INCLUDES SHARING SETTINGS PER INSTANCES. FOR THIS VERSION "
Expand Down Expand Up @@ -1467,12 +1467,18 @@ msgstr ""
msgid "Exclude relationships"
msgstr ""

msgid "Configure user dependencies"
msgstr ""

msgid "Include owner and sharing settings"
msgstr ""

msgid "Include users"
msgstr ""

msgid "Configure organisation units dependencies"
msgstr ""

msgid "Include organisation units"
msgstr ""

Expand All @@ -1481,16 +1487,10 @@ msgid ""
"categoryOptionCombos"
msgstr ""

msgid "Remove lastUpdated, lastUpdatedBy, created and createdBys"
msgstr ""

msgid "Exclude objects and references ->"
msgstr ""

msgid "Include objects"
msgid "Exclude dependencies"
msgstr ""

msgid "Include only references ->"
msgid "Include dependencies"
msgstr ""

msgid "Include references and objects"
Expand Down
18 changes: 9 additions & 9 deletions i18n/es.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: i18next-conv\n"
"POT-Creation-Date: 2025-06-25T11:55:58.705Z\n"
"POT-Creation-Date: 2025-07-23T12:43:24.019Z\n"
"PO-Revision-Date: 2020-07-10T06:53:30.625Z\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -1471,12 +1471,18 @@ msgstr ""
msgid "Exclude relationships"
msgstr ""

msgid "Configure user dependencies"
msgstr ""

msgid "Include owner and sharing settings"
msgstr ""

msgid "Include users"
msgstr ""

msgid "Configure organisation units dependencies"
msgstr ""

msgid "Include organisation units"
msgstr ""

Expand All @@ -1485,16 +1491,10 @@ msgid ""
"categoryOptionCombos"
msgstr ""

msgid "Remove lastUpdated, lastUpdatedBy, created and createdBys"
msgstr ""

msgid "Exclude objects and references ->"
msgstr ""

msgid "Include objects"
msgid "Exclude dependencies"
msgstr ""

msgid "Include only references ->"
msgid "Include dependencies"
msgstr ""

msgid "Include references and objects"
Expand Down
18 changes: 9 additions & 9 deletions i18n/fr.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: i18next-conv\n"
"POT-Creation-Date: 2025-06-25T11:55:58.705Z\n"
"POT-Creation-Date: 2025-07-23T12:43:24.019Z\n"
"PO-Revision-Date: 2020-07-10T06:53:30.625Z\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -1471,12 +1471,18 @@ msgstr ""
msgid "Exclude relationships"
msgstr ""

msgid "Configure user dependencies"
msgstr ""

msgid "Include owner and sharing settings"
msgstr ""

msgid "Include users"
msgstr ""

msgid "Configure organisation units dependencies"
msgstr ""

msgid "Include organisation units"
msgstr ""

Expand All @@ -1485,16 +1491,10 @@ msgid ""
"categoryOptionCombos"
msgstr ""

msgid "Remove lastUpdated, lastUpdatedBy, created and createdBys"
msgstr ""

msgid "Exclude objects and references ->"
msgstr ""

msgid "Include objects"
msgid "Exclude dependencies"
msgstr ""

msgid "Include only references ->"
msgid "Include dependencies"
msgstr ""

msgid "Include references and objects"
Expand Down
18 changes: 9 additions & 9 deletions i18n/pt.po
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: i18next-conv\n"
"POT-Creation-Date: 2025-06-25T11:55:58.705Z\n"
"POT-Creation-Date: 2025-07-23T12:43:24.019Z\n"
"PO-Revision-Date: 2020-07-10T06:53:30.625Z\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -1471,12 +1471,18 @@ msgstr ""
msgid "Exclude relationships"
msgstr ""

msgid "Configure user dependencies"
msgstr ""

msgid "Include owner and sharing settings"
msgstr ""

msgid "Include users"
msgstr ""

msgid "Configure organisation units dependencies"
msgstr ""

msgid "Include organisation units"
msgstr ""

Expand All @@ -1485,16 +1491,10 @@ msgid ""
"categoryOptionCombos"
msgstr ""

msgid "Remove lastUpdated, lastUpdatedBy, created and createdBys"
msgstr ""

msgid "Exclude objects and references ->"
msgstr ""

msgid "Include objects"
msgid "Exclude dependencies"
msgstr ""

msgid "Include only references ->"
msgid "Include dependencies"
msgstr ""

msgid "Include references and objects"
Expand Down
24 changes: 15 additions & 9 deletions src/domain/rules/entities/SynchronizationRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,21 @@ export class SynchronizationRule {

public get syncParams(): MetadataSynchronizationParams {
const params = this.syncRule.builder?.syncParams ?? {};
return {
...SynchronizationRule.syncParamsDefaults,
...params,
};
}

public get dataParams(): DataSynchronizationParams {
return this.syncRule.builder?.dataParams ?? {};
}

public get ondemand(): boolean {
return this.syncRule.ondemand ?? false;
}

public static get syncParamsDefaults(): MetadataSynchronizationParams {
return {
enableMapping: false,
useDefaultIncludeExclude: true,
Expand All @@ -252,18 +267,9 @@ export class SynchronizationRule {
includeOnlyOrgUnitsReferences: false,
removeDefaultCategoryObjects: false,
removeUserNonEssentialObjects: false,
...params,
};
}

public get dataParams(): DataSynchronizationParams {
return this.syncRule.builder?.dataParams ?? {};
}

public get ondemand(): boolean {
return this.syncRule.ondemand ?? false;
}

public static create(type: SynchronizationType = "metadata"): SynchronizationRule {
return new SynchronizationRule({
id: "",
Expand Down
Loading