Interface: Delegate

Server.Api.Delegate

Delegate with implementation for API endpoints.

Table of contents

Methods

Methods

getAssets

getAssets(platform): Promise<Asset[]>

Get all assets from compilation for given platform. Should return [] if the compilation does not exists for given platform.

Parameters

Name Type
platform string

Returns

Promise<Asset[]>

Defined in

types.ts:162


getCompilationStats

getCompilationStats(platform): Promise<null | CompilationStats>

Get compilation stats for a given platform. Should return null if the compilation does not exists for given platform.

Parameters

Name Type
platform string

Returns

Promise<null | CompilationStats>

Defined in

types.ts:168


getPlatforms

getPlatforms(): Promise<string[]>

Get all platforms - either with already existing compilations or all supported platforms.

Returns

Promise<string[]>

Defined in

types.ts:156