Skip to main content
Module

x/dropserver_app/mod.ts>DropserverApp

Library that helps you create Dropserver applications
Latest
class DropserverApp
import { DropserverApp } from "https://deno.land/x/dropserver_app@v0.2.1/mod.ts";

Class that provides facilites to interact with Dropserver host.

Methods

appPath(p: string): string

Get an absolute path to app files. This path may change at any time. Do not store it, instead always call this function.

appspacePath(p: string): string

Get an absolute path to appspace files. This path may change at any time. Do not store it, instead always call this function.

avatarsPath(p: string): string

Get an absolute path to appspace user avatars. This path may change at any time. Do not store it, instead always call this function.

getUser(proxyId: string): Promise<User>

Get a single user of this appspace.

getUsers(): Promise<User[]>

Get all users for this appspace.