@appsemble/types 0.29.9 → 0.29.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/index.d.ts +5 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
#  Appsemble Types
|
|
2
2
|
|
|
3
3
|
> Reusable TypeScript types
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@appsemble/types)
|
|
6
|
-
[](https://gitlab.com/appsemble/appsemble/-/releases/0.29.11)
|
|
7
7
|
[](https://prettier.io)
|
|
8
8
|
|
|
9
9
|
## Table of Contents
|
|
@@ -26,5 +26,5 @@ not guaranteed.
|
|
|
26
26
|
|
|
27
27
|
## License
|
|
28
28
|
|
|
29
|
-
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.29.
|
|
29
|
+
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.29.11/LICENSE.md) ©
|
|
30
30
|
[Appsemble](https://appsemble.com)
|
package/index.d.ts
CHANGED
|
@@ -1403,6 +1403,10 @@ export interface BasicPageDefinition extends BasePageDefinition {
|
|
|
1403
1403
|
type?: 'page';
|
|
1404
1404
|
blocks: BlockDefinition[];
|
|
1405
1405
|
}
|
|
1406
|
+
export interface ContainerPageDefinition extends BasePageDefinition {
|
|
1407
|
+
type: 'container';
|
|
1408
|
+
pages: PageDefinition[];
|
|
1409
|
+
}
|
|
1406
1410
|
export interface FlowPageDefinition extends BasePageDefinition {
|
|
1407
1411
|
type: 'flow';
|
|
1408
1412
|
steps: SubPage[];
|
|
@@ -1475,7 +1479,7 @@ export interface TabsPageDefinition extends BasePageDefinition {
|
|
|
1475
1479
|
onLoad?: ActionDefinition;
|
|
1476
1480
|
};
|
|
1477
1481
|
}
|
|
1478
|
-
export type PageDefinition = BasicPageDefinition | FlowPageDefinition | LoopPageDefinition | TabsPageDefinition;
|
|
1482
|
+
export type PageDefinition = BasicPageDefinition | ContainerPageDefinition | FlowPageDefinition | LoopPageDefinition | TabsPageDefinition;
|
|
1479
1483
|
export interface AppDefinition {
|
|
1480
1484
|
/**
|
|
1481
1485
|
* The name of the app.
|