- Added an exported `Termos` object entry point - Defined a basic config for the entry point - Wrote a self contained initialization function for parsin the config into a returned `Shell` instance - Adjusted `dev.ts` to use the said entry point
21 lines
424 B
TypeScript
21 lines
424 B
TypeScript
export interface TermosConfig {
|
|
groups: string[];
|
|
users: {
|
|
username: string;
|
|
groups: string[];
|
|
home: string;
|
|
}[];
|
|
general: {
|
|
user: string;
|
|
serverAddress?: string;
|
|
dbName?: string;
|
|
idbName?: string;
|
|
};
|
|
filesystem: {
|
|
json: string;
|
|
maxNameLength?: number;
|
|
maxPathLength?: number;
|
|
maxSymlinkDepth?: number;
|
|
};
|
|
}
|