@sync-in/server
Version:
The secure, open-source platform for file storage, sharing, collaboration, and sync
49 lines (48 loc) • 2.07 kB
JavaScript
/*
* Copyright (C) 2012-2025 Johan Legrand <johan.legrand@sync-in.com>
* This file is part of Sync-in | The open source file sync and share solution
* See the LICENSE file for licensing details
*/ "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "SharesModule", {
enumerable: true,
get: function() {
return SharesModule;
}
});
const _common = require("@nestjs/common");
const _linkscontroller = require("../links/links.controller");
const _linksmanagerservice = require("../links/services/links-manager.service");
const _linksqueriesservice = require("../links/services/links-queries.service");
const _sharesmanagerservice = require("./services/shares-manager.service");
const _sharesqueriesservice = require("./services/shares-queries.service");
const _sharescontroller = require("./shares.controller");
function _ts_decorate(decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
}
let SharesModule = class SharesModule {
};
SharesModule = _ts_decorate([
(0, _common.Module)({
controllers: [
_sharescontroller.SharesController,
_linkscontroller.LinksController
],
providers: [
_sharesmanagerservice.SharesManager,
_sharesqueriesservice.SharesQueries,
_linksmanagerservice.LinksManager,
_linksqueriesservice.LinksQueries
],
exports: [
_sharesmanagerservice.SharesManager,
_sharesqueriesservice.SharesQueries
]
})
], SharesModule);
//# sourceMappingURL=shares.module.js.map