UNPKG

3.1 kBJavaScriptView Raw
1/**
2 * @license
3 * MOST Web Framework 2.0 Codename Blueshift
4 * Copyright (c) 2017, THEMOST LP All rights reserved
5 *
6 * Use of this source code is governed by an BSD-3-Clause license that can be
7 * found in the LICENSE file at https://themost.io/license
8 */
9///
10var _utils = require('./utils');
11var _errors = require('./errors');
12var _emitter = require('./emitter');
13var _config = require('./config');
14var _html = require('./html');
15var _app = require('./app');
16
17if (typeof exports !== 'undefined') {
18
19 module.exports.Args = _utils.Args;
20 module.exports.UnknownPropertyDescriptor = _utils.UnknownPropertyDescriptor;
21 module.exports.LangUtils = _utils.LangUtils;
22 module.exports.NumberUtils = _utils.NumberUtils;
23 module.exports.RandomUtils = _utils.RandomUtils;
24 module.exports.TraceUtils = _utils.TraceUtils;
25 module.exports.TextUtils = _utils.TextUtils;
26 module.exports.PathUtils = _utils.PathUtils;
27 module.exports.ArgumentError = _utils.ArgumentError;
28 module.exports.Guid = _utils.Guid;
29 module.exports.Base26Number = _utils.Base26Number;
30
31 module.exports.AbstractMethodError = _errors.AbstractMethodError;
32 module.exports.AbstractClassError = _errors.AbstractClassError;
33 module.exports.FileNotFoundError = _errors.FileNotFoundError;
34 module.exports.HttpError = _errors.HttpError;
35 module.exports.HttpBadRequestError = _errors.HttpBadRequestError;
36 module.exports.HttpNotFoundError = _errors.HttpNotFoundError;
37 module.exports.HttpMethodNotAllowedError = _errors.HttpMethodNotAllowedError;
38 module.exports.HttpUnauthorizedError = _errors.HttpUnauthorizedError;
39 module.exports.HttpForbiddenError = _errors.HttpForbiddenError;
40 module.exports.HttpServerError = _errors.HttpServerError;
41 module.exports.DataError = _errors.DataError;
42 module.exports.NotNullError = _errors.NotNullError;
43 module.exports.DataNotFoundError = _errors.DataNotFoundError;
44 module.exports.AccessDeniedError = _errors.AccessDeniedError;
45 module.exports.UniqueConstraintError = _errors.UniqueConstraintError;
46 module.exports.HttpNotAcceptableError = _errors.HttpNotAcceptableError;
47 module.exports.HttpConflictError = _errors.HttpConflictError;
48 module.exports.HttpRequestTimeoutError = _errors.HttpRequestTimeoutError;
49 module.exports.HttpTokenExpiredError = _errors.HttpTokenExpiredError;
50 module.exports.HttpTokenRequiredError = _errors.HttpTokenRequiredError;
51
52
53 module.exports.SequentialEventEmitter = _emitter.SequentialEventEmitter;
54
55 module.exports.HtmlWriter = _html.HtmlWriter;
56
57 module.exports.ConfigurationBase = _config.ConfigurationBase;
58 module.exports.ConfigurationStrategy = _config.ConfigurationStrategy;
59 module.exports.ModuleLoaderStrategy = _config.ModuleLoaderStrategy;
60 module.exports.DefaultModuleLoaderStrategy = _config.DefaultModuleLoaderStrategy;
61
62 module.exports.IApplication = _app.IApplication;
63 module.exports.IApplicationService = _app.IApplicationService;
64 module.exports.ApplicationService = _app.ApplicationService;
65
66}