1 import type { ShareMembershipPayload } from './member';
3 export interface CreateDriveShare {
8 SharePassphrase: string;
9 SharePassphraseSignature: string;
10 PassphraseKeyPacket: string;
11 NameKeyPacket: string;
13 export interface CreateDrivePhotosShare {
20 PassphraseSignature: string;
24 NodePassphrase: string;
25 NodePassphraseSignature: string;
31 export interface UserShareResult {
32 Shares: ShareMetaShort[];
35 export interface ShareMetaShort {
44 PossibleKeyPackets?: { KeyPacket: string }[];
45 VolumeSoftDeleted: boolean;
50 export interface ShareMeta extends ShareMetaShort {
53 PassphraseSignature: string;
55 RootLinkRecoveryPassphrase?: string;
56 Memberships: ShareMembershipPayload[];
59 export enum ShareFlags {