Create Feishu sheets for spreadsheet files
This commit is contained in:
@@ -107,6 +107,7 @@ async function listSessionFiles(
|
||||
download_url: `/api/claw/files?path=${encodeURIComponent(filePath)}`,
|
||||
online_doc_url: cleanOnlineDocUrl(onlineDoc?.url) ?? null,
|
||||
online_doc_title: onlineDoc?.title ?? null,
|
||||
online_doc_kind: onlineDoc?.kind ?? null,
|
||||
online_doc_updated_at: onlineDoc?.updated_at ?? null,
|
||||
};
|
||||
}),
|
||||
@@ -125,6 +126,7 @@ function cleanOnlineDocUrl(value: unknown) {
|
||||
type OnlineDocRecord = {
|
||||
url?: string;
|
||||
title?: string;
|
||||
kind?: string;
|
||||
updated_at?: number;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user