@kfijolek/boardgamegeekclient
Version:
Javascript client to interact with BoardGameGeek public XML API
132 lines • 5.35 kB
JavaScript
;
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.BggUserDto = void 0;
const jackson_js_1 = require("jackson-js");
let BggUserDto = class BggUserDto {
};
__decorate([
jackson_js_1.JsonProperty(),
jackson_js_1.JsonClassType({ type: () => [Number] }),
jackson_js_1.JsonAlias({ values: ["@_id"] })
], BggUserDto.prototype, "id", void 0);
__decorate([
jackson_js_1.JsonProperty(),
jackson_js_1.JsonClassType({ type: () => [String] }),
jackson_js_1.JsonAlias({ values: ["@_name"] })
], BggUserDto.prototype, "name", void 0);
__decorate([
jackson_js_1.JsonProperty(),
jackson_js_1.JsonClassType({ type: () => [String] }),
jackson_js_1.JsonDeserialize({
using: (value) => value.map(item => item['@_value'])[0]
})
], BggUserDto.prototype, "firstname", void 0);
__decorate([
jackson_js_1.JsonProperty(),
jackson_js_1.JsonClassType({ type: () => [String] }),
jackson_js_1.JsonDeserialize({
using: (value) => value.map(item => item['@_value'])[0]
})
], BggUserDto.prototype, "lastname", void 0);
__decorate([
jackson_js_1.JsonProperty(),
jackson_js_1.JsonClassType({ type: () => [String] }),
jackson_js_1.JsonDeserialize({
using: (value) => value.map(item => item['@_value'])[0]
})
], BggUserDto.prototype, "avatarlink", void 0);
__decorate([
jackson_js_1.JsonProperty(),
jackson_js_1.JsonClassType({ type: () => [Number] }),
jackson_js_1.JsonDeserialize({
using: (value) => value.map(item => item['@_value'])[0]
})
], BggUserDto.prototype, "yearregistered", void 0);
__decorate([
jackson_js_1.JsonProperty(),
jackson_js_1.JsonClassType({ type: () => [String] }),
jackson_js_1.JsonDeserialize({
using: (value) => value.map(item => item['@_value'])[0]
})
], BggUserDto.prototype, "lastlogin", void 0);
__decorate([
jackson_js_1.JsonProperty(),
jackson_js_1.JsonClassType({ type: () => [String] }),
jackson_js_1.JsonDeserialize({
using: (value) => value.map(item => item['@_value'])[0]
})
], BggUserDto.prototype, "stateorprovince", void 0);
__decorate([
jackson_js_1.JsonProperty(),
jackson_js_1.JsonClassType({ type: () => [String] }),
jackson_js_1.JsonDeserialize({
using: (value) => value.map(item => item['@_value'])[0]
})
], BggUserDto.prototype, "country", void 0);
__decorate([
jackson_js_1.JsonProperty(),
jackson_js_1.JsonClassType({ type: () => [String] }),
jackson_js_1.JsonDeserialize({
using: (value) => value.map(item => item['@_value'])[0]
})
], BggUserDto.prototype, "webaddress", void 0);
__decorate([
jackson_js_1.JsonProperty(),
jackson_js_1.JsonClassType({ type: () => [String] }),
jackson_js_1.JsonDeserialize({
using: (value) => value.map(item => item['@_value'])[0]
})
], BggUserDto.prototype, "xboxaccount", void 0);
__decorate([
jackson_js_1.JsonProperty(),
jackson_js_1.JsonClassType({ type: () => [String] }),
jackson_js_1.JsonDeserialize({
using: (value) => value.map(item => item['@_value'])[0]
})
], BggUserDto.prototype, "wiiaccount", void 0);
__decorate([
jackson_js_1.JsonProperty(),
jackson_js_1.JsonClassType({ type: () => [String] }),
jackson_js_1.JsonDeserialize({
using: (value) => value.map(item => item['@_value'])[0]
})
], BggUserDto.prototype, "psnaccount", void 0);
__decorate([
jackson_js_1.JsonProperty(),
jackson_js_1.JsonClassType({ type: () => [String] }),
jackson_js_1.JsonDeserialize({
using: (value) => value.map(item => item['@_value'])[0]
})
], BggUserDto.prototype, "battlenetaccount", void 0);
__decorate([
jackson_js_1.JsonProperty(),
jackson_js_1.JsonClassType({ type: () => [String] }),
jackson_js_1.JsonDeserialize({
using: (value) => value.map(item => item['@_value'])[0]
})
], BggUserDto.prototype, "steamaccount", void 0);
__decorate([
jackson_js_1.JsonProperty(),
jackson_js_1.JsonClassType({ type: () => [String] }),
jackson_js_1.JsonDeserialize({
using: (value) => value.map(item => item['@_value'])[0]
})
], BggUserDto.prototype, "traderating", void 0);
__decorate([
jackson_js_1.JsonProperty(),
jackson_js_1.JsonClassType({ type: () => [String] }),
jackson_js_1.JsonDeserialize({
using: (value) => value.map(item => item['@_value'])[0]
})
], BggUserDto.prototype, "marketrating", void 0);
BggUserDto = __decorate([
jackson_js_1.JsonIgnoreProperties({ value: ['@_termsofuse'] })
], BggUserDto);
exports.BggUserDto = BggUserDto;
//# sourceMappingURL=BggUserDto.js.map