1
0
mirror of https://github.com/flarum/core.git synced 2025-08-07 00:47:00 +02:00

Bundled output for commit 29ede5aa27

Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
This commit is contained in:
flarum-bot
2024-05-14 20:13:28 +00:00
parent 29ede5aa27
commit 1302378141
16 changed files with 30 additions and 14 deletions

View File

@@ -0,0 +1,14 @@
import IExtender, { IExtensionModule } from './IExtender';
import type Application from '../Application';
import type { NewComponent } from '../Application';
export default class Notification implements IExtender {
private notificationComponents;
/**
* Register a new notification component type.
*
* @param name The name of the notification type.
* @param component The component class to render the notification.
*/
add(name: string, component: NewComponent<any>): Notification;
extend(app: Application, extension: IExtensionModule): void;
}

View File

@@ -3,11 +3,13 @@ import PostTypes from './PostTypes';
import Routes from './Routes';
import Store from './Store';
import Search from './Search';
import Notification from './Notification';
declare const extenders: {
Model: typeof Model;
PostTypes: typeof PostTypes;
Routes: typeof Routes;
Store: typeof Store;
Search: typeof Search;
Notification: typeof Notification;
};
export default extenders;

2
framework/core/js/dist/admin.js generated vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
framework/core/js/dist/forum.js generated vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long