diff --git a/module/js/integrations/IntegrationBase.js b/module/js/integrations/IntegrationBase.js index 561c90b..6800ae8 100644 --- a/module/js/integrations/IntegrationBase.js +++ b/module/js/integrations/IntegrationBase.js @@ -120,6 +120,8 @@ export class IntegrationBase { if (!Object.keys(json).length) return null; // Implicitly override SRD effects if an integration has effects, as we assume they bring their own if (json.effects?.length) json.ignoreSrdEffects = true; + // Ditto for activities + if (Object.keys(json.system?.activities || {}).length) json.ignoreSrdActivities = true; return json; } } diff --git a/test/schema/shared.json b/test/schema/shared.json index e0f991e..baa96e5 100644 --- a/test/schema/shared.json +++ b/test/schema/shared.json @@ -1,7 +1,7 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "shared.json", - "version": "0.7.2", + "version": "0.7.3", "$defs": { "schema": { @@ -227,6 +227,7 @@ "additionalProperties": false }, + "ignoreSrdActivities": {"type": "boolean"}, "ignoreSrdEffects": {"type": "boolean"}, "_merge": {