@chevre/domain 26.0.0-alpha.44 → 26.0.0-alpha.45

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.
@@ -19,8 +19,8 @@ export declare class AcceptPayActionRepo extends ActionProcessRepo<IAcceptPayAct
19
19
  id: string;
20
20
  };
21
21
  actionStatus?: factory.actionStatusType.CompletedActionStatus;
22
- limit?: never;
23
- page?: never;
22
+ limit?: number;
23
+ page?: number;
24
24
  }, inclusion: IKeyOfProjection[]): Promise<IAcceptPayAction[]>;
25
25
  /**
26
26
  * 決済取引番号から完了済の決済採用アクションを参照する
@@ -19,7 +19,7 @@ class AcceptPayActionRepo extends actionProcess_1.ActionProcessRepo {
19
19
  * 件数はlimitされない
20
20
  */
21
21
  async findAcceptActionsByPurpose(params, inclusion) {
22
- const { actionStatus } = params;
22
+ const { actionStatus, limit, page } = params;
23
23
  return this.findAnyActions({
24
24
  project: { id: { $eq: params.project.id } },
25
25
  typeOf: { $eq: factory_1.factory.actionType.AcceptAction }, // 採用アクション
@@ -30,8 +30,8 @@ class AcceptPayActionRepo extends actionProcess_1.ActionProcessRepo {
30
30
  ...(typeof actionStatus === 'string')
31
31
  ? { actionStatus: { $in: [actionStatus] } }
32
32
  : undefined,
33
- // ...(typeof limit === 'number') ? { limit } : undefined,
34
- // ...(typeof page === 'number') ? { page } : undefined,
33
+ ...(typeof limit === 'number') ? { limit } : undefined,
34
+ ...(typeof page === 'number') ? { page } : undefined,
35
35
  }, inclusion);
36
36
  }
37
37
  /**
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": "26.0.0-alpha.44"
91
+ "version": "26.0.0-alpha.45"
92
92
  }