Skip to content

Commit 15f96c4

Browse files
authored
Ensure db mapping aliases commandName for commands (template compatibility) and that commands by cluster contain response names (#981)
1 parent 5635616 commit 15f96c4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src-electron/db/db-mapping.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ exports.map = {
164164
manufacturerCode: x.MANUFACTURER_CODE,
165165
label: x.NAME,
166166
name: x.NAME,
167+
commandName: x.NAME,
167168
description: x.DESCRIPTION,
168169
source: x.SOURCE,
169170
isOptional: dbApi.fromDbBool(x.IS_OPTIONAL),

src-electron/db/query-command.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1219,7 +1219,8 @@ SELECT
12191219
SOURCE,
12201220
IS_OPTIONAL,
12211221
MUST_USE_TIMED_INVOKE,
1222-
IS_FABRIC_SCOPED
1222+
IS_FABRIC_SCOPED,
1223+
RESPONSE_NAME
12231224
FROM COMMAND
12241225
WHERE
12251226
CLUSTER_REF = ?

0 commit comments

Comments
 (0)