Skip to content

Commit 58c4252

Browse files
committed
merge: ship v1.1.5 updates
2 parents cc126fa + 1df365b commit 58c4252

16 files changed

+4306
-2699
lines changed

electron/electron-env.d.ts

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ interface Window {
197197
projectData: unknown,
198198
suggestedName?: string,
199199
existingProjectPath?: string,
200+
thumbnailDataUrl?: string | null,
200201
) => Promise<{
201202
success: boolean;
202203
path?: string;
@@ -220,6 +221,38 @@ interface Window {
220221
canceled?: boolean;
221222
error?: string;
222223
}>;
224+
getProjectsDirectory: () => Promise<{
225+
success: boolean;
226+
path?: string;
227+
error?: string;
228+
}>;
229+
listProjectFiles: () => Promise<{
230+
success: boolean;
231+
projectsDir?: string | null;
232+
entries: Array<{
233+
path: string;
234+
name: string;
235+
updatedAt: number;
236+
thumbnailPath: string | null;
237+
isCurrent: boolean;
238+
isInProjectsDirectory: boolean;
239+
}>;
240+
error?: string;
241+
}>;
242+
openProjectFileAtPath: (filePath: string) => Promise<{
243+
success: boolean;
244+
path?: string;
245+
project?: unknown;
246+
message?: string;
247+
canceled?: boolean;
248+
error?: string;
249+
}>;
250+
openProjectsDirectory: () => Promise<{
251+
success: boolean;
252+
path?: string;
253+
message?: string;
254+
error?: string;
255+
}>;
223256
onMenuLoadProject: (callback: () => void) => () => void;
224257
onMenuSaveProject: (callback: () => void) => () => void;
225258
onMenuSaveProjectAs: (callback: () => void) => () => void;

0 commit comments

Comments
 (0)