@haex-space/vault-sdk 4.3.0 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{client-CDox5_KH.d.mts → client-BCUfRZvU.d.mts} +96 -12
- package/dist/{client-pppDo5Q3.d.ts → client-C44dqakd.d.ts} +96 -12
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/react.d.mts +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/react.js.map +1 -1
- package/dist/react.mjs.map +1 -1
- package/dist/runtime/nuxt.plugin.client.d.mts +1 -1
- package/dist/runtime/nuxt.plugin.client.d.ts +1 -1
- package/dist/runtime/nuxt.plugin.client.js.map +1 -1
- package/dist/runtime/nuxt.plugin.client.mjs.map +1 -1
- package/dist/svelte.d.mts +1 -1
- package/dist/svelte.d.ts +1 -1
- package/dist/svelte.js.map +1 -1
- package/dist/svelte.mjs.map +1 -1
- package/dist/vue.d.mts +1 -1
- package/dist/vue.d.ts +1 -1
- package/dist/vue.js.map +1 -1
- package/dist/vue.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -544,18 +544,25 @@ interface S3PublicConfig {
|
|
|
544
544
|
/** Bucket name */
|
|
545
545
|
bucket: string;
|
|
546
546
|
}
|
|
547
|
-
/**
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
*/
|
|
551
|
-
interface StorageBackendInfo {
|
|
547
|
+
/** The protocol of a storage. */
|
|
548
|
+
type StorageBackendType = "s3" | "webdav" | "sftp";
|
|
549
|
+
interface StorageBackendInfoBase {
|
|
552
550
|
id: string;
|
|
553
|
-
/** Backend type (e.g., "s3") */
|
|
554
|
-
type: string;
|
|
555
551
|
/** Name of the storage */
|
|
556
552
|
name: string;
|
|
557
553
|
/** Name of the provider the user gave the connection (e.g., "Hetzner") */
|
|
558
554
|
providerName: string;
|
|
555
|
+
}
|
|
556
|
+
/**
|
|
557
|
+
* A storage the extension may use, as the host lists it: names only, never
|
|
558
|
+
* credentials, endpoint, host, port, host key or region. An S3 storage names
|
|
559
|
+
* its bucket; a WebDAV or SFTP storage names its folder on the server (empty
|
|
560
|
+
* for the root). Check `type` before reading `bucket` or `folder`.
|
|
561
|
+
*/
|
|
562
|
+
type StorageBackendInfo = S3BackendInfo | FolderBackendInfo;
|
|
563
|
+
/** An S3 storage, as the host lists it. */
|
|
564
|
+
interface S3BackendInfo extends StorageBackendInfoBase {
|
|
565
|
+
type: "s3";
|
|
559
566
|
/** Bucket of the storage */
|
|
560
567
|
bucket: string;
|
|
561
568
|
/** @deprecated Not sent by hosts that keep credentials to themselves (holzi). */
|
|
@@ -565,6 +572,51 @@ interface StorageBackendInfo {
|
|
|
565
572
|
/** @deprecated Not sent by hosts that keep credentials to themselves (holzi). */
|
|
566
573
|
config?: S3PublicConfig;
|
|
567
574
|
}
|
|
575
|
+
/** A WebDAV or SFTP storage, as the host lists it. */
|
|
576
|
+
interface FolderBackendInfo extends StorageBackendInfoBase {
|
|
577
|
+
type: "webdav" | "sftp";
|
|
578
|
+
/** Folder of the storage on the server, without `/` at the start or end; empty for the root */
|
|
579
|
+
folder: string;
|
|
580
|
+
}
|
|
581
|
+
/** Fields that would carry a login; the host enters it in its own window and refuses them. */
|
|
582
|
+
interface NoLogin {
|
|
583
|
+
/** Entered by the host and never accepted in a proposal. */
|
|
584
|
+
username?: never;
|
|
585
|
+
/** Entered by the host and never accepted in a proposal. */
|
|
586
|
+
password?: never;
|
|
587
|
+
/** Entered by the host and never accepted in a proposal. */
|
|
588
|
+
privateKey?: never;
|
|
589
|
+
/** Entered by the host and never accepted in a proposal. */
|
|
590
|
+
passphrase?: never;
|
|
591
|
+
/** Confirmed by the user in the host and never accepted in a proposal. */
|
|
592
|
+
hostKey?: never;
|
|
593
|
+
/** Confirmed by the user in the host and never accepted in a proposal. */
|
|
594
|
+
fingerprint?: never;
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* What an extension proposes for a new WebDAV storage. The host asks for a
|
|
598
|
+
* permission for host and port of `url` (the port of the scheme when absent),
|
|
599
|
+
* shows the proposal to the user and asks for the login in its own window.
|
|
600
|
+
*/
|
|
601
|
+
interface WebDavProposal extends NoLogin {
|
|
602
|
+
/** Address of the WebDAV server: `https`, or `http` only in the local network */
|
|
603
|
+
url: string;
|
|
604
|
+
/** Folder of the storage on the server; empty for the root */
|
|
605
|
+
folder: string;
|
|
606
|
+
}
|
|
607
|
+
/**
|
|
608
|
+
* What an extension proposes for a new SFTP storage. The host asks for a
|
|
609
|
+
* permission for `host:port`, shows the server's host key to the user to
|
|
610
|
+
* confirm, and asks for the login in its own window.
|
|
611
|
+
*/
|
|
612
|
+
interface SftpProposal extends NoLogin {
|
|
613
|
+
/** Name or IP address of the server, without a scheme */
|
|
614
|
+
host: string;
|
|
615
|
+
/** Port of the server (1–65535); 22 when absent */
|
|
616
|
+
port?: number;
|
|
617
|
+
/** Folder of the storage on the server; empty for the root */
|
|
618
|
+
folder: string;
|
|
619
|
+
}
|
|
568
620
|
/**
|
|
569
621
|
* What an extension proposes for a new S3 storage. The host shows it to the
|
|
570
622
|
* user and asks for credentials in its own window; an extension never sends
|
|
@@ -613,9 +665,13 @@ interface S3Config {
|
|
|
613
665
|
interface AddBackendRequestBase {
|
|
614
666
|
/** Display name for the storage */
|
|
615
667
|
name: string;
|
|
616
|
-
/** Backend type
|
|
668
|
+
/** Backend type */
|
|
617
669
|
type: "s3";
|
|
618
670
|
}
|
|
671
|
+
interface AddFolderBackendRequestBase {
|
|
672
|
+
/** Display name for the storage */
|
|
673
|
+
name: string;
|
|
674
|
+
}
|
|
619
675
|
/**
|
|
620
676
|
* Request to add a new storage on a new connection. The host asks the user to
|
|
621
677
|
* confirm it and enters credentials in its own window.
|
|
@@ -645,6 +701,31 @@ type AddBackendRequest = (AddBackendRequestBase & {
|
|
|
645
701
|
};
|
|
646
702
|
/** A storage the extension may read. */
|
|
647
703
|
sameProviderAs: string;
|
|
704
|
+
})
|
|
705
|
+
/** Request to add a WebDAV storage on a new connection. */
|
|
706
|
+
| (AddFolderBackendRequestBase & {
|
|
707
|
+
type: "webdav";
|
|
708
|
+
config: WebDavProposal;
|
|
709
|
+
sameProviderAs?: never;
|
|
710
|
+
})
|
|
711
|
+
/** Request to add an SFTP storage on a new connection. */
|
|
712
|
+
| (AddFolderBackendRequestBase & {
|
|
713
|
+
type: "sftp";
|
|
714
|
+
config: SftpProposal;
|
|
715
|
+
sameProviderAs?: never;
|
|
716
|
+
})
|
|
717
|
+
/**
|
|
718
|
+
* Request to add a folder on the connection of an existing WebDAV or SFTP
|
|
719
|
+
* storage of the same type.
|
|
720
|
+
*/
|
|
721
|
+
| (AddFolderBackendRequestBase & {
|
|
722
|
+
type: "webdav" | "sftp";
|
|
723
|
+
/** With an existing provider, only the folder may be proposed. */
|
|
724
|
+
config: {
|
|
725
|
+
folder: string;
|
|
726
|
+
} & NoLogin;
|
|
727
|
+
/** A storage of the same type the extension may read. */
|
|
728
|
+
sameProviderAs: string;
|
|
648
729
|
});
|
|
649
730
|
/**
|
|
650
731
|
* Request to change a storage. The host asks the user to confirm it; new
|
|
@@ -656,11 +737,13 @@ interface UpdateBackendRequest {
|
|
|
656
737
|
/** New display name (optional) */
|
|
657
738
|
name?: string;
|
|
658
739
|
/**
|
|
659
|
-
* Only the bucket can be changed through
|
|
660
|
-
* and connection details never cross the
|
|
740
|
+
* Only the bucket (S3) or the folder (WebDAV, SFTP) can be changed through
|
|
741
|
+
* the extension request. Credentials and connection details never cross the
|
|
742
|
+
* bridge.
|
|
661
743
|
*/
|
|
662
744
|
config?: {
|
|
663
745
|
bucket?: string;
|
|
746
|
+
folder?: string;
|
|
664
747
|
endpoint?: never;
|
|
665
748
|
region?: never;
|
|
666
749
|
pathStyle?: never;
|
|
@@ -681,7 +764,8 @@ interface StorageObjectInfo {
|
|
|
681
764
|
lastModified?: string;
|
|
682
765
|
}
|
|
683
766
|
/**
|
|
684
|
-
* Remote Storage API for S3-compatible
|
|
767
|
+
* Remote Storage API for S3-compatible, WebDAV and SFTP backends. Object calls
|
|
768
|
+
* work alike on every type.
|
|
685
769
|
*
|
|
686
770
|
* This API provides access to external storage backends configured centrally
|
|
687
771
|
* in haex-vault. Extensions can upload/download files without CORS issues.
|
|
@@ -1975,4 +2059,4 @@ declare class HaexVaultSdk {
|
|
|
1975
2059
|
private log;
|
|
1976
2060
|
}
|
|
1977
2061
|
|
|
1978
|
-
export { type PasswordInput as $, type AuthorizedClient as A, type BlockedClient as B, type ConfirmOptions as C, DatabaseAPI as D, type EncryptedFolderAccess as E, type FileStat as F, type LocalSendSettings as G, HaexVaultSdk as H, type ImapConfig as I, type MailAccount as J, KnownPath as K, LOCALSEND_EVENTS as L, MailAPI as M, type MailAddress as N, type Attachment as O, type FetchRange as P, type MailMessage as Q, type MailNewMessagesEvent as R, StorageAPI as S, type MailboxInfo as T, type MessageEnvelope as U, type NotificationAction as V, type NotificationClickEvent as W, type NotificationOptions as X, NotificationsAPI as Y, type OutgoingAttachment as Z, type OutgoingMessage as _, type ConnectionSecurity as a, type PasswordItemFull as a0, type PasswordItemSummary as a1, type PasswordKeyValue as a2, type PasswordKeyValueInput as a3, PasswordsAPI as a4, type PendingAuthorization as a5, type PendingTransfer as a6, PermissionsAPI as a7, type AddBackendRequest as a8, type
|
|
2062
|
+
export { type PasswordInput as $, type AuthorizedClient as A, type BlockedClient as B, type ConfirmOptions as C, DatabaseAPI as D, type EncryptedFolderAccess as E, type FileStat as F, type LocalSendSettings as G, HaexVaultSdk as H, type ImapConfig as I, type MailAccount as J, KnownPath as K, LOCALSEND_EVENTS as L, MailAPI as M, type MailAddress as N, type Attachment as O, type FetchRange as P, type MailMessage as Q, type MailNewMessagesEvent as R, StorageAPI as S, type MailboxInfo as T, type MessageEnvelope as U, type NotificationAction as V, type NotificationClickEvent as W, type NotificationOptions as X, NotificationsAPI as Y, type OutgoingAttachment as Z, type OutgoingMessage as _, type ConnectionSecurity as a, type PasswordItemFull as a0, type PasswordItemSummary as a1, type PasswordKeyValue as a2, type PasswordKeyValueInput as a3, PasswordsAPI as a4, type PendingAuthorization as a5, type PendingTransfer as a6, PermissionsAPI as a7, type AddBackendRequest as a8, type FolderBackendInfo as a9, type SpaceInvite as aA, type SpaceKeyGrantInfo as aB, type SpaceMember as aC, type SpaceMemberInfo as aD, SpacesAPI as aE, type SyncBackendInfo as aF, TabAPI as aG, type ToolContext as aH, type ToolHandler as aI, ToolsAPI as aJ, type TransferDirection as aK, type TransferProgress as aL, type TransferState as aM, WebAPI as aN, canExternalClientSendRequests as aO, isExternalClientConnected as aP, type S3BackendInfo as aa, type S3Config as ab, type S3Proposal as ac, type S3PublicConfig as ad, type SftpProposal as ae, RemoteStorageAPI as af, type StorageBackendInfo as ag, type StorageBackendType as ah, type StorageObjectInfo as ai, type UpdateBackendRequest as aj, type WebDavProposal as ak, type RequestedExtension as al, type SelectFileOptions as am, type SelectFolderOptions as an, type ServerInfo as ao, type ServerStatus as ap, type SessionAuthorization as aq, type SharedSpace as ar, ShellAPI as as, type ShellCreateOptions as at, type ShellCreateResponse as au, type ShellExitEvent as av, type ShellOutputEvent as aw, type SmtpConfig as ax, type SpaceAccessTokenInfo as ay, type SpaceAssignment as az, type DecryptedSpace as b, type DeepLink as c, type Device as d, type DeviceInfo as e, type DeviceType as f, DialogAPI as g, type DirEntry as h, type EncryptedFolderChoice as i, type EncryptedFolderEntry as j, type EncryptedFolderProviderErrorKind as k, EncryptedFoldersAPI as l, type ExternalAuthDecision as m, type ExternalConnection as n, ExternalConnectionErrorCode as o, ExternalConnectionState as p, type ExternalRequest as q, type ExternalRequestEvent as r, type ExternalRequestHandler as s, type ExternalRequestPayload as t, type ExternalResponse as u, FilesystemAPI as v, type KnownPaths as w, LocalSendAPI as x, type LocalSendEvent as y, type FileInfo as z };
|
|
@@ -544,18 +544,25 @@ interface S3PublicConfig {
|
|
|
544
544
|
/** Bucket name */
|
|
545
545
|
bucket: string;
|
|
546
546
|
}
|
|
547
|
-
/**
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
*/
|
|
551
|
-
interface StorageBackendInfo {
|
|
547
|
+
/** The protocol of a storage. */
|
|
548
|
+
type StorageBackendType = "s3" | "webdav" | "sftp";
|
|
549
|
+
interface StorageBackendInfoBase {
|
|
552
550
|
id: string;
|
|
553
|
-
/** Backend type (e.g., "s3") */
|
|
554
|
-
type: string;
|
|
555
551
|
/** Name of the storage */
|
|
556
552
|
name: string;
|
|
557
553
|
/** Name of the provider the user gave the connection (e.g., "Hetzner") */
|
|
558
554
|
providerName: string;
|
|
555
|
+
}
|
|
556
|
+
/**
|
|
557
|
+
* A storage the extension may use, as the host lists it: names only, never
|
|
558
|
+
* credentials, endpoint, host, port, host key or region. An S3 storage names
|
|
559
|
+
* its bucket; a WebDAV or SFTP storage names its folder on the server (empty
|
|
560
|
+
* for the root). Check `type` before reading `bucket` or `folder`.
|
|
561
|
+
*/
|
|
562
|
+
type StorageBackendInfo = S3BackendInfo | FolderBackendInfo;
|
|
563
|
+
/** An S3 storage, as the host lists it. */
|
|
564
|
+
interface S3BackendInfo extends StorageBackendInfoBase {
|
|
565
|
+
type: "s3";
|
|
559
566
|
/** Bucket of the storage */
|
|
560
567
|
bucket: string;
|
|
561
568
|
/** @deprecated Not sent by hosts that keep credentials to themselves (holzi). */
|
|
@@ -565,6 +572,51 @@ interface StorageBackendInfo {
|
|
|
565
572
|
/** @deprecated Not sent by hosts that keep credentials to themselves (holzi). */
|
|
566
573
|
config?: S3PublicConfig;
|
|
567
574
|
}
|
|
575
|
+
/** A WebDAV or SFTP storage, as the host lists it. */
|
|
576
|
+
interface FolderBackendInfo extends StorageBackendInfoBase {
|
|
577
|
+
type: "webdav" | "sftp";
|
|
578
|
+
/** Folder of the storage on the server, without `/` at the start or end; empty for the root */
|
|
579
|
+
folder: string;
|
|
580
|
+
}
|
|
581
|
+
/** Fields that would carry a login; the host enters it in its own window and refuses them. */
|
|
582
|
+
interface NoLogin {
|
|
583
|
+
/** Entered by the host and never accepted in a proposal. */
|
|
584
|
+
username?: never;
|
|
585
|
+
/** Entered by the host and never accepted in a proposal. */
|
|
586
|
+
password?: never;
|
|
587
|
+
/** Entered by the host and never accepted in a proposal. */
|
|
588
|
+
privateKey?: never;
|
|
589
|
+
/** Entered by the host and never accepted in a proposal. */
|
|
590
|
+
passphrase?: never;
|
|
591
|
+
/** Confirmed by the user in the host and never accepted in a proposal. */
|
|
592
|
+
hostKey?: never;
|
|
593
|
+
/** Confirmed by the user in the host and never accepted in a proposal. */
|
|
594
|
+
fingerprint?: never;
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* What an extension proposes for a new WebDAV storage. The host asks for a
|
|
598
|
+
* permission for host and port of `url` (the port of the scheme when absent),
|
|
599
|
+
* shows the proposal to the user and asks for the login in its own window.
|
|
600
|
+
*/
|
|
601
|
+
interface WebDavProposal extends NoLogin {
|
|
602
|
+
/** Address of the WebDAV server: `https`, or `http` only in the local network */
|
|
603
|
+
url: string;
|
|
604
|
+
/** Folder of the storage on the server; empty for the root */
|
|
605
|
+
folder: string;
|
|
606
|
+
}
|
|
607
|
+
/**
|
|
608
|
+
* What an extension proposes for a new SFTP storage. The host asks for a
|
|
609
|
+
* permission for `host:port`, shows the server's host key to the user to
|
|
610
|
+
* confirm, and asks for the login in its own window.
|
|
611
|
+
*/
|
|
612
|
+
interface SftpProposal extends NoLogin {
|
|
613
|
+
/** Name or IP address of the server, without a scheme */
|
|
614
|
+
host: string;
|
|
615
|
+
/** Port of the server (1–65535); 22 when absent */
|
|
616
|
+
port?: number;
|
|
617
|
+
/** Folder of the storage on the server; empty for the root */
|
|
618
|
+
folder: string;
|
|
619
|
+
}
|
|
568
620
|
/**
|
|
569
621
|
* What an extension proposes for a new S3 storage. The host shows it to the
|
|
570
622
|
* user and asks for credentials in its own window; an extension never sends
|
|
@@ -613,9 +665,13 @@ interface S3Config {
|
|
|
613
665
|
interface AddBackendRequestBase {
|
|
614
666
|
/** Display name for the storage */
|
|
615
667
|
name: string;
|
|
616
|
-
/** Backend type
|
|
668
|
+
/** Backend type */
|
|
617
669
|
type: "s3";
|
|
618
670
|
}
|
|
671
|
+
interface AddFolderBackendRequestBase {
|
|
672
|
+
/** Display name for the storage */
|
|
673
|
+
name: string;
|
|
674
|
+
}
|
|
619
675
|
/**
|
|
620
676
|
* Request to add a new storage on a new connection. The host asks the user to
|
|
621
677
|
* confirm it and enters credentials in its own window.
|
|
@@ -645,6 +701,31 @@ type AddBackendRequest = (AddBackendRequestBase & {
|
|
|
645
701
|
};
|
|
646
702
|
/** A storage the extension may read. */
|
|
647
703
|
sameProviderAs: string;
|
|
704
|
+
})
|
|
705
|
+
/** Request to add a WebDAV storage on a new connection. */
|
|
706
|
+
| (AddFolderBackendRequestBase & {
|
|
707
|
+
type: "webdav";
|
|
708
|
+
config: WebDavProposal;
|
|
709
|
+
sameProviderAs?: never;
|
|
710
|
+
})
|
|
711
|
+
/** Request to add an SFTP storage on a new connection. */
|
|
712
|
+
| (AddFolderBackendRequestBase & {
|
|
713
|
+
type: "sftp";
|
|
714
|
+
config: SftpProposal;
|
|
715
|
+
sameProviderAs?: never;
|
|
716
|
+
})
|
|
717
|
+
/**
|
|
718
|
+
* Request to add a folder on the connection of an existing WebDAV or SFTP
|
|
719
|
+
* storage of the same type.
|
|
720
|
+
*/
|
|
721
|
+
| (AddFolderBackendRequestBase & {
|
|
722
|
+
type: "webdav" | "sftp";
|
|
723
|
+
/** With an existing provider, only the folder may be proposed. */
|
|
724
|
+
config: {
|
|
725
|
+
folder: string;
|
|
726
|
+
} & NoLogin;
|
|
727
|
+
/** A storage of the same type the extension may read. */
|
|
728
|
+
sameProviderAs: string;
|
|
648
729
|
});
|
|
649
730
|
/**
|
|
650
731
|
* Request to change a storage. The host asks the user to confirm it; new
|
|
@@ -656,11 +737,13 @@ interface UpdateBackendRequest {
|
|
|
656
737
|
/** New display name (optional) */
|
|
657
738
|
name?: string;
|
|
658
739
|
/**
|
|
659
|
-
* Only the bucket can be changed through
|
|
660
|
-
* and connection details never cross the
|
|
740
|
+
* Only the bucket (S3) or the folder (WebDAV, SFTP) can be changed through
|
|
741
|
+
* the extension request. Credentials and connection details never cross the
|
|
742
|
+
* bridge.
|
|
661
743
|
*/
|
|
662
744
|
config?: {
|
|
663
745
|
bucket?: string;
|
|
746
|
+
folder?: string;
|
|
664
747
|
endpoint?: never;
|
|
665
748
|
region?: never;
|
|
666
749
|
pathStyle?: never;
|
|
@@ -681,7 +764,8 @@ interface StorageObjectInfo {
|
|
|
681
764
|
lastModified?: string;
|
|
682
765
|
}
|
|
683
766
|
/**
|
|
684
|
-
* Remote Storage API for S3-compatible
|
|
767
|
+
* Remote Storage API for S3-compatible, WebDAV and SFTP backends. Object calls
|
|
768
|
+
* work alike on every type.
|
|
685
769
|
*
|
|
686
770
|
* This API provides access to external storage backends configured centrally
|
|
687
771
|
* in haex-vault. Extensions can upload/download files without CORS issues.
|
|
@@ -1975,4 +2059,4 @@ declare class HaexVaultSdk {
|
|
|
1975
2059
|
private log;
|
|
1976
2060
|
}
|
|
1977
2061
|
|
|
1978
|
-
export { type PasswordInput as $, type AuthorizedClient as A, type BlockedClient as B, type ConfirmOptions as C, DatabaseAPI as D, type EncryptedFolderAccess as E, type FileStat as F, type LocalSendSettings as G, HaexVaultSdk as H, type ImapConfig as I, type MailAccount as J, KnownPath as K, LOCALSEND_EVENTS as L, MailAPI as M, type MailAddress as N, type Attachment as O, type FetchRange as P, type MailMessage as Q, type MailNewMessagesEvent as R, StorageAPI as S, type MailboxInfo as T, type MessageEnvelope as U, type NotificationAction as V, type NotificationClickEvent as W, type NotificationOptions as X, NotificationsAPI as Y, type OutgoingAttachment as Z, type OutgoingMessage as _, type ConnectionSecurity as a, type PasswordItemFull as a0, type PasswordItemSummary as a1, type PasswordKeyValue as a2, type PasswordKeyValueInput as a3, PasswordsAPI as a4, type PendingAuthorization as a5, type PendingTransfer as a6, PermissionsAPI as a7, type AddBackendRequest as a8, type
|
|
2062
|
+
export { type PasswordInput as $, type AuthorizedClient as A, type BlockedClient as B, type ConfirmOptions as C, DatabaseAPI as D, type EncryptedFolderAccess as E, type FileStat as F, type LocalSendSettings as G, HaexVaultSdk as H, type ImapConfig as I, type MailAccount as J, KnownPath as K, LOCALSEND_EVENTS as L, MailAPI as M, type MailAddress as N, type Attachment as O, type FetchRange as P, type MailMessage as Q, type MailNewMessagesEvent as R, StorageAPI as S, type MailboxInfo as T, type MessageEnvelope as U, type NotificationAction as V, type NotificationClickEvent as W, type NotificationOptions as X, NotificationsAPI as Y, type OutgoingAttachment as Z, type OutgoingMessage as _, type ConnectionSecurity as a, type PasswordItemFull as a0, type PasswordItemSummary as a1, type PasswordKeyValue as a2, type PasswordKeyValueInput as a3, PasswordsAPI as a4, type PendingAuthorization as a5, type PendingTransfer as a6, PermissionsAPI as a7, type AddBackendRequest as a8, type FolderBackendInfo as a9, type SpaceInvite as aA, type SpaceKeyGrantInfo as aB, type SpaceMember as aC, type SpaceMemberInfo as aD, SpacesAPI as aE, type SyncBackendInfo as aF, TabAPI as aG, type ToolContext as aH, type ToolHandler as aI, ToolsAPI as aJ, type TransferDirection as aK, type TransferProgress as aL, type TransferState as aM, WebAPI as aN, canExternalClientSendRequests as aO, isExternalClientConnected as aP, type S3BackendInfo as aa, type S3Config as ab, type S3Proposal as ac, type S3PublicConfig as ad, type SftpProposal as ae, RemoteStorageAPI as af, type StorageBackendInfo as ag, type StorageBackendType as ah, type StorageObjectInfo as ai, type UpdateBackendRequest as aj, type WebDavProposal as ak, type RequestedExtension as al, type SelectFileOptions as am, type SelectFolderOptions as an, type ServerInfo as ao, type ServerStatus as ap, type SessionAuthorization as aq, type SharedSpace as ar, ShellAPI as as, type ShellCreateOptions as at, type ShellCreateResponse as au, type ShellExitEvent as av, type ShellOutputEvent as aw, type SmtpConfig as ax, type SpaceAccessTokenInfo as ay, type SpaceAssignment as az, type DecryptedSpace as b, type DeepLink as c, type Device as d, type DeviceInfo as e, type DeviceType as f, DialogAPI as g, type DirEntry as h, type EncryptedFolderChoice as i, type EncryptedFolderEntry as j, type EncryptedFolderProviderErrorKind as k, EncryptedFoldersAPI as l, type ExternalAuthDecision as m, type ExternalConnection as n, ExternalConnectionErrorCode as o, ExternalConnectionState as p, type ExternalRequest as q, type ExternalRequestEvent as r, type ExternalRequestHandler as s, type ExternalRequestPayload as t, type ExternalResponse as u, FilesystemAPI as v, type KnownPaths as w, LocalSendAPI as x, type LocalSendEvent as y, type FileInfo as z };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as HaexVaultSdk } from './client-
|
|
2
|
-
export { A as AuthorizedClient, B as BlockedClient, C as ConfirmOptions, a as ConnectionSecurity, D as DatabaseAPI, b as DecryptedSpace, c as DeepLink, d as Device, e as DeviceInfo, f as DeviceType, g as DialogAPI, h as DirEntry, E as EncryptedFolderAccess, i as EncryptedFolderChoice, j as EncryptedFolderEntry, k as EncryptedFolderProviderErrorKind, l as EncryptedFoldersAPI, m as ExternalAuthDecision, n as ExternalConnection, o as ExternalConnectionErrorCode, p as ExternalConnectionState, q as ExternalRequest, r as ExternalRequestEvent, s as ExternalRequestHandler, t as ExternalRequestPayload, u as ExternalResponse, F as FileStat, v as FilesystemAPI, I as ImapConfig, K as KnownPath, w as KnownPaths, L as LOCALSEND_EVENTS, x as LocalSendAPI, y as LocalSendEvent, z as LocalSendFileInfo, G as LocalSendSettings, M as MailAPI, J as MailAccount, N as MailAddress, O as MailAttachment, P as MailFetchRange, Q as MailMessage, R as MailNewMessagesEvent, T as MailboxInfo, U as MessageEnvelope, V as NotificationAction, W as NotificationClickEvent, X as NotificationOptions, Y as NotificationsAPI, Z as OutgoingAttachment, _ as OutgoingMessage, $ as PasswordInput, a0 as PasswordItemFull, a1 as PasswordItemSummary, a2 as PasswordKeyValue, a3 as PasswordKeyValueInput, a4 as PasswordsAPI, a5 as PendingAuthorization, a6 as PendingTransfer, a7 as PermissionsAPI, a8 as RemoteAddBackendRequest, a9 as
|
|
1
|
+
import { H as HaexVaultSdk } from './client-BCUfRZvU.mjs';
|
|
2
|
+
export { A as AuthorizedClient, B as BlockedClient, C as ConfirmOptions, a as ConnectionSecurity, D as DatabaseAPI, b as DecryptedSpace, c as DeepLink, d as Device, e as DeviceInfo, f as DeviceType, g as DialogAPI, h as DirEntry, E as EncryptedFolderAccess, i as EncryptedFolderChoice, j as EncryptedFolderEntry, k as EncryptedFolderProviderErrorKind, l as EncryptedFoldersAPI, m as ExternalAuthDecision, n as ExternalConnection, o as ExternalConnectionErrorCode, p as ExternalConnectionState, q as ExternalRequest, r as ExternalRequestEvent, s as ExternalRequestHandler, t as ExternalRequestPayload, u as ExternalResponse, F as FileStat, v as FilesystemAPI, I as ImapConfig, K as KnownPath, w as KnownPaths, L as LOCALSEND_EVENTS, x as LocalSendAPI, y as LocalSendEvent, z as LocalSendFileInfo, G as LocalSendSettings, M as MailAPI, J as MailAccount, N as MailAddress, O as MailAttachment, P as MailFetchRange, Q as MailMessage, R as MailNewMessagesEvent, T as MailboxInfo, U as MessageEnvelope, V as NotificationAction, W as NotificationClickEvent, X as NotificationOptions, Y as NotificationsAPI, Z as OutgoingAttachment, _ as OutgoingMessage, $ as PasswordInput, a0 as PasswordItemFull, a1 as PasswordItemSummary, a2 as PasswordKeyValue, a3 as PasswordKeyValueInput, a4 as PasswordsAPI, a5 as PendingAuthorization, a6 as PendingTransfer, a7 as PermissionsAPI, a8 as RemoteAddBackendRequest, a9 as RemoteFolderBackendInfo, aa as RemoteS3BackendInfo, ab as RemoteS3Config, ac as RemoteS3Proposal, ad as RemoteS3PublicConfig, ae as RemoteSftpProposal, af as RemoteStorageAPI, ag as RemoteStorageBackendInfo, ah as RemoteStorageBackendType, ai as RemoteStorageObjectInfo, aj as RemoteUpdateBackendRequest, ak as RemoteWebDavProposal, al as RequestedExtension, am as SelectFileOptions, an as SelectFolderOptions, ao as ServerInfo, ap as ServerStatus, aq as SessionAuthorization, ar as SharedSpace, as as ShellAPI, at as ShellCreateOptions, au as ShellCreateResponse, av as ShellExitEvent, aw as ShellOutputEvent, ax as SmtpConfig, ay as SpaceAccessTokenInfo, az as SpaceAssignment, aA as SpaceInvite, aB as SpaceKeyGrantInfo, aC as SpaceMember, aD as SpaceMemberInfo, aE as SpacesAPI, aF as SyncBackendInfo, aG as TabAPI, aH as ToolContext, aI as ToolHandler, aJ as ToolsAPI, aK as TransferDirection, aL as TransferProgress, aM as TransferState, aN as WebAPI, aO as canExternalClientSendRequests, aP as isExternalClientConnected } from './client-BCUfRZvU.mjs';
|
|
3
3
|
import { h as SignedClaimPresentation, H as HaexHubConfig } from './types-DoNvKiW_.mjs';
|
|
4
4
|
export { A as ApplicationContext, C as ClaimRequirement, i as ContextChangedEvent, j as DEFAULT_TIMEOUT, k as DatabaseColumnInfo, l as DatabaseExecuteParams, m as DatabasePermission, g as DatabasePermissionRequest, n as DatabaseQueryParams, D as DatabaseQueryResult, o as DatabaseTableInfo, c as EXTERNAL_EVENTS, p as ErrorCode, f as EventCallback, E as ExtensionInfo, a as ExtensionManifest, q as ExtensionRuntimeMode, r as ExternalEvent, F as FileChangeEvent, s as FileChangePayload, t as FileChangeType, u as FilteredSyncTablesResult, v as HAEXTENSION_EVENTS, b as HaexHubEvent, w as HaexHubRequest, x as HaexHubResponse, y as HaexVaultSdkError, z as HaextensionEvent, B as HostErrorCode, I as IdentityClaim, G as MAIL_EVENTS, J as MailEvent, K as ManifestI18nEntry, L as ManifestTool, N as ManifestToolEffect, O as NOTIFICATION_EVENTS, Q as NotificationEvent, T as PermissionDeniedError, U as PermissionErrorBase, V as PermissionErrorCode, X as PermissionPromptError, P as PermissionResponse, Y as PermissionStatus, R as RequestOptions, Z as SHELL_EVENTS, _ as SearchQuery, $ as SearchRequestEvent, S as SearchResult, a0 as ShellEvent, a1 as SyncTablesUpdatedEvent, a2 as TABLE_SEPARATOR, W as WebRequestOptions, e as WebResponse, a3 as getTableName, a4 as isPermissionDeniedError, a5 as isPermissionError, a6 as isPermissionPromptError } from './types-DoNvKiW_.mjs';
|
|
5
5
|
export { H as HaextensionConfig } from './config-D_HXjsEV.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as HaexVaultSdk } from './client-
|
|
2
|
-
export { A as AuthorizedClient, B as BlockedClient, C as ConfirmOptions, a as ConnectionSecurity, D as DatabaseAPI, b as DecryptedSpace, c as DeepLink, d as Device, e as DeviceInfo, f as DeviceType, g as DialogAPI, h as DirEntry, E as EncryptedFolderAccess, i as EncryptedFolderChoice, j as EncryptedFolderEntry, k as EncryptedFolderProviderErrorKind, l as EncryptedFoldersAPI, m as ExternalAuthDecision, n as ExternalConnection, o as ExternalConnectionErrorCode, p as ExternalConnectionState, q as ExternalRequest, r as ExternalRequestEvent, s as ExternalRequestHandler, t as ExternalRequestPayload, u as ExternalResponse, F as FileStat, v as FilesystemAPI, I as ImapConfig, K as KnownPath, w as KnownPaths, L as LOCALSEND_EVENTS, x as LocalSendAPI, y as LocalSendEvent, z as LocalSendFileInfo, G as LocalSendSettings, M as MailAPI, J as MailAccount, N as MailAddress, O as MailAttachment, P as MailFetchRange, Q as MailMessage, R as MailNewMessagesEvent, T as MailboxInfo, U as MessageEnvelope, V as NotificationAction, W as NotificationClickEvent, X as NotificationOptions, Y as NotificationsAPI, Z as OutgoingAttachment, _ as OutgoingMessage, $ as PasswordInput, a0 as PasswordItemFull, a1 as PasswordItemSummary, a2 as PasswordKeyValue, a3 as PasswordKeyValueInput, a4 as PasswordsAPI, a5 as PendingAuthorization, a6 as PendingTransfer, a7 as PermissionsAPI, a8 as RemoteAddBackendRequest, a9 as
|
|
1
|
+
import { H as HaexVaultSdk } from './client-C44dqakd.js';
|
|
2
|
+
export { A as AuthorizedClient, B as BlockedClient, C as ConfirmOptions, a as ConnectionSecurity, D as DatabaseAPI, b as DecryptedSpace, c as DeepLink, d as Device, e as DeviceInfo, f as DeviceType, g as DialogAPI, h as DirEntry, E as EncryptedFolderAccess, i as EncryptedFolderChoice, j as EncryptedFolderEntry, k as EncryptedFolderProviderErrorKind, l as EncryptedFoldersAPI, m as ExternalAuthDecision, n as ExternalConnection, o as ExternalConnectionErrorCode, p as ExternalConnectionState, q as ExternalRequest, r as ExternalRequestEvent, s as ExternalRequestHandler, t as ExternalRequestPayload, u as ExternalResponse, F as FileStat, v as FilesystemAPI, I as ImapConfig, K as KnownPath, w as KnownPaths, L as LOCALSEND_EVENTS, x as LocalSendAPI, y as LocalSendEvent, z as LocalSendFileInfo, G as LocalSendSettings, M as MailAPI, J as MailAccount, N as MailAddress, O as MailAttachment, P as MailFetchRange, Q as MailMessage, R as MailNewMessagesEvent, T as MailboxInfo, U as MessageEnvelope, V as NotificationAction, W as NotificationClickEvent, X as NotificationOptions, Y as NotificationsAPI, Z as OutgoingAttachment, _ as OutgoingMessage, $ as PasswordInput, a0 as PasswordItemFull, a1 as PasswordItemSummary, a2 as PasswordKeyValue, a3 as PasswordKeyValueInput, a4 as PasswordsAPI, a5 as PendingAuthorization, a6 as PendingTransfer, a7 as PermissionsAPI, a8 as RemoteAddBackendRequest, a9 as RemoteFolderBackendInfo, aa as RemoteS3BackendInfo, ab as RemoteS3Config, ac as RemoteS3Proposal, ad as RemoteS3PublicConfig, ae as RemoteSftpProposal, af as RemoteStorageAPI, ag as RemoteStorageBackendInfo, ah as RemoteStorageBackendType, ai as RemoteStorageObjectInfo, aj as RemoteUpdateBackendRequest, ak as RemoteWebDavProposal, al as RequestedExtension, am as SelectFileOptions, an as SelectFolderOptions, ao as ServerInfo, ap as ServerStatus, aq as SessionAuthorization, ar as SharedSpace, as as ShellAPI, at as ShellCreateOptions, au as ShellCreateResponse, av as ShellExitEvent, aw as ShellOutputEvent, ax as SmtpConfig, ay as SpaceAccessTokenInfo, az as SpaceAssignment, aA as SpaceInvite, aB as SpaceKeyGrantInfo, aC as SpaceMember, aD as SpaceMemberInfo, aE as SpacesAPI, aF as SyncBackendInfo, aG as TabAPI, aH as ToolContext, aI as ToolHandler, aJ as ToolsAPI, aK as TransferDirection, aL as TransferProgress, aM as TransferState, aN as WebAPI, aO as canExternalClientSendRequests, aP as isExternalClientConnected } from './client-C44dqakd.js';
|
|
3
3
|
import { h as SignedClaimPresentation, H as HaexHubConfig } from './types-DoNvKiW_.js';
|
|
4
4
|
export { A as ApplicationContext, C as ClaimRequirement, i as ContextChangedEvent, j as DEFAULT_TIMEOUT, k as DatabaseColumnInfo, l as DatabaseExecuteParams, m as DatabasePermission, g as DatabasePermissionRequest, n as DatabaseQueryParams, D as DatabaseQueryResult, o as DatabaseTableInfo, c as EXTERNAL_EVENTS, p as ErrorCode, f as EventCallback, E as ExtensionInfo, a as ExtensionManifest, q as ExtensionRuntimeMode, r as ExternalEvent, F as FileChangeEvent, s as FileChangePayload, t as FileChangeType, u as FilteredSyncTablesResult, v as HAEXTENSION_EVENTS, b as HaexHubEvent, w as HaexHubRequest, x as HaexHubResponse, y as HaexVaultSdkError, z as HaextensionEvent, B as HostErrorCode, I as IdentityClaim, G as MAIL_EVENTS, J as MailEvent, K as ManifestI18nEntry, L as ManifestTool, N as ManifestToolEffect, O as NOTIFICATION_EVENTS, Q as NotificationEvent, T as PermissionDeniedError, U as PermissionErrorBase, V as PermissionErrorCode, X as PermissionPromptError, P as PermissionResponse, Y as PermissionStatus, R as RequestOptions, Z as SHELL_EVENTS, _ as SearchQuery, $ as SearchRequestEvent, S as SearchResult, a0 as ShellEvent, a1 as SyncTablesUpdatedEvent, a2 as TABLE_SEPARATOR, W as WebRequestOptions, e as WebResponse, a3 as getTableName, a4 as isPermissionDeniedError, a5 as isPermissionError, a6 as isPermissionPromptError } from './types-DoNvKiW_.js';
|
|
5
5
|
export { H as HaextensionConfig } from './config-D_HXjsEV.js';
|