From 1e6bad241e01f280bfd5504d7a74b0ae924fef35 Mon Sep 17 00:00:00 2001 From: "julius.friedrich" Date: Tue, 17 Jan 2023 09:47:52 +0100 Subject: [PATCH] fix: move status to sys properties in OrganizationMembershipProps --- lib/entities/organization-membership.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/entities/organization-membership.ts b/lib/entities/organization-membership.ts index b3484f08d5..94aba2d3e9 100644 --- a/lib/entities/organization-membership.ts +++ b/lib/entities/organization-membership.ts @@ -8,17 +8,12 @@ export type OrganizationMembershipProps = { /** * System metadata */ - sys: MetaSysProps & { user: { sys: MetaLinkProps } } + sys: MetaSysProps & { user: { sys: MetaLinkProps }; status: 'active' | 'pending' } /** * Role */ role: string - - /** - * status - */ - status: boolean } export interface OrganizationMembership