UNPKG

@nocobase/plugin-action-custom-request

Version:

Sending a request to any HTTP service supports sending context data to the target service.

23 lines (22 loc) 785 B
/** * This file is part of the NocoBase (R) project. * Copyright (c) 2020-2024 NocoBase Co., Ltd. * Authors: NocoBase Team. * * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License. * For more information, please refer to: https://www.nocobase.com/agreement. */ import { Logger } from '@nocobase/logger'; import { InstallOptions, Plugin } from '@nocobase/server'; export declare class PluginActionCustomRequestServer extends Plugin { logger: Logger; afterAdd(): void; beforeLoad(): void; getLogger(): Logger; load(): Promise<void>; install(options?: InstallOptions): Promise<void>; afterEnable(): Promise<void>; afterDisable(): Promise<void>; remove(): Promise<void>; } export default PluginActionCustomRequestServer;