1 | import Server from "./server";
|
2 | export default class Environment {
|
3 | readonly url?: string;
|
4 | readonly userName?: string;
|
5 | readonly password?: string;
|
6 | readonly recordingActive: boolean;
|
7 | constructor();
|
8 | /**
|
9 | * returns the nextcloud credentials that is defined in the
|
10 | * "user-provided" service section of the VCAP_SERVICES environment
|
11 | * @param instanceName the name of the nextcloud user provided service instance
|
12 | * @returns credentials from the VCAP_SERVICES environment (user provided service)
|
13 | */
|
14 | getServer(): Server;
|
15 | }
|