UNPKG

@isthatuzii/create-nano-app

Version:

Desktop application scaffolding tool for the Nano Framework

22 lines (18 loc) 625 B
/** * Simple Nano API - Just export the invoke function * Keep it simple - no complex abstraction layers */ // Export everything from invoke for direct use export { invoke, events, Utils } from "./invoke"; export type { Commands } from "./invoke"; // Import system module for legacy API compatibility import systemModule from "./modules/system.module"; // Simple API object for legacy compatibility const api = { system: { getSystemInfo: systemModule.getSystemInfo, sendNotification: systemModule.sendNotification, greet: systemModule.greet } }; export default api;