@stamhoofd/structures
Advanced tools
Comparing version 1.4.7 to 1.4.8
@@ -1,2 +0,2 @@ | ||
export declare const Version = 14; | ||
export declare const Version = 15; | ||
export * from "./src/OrganizationMetaData"; | ||
@@ -3,0 +3,0 @@ export * from "./src/OrganizationPrivateMetaData"; |
@@ -6,3 +6,3 @@ "use strict"; | ||
// Latest version of the structures | ||
exports.Version = 14; | ||
exports.Version = 15; | ||
// General | ||
@@ -9,0 +9,0 @@ tslib_1.__exportStar(require("./src/OrganizationMetaData"), exports); |
import { ArrayDecoder, AutoEncoder } from '@simonbackx/simple-encoding'; | ||
import { InviteUserDetails } from './InviteUserDetails'; | ||
import { OrganizationSimple } from './Organization'; | ||
import { Permissions } from './Permissions'; | ||
@@ -43,2 +44,3 @@ import { User } from './User'; | ||
sender: User; | ||
organization: OrganizationSimple; | ||
/** | ||
@@ -45,0 +47,0 @@ * Give permissions to members. Only allowed to give permissions to members as an admin with full access to the group of that member or as a normal user that already has access to that member. |
@@ -8,2 +8,3 @@ "use strict"; | ||
const InviteUserDetails_1 = require("./InviteUserDetails"); | ||
const Organization_1 = require("./Organization"); | ||
const Permissions_1 = require("./Permissions"); | ||
@@ -93,2 +94,5 @@ const User_1 = require("./User"); | ||
tslib_1.__decorate([ | ||
simple_encoding_1.field({ decoder: Organization_1.OrganizationSimple }) | ||
], Invite.prototype, "organization", void 0); | ||
tslib_1.__decorate([ | ||
simple_encoding_1.field({ decoder: new simple_encoding_1.ArrayDecoder(simple_encoding_1.StringDecoder), nullable: true }) | ||
@@ -95,0 +99,0 @@ ], Invite.prototype, "memberIds", void 0); |
@@ -1,2 +0,2 @@ | ||
export declare const Version = 14; | ||
export declare const Version = 15; | ||
export * from "./src/OrganizationMetaData"; | ||
@@ -3,0 +3,0 @@ export * from "./src/OrganizationPrivateMetaData"; |
// Latest version of the structures | ||
export const Version = 14; | ||
export const Version = 15; | ||
// General | ||
@@ -4,0 +4,0 @@ export * from "./src/OrganizationMetaData"; |
import { ArrayDecoder, AutoEncoder } from '@simonbackx/simple-encoding'; | ||
import { InviteUserDetails } from './InviteUserDetails'; | ||
import { OrganizationSimple } from './Organization'; | ||
import { Permissions } from './Permissions'; | ||
@@ -43,2 +44,3 @@ import { User } from './User'; | ||
sender: User; | ||
organization: OrganizationSimple; | ||
/** | ||
@@ -45,0 +47,0 @@ * Give permissions to members. Only allowed to give permissions to members as an admin with full access to the group of that member or as a normal user that already has access to that member. |
@@ -5,2 +5,3 @@ import { __decorate } from "tslib"; | ||
import { InviteUserDetails } from './InviteUserDetails'; | ||
import { OrganizationSimple } from './Organization'; | ||
import { Permissions } from './Permissions'; | ||
@@ -88,2 +89,5 @@ import { User } from './User'; | ||
__decorate([ | ||
field({ decoder: OrganizationSimple }) | ||
], Invite.prototype, "organization", void 0); | ||
__decorate([ | ||
field({ decoder: new ArrayDecoder(StringDecoder), nullable: true }) | ||
@@ -90,0 +94,0 @@ ], Invite.prototype, "memberIds", void 0); |
{ | ||
"name": "@stamhoofd/structures", | ||
"version": "1.4.7", | ||
"version": "1.4.8", | ||
"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
431691
6268