@zoranwong/acc-engine.js
Version:
A javascript framework to accelerate your applicatin developement
44 lines (43 loc) • 1.52 kB
JavaScript
//
import Application from './foundation/Application';
import ConfigServiceProvider from './config/ConfigServiceProvider';
import command from "./command/Command";
import serviceProvider from "./constracts/ServiceProvider";
import event from "./events/EventInterface";
import listener from "./events/Listener";
import model from "./models/Model";
import collection from "./models/Collection";
import httpAdapter from "./io/http/Adapter";
import request from "./io/http/Request";
import response from './io/http/Response';
import HttpMethod from "./io/http/HttpMethod";
import {LOWER_SNAKE, LOWER_CAMEL, UPPER_CAMEL, UPPER_SNAKE, caseKeyName} from "./utils/functions";
Application.getInstance().registerProvider(ConfigServiceProvider);
// export const Command = command;
// export const EventInterface = event;
// export const ServiceProvider = serviceProvider;
// export const ListenerInterface = listener;
// export const Model = model;
// export const Collection = collection;
// export const HttpAdapter = httpAdapter;
// export const Request = request;
// export const Response = response;
// export default Application;
export {
command as Command,
event as EventInterface,
serviceProvider as ServiceProvider,
model as Model,
collection as Collection,
httpAdapter as HttpAdapter,
listener as ListenerInterface,
request as Request,
response as Response,
Application as default,
LOWER_CAMEL,
LOWER_SNAKE,
UPPER_SNAKE,
UPPER_CAMEL,
caseKeyName,
HttpMethod
}