• Upload file.

    Parameters

    • repo: string
    • fileBase64Url: string
    • filePath: string
    • ifExists:
          | "error"
          | "rename"
          | "overwrite"
          | "skip" = 'rename'

    Returns Promise<ApiResult<{
        hash: string;
        path: string;
    }>>