123456789101112131415161718 |
- import { ModuleRoot } from "../queenjs";
- export class AdminModule extends ModuleRoot {
- config = this.setConfig({});
- // actions = this.createActions([]);
- https = this.createHttps([]);
- controls = {
- // usersList: new PageListController(this.https),
- };
- async onReady() {
- console.log("ready");
- }
- }
- const hooks = AdminModule.hook("Admin");
- export const { useAdmin, initAdmin, setAdmin } = hooks;
|