- added own provider for drive methods
Some checks failed
CI Pipeline / japa-tests (push) Failing after 1m13s
Some checks failed
CI Pipeline / japa-tests (push) Failing after 1m13s
- renamed middleware Role and Can to role_middleware and can_middleware - added some typing for inertia vue3 components - npm updates
This commit is contained in:
parent
cb51a4136f
commit
296c8fd46e
67 changed files with 2515 additions and 1913 deletions
13
app/services/drive.ts
Normal file
13
app/services/drive.ts
Normal file
|
@ -0,0 +1,13 @@
|
|||
// import app from './app.js';
|
||||
import DriveManager from "#providers/drive/src/drive_manager";
|
||||
import app from "@adonisjs/core/services/app";
|
||||
|
||||
let drive: DriveManager;
|
||||
/**
|
||||
* Returns a singleton instance of the router class from
|
||||
* the container
|
||||
*/
|
||||
await app.booted(async () => {
|
||||
drive = await app.container.make(DriveManager);
|
||||
});
|
||||
export { drive as default };
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue