n8n-nodes-larkbase-v3
Version:
n8n node to connect with Larkbase API with UTF-8 support, date filtering, array filter values, text field processing, improved field type handling, pagination fixes, advanced data type conversion, proper date filtering with ExactDate format, updated node
25 lines (24 loc) • 1.03 kB
TypeScript
import { IExecuteFunctions, IDataObject, ILoadOptionsFunctions } from 'n8n-workflow';
export interface IFieldInfo {
field_id: string;
field_name: string;
type: number;
is_primary?: boolean;
property?: IDataObject;
ui_type?: string;
description?: string;
is_hidden?: boolean;
}
export interface IGetFieldsResult {
items: IFieldInfo[];
has_more: boolean;
page_token?: string;
total: number;
}
export declare function getTableFields(this: IExecuteFunctions | ILoadOptionsFunctions, accessToken: string, appToken: string, tableId: string, options?: IDataObject): Promise<IGetFieldsResult>;
export declare function getAllTableFields(this: IExecuteFunctions | ILoadOptionsFunctions, accessToken: string, appToken: string, tableId: string, options?: IDataObject): Promise<IFieldInfo[]>;
export declare function mapFieldsToOptions(fields: IFieldInfo[]): Array<{
name: string;
value: string;
}>;
export declare function createFieldMappingUi(fields: IFieldInfo[]): IDataObject[];