BaseStructure - antilandjs/antiland.js GitHub Wiki

The base structure for all builder objects.

Properties

.id : string

The object ID.

.createdAt : Date | null • readonly

The date at which the object was created.

.createdTimestamp : number | null • readonly

The timestamp for when the object was created.

.updatedAt : Date | null • readonly

The date at which the object was last updated.

.updatedTimestamp : number | null • readonly

The timestamp for when the object was last updated.

Methods

.fetch(force?) : Promise<this>

Fetch this object.

Name Type Optional
force boolean Yes