forked from geolba/tethys.backend
- npm updates
- renamed 'models' and 'validators' folders - removed unneccessary files in contracts folder
This commit is contained in:
parent
a29865b781
commit
08c2edca3b
62 changed files with 371 additions and 458 deletions
|
@ -1,63 +0,0 @@
|
|||
// /**
|
||||
// * Contract source: https://git.io/JOdz5
|
||||
// *
|
||||
// * Feel free to let us know via PR, if you find something broken in this
|
||||
// * file.
|
||||
// */
|
||||
|
||||
// import User from '#app/Models/User';
|
||||
|
||||
// declare module '@ioc:Adonis/Addons/Auth' {
|
||||
// /*
|
||||
// |
|
||||
// interface ProvidersList {
|
||||
// /*
|
||||
// |--------------------------------------------------------------------------
|
||||
// | User Provider
|
||||
// |--------------------------------------------------------------------------
|
||||
// |
|
||||
// | The following provider uses Lucid models as a driver for fetching user
|
||||
// | details from the database for authentication.
|
||||
// |
|
||||
// | You can create multiple providers using the same underlying driver with
|
||||
// | different Lucid models.
|
||||
// |
|
||||
// */
|
||||
// user: {
|
||||
// implementation: LucidProviderContract<typeof User>;
|
||||
// config: LucidProviderConfig<typeof User>;
|
||||
// };
|
||||
// }
|
||||
|
||||
// /*
|
||||
// |--------------------------------------------------------------------------
|
||||
// | Guards
|
||||
// |--------------------------------------------------------------------------
|
||||
// |
|
||||
// | The guards are used for authenticating users using different drivers.
|
||||
// | The auth module comes with 3 different guards.
|
||||
// |
|
||||
// | - SessionGuardContract
|
||||
// | - BasicAuthGuardContract
|
||||
// | - OATGuardContract ( Opaque access token )
|
||||
// |
|
||||
// | Every guard needs a provider for looking up users from the database.
|
||||
// |
|
||||
// */
|
||||
// interface GuardsList {
|
||||
// /*
|
||||
// |--------------------------------------------------------------------------
|
||||
// | Web Guard
|
||||
// |--------------------------------------------------------------------------
|
||||
// |
|
||||
// | The web guard uses sessions for maintaining user login state. It uses
|
||||
// | the `user` provider for fetching user details.
|
||||
// |
|
||||
// */
|
||||
// web: {
|
||||
// implementation: SessionGuardContract<'user', 'web'>;
|
||||
// config: SessionGuardConfig<'user'>;
|
||||
// client: SessionClientContract<'user'>;
|
||||
// };
|
||||
// }
|
||||
// }
|
|
@ -1,13 +0,0 @@
|
|||
/**
|
||||
* Contract source: https://git.io/JBt3I
|
||||
*
|
||||
* Feel free to let us know via PR, if you find something broken in this contract
|
||||
* file.
|
||||
*/
|
||||
|
||||
// import type { InferDisksFromConfig } from '@adonisjs/core/build/config';
|
||||
// import type driveConfig from '../config/drive.js';
|
||||
|
||||
// declare module '@ioc:Adonis/Core/Drive' {
|
||||
// interface DisksList extends InferDisksFromConfig<typeof driveConfig> {}
|
||||
// }
|
|
@ -1,18 +0,0 @@
|
|||
/**
|
||||
* Contract source: https://bit.ly/3DP1ypf
|
||||
*
|
||||
* Feel free to let us know via PR, if you find something broken in this contract
|
||||
* file.
|
||||
*/
|
||||
|
||||
import '@japa/runner';
|
||||
|
||||
declare module '@japa/runner' {
|
||||
interface TestContext {
|
||||
// Extend context
|
||||
}
|
||||
|
||||
interface Test<TestData> {
|
||||
// Extend test
|
||||
}
|
||||
}
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue