From 9e287a741404a640eaf31c663cb8a88eda5cbd7f Mon Sep 17 00:00:00 2001 From: Milena Czierlinski Date: Tue, 7 Jan 2025 16:56:07 +0100 Subject: [PATCH] fix: remove owner from ProposeAttributeRequestItemConfig --- packages/runtime/src/modules/decide/RequestConfig.ts | 2 -- packages/runtime/test/modules/DeciderModule.test.ts | 1 - 2 files changed, 3 deletions(-) diff --git a/packages/runtime/src/modules/decide/RequestConfig.ts b/packages/runtime/src/modules/decide/RequestConfig.ts index 500ad6c56..67d2f5aac 100644 --- a/packages/runtime/src/modules/decide/RequestConfig.ts +++ b/packages/runtime/src/modules/decide/RequestConfig.ts @@ -56,7 +56,6 @@ export interface FreeTextRequestItemConfig extends RequestItemConfig { export interface ProposeAttributeRequestItemConfig extends RequestItemConfig { "content.item.@type": "ProposeAttributeRequestItem"; "content.item.attribute.@type"?: "IdentityAttribute" | "RelationshipAttribute"; - "content.item.attribute.owner"?: string | string[]; "content.item.attribute.validFrom"?: string | string[]; "content.item.attribute.validTo"?: string | string[]; "content.item.attribute.tags"?: string[]; @@ -73,7 +72,6 @@ export interface ProposeAttributeRequestItemConfig extends RequestItemConfig { "content.item.query.valueType"?: string | string[]; "content.item.query.tags"?: string[]; "content.item.query.key"?: string | string[]; - "content.item.query.owner"?: string | string[]; "content.item.query.queryString"?: string | string[]; "content.item.query.attributeCreationHints.title"?: string | string[]; "content.item.query.attributeCreationHints.description"?: string | string[]; diff --git a/packages/runtime/test/modules/DeciderModule.test.ts b/packages/runtime/test/modules/DeciderModule.test.ts index 2ad609966..7bca24eee 100644 --- a/packages/runtime/test/modules/DeciderModule.test.ts +++ b/packages/runtime/test/modules/DeciderModule.test.ts @@ -1466,7 +1466,6 @@ describe("DeciderModule", () => { requestConfig: { "content.item.@type": "ProposeAttributeRequestItem", "content.item.attribute.@type": "RelationshipAttribute", - "content.item.attribute.owner": "", "content.item.attribute.validFrom": attributeValidFrom, "content.item.attribute.validTo": attributeValidTo, "content.item.attribute.key": "A key",