Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace apps

Index

Type aliases

Functions

Type aliases

App

App: { domain: string }

Type declaration

  • domain: string

Functions

create

  • create(subdomain: Maybe<string>): Promise<App>
  • Creates a new app, assigns an initial subdomain, and sets an asset placeholder

    Parameters

    • subdomain: Maybe<string>

      Subdomain to create the fission app with

    Returns Promise<App>

deleteByDomain

  • deleteByDomain(domain: string): Promise<void>
  • Destroy app by any associated domain

    Parameters

    • domain: string

      The domain associated with the app we want to delete

    Returns Promise<void>

index

  • index(): Promise<App[]>
  • Get A list of all of your apps and their associated domain names

    Returns Promise<App[]>

publish

  • publish(domain: string, cid: CID): Promise<void>
  • Updates an app by CID

    Parameters

    • domain: string
    • cid: CID

    Returns Promise<void>

Generated using TypeDoc