Skip to main content

ROUTE_FILES

Constant ROUTE_FILES 

Source
pub const ROUTE_FILES: &[(&str, &str)];
Expand description

The always-on deploy set: (zip_member_path, contents) pairs.

Member paths are forward-slash zip paths in the Designer-native layout the gateway import expects (project.json at the root, route folders under com.inductiveautomation.webdev/resources/cli/<route>/). The 13 members are project.json plus four route folders — tags, tagConfig, alarms, tagHistory — times three files each (resource.json, config.json, doPost.py).