Skip to content
Merged

Next #545

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ To use the plugin, add it to your user resource file. Here's an example:
```ts title="./resources/adminuser.ts"
// Import the plugin and adapter
import CaptchaPlugin from "@adminforth/login-captcha";
import CaptchaAdapterCloudflare from "@adminforth/captcha-adapter-cloudflare";
import CaptchaAdapterCloudflare from "@adminforth/login-captcha-adapter-cloudflare";

...

Expand Down
7 changes: 7 additions & 0 deletions adminforth/types/Back.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2152,4 +2152,11 @@ export interface IWebSocketBroker {
publish: (topic: string, data: any, filterUsers?: (adminUser: AdminUser) => Promise<boolean>) => void;

registerWsClient: (client: IWebSocketClient) => void;
}
export interface PluginsCommonOptions {
/**
* Id of the plugin. It should be unique across all plugins.
* It is required if you want to log custom actions, otherwise it is optional.
*/
id?: string;
}