Device type query cleanup and several query fixes.
0) Isolate some queries for the device types. Clean up the old device type helper. 1) Add ability to query for device type clusters. 2) Fix a loading issue and several query issues 3) Move device type queries to proper location. Access device type subentities, and fix a loading bug. https://github.com/project-chip/zap/issues/472 - There were no helpers earlier that would allow access to clusters and attribute/command overrides in the device lists. Now there are. - There was a loading bug that didn't link the DEVICE_TYPE_ATTRIBUTE and DEVICE_TYPE_COMMAND properly back to ATTRIBUTE and COMMAND tables. 4) Add reasonable ORDER BY to a query. https://github.com/project-chip/zap/issues/494 5) Add ORDER BY to a query. https://github.com/project-chip/zap/issues/497 6) Properly convert database booleans into JS bools. https://github.com/project-chip/zap/issues/496
显示
- package-lock.json 36356 个添加, 7 个删除package-lock.json
- package.json 1 个添加, 1 个删除package.json
- src-electron/db/db-mapping.js 6 个添加, 2 个删除src-electron/db/db-mapping.js
- src-electron/db/query-command.js 4 个添加, 2 个删除src-electron/db/query-command.js
- src-electron/db/query-config.js 8 个添加, 4 个删除src-electron/db/query-config.js
- src-electron/db/query-device-type.js 324 个添加, 0 个删除src-electron/db/query-device-type.js
- src-electron/db/query-endpoint-type.js 7 个添加, 4 个删除src-electron/db/query-endpoint-type.js
- src-electron/db/query-endpoint.js 11 个添加, 11 个删除src-electron/db/query-endpoint.js
- src-electron/db/query-zcl.js 0 个添加, 276 个删除src-electron/db/query-zcl.js
- src-electron/generator/helper-endpointconfig.js 1 个添加, 2 个删除src-electron/generator/helper-endpointconfig.js
- src-electron/generator/helper-zcl.js 61 个添加, 11 个删除src-electron/generator/helper-zcl.js
- src-electron/importexport/import-isc.js 13 个添加, 12 个删除src-electron/importexport/import-isc.js
- src-electron/rest/static-zcl.js 13 个添加, 12 个删除src-electron/rest/static-zcl.js
- src-electron/zcl/zcl-loader-silabs.js 14 个添加, 13 个删除src-electron/zcl/zcl-loader-silabs.js
- src-electron/zcl/zcl-loader.js 9 个添加, 8 个删除src-electron/zcl/zcl-loader.js
- test/custom-cluster.test.js 2 个添加, 2 个删除test/custom-cluster.test.js
- test/gen-matter.test.js 7 个添加, 0 个删除test/gen-matter.test.js
- test/gen-template/matter/device-types.zapt 18 个添加, 0 个删除test/gen-template/matter/device-types.zapt
- test/gen-template/matter/gen-test.json 5 个添加, 0 个删除test/gen-template/matter/gen-test.json
- test/query.test.js 2 个添加, 1 个删除test/query.test.js
加载中
想要评论请 注册 或 登录