@stamhoofd/structures
Advanced tools
Comparing version 1.3.15 to 1.3.16
@@ -1,2 +0,2 @@ | ||
export declare const Version = 8; | ||
export declare const Version = 9; | ||
export * from "./src/OrganizationMetaData"; | ||
@@ -14,2 +14,3 @@ export * from "./src/OrganizationPrivateMetaData"; | ||
export * from "./src/CountryDecoder"; | ||
export * from "./src/OrganizationEmail"; | ||
export * from "./src/Group"; | ||
@@ -16,0 +17,0 @@ export * from "./src/GroupSettings"; |
@@ -6,3 +6,3 @@ "use strict"; | ||
// Latest version of the structures | ||
exports.Version = 8; | ||
exports.Version = 9; | ||
// General | ||
@@ -21,2 +21,3 @@ tslib_1.__exportStar(require("./src/OrganizationMetaData"), exports); | ||
tslib_1.__exportStar(require("./src/CountryDecoder"), exports); | ||
tslib_1.__exportStar(require("./src/OrganizationEmail"), exports); | ||
tslib_1.__exportStar(require("./src/Group"), exports); | ||
@@ -23,0 +24,0 @@ tslib_1.__exportStar(require("./src/GroupSettings"), exports); |
import { AutoEncoder } from '@simonbackx/simple-encoding'; | ||
import { DNSRecord } from "./DNSRecord"; | ||
import { OrganizationEmail } from './OrganizationEmail'; | ||
export declare class OrganizationPrivateMetaData extends AutoEncoder { | ||
@@ -17,3 +18,7 @@ /** | ||
mailDomainActive: boolean; | ||
/** | ||
* E-mail addresses that an organization can send from (or reply-to) | ||
*/ | ||
emails: OrganizationEmail[]; | ||
} | ||
//# sourceMappingURL=OrganizationPrivateMetaData.d.ts.map |
@@ -7,2 +7,3 @@ "use strict"; | ||
const DNSRecord_1 = require("./DNSRecord"); | ||
const OrganizationEmail_1 = require("./OrganizationEmail"); | ||
class OrganizationPrivateMetaData extends simple_encoding_1.AutoEncoder { | ||
@@ -24,2 +25,6 @@ constructor() { | ||
this.mailDomainActive = false; | ||
/** | ||
* E-mail addresses that an organization can send from (or reply-to) | ||
*/ | ||
this.emails = []; | ||
} | ||
@@ -39,3 +44,6 @@ } | ||
], OrganizationPrivateMetaData.prototype, "mailDomainActive", void 0); | ||
tslib_1.__decorate([ | ||
simple_encoding_1.field({ decoder: new simple_encoding_1.ArrayDecoder(OrganizationEmail_1.OrganizationEmail), version: 9 }) | ||
], OrganizationPrivateMetaData.prototype, "emails", void 0); | ||
exports.OrganizationPrivateMetaData = OrganizationPrivateMetaData; | ||
//# sourceMappingURL=OrganizationPrivateMetaData.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const Version = 8; | ||
export declare const Version = 9; | ||
export * from "./src/OrganizationMetaData"; | ||
@@ -14,2 +14,3 @@ export * from "./src/OrganizationPrivateMetaData"; | ||
export * from "./src/CountryDecoder"; | ||
export * from "./src/OrganizationEmail"; | ||
export * from "./src/Group"; | ||
@@ -16,0 +17,0 @@ export * from "./src/GroupSettings"; |
// Latest version of the structures | ||
export const Version = 8; | ||
export const Version = 9; | ||
// General | ||
@@ -16,2 +16,3 @@ export * from "./src/OrganizationMetaData"; | ||
export * from "./src/CountryDecoder"; | ||
export * from "./src/OrganizationEmail"; | ||
export * from "./src/Group"; | ||
@@ -18,0 +19,0 @@ export * from "./src/GroupSettings"; |
import { AutoEncoder } from '@simonbackx/simple-encoding'; | ||
import { DNSRecord } from "./DNSRecord"; | ||
import { OrganizationEmail } from './OrganizationEmail'; | ||
export declare class OrganizationPrivateMetaData extends AutoEncoder { | ||
@@ -17,3 +18,7 @@ /** | ||
mailDomainActive: boolean; | ||
/** | ||
* E-mail addresses that an organization can send from (or reply-to) | ||
*/ | ||
emails: OrganizationEmail[]; | ||
} | ||
//# sourceMappingURL=OrganizationPrivateMetaData.d.ts.map |
import { __decorate } from "tslib"; | ||
import { ArrayDecoder, AutoEncoder, BooleanDecoder, field, StringDecoder } from '@simonbackx/simple-encoding'; | ||
import { DNSRecord } from "./DNSRecord"; | ||
import { OrganizationEmail } from './OrganizationEmail'; | ||
export class OrganizationPrivateMetaData extends AutoEncoder { | ||
@@ -20,2 +21,6 @@ constructor() { | ||
this.mailDomainActive = false; | ||
/** | ||
* E-mail addresses that an organization can send from (or reply-to) | ||
*/ | ||
this.emails = []; | ||
} | ||
@@ -35,2 +40,5 @@ } | ||
], OrganizationPrivateMetaData.prototype, "mailDomainActive", void 0); | ||
__decorate([ | ||
field({ decoder: new ArrayDecoder(OrganizationEmail), version: 9 }) | ||
], OrganizationPrivateMetaData.prototype, "emails", void 0); | ||
//# sourceMappingURL=OrganizationPrivateMetaData.js.map |
{ | ||
"name": "@stamhoofd/structures", | ||
"version": "1.3.15", | ||
"version": "1.3.16", | ||
"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
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
357828
426
5125