@appsemble/types
Advanced tools
Comparing version 0.24.9 to 0.24.10
@@ -158,2 +158,6 @@ import { type IconName } from '@fortawesome/fontawesome-common-types'; | ||
subscribed?: boolean; | ||
/** | ||
* The properties of the currently logged in member of the app | ||
*/ | ||
appMember?: AppMember; | ||
} | ||
@@ -250,2 +254,14 @@ /** | ||
/** | ||
* Get property of the AppMember object. | ||
* | ||
* Supported properties: | ||
* | ||
* - `memberId`: Get the id of the AppMember. | ||
* - `userId`: Get the id of the user associated with AppMember object. | ||
* - `role`: Get the role of the app member | ||
* - `primaryEmail`: Get the primary email of the user associated with AppMember object. | ||
* - `name`: Get the name of the user associated with AppMember object. | ||
*/ | ||
appMember: keyof AppMember; | ||
/** | ||
* Get page metadata. | ||
@@ -1747,3 +1763,4 @@ * | ||
export interface AppMember { | ||
id: string; | ||
userId: string; | ||
memberId: string; | ||
name: string; | ||
@@ -1750,0 +1767,0 @@ primaryEmail: string; |
{ | ||
"name": "@appsemble/types", | ||
"version": "0.24.9", | ||
"version": "0.24.10", | ||
"description": "TypeScript definitions reused within Appsemble internally", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -1,2 +0,2 @@ | ||
# ![](https://gitlab.com/appsemble/appsemble/-/raw/0.24.9/config/assets/logo.svg) Appsemble Types | ||
# ![](https://gitlab.com/appsemble/appsemble/-/raw/0.24.10/config/assets/logo.svg) Appsemble Types | ||
@@ -6,3 +6,3 @@ > Reusable TypeScript types | ||
[![npm](https://img.shields.io/npm/v/@appsemble/types)](https://www.npmjs.com/package/@appsemble/types) | ||
[![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.24.9/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.24.9) | ||
[![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.24.10/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.24.10) | ||
[![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io) | ||
@@ -30,3 +30,3 @@ | ||
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.24.9/LICENSE.md) © | ||
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.24.10/LICENSE.md) © | ||
[Appsemble](https://appsemble.com) |
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
84642
2696