From 2267ada7d63d610d2c4b2d1666f5c15acf0fced4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Tue, 11 Apr 2023 23:38:21 +0200 Subject: [PATCH] #782: add fields isInherited and restriction to templating --- lib/metadataTypes/definitions/MobileKeyword.definition.js | 4 ++-- test/resources/9999999/mobileKeyword/build-expected.json | 4 +++- test/resources/9999999/mobileKeyword/template-expected.json | 4 +++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/metadataTypes/definitions/MobileKeyword.definition.js b/lib/metadataTypes/definitions/MobileKeyword.definition.js index aac1620d5..8cded3bf9 100644 --- a/lib/metadataTypes/definitions/MobileKeyword.definition.js +++ b/lib/metadataTypes/definitions/MobileKeyword.definition.js @@ -86,7 +86,7 @@ module.exports = { isCreateable: false, isUpdateable: true, retrieving: true, - template: false, + template: true, }, decodedId: { // GUID format (4b5dece6-c042-45a4-b7c2-d67e032ff3cb). unsure what this is used for @@ -99,7 +99,7 @@ module.exports = { isCreateable: true, isUpdateable: true, retrieving: true, - template: false, + template: true, }, keywordType: { isCreateable: true, diff --git a/test/resources/9999999/mobileKeyword/build-expected.json b/test/resources/9999999/mobileKeyword/build-expected.json index 09008d938..6081a4950 100644 --- a/test/resources/9999999/mobileKeyword/build-expected.json +++ b/test/resources/9999999/mobileKeyword/build-expected.json @@ -3,5 +3,7 @@ "code": "4912312345678" }, "keyword": "testExisting_keyword", - "keywordType": "NORMAL" + "keywordType": "NORMAL", + "isInherited": false, + "restriction": "NONE" } diff --git a/test/resources/9999999/mobileKeyword/template-expected.json b/test/resources/9999999/mobileKeyword/template-expected.json index 09008d938..6081a4950 100644 --- a/test/resources/9999999/mobileKeyword/template-expected.json +++ b/test/resources/9999999/mobileKeyword/template-expected.json @@ -3,5 +3,7 @@ "code": "4912312345678" }, "keyword": "testExisting_keyword", - "keywordType": "NORMAL" + "keywordType": "NORMAL", + "isInherited": false, + "restriction": "NONE" }