@sync-in/server
Version:
The secure, open-source platform for file storage, sharing, collaboration, and sync
50 lines (49 loc) • 2.33 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, "ApplicationsConfig", {
enumerable: true,
get: function() {
return ApplicationsConfig;
}
});
const _classtransformer = require("class-transformer");
const _classvalidator = require("class-validator");
const _filesconfig = require("./files/files.config");
const _syncconfig = require("./sync/sync.config");
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;
}
function _ts_metadata(k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
}
let ApplicationsConfig = class ApplicationsConfig {
constructor(){
this.appStore = new _syncconfig.AppStoreConfig();
}
};
_ts_decorate([
(0, _classvalidator.IsDefined)(),
(0, _classvalidator.IsObject)(),
(0, _classvalidator.IsNotEmptyObject)(),
(0, _classvalidator.ValidateNested)(),
(0, _classtransformer.Type)(()=>_filesconfig.FilesConfig),
_ts_metadata("design:type", typeof _filesconfig.FilesConfig === "undefined" ? Object : _filesconfig.FilesConfig)
], ApplicationsConfig.prototype, "files", void 0);
_ts_decorate([
(0, _classvalidator.IsDefined)(),
(0, _classvalidator.IsObject)(),
(0, _classvalidator.IsNotEmptyObject)(),
(0, _classvalidator.ValidateNested)(),
(0, _classtransformer.Type)(()=>_syncconfig.AppStoreConfig),
_ts_metadata("design:type", typeof _syncconfig.AppStoreConfig === "undefined" ? Object : _syncconfig.AppStoreConfig)
], ApplicationsConfig.prototype, "appStore", void 0);
//# sourceMappingURL=applications.config.js.map