From: Alexander Ebert Date: Thu, 27 Jan 2022 18:21:01 +0000 (+0100) Subject: Exclude modules that only contain TypeScript types and interfaces X-Git-Tag: 5.5.0_Alpha_1~181^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=41f1526c62bd91614f8556b05f8e86ed9946af4d;p=GitHub%2FWoltLab%2FWCF.git Exclude modules that only contain TypeScript types and interfaces --- diff --git a/ts/WoltLabSuite/Core/Ajax/Data.ts b/ts/WoltLabSuite/Core/Ajax/Data.ts index c46fa2a4d3..5e664a0c58 100644 --- a/ts/WoltLabSuite/Core/Ajax/Data.ts +++ b/ts/WoltLabSuite/Core/Ajax/Data.ts @@ -1,3 +1,7 @@ +/** + * @woltlabExcludeBundle all + */ + export interface RequestPayload { [key: string]: any; } diff --git a/ts/WoltLabSuite/Core/Controller/Clipboard/Data.ts b/ts/WoltLabSuite/Core/Controller/Clipboard/Data.ts index 3964b2cabe..db7664c07b 100644 --- a/ts/WoltLabSuite/Core/Controller/Clipboard/Data.ts +++ b/ts/WoltLabSuite/Core/Controller/Clipboard/Data.ts @@ -1,3 +1,7 @@ +/** + * @woltlabExcludeBundle all + */ + import { DatabaseObjectActionResponse } from "../../Ajax/Data"; export interface ClipboardOptions { diff --git a/ts/WoltLabSuite/Core/Form/Builder/Data.ts b/ts/WoltLabSuite/Core/Form/Builder/Data.ts index b87b1c5ba0..f7b6990e2b 100644 --- a/ts/WoltLabSuite/Core/Form/Builder/Data.ts +++ b/ts/WoltLabSuite/Core/Form/Builder/Data.ts @@ -1,3 +1,7 @@ +/** + * @woltlabExcludeBundle all + */ + import { DialogOptions } from "../../Ui/Dialog/Data"; import { DatabaseObjectActionResponse } from "../../Ajax/Data"; diff --git a/ts/WoltLabSuite/Core/Media/Data.ts b/ts/WoltLabSuite/Core/Media/Data.ts index 52e346fdf2..67e6066098 100644 --- a/ts/WoltLabSuite/Core/Media/Data.ts +++ b/ts/WoltLabSuite/Core/Media/Data.ts @@ -3,6 +3,7 @@ * @copyright 2001-2021 WoltLab GmbH * @license GNU Lesser General Public License * @module WoltLabSuite/Core/Media/Data + * @woltlabExcludeBundle all */ import MediaUpload from "./Upload"; diff --git a/ts/WoltLabSuite/Core/Ui/Dropdown/Data.ts b/ts/WoltLabSuite/Core/Ui/Dropdown/Data.ts index bd494c28f5..14e9f6e1ac 100644 --- a/ts/WoltLabSuite/Core/Ui/Dropdown/Data.ts +++ b/ts/WoltLabSuite/Core/Ui/Dropdown/Data.ts @@ -1,2 +1,6 @@ +/** + * @woltlabExcludeBundle all + */ + export type NotificationAction = "close" | "open"; export type NotificationCallback = (containerId: string, action: NotificationAction) => void; diff --git a/ts/WoltLabSuite/Core/Ui/File/Data.ts b/ts/WoltLabSuite/Core/Ui/File/Data.ts index c13af33735..5ad0f81bde 100644 --- a/ts/WoltLabSuite/Core/Ui/File/Data.ts +++ b/ts/WoltLabSuite/Core/Ui/File/Data.ts @@ -1,3 +1,7 @@ +/** + * @woltlabExcludeBundle all + */ + // This helper interface exists to prevent a circular dependency // between `./Delete` and `./Upload` diff --git a/ts/WoltLabSuite/Core/Ui/Message/InlineEditor/Data.ts b/ts/WoltLabSuite/Core/Ui/Message/InlineEditor/Data.ts index ac5ff3315e..e64eab0809 100644 --- a/ts/WoltLabSuite/Core/Ui/Message/InlineEditor/Data.ts +++ b/ts/WoltLabSuite/Core/Ui/Message/InlineEditor/Data.ts @@ -1,3 +1,7 @@ +/** + * @woltlabExcludeBundle all + */ + import { ResponseData } from "../../../Ajax/Data"; export interface MessageInlineEditorOptions { diff --git a/ts/WoltLabSuite/Core/Ui/Object/Data.ts b/ts/WoltLabSuite/Core/Ui/Object/Data.ts index 5070670731..78d6e66835 100644 --- a/ts/WoltLabSuite/Core/Ui/Object/Data.ts +++ b/ts/WoltLabSuite/Core/Ui/Object/Data.ts @@ -1,3 +1,7 @@ +/** + * @woltlabExcludeBundle all + */ + import { DatabaseObjectActionResponse } from "../../Ajax/Data"; import { ClipboardActionData } from "../../Controller/Clipboard/Data"; diff --git a/ts/WoltLabSuite/Core/Ui/Reaction/Data.ts b/ts/WoltLabSuite/Core/Ui/Reaction/Data.ts index f27516c7e2..ec1fa5cdc6 100644 --- a/ts/WoltLabSuite/Core/Ui/Reaction/Data.ts +++ b/ts/WoltLabSuite/Core/Ui/Reaction/Data.ts @@ -1,3 +1,7 @@ +/** + * @woltlabExcludeBundle all + */ + export interface Reaction { title: string; renderedIcon: string; diff --git a/ts/WoltLabSuite/Core/Ui/Search/Data.ts b/ts/WoltLabSuite/Core/Ui/Search/Data.ts index dc0d309333..11f0890e50 100644 --- a/ts/WoltLabSuite/Core/Ui/Search/Data.ts +++ b/ts/WoltLabSuite/Core/Ui/Search/Data.ts @@ -1,3 +1,7 @@ +/** + * @woltlabExcludeBundle all + */ + import { DatabaseObjectActionPayload } from "../../Ajax/Data"; export type CallbackDropdownInit = (list: HTMLUListElement) => void; diff --git a/ts/WoltLabSuite/Core/Upload/Data.ts b/ts/WoltLabSuite/Core/Upload/Data.ts index 7a641a64fb..a9da20c5b4 100644 --- a/ts/WoltLabSuite/Core/Upload/Data.ts +++ b/ts/WoltLabSuite/Core/Upload/Data.ts @@ -1,3 +1,7 @@ +/** + * @woltlabExcludeBundle all + */ + export interface UploadOptions { // name of the PHP action action: string; diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ajax/Data.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ajax/Data.js index 2ae92b6a8b..2304a3c891 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ajax/Data.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ajax/Data.js @@ -1,3 +1,6 @@ +/** + * @woltlabExcludeBundle all + */ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/Clipboard/Data.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/Clipboard/Data.js index 2ae92b6a8b..2304a3c891 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/Clipboard/Data.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/Clipboard/Data.js @@ -1,3 +1,6 @@ +/** + * @woltlabExcludeBundle all + */ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Data.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Data.js index 2ae92b6a8b..2304a3c891 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Data.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Data.js @@ -1,3 +1,6 @@ +/** + * @woltlabExcludeBundle all + */ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Media/Data.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Media/Data.js index b868c617d1..15af922c24 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Media/Data.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Media/Data.js @@ -3,6 +3,7 @@ * @copyright 2001-2021 WoltLab GmbH * @license GNU Lesser General Public License * @module WoltLabSuite/Core/Media/Data + * @woltlabExcludeBundle all */ define(["require", "exports"], function (require, exports) { "use strict"; diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Dropdown/Data.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Dropdown/Data.js index 2ae92b6a8b..2304a3c891 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Dropdown/Data.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Dropdown/Data.js @@ -1,3 +1,6 @@ +/** + * @woltlabExcludeBundle all + */ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/File/Data.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/File/Data.js index e00a67fe65..2304a3c891 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/File/Data.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/File/Data.js @@ -1,5 +1,6 @@ -// This helper interface exists to prevent a circular dependency -// between `./Delete` and `./Upload` +/** + * @woltlabExcludeBundle all + */ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/InlineEditor/Data.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/InlineEditor/Data.js index 2ae92b6a8b..2304a3c891 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/InlineEditor/Data.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/InlineEditor/Data.js @@ -1,3 +1,6 @@ +/** + * @woltlabExcludeBundle all + */ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Object/Data.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Object/Data.js index 2ae92b6a8b..2304a3c891 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Object/Data.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Object/Data.js @@ -1,3 +1,6 @@ +/** + * @woltlabExcludeBundle all + */ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Reaction/Data.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Reaction/Data.js index 2ae92b6a8b..2304a3c891 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Reaction/Data.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Reaction/Data.js @@ -1,3 +1,6 @@ +/** + * @woltlabExcludeBundle all + */ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Search/Data.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Search/Data.js index 2ae92b6a8b..2304a3c891 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Search/Data.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Search/Data.js @@ -1,3 +1,6 @@ +/** + * @woltlabExcludeBundle all + */ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Upload/Data.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Upload/Data.js index 2ae92b6a8b..2304a3c891 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Upload/Data.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Upload/Data.js @@ -1,3 +1,6 @@ +/** + * @woltlabExcludeBundle all + */ define(["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true });