mirror of
https://github.com/RoboSats/robosats-startos.git
synced 2025-07-19 09:13:32 +00:00
25 lines
944 B
TypeScript
25 lines
944 B
TypeScript
// To utilize the default config system built, this file is required. It defines the *structure* of the configuration file. These structured options display as changeable UI elements within the "Config" section of the service details page in the StartOS UI.
|
|
|
|
import { compat, types as T } from "../deps.ts";
|
|
|
|
export const getConfig: T.ExpectedExports.getConfig = compat.getConfig({
|
|
"tor-address": {
|
|
"name": "Tor Address",
|
|
"description": "The Tor address of the network interface",
|
|
"type": "pointer",
|
|
"subtype": "package",
|
|
"package-id": "robosats",
|
|
"target": "tor-address",
|
|
"interface": "main",
|
|
},
|
|
"lan-address": {
|
|
"name": "LAN Address",
|
|
"description": "The LAN address of the network interface",
|
|
"type": "pointer",
|
|
"subtype": "package",
|
|
"package-id": "robosats",
|
|
"target": "lan-address",
|
|
"interface": "main",
|
|
},
|
|
});
|