Maagan-Michael / net-n

Micro ISP management system
https://maagan-michael.github.io/net-n/
MIT License
1 stars 2 forks source link

[syncModule]: draft for V1.0.0 #9

Open nathanschwarz opened 1 year ago

nathanschwarz commented 1 year ago
nathanschwarz commented 1 year ago

@yarons what happens if the connection.autoUpdate === false but the customer was removed from the source database. Should we remove and disable both the connection and the user ? Or should we ignore this and throw a warning / error in the logs ?

nathanschwarz commented 1 year ago

@yarons also what should happens if the customer address changes ? Should we disable the connection ?

nathanschwarz commented 11 months ago

@yarons I added html code autogenerated documentation for the syncModule here : backend/syncModule/pdoc it was generated with pydoc3 but its not perfect, part of the text is not formatted correctly (lists) and pydantic.Field.description are not detected. It was a very very fast solution, but you should be able to do more precise documentation later on with sphynx or else.

yarons commented 11 months ago

We're already using MkDocs so Markdown is great for us, we'll just generate the GitHub Pages accordingly.