@chevre/factory 4.223.0 → 4.224.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.
- package/lib/factory/task.d.ts +20 -4
- package/package.json +1 -1
package/lib/factory/task.d.ts
CHANGED
|
@@ -5,14 +5,14 @@ import { TaskName } from './taskName';
|
|
|
5
5
|
import { TaskStatus } from './taskStatus';
|
|
6
6
|
export declare type IData = any;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* タスク実行結果
|
|
9
9
|
*/
|
|
10
10
|
export interface IExecutionResult {
|
|
11
11
|
executedAt: Date;
|
|
12
12
|
error: any;
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* タスク
|
|
16
16
|
*/
|
|
17
17
|
export declare type ITask = IExtendId<IAttributes>;
|
|
18
18
|
export interface IAttributes {
|
|
@@ -52,13 +52,28 @@ export interface IAttributes {
|
|
|
52
52
|
data: IData;
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* ソート条件
|
|
56
56
|
*/
|
|
57
57
|
export interface ISortOrder {
|
|
58
58
|
runsAt?: SortType;
|
|
59
59
|
}
|
|
60
|
+
export interface IDataSearchConditions {
|
|
61
|
+
object?: {
|
|
62
|
+
transactionNumber?: {
|
|
63
|
+
$eq?: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
purpose?: {
|
|
67
|
+
id?: {
|
|
68
|
+
$eq?: string;
|
|
69
|
+
};
|
|
70
|
+
orderNumber?: {
|
|
71
|
+
$eq?: string;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
}
|
|
60
75
|
/**
|
|
61
|
-
*
|
|
76
|
+
* タスク検索条件
|
|
62
77
|
*/
|
|
63
78
|
export interface ISearchConditions<T extends TaskName | string> {
|
|
64
79
|
limit?: number;
|
|
@@ -75,4 +90,5 @@ export interface ISearchConditions<T extends TaskName | string> {
|
|
|
75
90
|
runsThrough?: Date;
|
|
76
91
|
lastTriedFrom?: Date;
|
|
77
92
|
lastTriedThrough?: Date;
|
|
93
|
+
data?: IDataSearchConditions;
|
|
78
94
|
}
|