@stamhoofd/structures
Advanced tools
Comparing version 1.2.22 to 1.2.23
@@ -7,4 +7,7 @@ import { AutoEncoder } from '@simonbackx/simple-encoding'; | ||
reduced: boolean; | ||
} | ||
export declare class RegisterMembers extends AutoEncoder { | ||
members: RegisterMember[]; | ||
paymentMethod: PaymentMethod; | ||
} | ||
//# sourceMappingURL=RegisterMember.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.RegisterMember = void 0; | ||
exports.RegisterMembers = exports.RegisterMember = void 0; | ||
const tslib_1 = require("tslib"); | ||
@@ -18,6 +18,12 @@ const simple_encoding_1 = require("@simonbackx/simple-encoding"); | ||
], RegisterMember.prototype, "reduced", void 0); | ||
exports.RegisterMember = RegisterMember; | ||
class RegisterMembers extends simple_encoding_1.AutoEncoder { | ||
} | ||
tslib_1.__decorate([ | ||
simple_encoding_1.field({ decoder: new simple_encoding_1.ArrayDecoder(RegisterMember) }) | ||
], RegisterMembers.prototype, "members", void 0); | ||
tslib_1.__decorate([ | ||
simple_encoding_1.field({ decoder: new simple_encoding_1.EnumDecoder(PaymentMethod_1.PaymentMethod) }) | ||
], RegisterMember.prototype, "paymentMethod", void 0); | ||
exports.RegisterMember = RegisterMember; | ||
], RegisterMembers.prototype, "paymentMethod", void 0); | ||
exports.RegisterMembers = RegisterMembers; | ||
//# sourceMappingURL=RegisterMember.js.map |
@@ -7,4 +7,7 @@ import { AutoEncoder } from '@simonbackx/simple-encoding'; | ||
reduced: boolean; | ||
} | ||
export declare class RegisterMembers extends AutoEncoder { | ||
members: RegisterMember[]; | ||
paymentMethod: PaymentMethod; | ||
} | ||
//# sourceMappingURL=RegisterMember.d.ts.map |
import { __decorate } from "tslib"; | ||
import { AutoEncoder, BooleanDecoder, EnumDecoder, field, StringDecoder } from '@simonbackx/simple-encoding'; | ||
import { ArrayDecoder, AutoEncoder, BooleanDecoder, EnumDecoder, field, StringDecoder } from '@simonbackx/simple-encoding'; | ||
import { PaymentMethod } from '../PaymentMethod'; | ||
@@ -15,5 +15,10 @@ export class RegisterMember extends AutoEncoder { | ||
], RegisterMember.prototype, "reduced", void 0); | ||
export class RegisterMembers extends AutoEncoder { | ||
} | ||
__decorate([ | ||
field({ decoder: new ArrayDecoder(RegisterMember) }) | ||
], RegisterMembers.prototype, "members", void 0); | ||
__decorate([ | ||
field({ decoder: new EnumDecoder(PaymentMethod) }) | ||
], RegisterMember.prototype, "paymentMethod", void 0); | ||
], RegisterMembers.prototype, "paymentMethod", void 0); | ||
//# sourceMappingURL=RegisterMember.js.map |
{ | ||
"name": "@stamhoofd/structures", | ||
"version": "1.2.22", | ||
"version": "1.2.23", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "./esm/dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
271768
3881