refactor: enhance configuration handling and error checking for template fields in the Word output plugin

This commit is contained in:
2025-10-02 13:26:13 +09:00
parent b1540e8374
commit 99251b4748
9 changed files with 193 additions and 70 deletions

View File

@@ -98,4 +98,20 @@ declare namespace kintone {
function getFormFields(): Promise<unknown>;
function getFormLayout(): Promise<unknown>;
}
function proxy(
url: string,
method: string,
headers: Record<string, string>,
data: Record<string, unknown> | string,
): Promise<[string, number, Record<string, string>]>;
function proxy(
url: string,
method: string,
headers: Record<string, string>,
data: Record<string, unknown> | string,
callback: (resp: [string, number, Record<string, string>]) => void,
errback: (err: Error) => void,
): void;
}