@chevre/factory 4.376.0 → 4.377.0-alpha.0

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,15 +1,21 @@
1
- /**
2
- * 予約タスクファクトリー
3
- */
4
- import { IAttributes as IReserveActionAttributes } from '../action/reserve';
1
+ import { IObject } from '../action/reserve';
5
2
  import { IExtendId } from '../autoGenerated';
6
3
  import * as TaskFactory from '../task';
7
4
  import { TaskName } from '../taskName';
5
+ export interface IPotentialReserveAction {
6
+ /**
7
+ * 予約番号だけあれば、自動的に予約取引を参照する
8
+ */
9
+ object: Pick<IObject, 'reservationNumber'>;
10
+ }
8
11
  export interface IData {
9
- actionAttributes: IReserveActionAttributes[];
12
+ actionAttributes: IPotentialReserveAction[];
10
13
  }
11
14
  export interface IAttributes extends TaskFactory.IAttributes {
12
15
  name: TaskName.Reserve;
13
16
  data: IData;
14
17
  }
18
+ /**
19
+ * 予約タスク
20
+ */
15
21
  export type ITask = IExtendId<IAttributes>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.376.0",
3
+ "version": "4.377.0-alpha.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",