Currently, I have business rules that can execute on an SN Instance that will generate the "Typescript definition" files from the script include code dynamically. However, this has the downside of confusing SN Certifiers (For reading Script includes table)...
Going to consider moving ALL of that functionality for script includes / table definitions to be something that happens with SNICH when it connects to an instance and pulls down stuff, tables, script includes, etc.
Adding some additional notes, regarding solutioning.
Consider caching the "Record count" and last modified date in sys dictionary, sys_db_object, sys_script_include, and check that on each "load record / load all files" to see if we need to pull the new stuff down or not, while it is an extra API Call every time, it's going to be very fast / minimal.
Currently, I have business rules that can execute on an SN Instance that will generate the "Typescript definition" files from the script include code dynamically. However, this has the downside of confusing SN Certifiers (For reading Script includes table)...
Going to consider moving ALL of that functionality for script includes / table definitions to be something that happens with SNICH when it connects to an instance and pulls down stuff, tables, script includes, etc.
Adding some additional notes, regarding solutioning. Consider caching the "Record count" and last modified date in sys dictionary, sys_db_object, sys_script_include, and check that on each "load record / load all files" to see if we need to pull the new stuff down or not, while it is an extra API Call every time, it's going to be very fast / minimal.