Skip to content

TypeScript API / laikacms/storage/webdav / WebDavResource

Interface: WebDavResource ​

A resolved resource, carrying its storage key relative to the configured root.

Extends ​

Properties ​

contentLength? ​

ts
readonly optional contentLength?: number;

getcontentlength in bytes, when the server reported it.

Inherited from ​

WebDavEntry.contentLength


creationDate? ​

ts
readonly optional creationDate?: Date;

creationdate, parsed; undefined when absent or unparseable.

Inherited from ​

WebDavEntry.creationDate


href ​

ts
readonly href: string;

Decoded server-absolute href as returned by the server.

Inherited from ​

WebDavEntry.href


isCollection ​

ts
readonly isCollection: boolean;

true when the resource is a collection (directory).

Inherited from ​

WebDavEntry.isCollection


key ​

ts
readonly key: string;

Decoded path relative to the storage root, including any file extension.


lastModified? ​

ts
readonly optional lastModified?: Date;

getlastmodified, parsed; undefined when absent or unparseable.

Inherited from ​

WebDavEntry.lastModified

Released under the MIT License.