@punks/backend-entity-manager 0.0.399 → 0.0.401
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/cjs/index.js +6 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/integrations/repository/typeorm/repository.d.ts +1 -0
- package/dist/cjs/types/platforms/nest/decorators/pipelines.d.ts +0 -1
- package/dist/esm/index.js +6 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/integrations/repository/typeorm/repository.d.ts +1 -0
- package/dist/esm/types/platforms/nest/decorators/pipelines.d.ts +0 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -18,6 +18,7 @@ export declare class TypeOrmRepository<TEntity extends ObjectLiteral, TEntityId>
|
|
|
18
18
|
all(): Promise<TEntity[]>;
|
|
19
19
|
count(condition: FindManyOptions<TEntity>): Promise<number>;
|
|
20
20
|
find(condition: FindManyOptions<TEntity>): Promise<TEntity[]>;
|
|
21
|
+
findOne(condition: FindManyOptions<TEntity>): Promise<TEntity>;
|
|
21
22
|
findById(id: TEntityId[]): Promise<TEntity[]>;
|
|
22
23
|
delete(id: TEntityId): Promise<void>;
|
|
23
24
|
deleteBy(condition: DeleteCriteria<TEntity>): Promise<IEntitiesDeleteResult>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export type PipelineTemplateProps = {
|
|
2
2
|
name: string;
|
|
3
|
-
description?: string;
|
|
4
3
|
};
|
|
5
4
|
export declare const WpPipeline: (name: string, props?: Omit<PipelineTemplateProps, "name">) => <TFunction extends Function, Y>(target: object | TFunction, propertyKey?: string | symbol | undefined, descriptor?: TypedPropertyDescriptor<Y> | undefined) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -1573,7 +1573,6 @@ declare const WpEntityQueryBuilder: (entityName: string, props?: Omit<EntityQuer
|
|
|
1573
1573
|
|
|
1574
1574
|
type PipelineTemplateProps = {
|
|
1575
1575
|
name: string;
|
|
1576
|
-
description?: string;
|
|
1577
1576
|
};
|
|
1578
1577
|
declare const WpPipeline: (name: string, props?: Omit<PipelineTemplateProps, "name">) => <TFunction extends Function, Y>(target: object | TFunction, propertyKey?: string | symbol | undefined, descriptor?: TypedPropertyDescriptor<Y> | undefined) => void;
|
|
1579
1578
|
|
|
@@ -3072,6 +3071,7 @@ declare class TypeOrmRepository<TEntity extends ObjectLiteral, TEntityId> implem
|
|
|
3072
3071
|
all(): Promise<TEntity[]>;
|
|
3073
3072
|
count(condition: FindManyOptions<TEntity>): Promise<number>;
|
|
3074
3073
|
find(condition: FindManyOptions<TEntity>): Promise<TEntity[]>;
|
|
3074
|
+
findOne(condition: FindManyOptions<TEntity>): Promise<TEntity>;
|
|
3075
3075
|
findById(id: TEntityId[]): Promise<TEntity[]>;
|
|
3076
3076
|
delete(id: TEntityId): Promise<void>;
|
|
3077
3077
|
deleteBy(condition: DeleteCriteria<TEntity>): Promise<IEntitiesDeleteResult>;
|