@unito/integration-sdk 2.3.11 → 2.3.13
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/dist/src/handler.d.ts +2 -2
- package/package.json +1 -1
- package/src/handler.ts +2 -2
- package/src/index.ts +1 -0
package/dist/src/handler.d.ts
CHANGED
|
@@ -19,9 +19,9 @@ export type GetCollectionHandler = (context: GetCollectionContext<any, any>) =>
|
|
|
19
19
|
* Handler called to create an item.
|
|
20
20
|
*
|
|
21
21
|
* @param context {@link CreateBlobContext}
|
|
22
|
-
* @returns An {@link API.
|
|
22
|
+
* @returns An {@link API.ItemSummary} containing a path to the created item.
|
|
23
23
|
*/
|
|
24
|
-
export type CreateBlobHandler = (context: CreateBlobContext<any, any>) => Promise<API.
|
|
24
|
+
export type CreateBlobHandler = (context: CreateBlobContext<any, any>) => Promise<API.ItemSummary>;
|
|
25
25
|
/**
|
|
26
26
|
* Handler called to create an item.
|
|
27
27
|
*
|
package/package.json
CHANGED
package/src/handler.ts
CHANGED
|
@@ -37,9 +37,9 @@ export type GetCollectionHandler = (context: GetCollectionContext<any, any>) =>
|
|
|
37
37
|
* Handler called to create an item.
|
|
38
38
|
*
|
|
39
39
|
* @param context {@link CreateBlobContext}
|
|
40
|
-
* @returns An {@link API.
|
|
40
|
+
* @returns An {@link API.ItemSummary} containing a path to the created item.
|
|
41
41
|
*/
|
|
42
|
-
export type CreateBlobHandler = (context: CreateBlobContext<any, any>) => Promise<API.
|
|
42
|
+
export type CreateBlobHandler = (context: CreateBlobContext<any, any>) => Promise<API.ItemSummary>;
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
45
|
* Handler called to create an item.
|