Skip to content

Class: ArchiveChain ​

Defined in: fluent/chains.ts:110

A chainable group archive url — rebase and rename only.

Properties ​

kind ​

ts
readonly kind: "archive";

Defined in: fluent/chains.ts:112

Discriminant for chains returned by cdn.parse.

Accessors ​

href ​

Get Signature ​

ts
get href(): string;

Defined in: fluent/chains.ts:128

The archive URL.

Returns ​

string

Methods ​

base() ​

ts
base(cdnBase): ArchiveChain;

Defined in: fluent/chains.ts:118

Rebases the chain onto another cdnBase (trailing slash tolerated).

Parameters ​

ParameterType
cdnBasestring

Returns ​

ArchiveChain


filename() ​

ts
filename(filename): ArchiveChain;

Defined in: fluent/chains.ts:123

Sets (or clears) the archive's filename.

Parameters ​

ParameterType
filenamestring | null

Returns ​

ArchiveChain


toString() ​

ts
toString(): string;

Defined in: fluent/chains.ts:133

Alias of the terminal getter for string coercion.

Returns ​

string