Skip to content

Commit

Permalink
slightly improved typing, still not good enough
Browse files Browse the repository at this point in the history
  • Loading branch information
overmode committed Jan 14, 2025
1 parent 78434ab commit d788765
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion front/lib/api/files/upsert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,17 @@ export async function processAndUpsertToDataSource(
}: {
file: FileResource;
optionalContent?: string;
upsertArgs?: Record<string, string>;
upsertArgs?:
| Pick<UpsertDocumentArgs, "name" | "title" | "tags">
| Pick<
UpsertTableArgs,
| "name"
| "title"
| "description"
| "tableId"
| "tags"
| "useAppForHeaderDetection"
>;
}
): Promise<
Result<
Expand Down

0 comments on commit d788765

Please sign in to comment.