mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-16 01:24:05 -08:00
24 lines
497 B
TypeScript
24 lines
497 B
TypeScript
|
export type ToolParameter = {
|
||
|
name: string;
|
||
|
required: boolean;
|
||
|
type?: string;
|
||
|
description?: string;
|
||
|
sendIn: SendIn;
|
||
|
key?: string;
|
||
|
};
|
||
|
|
||
|
export type PlaceholderDefinition = {
|
||
|
name: string;
|
||
|
type?: string;
|
||
|
description: string;
|
||
|
};
|
||
|
|
||
|
export type ParametersValues = Array<{
|
||
|
name: string;
|
||
|
valueProvider: 'modelRequired' | 'modelOptional' | 'fieldValue';
|
||
|
value?: string;
|
||
|
}>;
|
||
|
|
||
|
export type ParameterInputType = 'keypair' | 'json' | 'model';
|
||
|
export type SendIn = 'body' | 'qs' | 'path' | 'headers';
|