kuzzle-device-manager-types 3.0.0-3-dev.8 → 3.0.0-3-dev.10
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.
|
@@ -13,10 +13,11 @@ export declare class GroupsService extends BaseService {
|
|
|
13
13
|
get(engineId: string, _id: string, request: KuzzleRequest): Promise<import("kuzzle").KDocument<GroupContent>>;
|
|
14
14
|
update(request: KuzzleRequest, _id: string, engineId: string, name?: string, metadata?: Metadata): Promise<import("kuzzle").KDocument<GroupContent>>;
|
|
15
15
|
private _updatePath;
|
|
16
|
-
moveGroup(engineId: string, _id: string, targetGroupId: string | null, request: KuzzleRequest): Promise<
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
moveGroup(engineId: string, _id: string, targetGroupId: string | null, request: KuzzleRequest): Promise<{
|
|
17
|
+
group: KDocument<GroupContent>;
|
|
18
|
+
targetGroupId: string | null;
|
|
19
19
|
}>;
|
|
20
|
+
delete(_id: string, engineId: string, request: KuzzleRequest): Promise<string>;
|
|
20
21
|
search(engineId: string, searchParams: SearchParams, request: KuzzleRequest): Promise<import("kuzzle").SearchResult<import("kuzzle").KHit<GroupContent>>>;
|
|
21
22
|
listItems(engineId: string, _id: string, includeChildren: boolean, options: {
|
|
22
23
|
from?: number;
|
|
@@ -145,5 +145,8 @@ export interface ApiGroupMoveRequest extends GroupControllerRequest {
|
|
|
145
145
|
targetGroupId: string | null;
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
|
-
export type ApiGroupMoveResult =
|
|
148
|
+
export type ApiGroupMoveResult = {
|
|
149
|
+
group: KDocument<GroupContent>;
|
|
150
|
+
targetGroupId: string | null;
|
|
151
|
+
};
|
|
149
152
|
export {};
|