Changed imports
This commit is contained in:
parent
804fde786a
commit
eef55d0cdf
8 changed files with 8 additions and 17 deletions
|
@ -2,7 +2,7 @@
|
|||
library angel;
|
||||
|
||||
import 'dart:async';
|
||||
import 'package:angel_framework/angel_framework.dart';
|
||||
import 'package:angel_common/angel_common.dart';
|
||||
import 'src/config/config.dart' as configuration;
|
||||
import 'src/routes/routes.dart' as routes;
|
||||
import 'src/services/services.dart' as services;
|
||||
|
|
|
@ -2,9 +2,7 @@
|
|||
library angel.config;
|
||||
|
||||
import 'dart:io';
|
||||
import 'package:angel_configuration/angel_configuration.dart';
|
||||
import 'package:angel_framework/angel_framework.dart';
|
||||
import 'package:angel_mustache/angel_mustache.dart';
|
||||
import 'package:angel_common/angel_common.dart';
|
||||
import 'plugins/plugins.dart' as plugins;
|
||||
|
||||
/// This is a perfect place to include configuration and load plug-ins.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
library angel.config.plugins;
|
||||
|
||||
import 'dart:async';
|
||||
import 'package:angel_framework/angel_framework.dart';
|
||||
import 'package:angel_common/angel_common.dart';
|
||||
|
||||
Future configureServer(Angel app) async {
|
||||
// Include any plugins you have made here.
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
library angel.routes.controllers.auth;
|
||||
|
||||
import 'package:angel_auth/angel_auth.dart';
|
||||
import 'package:angel_framework/angel_framework.dart';
|
||||
import 'package:angel_common/angel_common.dart';
|
||||
import '../../services/user.dart';
|
||||
|
||||
@Expose('/api/auth')
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
library angel.routes.controllers;
|
||||
|
||||
import 'package:angel_framework/angel_framework.dart';
|
||||
import 'package:angel_common/angel_common.dart';
|
||||
import 'auth.dart';
|
||||
|
||||
configureServer(Angel app) async {
|
||||
|
|
|
@ -1,12 +1,7 @@
|
|||
/// This app's route configuration.
|
||||
library angel.routes;
|
||||
|
||||
import 'package:angel_compress/angel_compress.dart';
|
||||
import 'package:angel_cors/angel_cors.dart';
|
||||
import 'package:angel_errors/angel_errors.dart';
|
||||
import 'package:angel_framework/angel_framework.dart';
|
||||
import 'package:angel_proxy/angel_proxy.dart';
|
||||
import 'package:angel_static/angel_static.dart';
|
||||
import 'package:angel_common/angel_common.dart';
|
||||
import 'controllers/controllers.dart' as Controllers;
|
||||
|
||||
configureBefore(Angel app) async {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/// Declare services here!
|
||||
library angel.services;
|
||||
|
||||
import 'package:angel_framework/angel_framework.dart';
|
||||
import 'package:angel_common/angel_common.dart';
|
||||
import 'package:mongo_dart/mongo_dart.dart';
|
||||
|
||||
import 'user.dart' as User;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import 'package:angel_framework/angel_framework.dart';
|
||||
import 'package:angel_mongo/angel_mongo.dart';
|
||||
import 'package:angel_common/angel_common.dart';
|
||||
import 'package:crypto/crypto.dart' show sha256;
|
||||
import 'package:mongo_dart/mongo_dart.dart';
|
||||
import 'package:validate/validate.dart';
|
||||
|
|
Loading…
Reference in a new issue