@appsemble/sdk 0.20.20 → 0.20.22
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 +4 -4
- package/index.d.ts +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
#  Appsemble SDK
|
|
2
2
|
|
|
3
3
|
> Build your own blocks
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@appsemble/sdk)
|
|
6
|
-
[](https://gitlab.com/appsemble/appsemble/-/releases/0.20.22)
|
|
7
|
+
[](https://codecov.io/gl/appsemble/appsemble)
|
|
8
8
|
[](https://prettier.io)
|
|
9
9
|
|
|
10
10
|
## Installation
|
|
@@ -144,5 +144,5 @@ declare module '@appsemble/sdk' {
|
|
|
144
144
|
|
|
145
145
|
## License
|
|
146
146
|
|
|
147
|
-
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.20.
|
|
147
|
+
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.20.22/LICENSE.md) ©
|
|
148
148
|
[Appsemble](https://appsemble.com)
|
package/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export { Action, BulmaColor, BulmaSize, Theme };
|
|
|
6
6
|
/**
|
|
7
7
|
* A user defined remapper function.
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
9
|
+
export type Remapper = object[] | boolean | number | object | string;
|
|
10
10
|
/**
|
|
11
11
|
* Actions defined on a block.
|
|
12
12
|
*
|
|
@@ -89,7 +89,7 @@ export interface EventListeners {
|
|
|
89
89
|
*/
|
|
90
90
|
export interface Parameters {
|
|
91
91
|
}
|
|
92
|
-
export
|
|
92
|
+
export type PageParameters = Record<string, string>;
|
|
93
93
|
/**
|
|
94
94
|
* A menu item that can be displayed in addition to the normal app menu.
|
|
95
95
|
*/
|
|
@@ -256,7 +256,7 @@ export interface BootstrapParams {
|
|
|
256
256
|
*/
|
|
257
257
|
utils: Utils;
|
|
258
258
|
}
|
|
259
|
-
export
|
|
259
|
+
export type BootstrapFunction = (params: BootstrapParams) => Promisable<Element | void>;
|
|
260
260
|
export interface AppsembleBootstrapEvent extends CustomEvent {
|
|
261
261
|
detail: {
|
|
262
262
|
fn: BootstrapFunction;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appsemble/sdk",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.22",
|
|
4
4
|
"description": "Build your own blocks",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@appsemble/types": "0.20.
|
|
37
|
+
"@appsemble/types": "0.20.22",
|
|
38
38
|
"@fortawesome/fontawesome-common-types": "^6.0.0",
|
|
39
39
|
"type-fest": "^2.0.0"
|
|
40
40
|
}
|