@punks/backend-entity-manager 0.0.392 → 0.0.393
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.
|
@@ -3,10 +3,9 @@ import { EntityServiceLocator } from "../providers/services";
|
|
|
3
3
|
export declare class EntityUpsertCommand<TEntity, TEntityId, TEntityUpdateData> implements IEntityUpsertCommand<TEntity, TEntityId, TEntityUpdateData> {
|
|
4
4
|
private readonly services;
|
|
5
5
|
constructor(services: EntityServiceLocator<TEntity, TEntityId>);
|
|
6
|
-
execute(id: TEntityId, data: TEntityUpdateData): Promise<{
|
|
7
|
-
id:
|
|
6
|
+
execute(id: TEntityId | undefined, data: TEntityUpdateData): Promise<{
|
|
7
|
+
id: any;
|
|
8
8
|
}>;
|
|
9
|
-
private upsertEntity;
|
|
10
9
|
private adaptEntity;
|
|
11
10
|
private authorize;
|
|
12
11
|
private getContext;
|