404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.117.7.15: ~ $
export interface BaseConfigOptions {
    /**
     * If specified, the class will operate on a nested object within the config
     * file navigated to by this path prefix, an array of object path keys.
     *
     * For example, to operate on `c` object within `{ a: { b: { c: {} } } }`,
     * use `pathPrefix` of `['a', 'b', 'c']`.
     */
    pathPrefix?: readonly string[];
}
export declare abstract class BaseConfig<T extends object> {
    readonly p: string;
    protected readonly pathPrefix: readonly string[];
    constructor(p: string, { pathPrefix }?: BaseConfigOptions);
    get file(): any;
    get c(): T;
    set c(value: T);
    get<P extends keyof T>(property: P): T[P];
    get<P extends keyof T>(property: P, defaultValue: NonNullable<T[P]>): NonNullable<T[P]>;
    set<P extends keyof T>(property: P, value: T[P]): void;
    unset<P extends keyof T>(property: P): void;
    abstract provideDefaults(c: Partial<Readonly<T>>): T;
    private _getFile;
    private _setFile;
}

Filemanager

Name Type Size Permission Actions
colors.d.ts File 658 B 0644
colors.js File 1.52 KB 0644
command.d.ts File 4.19 KB 0644
command.js File 9.7 KB 0644
completion.d.ts File 1.26 KB 0644
completion.js File 1.84 KB 0644
config.d.ts File 994 B 0644
config.js File 2.14 KB 0644
executor.d.ts File 4.73 KB 0644
executor.js File 5.93 KB 0644
help.d.ts File 11.16 KB 0644
help.js File 25.15 KB 0644
index.d.ts File 218 B 0644
index.js File 537 B 0644
options.d.ts File 4.6 KB 0644
options.js File 10.38 KB 0644
validators.d.ts File 401 B 0644
validators.js File 3.4 KB 0644