-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathClient.js
27 lines (27 loc) · 1.02 KB
/
Client.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
"use strict";
/**
* This file was auto-generated by Fern from our API Definition.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.TrophyApiClient = void 0;
const Client_1 = require("./api/resources/achievements/client/Client");
const Client_2 = require("./api/resources/metrics/client/Client");
const Client_3 = require("./api/resources/users/client/Client");
class TrophyApiClient {
constructor(_options) {
this._options = _options;
}
get achievements() {
var _a;
return ((_a = this._achievements) !== null && _a !== void 0 ? _a : (this._achievements = new Client_1.Achievements(this._options)));
}
get metrics() {
var _a;
return ((_a = this._metrics) !== null && _a !== void 0 ? _a : (this._metrics = new Client_2.Metrics(this._options)));
}
get users() {
var _a;
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_3.Users(this._options)));
}
}
exports.TrophyApiClient = TrophyApiClient;