Options
All
  • Public
  • Public/Protected
  • All
Menu

@cwrc/leafwriter-storage-service

Index

Type aliases

AllowedMimeType: "application/json" | "application/pdf" | "application/xml" | "text/csv" | "text/html" | "text/md" | "text/tsv" | "text/txt" | "text/xml"
ProviderAuth: { access_token: string; name: string }

Type declaration

  • access_token: string
  • name: string

Variables

default: FC<StorageDialogProps> = ...

Functions

  • loadDocument(providerAuth: ProviderAuth, resource: Resource): Promise<{ content: string; filename: string; hash: string; owner: string; ownertype: string; path: string; provider: string; repo: string; url: string } | { error: string }>
  • Parameters

    Returns Promise<{ content: string; filename: string; hash: string; owner: string; ownertype: string; path: string; provider: string; repo: string; url: string } | { error: string }>

Generated using TypeDoc