diff --git a/lib/server/v2/webDAVServer/WebDAVServer.d.ts b/lib/server/v2/webDAVServer/WebDAVServer.d.ts index 541f499f..3e91c38c 100644 --- a/lib/server/v2/webDAVServer/WebDAVServer.d.ts +++ b/lib/server/v2/webDAVServer/WebDAVServer.d.ts @@ -14,9 +14,6 @@ import * as startStop from './StartStop'; import * as https from 'https'; import * as http from 'http'; export declare type WebDAVServerStartCallback = (server?: http.Server) => void; -/** - * @deprecated This is a class of the versoin 1 of webdav-server, prefer using the version 2. This class and all v1 classes will be removed in a future release. - */ export declare class WebDAVServer { httpAuthentication: HTTPAuthentication; privilegeManager: PrivilegeManager; diff --git a/lib/server/v2/webDAVServer/WebDAVServer.js b/lib/server/v2/webDAVServer/WebDAVServer.js index ca7112f7..cb8078a4 100644 --- a/lib/server/v2/webDAVServer/WebDAVServer.js +++ b/lib/server/v2/webDAVServer/WebDAVServer.js @@ -7,9 +7,6 @@ var Path_1 = require("../../../manager/v2/Path"); var persistence = require("./Persistence"); var beforeAfter = require("./BeforeAfter"); var startStop = require("./StartStop"); -/** - * @deprecated This is a class of the versoin 1 of webdav-server, prefer using the version 2. This class and all v1 classes will be removed in a future release. - */ var WebDAVServer = (function () { function WebDAVServer(options) { this.stop = startStop.stop; diff --git a/lib/server/webDAVServer/WebDAVServer.d.ts b/lib/server/webDAVServer/WebDAVServer.d.ts index 10d3639d..5619a306 100644 --- a/lib/server/webDAVServer/WebDAVServer.d.ts +++ b/lib/server/webDAVServer/WebDAVServer.d.ts @@ -14,6 +14,9 @@ import * as events from './Events'; import * as https from 'https'; import * as http from 'http'; export { WebDAVServerOptions } from '../WebDAVServerOptions'; +/** + * @deprecated This is a class of the versoin 1 of webdav-server, prefer using the version 2. This class and all v1 classes will be removed in a future release. + */ export declare class WebDAVServer { httpAuthentication: HTTPAuthentication; privilegeManager: IPrivilegeManager; diff --git a/lib/server/webDAVServer/WebDAVServer.js b/lib/server/webDAVServer/WebDAVServer.js index c3866bb4..d23b7894 100644 --- a/lib/server/webDAVServer/WebDAVServer.js +++ b/lib/server/webDAVServer/WebDAVServer.js @@ -9,6 +9,9 @@ var resource = require("./Resource"); var events = require("./Events"); var WebDAVServerOptions_2 = require("../WebDAVServerOptions"); exports.WebDAVServerOptions = WebDAVServerOptions_2.WebDAVServerOptions; +/** + * @deprecated This is a class of the versoin 1 of webdav-server, prefer using the version 2. This class and all v1 classes will be removed in a future release. + */ var WebDAVServer = (function () { function WebDAVServer(options) { this.stop = startStop.stop; diff --git a/src/server/v2/webDAVServer/WebDAVServer.ts b/src/server/v2/webDAVServer/WebDAVServer.ts index e9e47f50..c5f3d329 100644 --- a/src/server/v2/webDAVServer/WebDAVServer.ts +++ b/src/server/v2/webDAVServer/WebDAVServer.ts @@ -18,9 +18,6 @@ import * as http from 'http' export type WebDAVServerStartCallback = (server ?: http.Server) => void; -/** - * @deprecated This is a class of the versoin 1 of webdav-server, prefer using the version 2. This class and all v1 classes will be removed in a future release. - */ export class WebDAVServer { public httpAuthentication : HTTPAuthentication diff --git a/src/server/webDAVServer/WebDAVServer.ts b/src/server/webDAVServer/WebDAVServer.ts index 950a047d..5fd97301 100644 --- a/src/server/webDAVServer/WebDAVServer.ts +++ b/src/server/webDAVServer/WebDAVServer.ts @@ -19,6 +19,9 @@ import * as http from 'http' export { WebDAVServerOptions } from '../WebDAVServerOptions' +/** + * @deprecated This is a class of the versoin 1 of webdav-server, prefer using the version 2. This class and all v1 classes will be removed in a future release. + */ export class WebDAVServer { public httpAuthentication : HTTPAuthentication