@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: factory.seller.ISeller;
58
- }): Promise<ISeller>;
58
+ attributes: ISavingSeller;
59
+ }): Promise<ISavingSeller>;
59
60
  /**
60
61
  * 集計検索(publicな属性検索が目的)
61
62
  */
package/package.json CHANGED
@@ -117,5 +117,5 @@
117
117
  "postversion": "git push origin --tags",
118
118
  "prepublishOnly": "npm run clean && npm run build && npm test && npm run doc"
119
119
  },
120
- "version": "21.17.0-alpha.13"
120
+ "version": "21.17.0-alpha.14"
121
121
  }