@chevre/domain 28.0.0-alpha.41 → 28.0.0-alpha.42

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.
@@ -21,7 +21,7 @@ export declare class ProjectRepo {
21
21
  * プロジェクト検索
22
22
  */
23
23
  projectFields(conditions: factory.project.ISearchConditions, inclusion: IKeyOfProjection[]): Promise<factory.project.IProject[]>;
24
- createById(params: factory.project.IProject): Promise<Pick<factory.project.IProject, 'id'>>;
24
+ addProjectById(params: Pick<factory.project.IProject, 'alternateName' | 'hasMerchantReturnPolicy' | 'id' | 'logo' | 'name' | 'settings' | 'subscription'>): Promise<Pick<factory.project.IProject, 'id'>>;
25
25
  updateProjectById(params: {
26
26
  id: string;
27
27
  $set: {
@@ -93,7 +93,7 @@ class ProjectRepo {
93
93
  .lean() // 2024-08-22~
94
94
  .exec();
95
95
  }
96
- async createById(params) {
96
+ async addProjectById(params) {
97
97
  const { id, ...createParams } = params;
98
98
  if (typeof id !== 'string' || id === '') {
99
99
  throw new factory_1.factory.errors.ArgumentNull('id');
package/package.json CHANGED
@@ -88,5 +88,5 @@
88
88
  "postversion": "git push origin --tags",
89
89
  "prepublishOnly": "npm run clean && npm run build"
90
90
  },
91
- "version": "28.0.0-alpha.41"
91
+ "version": "28.0.0-alpha.42"
92
92
  }