@chevre/domain 21.17.0-alpha.13 → 21.17.0-alpha.14
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.
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
import { AnyExpression, Connection, FilterQuery } from 'mongoose';
|
|
26
26
|
import * as factory from '../factory';
|
|
27
27
|
export type ISeller = factory.seller.ISeller;
|
|
28
|
+
export type ISavingSeller = Omit<factory.seller.ISeller, 'paymentAccepted'>;
|
|
28
29
|
export type ISellerByAggregate = Pick<ISeller, 'additionalProperty' | 'branchCode' | 'hasMerchantReturnPolicy' | 'id' | 'name' | 'project' | 'telephone' | 'typeOf' | 'url'>;
|
|
29
30
|
export interface IMemberSearchConditions {
|
|
30
31
|
/**
|
|
@@ -54,8 +55,8 @@ export declare class MongoRepository {
|
|
|
54
55
|
*/
|
|
55
56
|
save(params: {
|
|
56
57
|
id?: string;
|
|
57
|
-
attributes:
|
|
58
|
-
}): Promise<
|
|
58
|
+
attributes: ISavingSeller;
|
|
59
|
+
}): Promise<ISavingSeller>;
|
|
59
60
|
/**
|
|
60
61
|
* 集計検索(publicな属性検索が目的)
|
|
61
62
|
*/
|
package/package.json
CHANGED