ts-odd icon indicating copy to clipboard operation
ts-odd copied to clipboard

App API

Open icidasset opened this issue 4 years ago • 1 comments

const { app, state } = await sdk.initialise({
  permissions: {
    app: {
      creator: "Creator",
      name: "AppName"
    }
  }
})

// Clone the app to the user's filesystem (haven't decided how this will work yet)
app.clone()

// If the currently authed user has a copy of this app (ie. they cloned it), update those app files.
app.update()

// A sub graph, aka. scoped filesystem, of the app.
//
// ie. where you'd normally have `fs.ls("/private/Apps/Creator/AppName/...")`,
//     or `fs.ls(fs.appPath("..."))`
//     instead you would do:
app.fs.ls("...")

// Database
app.db()

icidasset avatar Jul 30 '20 20:07 icidasset

@walkah is going to lead a design sprint for this API this week. Clearing a few things off his plate to let him focus 😄

expede avatar Dec 08 '20 19:12 expede