@chevre/domain 21.18.0-alpha.36 → 21.18.0-alpha.37

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,5 +1,6 @@
1
1
  import type { Connection } from 'mongoose';
2
2
  import * as factory from '../factory';
3
+ type IUnsetKey = keyof Pick<factory.service.paymentService.IService, 'additionalProperty' | 'availableChannel' | 'serviceOutput' | 'serviceType'>;
3
4
  /**
4
5
  * 決済サービスリポジトリ
5
6
  */
@@ -16,7 +17,7 @@ export declare class MongoRepository {
16
17
  id?: string;
17
18
  $set: factory.service.paymentService.IService;
18
19
  $unset: {
19
- [key in keyof factory.service.paymentService.IService]?: 1;
20
+ [key in IUnsetKey]?: 1;
20
21
  };
21
22
  /**
22
23
  * 指定プロジェクトの指定プロダクトタイプが存在しなければ作成する
@@ -26,3 +27,4 @@ export declare class MongoRepository {
26
27
  id: string;
27
28
  }>;
28
29
  }
30
+ export {};
@@ -28,6 +28,7 @@ export type IProduct = factory.product.IProduct | factory.service.paymentService
28
28
  export type IPaymentServiceByProvider = Pick<factory.service.paymentService.IService, 'name' | 'description' | 'typeOf' | 'id' | 'productID' | 'serviceType' | 'serviceOutput' | 'additionalProperty'> & {
29
29
  provider?: Pick<factory.service.paymentService.IProvider, 'credentials'>;
30
30
  };
31
+ type IUnsetKey = keyof Pick<factory.product.IProduct, 'additionalProperty' | 'availableChannel' | 'hasOfferCatalog' | 'serviceOutput' | 'serviceType'>;
31
32
  /**
32
33
  * プロダクトリポジトリ
33
34
  */
@@ -63,7 +64,7 @@ export declare class MongoRepository {
63
64
  id?: string;
64
65
  $set: factory.product.IProduct;
65
66
  $unset: {
66
- [key in keyof factory.product.IProduct]?: 1;
67
+ [key in IUnsetKey]?: 1;
67
68
  };
68
69
  /**
69
70
  * 指定プロジェクトの指定プロダクトタイプが存在しなければ作成する
@@ -90,3 +91,4 @@ export declare class MongoRepository {
90
91
  }): Promise<void>;
91
92
  getCursor(conditions: any, projection: any): import("mongoose").Cursor<any, import("mongoose").QueryOptions<any>>;
92
93
  }
94
+ export {};
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  ],
11
11
  "dependencies": {
12
12
  "@aws-sdk/credential-providers": "3.433.0",
13
- "@chevre/factory": "4.347.0-alpha.7",
13
+ "@chevre/factory": "4.347.0-alpha.8",
14
14
  "@cinerino/sdk": "5.4.0-alpha.7",
15
15
  "@motionpicture/coa-service": "9.2.0",
16
16
  "@motionpicture/gmo-service": "5.2.0",
@@ -115,5 +115,5 @@
115
115
  "postversion": "git push origin --tags",
116
116
  "prepublishOnly": "npm run clean && npm run build && npm test && npm run doc"
117
117
  },
118
- "version": "21.18.0-alpha.36"
118
+ "version": "21.18.0-alpha.37"
119
119
  }