@rapidthenerd/ergast-ts
Version:
Node wrapper for Ergast API
82 lines (81 loc) • 2.85 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ErgastNode = void 0;
var circuit_1 = require("./circuit");
var constructors_1 = require("./constructors");
var driver_1 = require("./driver");
var finishingStatus_1 = require("./finishingStatus");
var laps_1 = require("./laps");
var seasons_1 = require("./seasons");
var standings_1 = require("./standings");
var pitStop_1 = require("./pitStop");
var qualifying_1 = require("./qualifying");
var ErgastNode = /** @class */ (function () {
function ErgastNode() {
}
Object.defineProperty(ErgastNode.prototype, "circuit", {
get: function () {
return this._circuit || (this._circuit = new circuit_1.Circuit());
},
enumerable: false,
configurable: true
});
Object.defineProperty(ErgastNode.prototype, "constructors", {
get: function () {
return this._constructors || (this._constructors = new constructors_1.Constructors());
},
enumerable: false,
configurable: true
});
Object.defineProperty(ErgastNode.prototype, "driver", {
get: function () {
return this._driver || (this._driver = new driver_1.Driver());
},
enumerable: false,
configurable: true
});
Object.defineProperty(ErgastNode.prototype, "finishingStatus", {
get: function () {
return this._finishingStatus || (this._finishingStatus = new finishingStatus_1.FinishingStatus());
},
enumerable: false,
configurable: true
});
Object.defineProperty(ErgastNode.prototype, "laps", {
get: function () {
return this._laps || (this._laps = new laps_1.Laps());
},
enumerable: false,
configurable: true
});
Object.defineProperty(ErgastNode.prototype, "seasons", {
get: function () {
return this._seasons || (this._seasons = new seasons_1.Seasons());
},
enumerable: false,
configurable: true
});
Object.defineProperty(ErgastNode.prototype, "standings", {
get: function () {
return this._standings || (this._standings = new standings_1.Standings());
},
enumerable: false,
configurable: true
});
Object.defineProperty(ErgastNode.prototype, "pitStops", {
get: function () {
return this._pitStops || (this._pitStops = new pitStop_1.PitStop());
},
enumerable: false,
configurable: true
});
Object.defineProperty(ErgastNode.prototype, "qualifying", {
get: function () {
return this._qualifying || (this._qualifying = new qualifying_1.Qualifying());
},
enumerable: false,
configurable: true
});
return ErgastNode;
}());
exports.ErgastNode = ErgastNode;