"use strict"; // One entry per interface that is described in full: the page its examples were saved from (test/helpers/fixtures.js) // and declarations that give capability objects of those examples. // // namespace the interface // page the page of the interface; test/fixtures/alexa-docs// has its examples // declared [{ options, as: [example, n] }]: device.add(descriptor, options) gives the n-th capability object of // the interface in that discovery example (n counts from 0 and defaults to it) // // test/registry/descriptors.test.js and test/device/discovery.test.js run the entries. The first one fails for a // descriptor of tier 1 or 2 that has no entry. const reported = { retrievable: true, proactivelyReported: true }; module.exports = [ { namespace: "Alexa", page: "alexa-interface", declared: [{ options: {}, as: ["discovery"] }] }, { namespace: "Alexa.BrightnessController", page: "alexa-brightnesscontroller", declared: [{ options: reported, as: ["discovery"] }] }, { namespace: "Alexa.EndpointHealth", page: "alexa-endpointhealth", declared: [{ options: reported, as: ["discovery"] }] }, { namespace: "Alexa.PowerController", page: "alexa-powercontroller", declared: [{ options: reported, as: ["discovery"] }] }, { namespace: "Alexa.TemperatureSensor", page: "alexa-temperaturesensor", declared: [{ options: reported, as: ["discovery"] }] }, ];