UNPKG

1.66 kBJavaScriptView Raw
1"use strict";
2var __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}));
13var __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};
16var __importDefault = (this && this.__importDefault) || function (mod) {
17 return (mod && mod.__esModule) ? mod : { "default": mod };
18};
19Object.defineProperty(exports, "__esModule", { value: true });
20exports.Feathers = exports.version = void 0;
21exports.feathers = feathers;
22const commons_1 = require("@feathersjs/commons");
23const version_1 = __importDefault(require("./version"));
24exports.version = version_1.default;
25const application_1 = require("./application");
26Object.defineProperty(exports, "Feathers", { enumerable: true, get: function () { return application_1.Feathers; } });
27function feathers() {
28 return new application_1.Feathers();
29}
30feathers.setDebug = commons_1.setDebug;
31__exportStar(require("./hooks"), exports);
32__exportStar(require("./declarations"), exports);
33__exportStar(require("./service"), exports);
34if (typeof module !== 'undefined') {
35 module.exports = Object.assign(feathers, module.exports);
36}
37//# sourceMappingURL=index.js.map
\No newline at end of file