@nocobase/plugin-action-custom-request
Version:
Sending a request to any HTTP service supports sending context data to the target service.
13 lines (12 loc) • 560 B
TypeScript
/**
* 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 { Context, Next } from '@nocobase/actions';
import CustomRequestPlugin from '../plugin';
export declare const getParsedValue: (value: any, variables: any) => any;
export declare function send(this: CustomRequestPlugin, ctx: Context, next: Next): Promise<any>;