Constructors

Methods

  • Parameters

    • __namedParameters: {
          name: string;
          parentFolderId?: null | string;
      }
      • name: string
      • OptionalparentFolderId?: null | string

    Returns Promise<NodeFull>

  • Parameters

    • __namedParameters: {
          dataId: string;
          onDownloadProgress?: ((progress: DownloadProgress) => void);
          progressDecrypt?: ProgressCallback;
          signal?: AbortSignal;
      }
      • dataId: string
      • OptionalonDownloadProgress?: ((progress: DownloadProgress) => void)
          • (progress): void
          • Parameters

            • progress: DownloadProgress

            Returns void

      • OptionalprogressDecrypt?: ProgressCallback
      • Optionalsignal?: AbortSignal

    Returns Promise<Uint8Array>

  • Parameters

    • __namedParameters: {
          dataId: string;
          nodeId: string;
      }
      • dataId: string
      • nodeId: string

    Returns Promise<boolean>

  • Parameters

    • __namedParameters: {
          nodeId: string;
      }
      • nodeId: string

    Returns Promise<boolean>

  • Parameters

    • __namedParameters: {
          ids: string[];
      }
      • ids: string[]

    Returns Promise<boolean>

  • Parameters

    • __namedParameters: {
          nodeId: string;
          userId: string;
      }
      • nodeId: string
      • userId: string

    Returns Promise<boolean>

  • Parameters

    • __namedParameters: {
          folderId?: null | string;
          name?: null | string;
          nodeId: string;
      }
      • OptionalfolderId?: null | string
      • Optionalname?: null | string
      • nodeId: string

    Returns Promise<boolean>

  • Parameters

    • __namedParameters: {
          nodeIds: string[];
          parentNodeId?: null | string;
      }
      • nodeIds: string[]
      • OptionalparentNodeId?: null | string

    Returns Promise<boolean>

  • Parameters

    • __namedParameters: {
          deleted?: null | boolean;
          id?: null | string;
      } = {}
      • Optionaldeleted?: null | boolean
      • Optionalid?: null | string

    Returns Promise<NodeFull>

  • Parameters

    • __namedParameters: {
          dataId: string;
          name: string;
          nodeId?: string;
      }
      • dataId: string
      • name: string
      • OptionalnodeId?: string

    Returns Promise<NodeFull>

  • Parameters

    • __namedParameters: {
          nodeId: string;
          rights: "admin" | "write" | "read";
          userId: string;
      }
      • nodeId: string
      • rights: "admin" | "write" | "read"
      • userId: string

    Returns Promise<boolean>

  • Parameters

    • __namedParameters: {
          deletedAt?: null | Date;
          isFavorite?: null | boolean;
          name?: null | string;
          nodeId: string;
      }
      • OptionaldeletedAt?: null | Date
      • OptionalisFavorite?: null | boolean
      • Optionalname?: null | string
      • nodeId: string

    Returns Promise<NodeFull>