@chevre/domain 21.8.0-alpha.57 → 21.8.0-alpha.58
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/lib/chevre/repo/offer.d.ts +1 -28
- package/lib/chevre/repo/offer.js +645 -614
- package/lib/chevre/service/offer/event/factory.d.ts +1 -1
- package/lib/chevre/service/offer/event/voidTransaction.js +50 -34
- package/lib/chevre/service/offer/eventServiceByCOA/factory.d.ts +2 -1
- package/lib/chevre/service/offer/eventServiceByCOA/factory.js +7 -11
- package/lib/chevre/service/offer/eventServiceByCOA.js +55 -27
- package/package.json +2 -2
|
@@ -1,27 +1,3 @@
|
|
|
1
|
-
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
-
/// <reference types="mongoose/types/callback" />
|
|
3
|
-
/// <reference types="mongoose/types/collection" />
|
|
4
|
-
/// <reference types="mongoose/types/connection" />
|
|
5
|
-
/// <reference types="mongoose/types/cursor" />
|
|
6
|
-
/// <reference types="mongoose/types/document" />
|
|
7
|
-
/// <reference types="mongoose/types/error" />
|
|
8
|
-
/// <reference types="mongoose/types/expressions" />
|
|
9
|
-
/// <reference types="mongoose/types/helpers" />
|
|
10
|
-
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
-
/// <reference types="mongoose/types/indexes" />
|
|
12
|
-
/// <reference types="mongoose/types/models" />
|
|
13
|
-
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
-
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
-
/// <reference types="mongoose/types/populate" />
|
|
16
|
-
/// <reference types="mongoose/types/query" />
|
|
17
|
-
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
-
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
-
/// <reference types="mongoose/types/session" />
|
|
20
|
-
/// <reference types="mongoose/types/types" />
|
|
21
|
-
/// <reference types="mongoose/types/utility" />
|
|
22
|
-
/// <reference types="mongoose/types/validation" />
|
|
23
|
-
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
-
/// <reference types="mongoose/types/inferschematype" />
|
|
25
1
|
import { BulkWriteResult as BulkWriteOpResultObject } from 'mongodb';
|
|
26
2
|
import { AnyExpression, Connection, PipelineStage } from 'mongoose';
|
|
27
3
|
import * as factory from '../factory';
|
|
@@ -37,15 +13,13 @@ export type IUnitPriceOfferFromAggregateOffer = factory.unitPriceOffer.IUnitPric
|
|
|
37
13
|
};
|
|
38
14
|
};
|
|
39
15
|
/**
|
|
40
|
-
*
|
|
16
|
+
* 単価オファーリポジトリ
|
|
41
17
|
*/
|
|
42
18
|
export declare class MongoRepository {
|
|
43
19
|
private readonly aggregateOfferModel;
|
|
44
|
-
private readonly offerModel;
|
|
45
20
|
private readonly offerCatalogModel;
|
|
46
21
|
private readonly taskModel;
|
|
47
22
|
constructor(connection: Connection);
|
|
48
|
-
static CREATE_OFFER_MONGO_CONDITIONS(params: factory.unitPriceOffer.ISearchConditions): any[];
|
|
49
23
|
static CREATE_AGGREGATE_OFFERS_MATCH_CONDITIONS(params: factory.unitPriceOffer.ISearchConditions): IMatchStage[];
|
|
50
24
|
static CREATE_AGGREGATE_OFFERS_PROJECTION(params: IProjection): {
|
|
51
25
|
[field: string]: AnyExpression;
|
|
@@ -125,7 +99,6 @@ export declare class MongoRepository {
|
|
|
125
99
|
};
|
|
126
100
|
id: string;
|
|
127
101
|
}): Promise<void>;
|
|
128
|
-
getCursor(conditions: any, projection: any): import("mongoose").Cursor<any, import("mongoose").QueryOptions<any>>;
|
|
129
102
|
sync2aggregateOffer(params: {
|
|
130
103
|
id?: {
|
|
131
104
|
$in: string[];
|