Skip to main content

Type Alias: CloudProviderDetails

type CloudProviderDetails =
| {
accountLabel?: string;
kind:
| typeof DROPBOX
| typeof GOOGLE_DRIVE
| typeof WEBDAV;
}
| {
baseDirectory: string;
kind: typeof FILESYSTEM;
};

Defined in: shared/types/cloud.ts:70

Provider-specific details safe to expose to the renderer.

Union Membersโ€‹

Type Literalโ€‹

{
accountLabel?: string;
kind: | typeof DROPBOX
| typeof GOOGLE_DRIVE
| typeof WEBDAV;
}

accountLabel?โ€‹

optional accountLabel?: string;

Human-readable account identifier (email, display name, etc.).

Remarksโ€‹

Optional because providers may not supply one.

kindโ€‹

kind:
| typeof DROPBOX
| typeof GOOGLE_DRIVE
| typeof WEBDAV;

Type Literalโ€‹

{
baseDirectory: string;
kind: typeof FILESYSTEM;
}

baseDirectoryโ€‹

baseDirectory: string;

Base directory configured by the user.

kindโ€‹

kind: typeof FILESYSTEM;