Skip to content
代码片段 群组 项目
提交 304687be 编辑于 作者: Timotej Ecimovic's avatar Timotej Ecimovic
浏览文件

Proper categorization.

上级 4fde0f8d
No related branches found
No related tags found
无相关合并请求
...@@ -35,7 +35,7 @@ function createDeviceTypeComponent(deviceType) { ...@@ -35,7 +35,7 @@ function createDeviceTypeComponent(deviceType) {
label: deviceType.label, label: deviceType.label,
description: deviceType.caption, description: deviceType.caption,
package: 'Zigbee', package: 'Zigbee',
category: 'Zigbee', category: 'Zigbee|Zigbee Cluster Library|Device Type',
quality: 'production', quality: 'production',
} }
} }
...@@ -43,11 +43,10 @@ function createDeviceTypeComponent(deviceType) { ...@@ -43,11 +43,10 @@ function createDeviceTypeComponent(deviceType) {
function createClusterDefComponent(cluster) { function createClusterDefComponent(cluster) {
return { return {
id: 'zcl_cluster_' + cleanse(cluster.label) + '_def', id: 'zcl_cluster_' + cleanse(cluster.label) + '_def',
label: cluster.label + ' definition', label: cluster.label,
description: description: cluster.caption,
'This component provides definition for the cluster.\n' + cluster.caption,
package: 'Zigbee', package: 'Zigbee',
category: 'Zigbee', category: 'Zigbee|Zigbee Cluster Library|Configuration',
quality: 'production', quality: 'production',
} }
} }
...@@ -55,12 +54,10 @@ function createClusterDefComponent(cluster) { ...@@ -55,12 +54,10 @@ function createClusterDefComponent(cluster) {
function createClusterImpComponent(cluster) { function createClusterImpComponent(cluster) {
return { return {
id: 'zcl_cluster_' + cleanse(cluster.label) + '_imp', id: 'zcl_cluster_' + cleanse(cluster.label) + '_imp',
label: cluster.label + ' implementation', label: cluster.label,
description: description: cluster.caption,
'This component provides implementation for the cluster.\n' +
cluster.caption,
package: 'Zigbee', package: 'Zigbee',
category: 'Zigbee', category: 'Zigbee|Zigbee Cluster Library|Implementation',
quality: 'production', quality: 'production',
} }
} }
......
...@@ -11,11 +11,13 @@ import { ...@@ -11,11 +11,13 @@ import {
schemaFile, schemaFile,
sqliteTestFile, sqliteTestFile,
appDirectory, appDirectory,
logError,
} from '../src-electron/util/env' } from '../src-electron/util/env'
import { runSdkGeneration } from '../src-electron/sdk-gen/sdk-gen' import { runSdkGeneration } from '../src-electron/sdk-gen/sdk-gen'
import { loadZcl } from '../src-electron/zcl/zcl-loader' import { loadZcl } from '../src-electron/zcl/zcl-loader'
import { zclPropertiesFile } from '../src-electron/main-process/args' import { zclPropertiesFile } from '../src-electron/main-process/args'
import { selectAllClusters } from '../src-electron/db/query-zcl' import { selectAllClusters } from '../src-electron/db/query-zcl'
import { resolve } from 'dns'
/* /*
* Created Date: Friday, March 13th 2020, 7:44:12 pm * Created Date: Friday, March 13th 2020, 7:44:12 pm
...@@ -25,7 +27,6 @@ import { selectAllClusters } from '../src-electron/db/query-zcl' ...@@ -25,7 +27,6 @@ import { selectAllClusters } from '../src-electron/db/query-zcl'
*/ */
var db var db
var sid
beforeAll(() => { beforeAll(() => {
var file = sqliteTestFile(4) var file = sqliteTestFile(4)
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册