Bundled output for commit 5d281b9471f235a251e416862a30d28243ed6854

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

[skip ci]
This commit is contained in:
flarum-bot 2024-12-07 20:07:49 +00:00
parent 5d281b9471
commit d9e79608fb
6 changed files with 13 additions and 7 deletions

View File

@ -205,6 +205,11 @@ export default class Application {
*/
private requestErrorAlert;
initialRoute: string;
/**
* @internal
*/
currentInitializerExtension: string | null;
private handledErrors;
load(payload: Application['data']): void;
protected initialize(): CallableFunction[];
boot(): void;
@ -266,4 +271,5 @@ export default class Application {
* Construct a URL to the route with the given name.
*/
route(name: string, params?: Record<string, unknown>): string;
handleErrorOnce(extension: null | string, errorId: string, userTitle: string, consoleTitle: string, error: any): void;
}

View File

@ -1,8 +1,8 @@
/**
* Fire a Flarum error which is shown in the JS console for everyone and in an alert for the admin.
*
* @param userTitle: a user friendly title of the error, should be localized.
* @param consoleTitle: an error title that goes in the console, doesn't have to be localized.
* @param error: the error.
* @param userTitle a user friendly title of the error, should be localized.
* @param consoleTitle an error title that goes in the console, doesn't have to be localized.
* @param error the error.
*/
export default function fireApplicationError(userTitle: string, consoleTitle: string, error: any): void;

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