2022-01-28 20:37:44 +03:00
|
|
|
import {
|
|
|
|
// Paths API
|
|
|
|
path, dir,
|
|
|
|
|
|
|
|
// Filesystem API
|
|
|
|
fs,
|
|
|
|
|
|
|
|
// Windows API
|
|
|
|
Windows,
|
|
|
|
|
|
|
|
// OS API
|
2022-01-29 14:27:33 +03:00
|
|
|
Process, Tray, IPC, Notification, Archive, Package,
|
2022-01-28 20:37:44 +03:00
|
|
|
|
|
|
|
// Network API
|
|
|
|
fetch, Domain, Downloader,
|
|
|
|
|
|
|
|
// Async API
|
|
|
|
promisify,
|
|
|
|
|
|
|
|
// Meta classes
|
|
|
|
Cache, Configs, Debug
|
|
|
|
} from '@empathize/framework';
|
|
|
|
|
|
|
|
import YAML from 'yaml';
|
|
|
|
|
|
|
|
import constants from './ts/Constants';
|
|
|
|
|
|
|
|
Configs.file = constants.paths.config;
|
|
|
|
Cache.file = constants.paths.cache;
|
|
|
|
|
|
|
|
Configs.serialize = YAML.stringify;
|
|
|
|
Configs.unserialize = YAML.parse;
|
|
|
|
|
|
|
|
export {
|
|
|
|
// Paths API
|
|
|
|
path, dir,
|
|
|
|
|
|
|
|
// Filesystem API
|
|
|
|
fs,
|
|
|
|
|
|
|
|
// Windows API
|
|
|
|
Windows,
|
|
|
|
|
|
|
|
// OS API
|
2022-01-29 14:27:33 +03:00
|
|
|
Process, Tray, IPC, Notification, Archive, Package,
|
2022-01-28 20:37:44 +03:00
|
|
|
|
|
|
|
// Network API
|
|
|
|
fetch, Domain, Downloader,
|
|
|
|
|
|
|
|
// Async API
|
|
|
|
promisify,
|
|
|
|
|
|
|
|
// Meta classes
|
|
|
|
Cache, Configs, Debug
|
|
|
|
};
|