-
Notifications
You must be signed in to change notification settings - Fork 334
Move RemoteBackend and LocalBackend to enso-common for use in other modules
#14212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
ef7459d
8d362a1
3be6b66
3cebacc
da0b2ac
5a67113
e4f7e2a
a6402b9
46a246b
db294e8
ec40192
8afeafa
79a0ba3
23c401a
8378775
4e691e6
5a70186
c6b394b
9210c7e
b3f51f1
84b1055
bcf55e2
a0f0111
8e579c5
413d4af
26fd722
051d545
bf8ed25
50a2992
9a1fcc2
58c46e9
5e5a363
7015499
e081372
ddc0da0
2cf4ad4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| import type { Path } from './utilities/file.js' | ||
|
|
||
| export interface DownloadUrlOptions { | ||
| readonly url: string | ||
| readonly path?: Path | null | undefined | ||
| readonly name?: string | null | undefined | ||
| readonly shouldUnpackProject?: boolean | ||
| readonly showFileDialog?: boolean | ||
| } | ||
|
|
||
| /** Options for `download` function. */ | ||
| export interface DownloadOptions { | ||
| readonly url: string | ||
| readonly name?: string | null | undefined | ||
| readonly electronOptions?: Omit<DownloadUrlOptions, 'name' | 'url'> | ||
| } | ||
|
Comment on lines
+11
to
+16
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If these are options for "download" function, it should be defined next to that function IMO There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. true, but unfortunately right now the download function is browser-only :/ any ideas? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm, one is used in electron IPC, another in special download callback in Backends... I think I would put this file just in |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be placed elsewhere. "Utilities" is too general, I don't see where I should use this structure (it mentions both FileDialog and project unpacking)