Q140: a message can carry several files, or files alone
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
46f7561f77
commit
a6ab09d6b5
11 files changed
+129
-35
No files matched your search
@@ -1,3 +1,9 @@
|
||||
/** What a pick imported, in order, and each picked file that could not be imported, with why. */
|
||||
export interface ImportedFiles {
|
||||
fileIds: string[];
|
||||
failures: Array<{ name: string; reason: string }>;
|
||||
}
|
||||
|
||||
export interface ImportFileInput {
|
||||
orgId: string;
|
||||
/** The conversation the file is attached in; a direct or restricted one keeps the file to its members. */
|
||||
|
||||
@@ -58,6 +58,7 @@ import type {
|
||||
DeleteMessageInput,
|
||||
DeleteOrganizationInput,
|
||||
EditMessageInput,
|
||||
ImportedFiles,
|
||||
ImportFileInput,
|
||||
OpenFileInput,
|
||||
GrantRoleInput,
|
||||
@@ -174,7 +175,7 @@ export interface DesktopApi {
|
||||
launchSocialLogin(input: LaunchSocialLoginInput): Promise<DesktopResult<null>>;
|
||||
createScheduledPost(input: CreateScheduledPostInput): Promise<DesktopResult<AppSnapshot>>;
|
||||
setScheduledPostState(input: SetScheduledPostStateInput): Promise<DesktopResult<AppSnapshot>>;
|
||||
importFile(input: ImportFileInput): Promise<DesktopResult<string | null>>;
|
||||
importFile(input: ImportFileInput): Promise<DesktopResult<ImportedFiles>>;
|
||||
openFile(input: OpenFileInput): Promise<DesktopResult<null>>;
|
||||
pickDirectory(): Promise<DesktopResult<string | null>>;
|
||||
setFilePinned(input: SetFilePinnedInput): Promise<DesktopResult<AppSnapshot>>;
|
||||
|
||||
Reference in new issue
Block a user