kuzzle-device-manager-types 3.0.0-3-dev.21 → 3.0.0-3-dev.23
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.
|
@@ -12,6 +12,13 @@ export declare abstract class BaseService {
|
|
|
12
12
|
protected get sdk(): EmbeddedSDK;
|
|
13
13
|
protected get config(): DeviceManagerConfiguration;
|
|
14
14
|
protected get impersonatedSdk(): (user: User) => EmbeddedSDK;
|
|
15
|
+
/**
|
|
16
|
+
* Returns a request of its own for a document operation: the
|
|
17
|
+
* generic:document events see the index and collection written to, while
|
|
18
|
+
* the caller's request keeps its own. The tenant is the request index, so
|
|
19
|
+
* overwriting it would hand the next operations, and the pipes and hooks
|
|
20
|
+
* of the action, the index written last instead of the tenant.
|
|
21
|
+
*/
|
|
15
22
|
protected normalizeKuzzleRequest(request: KuzzleRequest, { collection, index }: PayloadRequest): KuzzleRequest;
|
|
16
23
|
/**
|
|
17
24
|
* Wrapper to SDK create method with trigger generic:document events
|
package/package.json
CHANGED
|
File without changes
|