Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace lobby

Index

Functions

  • createAccount(userProps: { email?: string; username: string }): Promise<{ success: boolean }>
  • Create a user account.

    Parameters

    • userProps: { email?: string; username: string }
      • Optional email?: string
      • username: string

    Returns Promise<{ success: boolean }>

  • isUsernameAvailable(username: string): Promise<boolean>
  • Check if a username is available.

    Parameters

    • username: string

    Returns Promise<boolean>

  • isUsernameValid(username: string): boolean
  • Check if a username is valid.

    Parameters

    • username: string

    Returns boolean

  • resendVerificationEmail(): Promise<{ success: boolean }>
  • Ask the fission server to send another verification email to the user currently logged in.

    Throws if the user is not logged in.

    Returns Promise<{ success: boolean }>

  • Create a share link. There people can "accept" a share, copying the soft links into their private filesystem.

    Parameters

    Returns string

  • storeFileSystemRootKey(key: string): Promise<void>
  • Store the read key for the root PrivateTree (ie. /private)

    Parameters

    • key: string

    Returns Promise<void>

Generated using TypeDoc