1 | "use strict";
|
2 | var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3 | if (k2 === undefined) k2 = k;
|
4 | var desc = Object.getOwnPropertyDescriptor(m, k);
|
5 | if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6 | desc = { enumerable: true, get: function() { return m[k]; } };
|
7 | }
|
8 | Object.defineProperty(o, k2, desc);
|
9 | }) : (function(o, m, k, k2) {
|
10 | if (k2 === undefined) k2 = k;
|
11 | o[k2] = m[k];
|
12 | }));
|
13 | var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14 | for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15 | };
|
16 | var __importDefault = (this && this.__importDefault) || function (mod) {
|
17 | return (mod && mod.__esModule) ? mod : { "default": mod };
|
18 | };
|
19 | Object.defineProperty(exports, "__esModule", { value: true });
|
20 | exports.Feathers = exports.version = void 0;
|
21 | exports.feathers = feathers;
|
22 | const commons_1 = require("@feathersjs/commons");
|
23 | const version_1 = __importDefault(require("./version"));
|
24 | exports.version = version_1.default;
|
25 | const application_1 = require("./application");
|
26 | Object.defineProperty(exports, "Feathers", { enumerable: true, get: function () { return application_1.Feathers; } });
|
27 | function feathers() {
|
28 | return new application_1.Feathers();
|
29 | }
|
30 | feathers.setDebug = commons_1.setDebug;
|
31 | __exportStar(require("./hooks"), exports);
|
32 | __exportStar(require("./declarations"), exports);
|
33 | __exportStar(require("./service"), exports);
|
34 | if (typeof module !== 'undefined') {
|
35 | module.exports = Object.assign(feathers, module.exports);
|
36 | }
|
37 |
|
\ | No newline at end of file |