@appsemble/types
Advanced tools
Comparing version 0.28.9 to 0.28.10
@@ -290,2 +290,6 @@ import { type IconName } from '@fortawesome/fontawesome-common-types'; | ||
/** | ||
* Get the title of current page. | ||
*/ | ||
'tab.name': string; | ||
/** | ||
* Convert a string to a number. | ||
@@ -1379,3 +1383,3 @@ */ | ||
export interface SubPage { | ||
name: string; | ||
name: Remapper; | ||
roles?: string[]; | ||
@@ -1442,5 +1446,19 @@ blocks: BlockDefinition[]; | ||
} | ||
export interface AlternateTabsDefinition { | ||
foreach: SubPage; | ||
events: { | ||
listen?: Record<string, string>; | ||
emit?: Record<string, string>; | ||
}; | ||
} | ||
export interface TabsPageDefinition extends BasePageDefinition { | ||
type: 'tabs'; | ||
tabs: SubPage[]; | ||
tabs?: SubPage[]; | ||
definition?: AlternateTabsDefinition; | ||
/** | ||
* A mapping of actions that can be fired by the page to action handlers. | ||
*/ | ||
actions?: { | ||
onLoad?: ActionDefinition; | ||
}; | ||
} | ||
@@ -1447,0 +1465,0 @@ export type PageDefinition = BasicPageDefinition | FlowPageDefinition | LoopPageDefinition | TabsPageDefinition; |
{ | ||
"name": "@appsemble/types", | ||
"version": "0.28.9", | ||
"version": "0.28.10", | ||
"description": "TypeScript definitions reused within Appsemble internally", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -1,2 +0,2 @@ | ||
# ![](https://gitlab.com/appsemble/appsemble/-/raw/0.28.9/config/assets/logo.svg) Appsemble Types | ||
# ![](https://gitlab.com/appsemble/appsemble/-/raw/0.28.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.28.9/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.28.9) | ||
[![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.28.10/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.28.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.28.9/LICENSE.md) © | ||
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.28.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
91582
2917