forked from openiap/opencore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnodered_settings.ts
More file actions
67 lines (61 loc) · 2.03 KB
/
Copy pathnodered_settings.ts
File metadata and controls
67 lines (61 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
import { Config } from "./Config";
export class dashboard_settings {
public path: string = "ui";
public middleware: any;
}
// tslint:disable-next-line: class-name
export class nodered_settings {
constructor() {
this.ui = new dashboard_settings();
}
public flowFile: string = "flows.json";
public settingsFile: string = "nodered_settings.js";
public nodesDir: string = ".";
public userDir: string = ".";
public credentialSecret: string | boolean = false;
public adminAuth: any = null;
public httpNodeAuth: any = null;
public httpStaticAuth: any = null;
public httpNodeMiddleware: any;
public ui: dashboard_settings;
public httpAdminRoot: string = "/";
public httpNodeRoot: string = "/";
public storageModule: any = null;
public uiPort: number = Config.port;
public mqttReconnectTime: number = 15000;
public serialReconnectTime: number = 15000;
public debugMaxLength: number = 1000;
public functionGlobalContext: any = { process: process };
public functionExternalModules: boolean = true;
public paletteCategories: string[] = ["rpa", "workitem", "subflows", "input", "output", "function", "api",
"social", "mobile", "storage", "analysis", "advanced"];
public debugUseColors: boolean = true;
public flowFilePretty: boolean = true;
public logging: any = {
console: {
level: "warn",
metrics: false,
audit: false
}
};
public editorTheme = {
palette: {
catalogues: []
},
tours: true,
codeEditor: {
lib: "" // monaco
},
projects: {
enabled: false,
workflow: {
// - manual - you must manually commit changes
// - auto - changes are automatically committed
mode: "manual"
}
}
};
// adminAuth: import("c:/code/OpenFlow/OpenFlowNodeRED/src/node-red-contrib-auth-google").noderedcontribauthgoogle;
// constructor() {
// }
}