@aneuhold/core-ts-lib 1.0.11 → 1.0.12
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.
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Output from a Digital Ocean function must always be an object.
|
|
3
|
+
*/
|
|
4
|
+
export type DOFunctionOutput<TOutput extends object> = {
|
|
5
|
+
/**
|
|
6
|
+
* The body is an object, which means it will automatically be serialized to
|
|
7
|
+
* JSON and the Content-Type header will be set to application/json.
|
|
8
|
+
*/
|
|
9
|
+
body: TOutput;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* A service to provide some utility common to multiple Digital Ocean functions.
|
|
13
|
+
*/
|
|
14
|
+
export default class DOFunctionService {
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=DOFunctionService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DOFunctionService.d.ts","sourceRoot":"","sources":["../../src/services/DOFunctionService.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,gBAAgB,CAAC,OAAO,SAAS,MAAM,IAAI;IACrD;;;OAGG;IACH,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,iBAAiB;CAAG"}
|