Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace dictionary

Index

Variables

WNFS_PREFIX: "wnfs" = "wnfs"

Functions

  • compile(ucans: string[]): Record<string, string>
  • Given a list of UCANs, generate a dictionary. The key will be in the form of ${resourceKey}:${resourceValue}

    Parameters

    • ucans: string[]

    Returns Record<string, string>

  • filesystemPrefix(username: string): string
  • Lookup the prefix for a filesystem key in the dictionary.

    Parameters

    • username: string

    Returns string

  • lookup(label: string): string | null
  • lookupAppUcan(domain: string): Promise<string | null>
  • Look up a UCAN for a platform app.

    Parameters

    • domain: string

    Returns Promise<string | null>

Generated using TypeDoc