Captain is currently in ALPHA. We are happy to get your feedback
Core API
Interfaces
Helpers Types.resource

Interface: Resource

helpers/types.Resource

Defines a resource that can be used within an application. A resource includes a name, version, and a list of sources from which the resource can be obtained.

Table of contents

Properties

Properties

name

name: string

The name of the resource.

Defined in

src/electron/helpers/types.ts:344 (opens in a new tab)


sources

sources: ResourceSource[]

An array of ResourceSource objects representing the different sources from which the resource can be downloaded.

Defined in

src/electron/helpers/types.ts:346 (opens in a new tab)


version

version: string

The version of the resource.

Defined in

src/electron/helpers/types.ts:345 (opens in a new tab)