Open files and replace the file row menu with real actions
This commit is contained in:
1 parent
d2695202b5
commit
69ae525cb7
10 files changed
+81
-10
No files matched your search
@@ -248,6 +248,11 @@ export interface ImportFileInput {
|
||||
orgId: string;
|
||||
}
|
||||
|
||||
export interface OpenFileInput {
|
||||
orgId: string;
|
||||
fileId: string;
|
||||
}
|
||||
|
||||
export interface CreateMigrationReportInput {
|
||||
orgId: string;
|
||||
sourceDatabasePath: string;
|
||||
|
||||
@@ -26,6 +26,7 @@ import type {
|
||||
DeleteOrganizationInput,
|
||||
EditMessageInput,
|
||||
ImportFileInput,
|
||||
OpenFileInput,
|
||||
ImportSkillDirectoryInput,
|
||||
GrantRoleInput,
|
||||
LaunchProviderSignInInput,
|
||||
@@ -97,6 +98,7 @@ export interface DesktopApi {
|
||||
createScheduledPost(input: CreateScheduledPostInput): Promise<DesktopResult<AppSnapshot>>;
|
||||
setScheduledPostState(input: SetScheduledPostStateInput): Promise<DesktopResult<AppSnapshot>>;
|
||||
importFile(input: ImportFileInput): Promise<DesktopResult<string | null>>;
|
||||
openFile(input: OpenFileInput): Promise<DesktopResult<null>>;
|
||||
pickDirectory(): Promise<DesktopResult<string | null>>;
|
||||
setFilePinned(input: SetFilePinnedInput): Promise<DesktopResult<AppSnapshot>>;
|
||||
createMigrationReport(input: CreateMigrationReportInput): Promise<DesktopResult<AppSnapshot>>;
|
||||
|
||||
@@ -35,6 +35,7 @@ export const IPC_CHANNELS = {
|
||||
createScheduledPost: "agentcompany:create-scheduled-post",
|
||||
setScheduledPostState: "agentcompany:set-scheduled-post-state",
|
||||
importFile: "agentcompany:import-file",
|
||||
openFile: "agentcompany:open-file",
|
||||
pickDirectory: "agentcompany:pick-directory",
|
||||
setFilePinned: "agentcompany:set-file-pinned",
|
||||
createMigrationReport: "agentcompany:create-migration-report",
|
||||
|
||||
Reference in new issue
Block a user