@punks/backend-entity-manager 0.0.256 → 0.0.257
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IEntitiesDeleteCommand, IEntitiesDeleteParameters, IEntitiesExportCommand, IEntitiesImportCommand, IEntitiesSampleDownloadCommand, IEntityCreateCommand, IEntityDeleteCommand, IEntityUpdateCommand, IEntityUpsertCommand, IEntityVersionCommand } from "./commands";
|
|
1
|
+
import { IEntitiesDeleteCommand, IEntitiesDeleteParameters, IEntitiesExportCommand, IEntitiesImportCommand, IEntitiesSampleDownloadCommand, IEntityCreateCommand, IEntityDeleteCommand, IEntityUpdateCommand, IEntityUpsertByCommand, IEntityUpsertCommand, IEntityVersionCommand } from "./commands";
|
|
2
2
|
import { SortingType } from "./common";
|
|
3
3
|
import { IEntitiesCountQuery, IEntitiesFindQuery, IEntitiesSearchQuery, IEntityExistsQuery, IEntityGetQuery, IEntityVersionsSearchQuery } from "./queries";
|
|
4
4
|
import { IEntitySearchParameters } from "./searchParameters";
|
|
@@ -13,6 +13,7 @@ export interface IEntityManager<TEntity, TEntityId, TEntityCreateData, TEntityUp
|
|
|
13
13
|
get create(): IEntityCreateCommand<TEntity, TEntityId, TEntityCreateData>;
|
|
14
14
|
get update(): IEntityUpdateCommand<TEntity, TEntityId, TEntityUpdateData>;
|
|
15
15
|
get upsert(): IEntityUpsertCommand<TEntity, TEntityId, TEntityUpdateData>;
|
|
16
|
+
get upsertBy(): IEntityUpsertByCommand<TEntity, TEntitySearchParameters>;
|
|
16
17
|
get delete(): IEntityDeleteCommand<TEntity, TEntityId>;
|
|
17
18
|
get deleteItems(): IEntitiesDeleteCommand<TEntity, TEntitiesDeleteParameters, TSorting>;
|
|
18
19
|
get import(): IEntitiesImportCommand<TEntity>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IEntitiesDeleteCommand, IEntitiesDeleteParameters, IEntitiesExportCommand, IEntitiesImportCommand, IEntitiesSampleDownloadCommand, IEntityCreateCommand, IEntityDeleteCommand, IEntityUpdateCommand, IEntityUpsertCommand, IEntityVersionCommand } from "./commands";
|
|
1
|
+
import { IEntitiesDeleteCommand, IEntitiesDeleteParameters, IEntitiesExportCommand, IEntitiesImportCommand, IEntitiesSampleDownloadCommand, IEntityCreateCommand, IEntityDeleteCommand, IEntityUpdateCommand, IEntityUpsertByCommand, IEntityUpsertCommand, IEntityVersionCommand } from "./commands";
|
|
2
2
|
import { SortingType } from "./common";
|
|
3
3
|
import { IEntitiesCountQuery, IEntitiesFindQuery, IEntitiesSearchQuery, IEntityExistsQuery, IEntityGetQuery, IEntityVersionsSearchQuery } from "./queries";
|
|
4
4
|
import { IEntitySearchParameters } from "./searchParameters";
|
|
@@ -13,6 +13,7 @@ export interface IEntityManager<TEntity, TEntityId, TEntityCreateData, TEntityUp
|
|
|
13
13
|
get create(): IEntityCreateCommand<TEntity, TEntityId, TEntityCreateData>;
|
|
14
14
|
get update(): IEntityUpdateCommand<TEntity, TEntityId, TEntityUpdateData>;
|
|
15
15
|
get upsert(): IEntityUpsertCommand<TEntity, TEntityId, TEntityUpdateData>;
|
|
16
|
+
get upsertBy(): IEntityUpsertByCommand<TEntity, TEntitySearchParameters>;
|
|
16
17
|
get delete(): IEntityDeleteCommand<TEntity, TEntityId>;
|
|
17
18
|
get deleteItems(): IEntitiesDeleteCommand<TEntity, TEntitiesDeleteParameters, TSorting>;
|
|
18
19
|
get import(): IEntitiesImportCommand<TEntity>;
|
package/dist/index.d.ts
CHANGED
|
@@ -656,6 +656,7 @@ interface IEntityManager<TEntity, TEntityId, TEntityCreateData, TEntityUpdateDat
|
|
|
656
656
|
get create(): IEntityCreateCommand<TEntity, TEntityId, TEntityCreateData>;
|
|
657
657
|
get update(): IEntityUpdateCommand<TEntity, TEntityId, TEntityUpdateData>;
|
|
658
658
|
get upsert(): IEntityUpsertCommand<TEntity, TEntityId, TEntityUpdateData>;
|
|
659
|
+
get upsertBy(): IEntityUpsertByCommand<TEntity, TEntitySearchParameters>;
|
|
659
660
|
get delete(): IEntityDeleteCommand<TEntity, TEntityId>;
|
|
660
661
|
get deleteItems(): IEntitiesDeleteCommand<TEntity, TEntitiesDeleteParameters, TSorting>;
|
|
661
662
|
get import(): IEntitiesImportCommand<TEntity>;
|