From f77b6a4c2f06ac1d10a8e8b8ca7a48c0e1d5dbe4 Mon Sep 17 00:00:00 2001 From: flarum-bot Date: Sun, 27 Oct 2024 09:04:36 +0000 Subject: [PATCH] Bundled output for commit 5e2d35733288e4cf1882e408b86a2d880f931e42 Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci] --- js/dist-typings/@types/shims.d.ts | 9 +++++++++ js/dist-typings/admin/index.d.ts | 1 + js/dist-typings/forum/extend.d.ts | 2 ++ js/dist-typings/forum/extenders/addFrontPage.d.ts | 1 + js/dist-typings/forum/extenders/addFrontSort.d.ts | 1 + js/dist-typings/forum/extenders/addStickyBadge.d.ts | 1 + js/dist-typings/forum/index.d.ts | 1 + 7 files changed, 16 insertions(+) create mode 100644 js/dist-typings/@types/shims.d.ts create mode 100644 js/dist-typings/admin/index.d.ts create mode 100644 js/dist-typings/forum/extend.d.ts create mode 100644 js/dist-typings/forum/extenders/addFrontPage.d.ts create mode 100644 js/dist-typings/forum/extenders/addFrontSort.d.ts create mode 100644 js/dist-typings/forum/extenders/addStickyBadge.d.ts create mode 100644 js/dist-typings/forum/index.d.ts diff --git a/js/dist-typings/@types/shims.d.ts b/js/dist-typings/@types/shims.d.ts new file mode 100644 index 0000000..d0cc575 --- /dev/null +++ b/js/dist-typings/@types/shims.d.ts @@ -0,0 +1,9 @@ +import 'flarum/common/models/Discussion'; + +declare module 'flarum/common/models/Discussion' { + export default interface Discussion { + frontpage(): boolean; + frontdate(): Date | null; + front(): boolean; + } +} diff --git a/js/dist-typings/admin/index.d.ts b/js/dist-typings/admin/index.d.ts new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/js/dist-typings/admin/index.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/js/dist-typings/forum/extend.d.ts b/js/dist-typings/forum/extend.d.ts new file mode 100644 index 0000000..af1fdf2 --- /dev/null +++ b/js/dist-typings/forum/extend.d.ts @@ -0,0 +1,2 @@ +declare const _default: import("flarum/common/extenders/Model").default[]; +export default _default; diff --git a/js/dist-typings/forum/extenders/addFrontPage.d.ts b/js/dist-typings/forum/extenders/addFrontPage.d.ts new file mode 100644 index 0000000..9c59c24 --- /dev/null +++ b/js/dist-typings/forum/extenders/addFrontPage.d.ts @@ -0,0 +1 @@ +export default function addFrontPage(): void; diff --git a/js/dist-typings/forum/extenders/addFrontSort.d.ts b/js/dist-typings/forum/extenders/addFrontSort.d.ts new file mode 100644 index 0000000..399a90f --- /dev/null +++ b/js/dist-typings/forum/extenders/addFrontSort.d.ts @@ -0,0 +1 @@ +export default function (): void; diff --git a/js/dist-typings/forum/extenders/addStickyBadge.d.ts b/js/dist-typings/forum/extenders/addStickyBadge.d.ts new file mode 100644 index 0000000..70f5a53 --- /dev/null +++ b/js/dist-typings/forum/extenders/addStickyBadge.d.ts @@ -0,0 +1 @@ +export default function addStickyBadge(): void; diff --git a/js/dist-typings/forum/index.d.ts b/js/dist-typings/forum/index.d.ts new file mode 100644 index 0000000..6d2293d --- /dev/null +++ b/js/dist-typings/forum/index.d.ts @@ -0,0 +1 @@ +export { default as extend } from './extend';