@appsemble/types 0.30.8 → 0.30.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 +7 -0
- 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.30.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.30.
|
|
29
|
+
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.30.11/LICENSE.md) ©
|
|
30
30
|
[Appsemble](https://appsemble.com)
|
package/index.d.ts
CHANGED
|
@@ -1260,6 +1260,9 @@ export interface AppMemberDeleteAction extends BaseActionDefinition<'app.member.
|
|
|
1260
1260
|
*/
|
|
1261
1261
|
sub: Remapper;
|
|
1262
1262
|
}
|
|
1263
|
+
interface RequestActionHeaders {
|
|
1264
|
+
'Content-Type': 'application/x-www-form-urlencoded' | 'application/xml' | 'multipart/form-data' | 'text/plain';
|
|
1265
|
+
}
|
|
1263
1266
|
export interface RequestLikeActionDefinition<T extends Action['type'] = Action['type']> extends BaseActionDefinition<T> {
|
|
1264
1267
|
/**
|
|
1265
1268
|
* The HTTP method to use for making a request.
|
|
@@ -1289,6 +1292,10 @@ export interface RequestLikeActionDefinition<T extends Action['type'] = Action['
|
|
|
1289
1292
|
* If this isn’t specified, the raw input data is used.
|
|
1290
1293
|
*/
|
|
1291
1294
|
body?: Remapper;
|
|
1295
|
+
/**
|
|
1296
|
+
* Headers for the outgoing request.
|
|
1297
|
+
*/
|
|
1298
|
+
headers?: RequestActionHeaders;
|
|
1292
1299
|
}
|
|
1293
1300
|
export interface ResourceActionDefinition<T extends Action['type']> extends RequestLikeActionDefinition<T> {
|
|
1294
1301
|
/**
|