// Dawnline — rpcd backend for the LuCI admin UI (ubus object luci.dawnline). // // The methods live in dawnline.rpc.* by page: status (Overview, activity), // servers, people (and their devices), settings, home (services, circles), // maint (Diagnostics, backups, removal) and updates (Components). Each module // exports `methods` as { name: { args, call } }; read-only users get the // methods listed under "read" in acl.d/luci-app-dawnline.json. 'use strict'; import * as status from 'dawnline.rpc.status'; import * as servers from 'dawnline.rpc.servers'; import * as people from 'dawnline.rpc.people'; import * as settings from 'dawnline.rpc.settings'; import * as home from 'dawnline.rpc.home'; import * as maint from 'dawnline.rpc.maint'; import * as updates from 'dawnline.rpc.updates'; return { 'luci.dawnline': { ...status.methods, ...servers.methods, ...people.methods, ...settings.methods, ...home.methods, ...maint.methods, ...updates.methods, }, };