UNPKG

n8n-nodes-nuwa

Version:

An n8n node for integrating with the GVA (Gin-Vue-Admin) backend system.

11 lines (10 loc) 571 B
import type { IExecuteFunctions, ILoadOptionsFunctions, IHttpRequestOptions, IDataObject } from 'n8n-workflow'; import type { IGvaApiResponse } from '../types'; /** * 执行GVA API请求的通用函数 */ export declare function gvaApiRequest(this: IExecuteFunctions | ILoadOptionsFunctions, method: IHttpRequestOptions['method'], endpoint: string, body?: IDataObject, qs?: IDataObject, headers?: IDataObject): Promise<any>; /** * 获取所有API列表 */ export declare function getAllApis(this: IExecuteFunctions | ILoadOptionsFunctions): Promise<IGvaApiResponse>;