ioBroker / dev-docs

Developer documentation
5 stars 4 forks source link

How to use JSON Config for admin configuration #23

Open UncleSamSwiss opened 2 years ago

UncleSamSwiss commented 2 years ago

Schema: https://github.com/ioBroker/ioBroker.admin/blob/master/src-rx/src/components/JsonConfigComponent/SCHEMA.md

Example from ioBroker.sayit:

foxriver76 commented 2 years ago

https://github.com/ioBroker/adapter-react/blob/master/schemas/jsonConfig.json

UncleSamSwiss commented 2 years ago

https://github.com/ioBroker/adapter-react/blob/master/schemas/jsonConfig.json

@foxriver76 It is only little bit confusing that the schema is in one repository but the classes (and the documentation) are in another ;-). What's the reason for this?

foxriver76 commented 2 years ago

idk, I was just asked to write the schema and place it there

@Apollon77

mcm1957 commented 2 years ago

Please note that repo adapter-react seems to be obsolete and replaced by adapter-reac-v5:

https://github.com/ioBroker/adapter-react/blob/master/README.md

mcm1957 commented 1 year ago

Directory src-rx within ioBroker.admin has been renames to src. So the SCHMA.MD is now located at

https://github.com/ioBroker/ioBroker.admin/blob/master/src/src/components/JsonConfigComponent/SCHEMA.md