Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stamhoofd/structures

Package Overview
Dependencies
Maintainers
1
Versions
269
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stamhoofd/structures - npm Package Compare versions

Comparing version 1.2.32 to 1.2.33

11

dist/src/members/RegistrationWithEncryptedMember.d.ts

@@ -0,6 +1,13 @@

import { AutoEncoder } from "@simonbackx/simple-encoding";
import { EncryptedMember } from "./EncryptedMember";
import { Registration } from "./Registration";
export declare class RegistrationWithEncryptedMember extends Registration {
export declare class RegistrationWithEncryptedMember extends AutoEncoder {
id: string;
groupId: string;
cycle: number;
registeredAt: Date | null;
deactivatedAt: Date | null;
createdAt: Date;
updatedAt: Date;
member: EncryptedMember;
}
//# sourceMappingURL=RegistrationWithEncryptedMember.d.ts.map

@@ -7,6 +7,31 @@ "use strict";

const EncryptedMember_1 = require("./EncryptedMember");
const Registration_1 = require("./Registration");
class RegistrationWithEncryptedMember extends Registration_1.Registration {
class RegistrationWithEncryptedMember extends simple_encoding_1.AutoEncoder {
constructor() {
super(...arguments);
this.registeredAt = null;
this.deactivatedAt = null;
}
}
tslib_1.__decorate([
simple_encoding_1.field({ decoder: simple_encoding_1.StringDecoder })
], RegistrationWithEncryptedMember.prototype, "id", void 0);
tslib_1.__decorate([
simple_encoding_1.field({ decoder: simple_encoding_1.StringDecoder })
], RegistrationWithEncryptedMember.prototype, "groupId", void 0);
tslib_1.__decorate([
simple_encoding_1.field({ decoder: simple_encoding_1.IntegerDecoder })
], RegistrationWithEncryptedMember.prototype, "cycle", void 0);
tslib_1.__decorate([
simple_encoding_1.field({ decoder: simple_encoding_1.DateDecoder, nullable: true })
], RegistrationWithEncryptedMember.prototype, "registeredAt", void 0);
tslib_1.__decorate([
simple_encoding_1.field({ decoder: simple_encoding_1.DateDecoder, nullable: true })
], RegistrationWithEncryptedMember.prototype, "deactivatedAt", void 0);
tslib_1.__decorate([
simple_encoding_1.field({ decoder: simple_encoding_1.DateDecoder })
], RegistrationWithEncryptedMember.prototype, "createdAt", void 0);
tslib_1.__decorate([
simple_encoding_1.field({ decoder: simple_encoding_1.DateDecoder })
], RegistrationWithEncryptedMember.prototype, "updatedAt", void 0);
tslib_1.__decorate([
simple_encoding_1.field({ decoder: EncryptedMember_1.EncryptedMember })

@@ -13,0 +38,0 @@ ], RegistrationWithEncryptedMember.prototype, "member", void 0);

@@ -0,6 +1,13 @@

import { AutoEncoder } from "@simonbackx/simple-encoding";
import { EncryptedMember } from "./EncryptedMember";
import { Registration } from "./Registration";
export declare class RegistrationWithEncryptedMember extends Registration {
export declare class RegistrationWithEncryptedMember extends AutoEncoder {
id: string;
groupId: string;
cycle: number;
registeredAt: Date | null;
deactivatedAt: Date | null;
createdAt: Date;
updatedAt: Date;
member: EncryptedMember;
}
//# sourceMappingURL=RegistrationWithEncryptedMember.d.ts.map
import { __decorate } from "tslib";
import { field } from "@simonbackx/simple-encoding";
import { AutoEncoder, DateDecoder, field, IntegerDecoder, StringDecoder } from "@simonbackx/simple-encoding";
import { EncryptedMember } from "./EncryptedMember";
import { Registration } from "./Registration";
export class RegistrationWithEncryptedMember extends Registration {
export class RegistrationWithEncryptedMember extends AutoEncoder {
constructor() {
super(...arguments);
this.registeredAt = null;
this.deactivatedAt = null;
}
}
__decorate([
field({ decoder: StringDecoder })
], RegistrationWithEncryptedMember.prototype, "id", void 0);
__decorate([
field({ decoder: StringDecoder })
], RegistrationWithEncryptedMember.prototype, "groupId", void 0);
__decorate([
field({ decoder: IntegerDecoder })
], RegistrationWithEncryptedMember.prototype, "cycle", void 0);
__decorate([
field({ decoder: DateDecoder, nullable: true })
], RegistrationWithEncryptedMember.prototype, "registeredAt", void 0);
__decorate([
field({ decoder: DateDecoder, nullable: true })
], RegistrationWithEncryptedMember.prototype, "deactivatedAt", void 0);
__decorate([
field({ decoder: DateDecoder })
], RegistrationWithEncryptedMember.prototype, "createdAt", void 0);
__decorate([
field({ decoder: DateDecoder })
], RegistrationWithEncryptedMember.prototype, "updatedAt", void 0);
__decorate([
field({ decoder: EncryptedMember })
], RegistrationWithEncryptedMember.prototype, "member", void 0);
//# sourceMappingURL=RegistrationWithEncryptedMember.js.map

2

package.json
{
"name": "@stamhoofd/structures",
"version": "1.2.32",
"version": "1.2.33",
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc